Interface CloudHsmAsyncClient
- All Superinterfaces:
- AutoCloseable,- AwsClient,- SdkAutoCloseable,- SdkClient
builder()
 method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
 supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
 some cases such as credentials retrieval and endpoint discovery as part of the async API call.
 This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String
- 
Method SummaryModifier and TypeMethodDescriptionaddTagsToResource(Consumer<AddTagsToResourceRequest.Builder> addTagsToResourceRequest) Deprecated.This API is deprecated.addTagsToResource(AddTagsToResourceRequest addTagsToResourceRequest) Deprecated.This API is deprecated.static CloudHsmAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aCloudHsmAsyncClient.static CloudHsmAsyncClientcreate()Create aCloudHsmAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateHapgResponse> createHapg(Consumer<CreateHapgRequest.Builder> createHapgRequest) Deprecated.This API is deprecated.default CompletableFuture<CreateHapgResponse> createHapg(CreateHapgRequest createHapgRequest) Deprecated.This API is deprecated.default CompletableFuture<CreateHsmResponse> createHsm(Consumer<CreateHsmRequest.Builder> createHsmRequest) Deprecated.This API is deprecated.default CompletableFuture<CreateHsmResponse> createHsm(CreateHsmRequest createHsmRequest) Deprecated.This API is deprecated.createLunaClient(Consumer<CreateLunaClientRequest.Builder> createLunaClientRequest) Deprecated.This API is deprecated.createLunaClient(CreateLunaClientRequest createLunaClientRequest) Deprecated.This API is deprecated.default CompletableFuture<DeleteHapgResponse> deleteHapg(Consumer<DeleteHapgRequest.Builder> deleteHapgRequest) Deprecated.This API is deprecated.default CompletableFuture<DeleteHapgResponse> deleteHapg(DeleteHapgRequest deleteHapgRequest) Deprecated.This API is deprecated.default CompletableFuture<DeleteHsmResponse> deleteHsm(Consumer<DeleteHsmRequest.Builder> deleteHsmRequest) Deprecated.This API is deprecated.default CompletableFuture<DeleteHsmResponse> deleteHsm(DeleteHsmRequest deleteHsmRequest) Deprecated.This API is deprecated.deleteLunaClient(Consumer<DeleteLunaClientRequest.Builder> deleteLunaClientRequest) Deprecated.This API is deprecated.deleteLunaClient(DeleteLunaClientRequest deleteLunaClientRequest) Deprecated.This API is deprecated.default CompletableFuture<DescribeHapgResponse> describeHapg(Consumer<DescribeHapgRequest.Builder> describeHapgRequest) Deprecated.This API is deprecated.default CompletableFuture<DescribeHapgResponse> describeHapg(DescribeHapgRequest describeHapgRequest) Deprecated.This API is deprecated.default CompletableFuture<DescribeHsmResponse> describeHsm(Consumer<DescribeHsmRequest.Builder> describeHsmRequest) Deprecated.This API is deprecated.default CompletableFuture<DescribeHsmResponse> describeHsm(DescribeHsmRequest describeHsmRequest) Deprecated.This API is deprecated.describeLunaClient(Consumer<DescribeLunaClientRequest.Builder> describeLunaClientRequest) Deprecated.This API is deprecated.describeLunaClient(DescribeLunaClientRequest describeLunaClientRequest) Deprecated.This API is deprecated.default CompletableFuture<GetConfigResponse> getConfig(Consumer<GetConfigRequest.Builder> getConfigRequest) Deprecated.This API is deprecated.default CompletableFuture<GetConfigResponse> getConfig(GetConfigRequest getConfigRequest) Deprecated.This API is deprecated.Deprecated.This API is deprecated.listAvailableZones(Consumer<ListAvailableZonesRequest.Builder> listAvailableZonesRequest) Deprecated.This API is deprecated.listAvailableZones(ListAvailableZonesRequest listAvailableZonesRequest) Deprecated.This API is deprecated.default CompletableFuture<ListHapgsResponse> Deprecated.This API is deprecated.default CompletableFuture<ListHapgsResponse> listHapgs(Consumer<ListHapgsRequest.Builder> listHapgsRequest) Deprecated.This API is deprecated.default CompletableFuture<ListHapgsResponse> listHapgs(ListHapgsRequest listHapgsRequest) Deprecated.This API is deprecated.default CompletableFuture<ListHsmsResponse> listHsms()Deprecated.This API is deprecated.default CompletableFuture<ListHsmsResponse> listHsms(Consumer<ListHsmsRequest.Builder> listHsmsRequest) Deprecated.This API is deprecated.default CompletableFuture<ListHsmsResponse> listHsms(ListHsmsRequest listHsmsRequest) Deprecated.This API is deprecated.default CompletableFuture<ListLunaClientsResponse> Deprecated.This API is deprecated.default CompletableFuture<ListLunaClientsResponse> listLunaClients(Consumer<ListLunaClientsRequest.Builder> listLunaClientsRequest) Deprecated.This API is deprecated.default CompletableFuture<ListLunaClientsResponse> listLunaClients(ListLunaClientsRequest listLunaClientsRequest) Deprecated.This API is deprecated.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Deprecated.This API is deprecated.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Deprecated.This API is deprecated.default CompletableFuture<ModifyHapgResponse> modifyHapg(Consumer<ModifyHapgRequest.Builder> modifyHapgRequest) Deprecated.This API is deprecated.default CompletableFuture<ModifyHapgResponse> modifyHapg(ModifyHapgRequest modifyHapgRequest) Deprecated.This API is deprecated.default CompletableFuture<ModifyHsmResponse> modifyHsm(Consumer<ModifyHsmRequest.Builder> modifyHsmRequest) Deprecated.This API is deprecated.default CompletableFuture<ModifyHsmResponse> modifyHsm(ModifyHsmRequest modifyHsmRequest) Deprecated.This API is deprecated.modifyLunaClient(Consumer<ModifyLunaClientRequest.Builder> modifyLunaClientRequest) Deprecated.This API is deprecated.modifyLunaClient(ModifyLunaClientRequest modifyLunaClientRequest) Deprecated.This API is deprecated.removeTagsFromResource(Consumer<RemoveTagsFromResourceRequest.Builder> removeTagsFromResourceRequest) Deprecated.This API is deprecated.removeTagsFromResource(RemoveTagsFromResourceRequest removeTagsFromResourceRequest) Deprecated.This API is deprecated.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseablecloseMethods inherited from interface software.amazon.awssdk.core.SdkClientserviceName
- 
Field Details- 
SERVICE_NAME- See Also:
 
- 
SERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.- See Also:
 
 
- 
- 
Method Details- 
addTagsToResource@Deprecated default CompletableFuture<AddTagsToResourceResponse> addTagsToResource(AddTagsToResourceRequest addTagsToResourceRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Adds or overwrites one or more tags for the specified AWS CloudHSM resource. Each tag consists of a key and a value. Tag keys must be unique to each resource. - Parameters:
- addTagsToResourceRequest-
- Returns:
- A Java Future containing the result of the AddTagsToResource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
addTagsToResource@Deprecated default CompletableFuture<AddTagsToResourceResponse> addTagsToResource(Consumer<AddTagsToResourceRequest.Builder> addTagsToResourceRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Adds or overwrites one or more tags for the specified AWS CloudHSM resource. Each tag consists of a key and a value. Tag keys must be unique to each resource. 
 This is a convenience which creates an instance of the AddTagsToResourceRequest.Builderavoiding the need to create one manually viaAddTagsToResourceRequest.builder()- Parameters:
- addTagsToResourceRequest- A- Consumerthat will call methods on- AddTagsToResourceRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the AddTagsToResource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
createHapg@Deprecated default CompletableFuture<CreateHapgResponse> createHapg(CreateHapgRequest createHapgRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs. - Parameters:
- createHapgRequest- Contains the inputs for the CreateHapgRequest action.
- Returns:
- A Java Future containing the result of the CreateHapg operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
createHapg@Deprecated default CompletableFuture<CreateHapgResponse> createHapg(Consumer<CreateHapgRequest.Builder> createHapgRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs. 
 This is a convenience which creates an instance of the CreateHapgRequest.Builderavoiding the need to create one manually viaCreateHapgRequest.builder()- Parameters:
- createHapgRequest- A- Consumerthat will call methods on- CreateHapgRequest.Builderto create a request. Contains the inputs for the CreateHapgRequest action.
- Returns:
- A Java Future containing the result of the CreateHapg operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
createHsm@Deprecated default CompletableFuture<CreateHsmResponse> createHsm(CreateHsmRequest createHsmRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Creates an uninitialized HSM instance. There is an upfront fee charged for each HSM instance that you create with the CreateHsmoperation. If you accidentally provision an HSM and want to request a refund, delete the instance using the DeleteHsm operation, go to the AWS Support Center, create a new case, and select Account and Billing Support.It can take up to 20 minutes to create and provision an HSM. You can monitor the status of the HSM with the DescribeHsm operation. The HSM is ready to be initialized when the status changes to RUNNING.- Parameters:
- createHsmRequest- Contains the inputs for the- CreateHsmoperation.
- Returns:
- A Java Future containing the result of the CreateHsm operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
createHsm@Deprecated default CompletableFuture<CreateHsmResponse> createHsm(Consumer<CreateHsmRequest.Builder> createHsmRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Creates an uninitialized HSM instance. There is an upfront fee charged for each HSM instance that you create with the CreateHsmoperation. If you accidentally provision an HSM and want to request a refund, delete the instance using the DeleteHsm operation, go to the AWS Support Center, create a new case, and select Account and Billing Support.It can take up to 20 minutes to create and provision an HSM. You can monitor the status of the HSM with the DescribeHsm operation. The HSM is ready to be initialized when the status changes to RUNNING.
 This is a convenience which creates an instance of the CreateHsmRequest.Builderavoiding the need to create one manually viaCreateHsmRequest.builder()- Parameters:
- createHsmRequest- A- Consumerthat will call methods on- CreateHsmRequest.Builderto create a request. Contains the inputs for the- CreateHsmoperation.
- Returns:
- A Java Future containing the result of the CreateHsm operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
createLunaClient@Deprecated default CompletableFuture<CreateLunaClientResponse> createLunaClient(CreateLunaClientRequest createLunaClientRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Creates an HSM client. - Parameters:
- createLunaClientRequest- Contains the inputs for the CreateLunaClient action.
- Returns:
- A Java Future containing the result of the CreateLunaClient operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
createLunaClient@Deprecated default CompletableFuture<CreateLunaClientResponse> createLunaClient(Consumer<CreateLunaClientRequest.Builder> createLunaClientRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Creates an HSM client. 
 This is a convenience which creates an instance of the CreateLunaClientRequest.Builderavoiding the need to create one manually viaCreateLunaClientRequest.builder()- Parameters:
- createLunaClientRequest- A- Consumerthat will call methods on- CreateLunaClientRequest.Builderto create a request. Contains the inputs for the CreateLunaClient action.
- Returns:
- A Java Future containing the result of the CreateLunaClient operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
deleteHapg@Deprecated default CompletableFuture<DeleteHapgResponse> deleteHapg(DeleteHapgRequest deleteHapgRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Deletes a high-availability partition group. - Parameters:
- deleteHapgRequest- Contains the inputs for the DeleteHapg action.
- Returns:
- A Java Future containing the result of the DeleteHapg operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
deleteHapg@Deprecated default CompletableFuture<DeleteHapgResponse> deleteHapg(Consumer<DeleteHapgRequest.Builder> deleteHapgRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Deletes a high-availability partition group. 
 This is a convenience which creates an instance of the DeleteHapgRequest.Builderavoiding the need to create one manually viaDeleteHapgRequest.builder()- Parameters:
- deleteHapgRequest- A- Consumerthat will call methods on- DeleteHapgRequest.Builderto create a request. Contains the inputs for the DeleteHapg action.
- Returns:
- A Java Future containing the result of the DeleteHapg operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
deleteHsm@Deprecated default CompletableFuture<DeleteHsmResponse> deleteHsm(DeleteHsmRequest deleteHsmRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered. - Parameters:
- deleteHsmRequest- Contains the inputs for the DeleteHsm operation.
- Returns:
- A Java Future containing the result of the DeleteHsm operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
deleteHsm@Deprecated default CompletableFuture<DeleteHsmResponse> deleteHsm(Consumer<DeleteHsmRequest.Builder> deleteHsmRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered. 
 This is a convenience which creates an instance of the DeleteHsmRequest.Builderavoiding the need to create one manually viaDeleteHsmRequest.builder()- Parameters:
- deleteHsmRequest- A- Consumerthat will call methods on- DeleteHsmRequest.Builderto create a request. Contains the inputs for the DeleteHsm operation.
- Returns:
- A Java Future containing the result of the DeleteHsm operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
deleteLunaClient@Deprecated default CompletableFuture<DeleteLunaClientResponse> deleteLunaClient(DeleteLunaClientRequest deleteLunaClientRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Deletes a client. - Parameters:
- deleteLunaClientRequest-
- Returns:
- A Java Future containing the result of the DeleteLunaClient operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
deleteLunaClient@Deprecated default CompletableFuture<DeleteLunaClientResponse> deleteLunaClient(Consumer<DeleteLunaClientRequest.Builder> deleteLunaClientRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Deletes a client. 
 This is a convenience which creates an instance of the DeleteLunaClientRequest.Builderavoiding the need to create one manually viaDeleteLunaClientRequest.builder()- Parameters:
- deleteLunaClientRequest- A- Consumerthat will call methods on- DeleteLunaClientRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the DeleteLunaClient operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
describeHapg@Deprecated default CompletableFuture<DescribeHapgResponse> describeHapg(DescribeHapgRequest describeHapgRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Retrieves information about a high-availability partition group. - Parameters:
- describeHapgRequest- Contains the inputs for the DescribeHapg action.
- Returns:
- A Java Future containing the result of the DescribeHapg operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
describeHapg@Deprecated default CompletableFuture<DescribeHapgResponse> describeHapg(Consumer<DescribeHapgRequest.Builder> describeHapgRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Retrieves information about a high-availability partition group. 
 This is a convenience which creates an instance of the DescribeHapgRequest.Builderavoiding the need to create one manually viaDescribeHapgRequest.builder()- Parameters:
- describeHapgRequest- A- Consumerthat will call methods on- DescribeHapgRequest.Builderto create a request. Contains the inputs for the DescribeHapg action.
- Returns:
- A Java Future containing the result of the DescribeHapg operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
describeHsm@Deprecated default CompletableFuture<DescribeHsmResponse> describeHsm(DescribeHsmRequest describeHsmRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number. - Parameters:
- describeHsmRequest- Contains the inputs for the DescribeHsm operation.
- Returns:
- A Java Future containing the result of the DescribeHsm operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
describeHsm@Deprecated default CompletableFuture<DescribeHsmResponse> describeHsm(Consumer<DescribeHsmRequest.Builder> describeHsmRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number. 
 This is a convenience which creates an instance of the DescribeHsmRequest.Builderavoiding the need to create one manually viaDescribeHsmRequest.builder()- Parameters:
- describeHsmRequest- A- Consumerthat will call methods on- DescribeHsmRequest.Builderto create a request. Contains the inputs for the DescribeHsm operation.
- Returns:
- A Java Future containing the result of the DescribeHsm operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
describeLunaClient@Deprecated default CompletableFuture<DescribeLunaClientResponse> describeLunaClient(DescribeLunaClientRequest describeLunaClientRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Retrieves information about an HSM client. - Parameters:
- describeLunaClientRequest-
- Returns:
- A Java Future containing the result of the DescribeLunaClient operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
describeLunaClient@Deprecated default CompletableFuture<DescribeLunaClientResponse> describeLunaClient(Consumer<DescribeLunaClientRequest.Builder> describeLunaClientRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Retrieves information about an HSM client. 
 This is a convenience which creates an instance of the DescribeLunaClientRequest.Builderavoiding the need to create one manually viaDescribeLunaClientRequest.builder()- Parameters:
- describeLunaClientRequest- A- Consumerthat will call methods on- DescribeLunaClientRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the DescribeLunaClient operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getConfig@Deprecated default CompletableFuture<GetConfigResponse> getConfig(GetConfigRequest getConfigRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Gets the configuration files necessary to connect to all high availability partition groups the client is associated with. - Parameters:
- getConfigRequest-
- Returns:
- A Java Future containing the result of the GetConfig operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getConfig@Deprecated default CompletableFuture<GetConfigResponse> getConfig(Consumer<GetConfigRequest.Builder> getConfigRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Gets the configuration files necessary to connect to all high availability partition groups the client is associated with. 
 This is a convenience which creates an instance of the GetConfigRequest.Builderavoiding the need to create one manually viaGetConfigRequest.builder()- Parameters:
- getConfigRequest- A- Consumerthat will call methods on- GetConfigRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetConfig operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listAvailableZones@Deprecated default CompletableFuture<ListAvailableZonesResponse> listAvailableZones(ListAvailableZonesRequest listAvailableZonesRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Lists the Availability Zones that have available AWS CloudHSM capacity. - Parameters:
- listAvailableZonesRequest- Contains the inputs for the ListAvailableZones action.
- Returns:
- A Java Future containing the result of the ListAvailableZones operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listAvailableZones@Deprecated default CompletableFuture<ListAvailableZonesResponse> listAvailableZones(Consumer<ListAvailableZonesRequest.Builder> listAvailableZonesRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Lists the Availability Zones that have available AWS CloudHSM capacity. 
 This is a convenience which creates an instance of the ListAvailableZonesRequest.Builderavoiding the need to create one manually viaListAvailableZonesRequest.builder()- Parameters:
- listAvailableZonesRequest- A- Consumerthat will call methods on- ListAvailableZonesRequest.Builderto create a request. Contains the inputs for the ListAvailableZones action.
- Returns:
- A Java Future containing the result of the ListAvailableZones operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listAvailableZonesDeprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Lists the Availability Zones that have available AWS CloudHSM capacity. - Returns:
- A Java Future containing the result of the ListAvailableZones operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listHapgs@Deprecated default CompletableFuture<ListHapgsResponse> listHapgs(ListHapgsRequest listHapgsRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Lists the high-availability partition groups for the account. This operation supports pagination with the use of the NextTokenmember. If more results are available, theNextTokenmember of the response contains a token that you pass in the next call toListHapgsto retrieve the next set of items.- Parameters:
- listHapgsRequest-
- Returns:
- A Java Future containing the result of the ListHapgs operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listHapgs@Deprecated default CompletableFuture<ListHapgsResponse> listHapgs(Consumer<ListHapgsRequest.Builder> listHapgsRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Lists the high-availability partition groups for the account. This operation supports pagination with the use of the NextTokenmember. If more results are available, theNextTokenmember of the response contains a token that you pass in the next call toListHapgsto retrieve the next set of items.
 This is a convenience which creates an instance of the ListHapgsRequest.Builderavoiding the need to create one manually viaListHapgsRequest.builder()- Parameters:
- listHapgsRequest- A- Consumerthat will call methods on- ListHapgsRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the ListHapgs operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listHapgsDeprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Lists the high-availability partition groups for the account. This operation supports pagination with the use of the NextTokenmember. If more results are available, theNextTokenmember of the response contains a token that you pass in the next call toListHapgsto retrieve the next set of items.- Returns:
- A Java Future containing the result of the ListHapgs operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listHsmsDeprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Retrieves the identifiers of all of the HSMs provisioned for the current customer. This operation supports pagination with the use of the NextTokenmember. If more results are available, theNextTokenmember of the response contains a token that you pass in the next call toListHsmsto retrieve the next set of items.- Parameters:
- listHsmsRequest-
- Returns:
- A Java Future containing the result of the ListHsms operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listHsms@Deprecated default CompletableFuture<ListHsmsResponse> listHsms(Consumer<ListHsmsRequest.Builder> listHsmsRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Retrieves the identifiers of all of the HSMs provisioned for the current customer. This operation supports pagination with the use of the NextTokenmember. If more results are available, theNextTokenmember of the response contains a token that you pass in the next call toListHsmsto retrieve the next set of items.
 This is a convenience which creates an instance of the ListHsmsRequest.Builderavoiding the need to create one manually viaListHsmsRequest.builder()- Parameters:
- listHsmsRequest- A- Consumerthat will call methods on- ListHsmsRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the ListHsms operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listHsmsDeprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Retrieves the identifiers of all of the HSMs provisioned for the current customer. This operation supports pagination with the use of the NextTokenmember. If more results are available, theNextTokenmember of the response contains a token that you pass in the next call toListHsmsto retrieve the next set of items.- Returns:
- A Java Future containing the result of the ListHsms operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listLunaClients@Deprecated default CompletableFuture<ListLunaClientsResponse> listLunaClients(ListLunaClientsRequest listLunaClientsRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Lists all of the clients. This operation supports pagination with the use of the NextTokenmember. If more results are available, theNextTokenmember of the response contains a token that you pass in the next call toListLunaClientsto retrieve the next set of items.- Parameters:
- listLunaClientsRequest-
- Returns:
- A Java Future containing the result of the ListLunaClients operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listLunaClients@Deprecated default CompletableFuture<ListLunaClientsResponse> listLunaClients(Consumer<ListLunaClientsRequest.Builder> listLunaClientsRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Lists all of the clients. This operation supports pagination with the use of the NextTokenmember. If more results are available, theNextTokenmember of the response contains a token that you pass in the next call toListLunaClientsto retrieve the next set of items.
 This is a convenience which creates an instance of the ListLunaClientsRequest.Builderavoiding the need to create one manually viaListLunaClientsRequest.builder()- Parameters:
- listLunaClientsRequest- A- Consumerthat will call methods on- ListLunaClientsRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the ListLunaClients operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listLunaClientsDeprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Lists all of the clients. This operation supports pagination with the use of the NextTokenmember. If more results are available, theNextTokenmember of the response contains a token that you pass in the next call toListLunaClientsto retrieve the next set of items.- Returns:
- A Java Future containing the result of the ListLunaClients operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listTagsForResource@Deprecated default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Returns a list of all tags for the specified AWS CloudHSM resource. - Parameters:
- listTagsForResourceRequest-
- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listTagsForResource@Deprecated default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Returns a list of all tags for the specified AWS CloudHSM resource. 
 This is a convenience which creates an instance of the ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
- listTagsForResourceRequest- A- Consumerthat will call methods on- ListTagsForResourceRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
modifyHapg@Deprecated default CompletableFuture<ModifyHapgResponse> modifyHapg(ModifyHapgRequest modifyHapgRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Modifies an existing high-availability partition group. - Parameters:
- modifyHapgRequest-
- Returns:
- A Java Future containing the result of the ModifyHapg operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
modifyHapg@Deprecated default CompletableFuture<ModifyHapgResponse> modifyHapg(Consumer<ModifyHapgRequest.Builder> modifyHapgRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Modifies an existing high-availability partition group. 
 This is a convenience which creates an instance of the ModifyHapgRequest.Builderavoiding the need to create one manually viaModifyHapgRequest.builder()- Parameters:
- modifyHapgRequest- A- Consumerthat will call methods on- ModifyHapgRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the ModifyHapg operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
modifyHsm@Deprecated default CompletableFuture<ModifyHsmResponse> modifyHsm(ModifyHsmRequest modifyHsmRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Modifies an HSM. This operation can result in the HSM being offline for up to 15 minutes while the AWS CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure that your AWS CloudHSM service is configured for high availability, and consider executing this operation during a maintenance window. - Parameters:
- modifyHsmRequest- Contains the inputs for the ModifyHsm operation.
- Returns:
- A Java Future containing the result of the ModifyHsm operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
modifyHsm@Deprecated default CompletableFuture<ModifyHsmResponse> modifyHsm(Consumer<ModifyHsmRequest.Builder> modifyHsmRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Modifies an HSM. This operation can result in the HSM being offline for up to 15 minutes while the AWS CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure that your AWS CloudHSM service is configured for high availability, and consider executing this operation during a maintenance window. 
 This is a convenience which creates an instance of the ModifyHsmRequest.Builderavoiding the need to create one manually viaModifyHsmRequest.builder()- Parameters:
- modifyHsmRequest- A- Consumerthat will call methods on- ModifyHsmRequest.Builderto create a request. Contains the inputs for the ModifyHsm operation.
- Returns:
- A Java Future containing the result of the ModifyHsm operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
modifyLunaClient@Deprecated default CompletableFuture<ModifyLunaClientResponse> modifyLunaClient(ModifyLunaClientRequest modifyLunaClientRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Modifies the certificate used by the client. This action can potentially start a workflow to install the new certificate on the client's HSMs. - Parameters:
- modifyLunaClientRequest-
- Returns:
- A Java Future containing the result of the ModifyLunaClient operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
modifyLunaClient@Deprecated default CompletableFuture<ModifyLunaClientResponse> modifyLunaClient(Consumer<ModifyLunaClientRequest.Builder> modifyLunaClientRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Modifies the certificate used by the client. This action can potentially start a workflow to install the new certificate on the client's HSMs. 
 This is a convenience which creates an instance of the ModifyLunaClientRequest.Builderavoiding the need to create one manually viaModifyLunaClientRequest.builder()- Parameters:
- modifyLunaClientRequest- A- Consumerthat will call methods on- ModifyLunaClientRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the ModifyLunaClient operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
removeTagsFromResource@Deprecated default CompletableFuture<RemoveTagsFromResourceResponse> removeTagsFromResource(RemoveTagsFromResourceRequest removeTagsFromResourceRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Removes one or more tags from the specified AWS CloudHSM resource. To remove a tag, specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource. - Parameters:
- removeTagsFromResourceRequest-
- Returns:
- A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
removeTagsFromResource@Deprecated default CompletableFuture<RemoveTagsFromResourceResponse> removeTagsFromResource(Consumer<RemoveTagsFromResourceRequest.Builder> removeTagsFromResourceRequest) Deprecated.This API is deprecated.This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Removes one or more tags from the specified AWS CloudHSM resource. To remove a tag, specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource. 
 This is a convenience which creates an instance of the RemoveTagsFromResourceRequest.Builderavoiding the need to create one manually viaRemoveTagsFromResourceRequest.builder()- Parameters:
- removeTagsFromResourceRequest- A- Consumerthat will call methods on- RemoveTagsFromResourceRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
- CloudHsmInternalException Indicates that an internal error occurred.
- InvalidRequestException Indicates that one or more of the request parameters are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CloudHsmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
serviceClientConfigurationDescription copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
- serviceClientConfigurationin interface- AwsClient
- Specified by:
- serviceClientConfigurationin interface- SdkClient
- Returns:
- SdkServiceClientConfiguration
 
- 
createCreate aCloudHsmAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
- 
builderCreate a builder that can be used to configure and create aCloudHsmAsyncClient.
 
-