@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSCloudHSMV2Client extends AmazonWebServiceClient implements AWSCloudHSMV2
For more information about AWS CloudHSM, see AWS CloudHSM and the AWS CloudHSM User Guide.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSCloudHSMV2ClientBuilder |
builder() |
CreateClusterResult |
createCluster(CreateClusterRequest request)
Creates a new AWS CloudHSM cluster.
|
CreateHsmResult |
createHsm(CreateHsmRequest request)
Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.
|
DeleteClusterResult |
deleteCluster(DeleteClusterRequest request)
Deletes the specified AWS CloudHSM cluster.
|
DeleteHsmResult |
deleteHsm(DeleteHsmRequest request)
Deletes the specified HSM.
|
DescribeBackupsResult |
describeBackups(DescribeBackupsRequest request)
Gets information about backups of AWS CloudHSM clusters.
|
DescribeClustersResult |
describeClusters(DescribeClustersRequest request)
Gets information about AWS CloudHSM clusters.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
InitializeClusterResult |
initializeCluster(InitializeClusterRequest request)
Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority
(CA) and the CA's root certificate.
|
ListTagsResult |
listTags(ListTagsRequest request)
Gets a list of tags for the specified AWS CloudHSM cluster.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds or overwrites one or more tags for the specified AWS CloudHSM cluster.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes the specified tag or tags from the specified AWS CloudHSM cluster.
|
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdown
public static AWSCloudHSMV2ClientBuilder builder()
public CreateClusterResult createCluster(CreateClusterRequest request)
Creates a new AWS CloudHSM cluster.
createCluster
in interface AWSCloudHSMV2
createClusterRequest
- CloudHsmInternalFailureException
- The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.CloudHsmServiceException
- The request was rejected because an error occurred.CloudHsmResourceNotFoundException
- The request was rejected because it refers to a resource that cannot be found.CloudHsmInvalidRequestException
- The request was rejected because it is not a valid request.CloudHsmAccessDeniedException
- The request was rejected because the requester does not have permission to perform the requested
operation.public CreateHsmResult createHsm(CreateHsmRequest request)
Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.
createHsm
in interface AWSCloudHSMV2
createHsmRequest
- CloudHsmInternalFailureException
- The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.CloudHsmServiceException
- The request was rejected because an error occurred.CloudHsmInvalidRequestException
- The request was rejected because it is not a valid request.CloudHsmResourceNotFoundException
- The request was rejected because it refers to a resource that cannot be found.CloudHsmAccessDeniedException
- The request was rejected because the requester does not have permission to perform the requested
operation.public DeleteClusterResult deleteCluster(DeleteClusterRequest request)
Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters. To delete an HSM, use DeleteHsm.
deleteCluster
in interface AWSCloudHSMV2
deleteClusterRequest
- CloudHsmInternalFailureException
- The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.CloudHsmServiceException
- The request was rejected because an error occurred.CloudHsmResourceNotFoundException
- The request was rejected because it refers to a resource that cannot be found.CloudHsmInvalidRequestException
- The request was rejected because it is not a valid request.CloudHsmAccessDeniedException
- The request was rejected because the requester does not have permission to perform the requested
operation.public DeleteHsmResult deleteHsm(DeleteHsmRequest request)
Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use DescribeClusters.
deleteHsm
in interface AWSCloudHSMV2
deleteHsmRequest
- CloudHsmInternalFailureException
- The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.CloudHsmServiceException
- The request was rejected because an error occurred.CloudHsmResourceNotFoundException
- The request was rejected because it refers to a resource that cannot be found.CloudHsmInvalidRequestException
- The request was rejected because it is not a valid request.CloudHsmAccessDeniedException
- The request was rejected because the requester does not have permission to perform the requested
operation.public DescribeBackupsResult describeBackups(DescribeBackupsRequest request)
Gets information about backups of AWS CloudHSM clusters.
This is a paginated operation, which means that each response might contain only a subset of all the backups.
When the response contains only a subset of backups, it includes a NextToken
value. Use this value
in a subsequent DescribeBackups
request to get more backups. When you receive a response with no
NextToken
(or an empty or null value), that means there are no more backups to get.
describeBackups
in interface AWSCloudHSMV2
describeBackupsRequest
- CloudHsmInternalFailureException
- The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.CloudHsmServiceException
- The request was rejected because an error occurred.CloudHsmResourceNotFoundException
- The request was rejected because it refers to a resource that cannot be found.CloudHsmInvalidRequestException
- The request was rejected because it is not a valid request.CloudHsmAccessDeniedException
- The request was rejected because the requester does not have permission to perform the requested
operation.public DescribeClustersResult describeClusters(DescribeClustersRequest request)
Gets information about AWS CloudHSM clusters.
This is a paginated operation, which means that each response might contain only a subset of all the clusters.
When the response contains only a subset of clusters, it includes a NextToken
value. Use this value
in a subsequent DescribeClusters
request to get more clusters. When you receive a response with no
NextToken
(or an empty or null value), that means there are no more clusters to get.
describeClusters
in interface AWSCloudHSMV2
describeClustersRequest
- CloudHsmInternalFailureException
- The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.CloudHsmServiceException
- The request was rejected because an error occurred.CloudHsmInvalidRequestException
- The request was rejected because it is not a valid request.CloudHsmAccessDeniedException
- The request was rejected because the requester does not have permission to perform the requested
operation.public InitializeClusterResult initializeCluster(InitializeClusterRequest request)
Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use DescribeClusters.
initializeCluster
in interface AWSCloudHSMV2
initializeClusterRequest
- CloudHsmInternalFailureException
- The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.CloudHsmServiceException
- The request was rejected because an error occurred.CloudHsmResourceNotFoundException
- The request was rejected because it refers to a resource that cannot be found.CloudHsmInvalidRequestException
- The request was rejected because it is not a valid request.CloudHsmAccessDeniedException
- The request was rejected because the requester does not have permission to perform the requested
operation.public ListTagsResult listTags(ListTagsRequest request)
Gets a list of tags for the specified AWS CloudHSM cluster.
This is a paginated operation, which means that each response might contain only a subset of all the tags. When
the response contains only a subset of tags, it includes a NextToken
value. Use this value in a
subsequent ListTags
request to get more tags. When you receive a response with no
NextToken
(or an empty or null value), that means there are no more tags to get.
listTags
in interface AWSCloudHSMV2
listTagsRequest
- CloudHsmInternalFailureException
- The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.CloudHsmServiceException
- The request was rejected because an error occurred.CloudHsmResourceNotFoundException
- The request was rejected because it refers to a resource that cannot be found.CloudHsmInvalidRequestException
- The request was rejected because it is not a valid request.CloudHsmAccessDeniedException
- The request was rejected because the requester does not have permission to perform the requested
operation.public TagResourceResult tagResource(TagResourceRequest request)
Adds or overwrites one or more tags for the specified AWS CloudHSM cluster.
tagResource
in interface AWSCloudHSMV2
tagResourceRequest
- CloudHsmInternalFailureException
- The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.CloudHsmServiceException
- The request was rejected because an error occurred.CloudHsmResourceNotFoundException
- The request was rejected because it refers to a resource that cannot be found.CloudHsmInvalidRequestException
- The request was rejected because it is not a valid request.CloudHsmAccessDeniedException
- The request was rejected because the requester does not have permission to perform the requested
operation.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes the specified tag or tags from the specified AWS CloudHSM cluster.
untagResource
in interface AWSCloudHSMV2
untagResourceRequest
- CloudHsmInternalFailureException
- The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.CloudHsmServiceException
- The request was rejected because an error occurred.CloudHsmResourceNotFoundException
- The request was rejected because it refers to a resource that cannot be found.CloudHsmInvalidRequestException
- The request was rejected because it is not a valid request.CloudHsmAccessDeniedException
- The request was rejected because the requester does not have permission to perform the requested
operation.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSCloudHSMV2
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.