@ThreadSafe public class AWSCloudHSMAsyncClient extends AWSCloudHSMClient implements AWSCloudHSMAsync
AsyncHandler
can be used to receive notification when
an asynchronous operation completes.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AWSCloudHSMAsyncClient()
Constructs a new asynchronous client to invoke service methods on CloudHSM.
|
AWSCloudHSMAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account
credentials.
|
AWSCloudHSMAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account
credentials, executor service, and client configuration options.
|
AWSCloudHSMAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account
credentials and executor service.
|
AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account
credentials provider.
|
AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on CloudHSM using the provided AWS account
credentials provider and client configuration options.
|
AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account
credentials provider, executor service, and client configuration options.
|
AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account
credentials provider and executor service.
|
AWSCloudHSMAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on CloudHSM.
|
addTagsToResource, createHapg, createHsm, createLunaClient, deleteHapg, deleteHsm, deleteLunaClient, describeHapg, describeHsm, describeHsm, describeLunaClient, describeLunaClient, getCachedResponseMetadata, getConfig, listAvailableZones, listAvailableZones, listHapgs, listHapgs, listHsms, listHsms, listLunaClients, listLunaClients, listTagsForResource, modifyHapg, modifyHsm, modifyLunaClient, removeTagsFromResource
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTagsToResource, createHapg, createHsm, createLunaClient, deleteHapg, deleteHsm, deleteLunaClient, describeHapg, describeHsm, describeHsm, describeLunaClient, describeLunaClient, getCachedResponseMetadata, getConfig, listAvailableZones, listAvailableZones, listHapgs, listHapgs, listHsms, listHsms, listLunaClients, listLunaClients, listTagsForResource, modifyHapg, modifyHsm, modifyLunaClient, removeTagsFromResource, setEndpoint, setRegion
public AWSCloudHSMAsyncClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
public AWSCloudHSMAsyncClient(ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client connects to CloudHSM (ex: proxy settings,
retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSCloudHSMAsyncClient(AWSCredentials awsCredentials)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)
public AWSCloudHSMAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.public AWSCloudHSMAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)
public AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.public AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public ExecutorService getExecutorService()
public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request)
AWSCloudHSMAsync
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.
addTagsToResourceAsync
in interface AWSCloudHSMAsync
public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request, AsyncHandler<AddTagsToResourceRequest,AddTagsToResourceResult> asyncHandler)
AWSCloudHSMAsync
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.
addTagsToResourceAsync
in interface AWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateHapgResult> createHapgAsync(CreateHapgRequest request)
AWSCloudHSMAsync
Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
createHapgAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the CreateHapgRequest action.public Future<CreateHapgResult> createHapgAsync(CreateHapgRequest request, AsyncHandler<CreateHapgRequest,CreateHapgResult> asyncHandler)
AWSCloudHSMAsync
Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
createHapgAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the CreateHapgRequest action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateHsmResult> createHsmAsync(CreateHsmRequest request)
AWSCloudHSMAsync
Creates an uninitialized HSM instance.
There is an upfront fee charged for each HSM instance that you create with the CreateHsm operation. 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
.
createHsmAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the CreateHsm operation.public Future<CreateHsmResult> createHsmAsync(CreateHsmRequest request, AsyncHandler<CreateHsmRequest,CreateHsmResult> asyncHandler)
AWSCloudHSMAsync
Creates an uninitialized HSM instance.
There is an upfront fee charged for each HSM instance that you create with the CreateHsm operation. 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
.
createHsmAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the CreateHsm operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLunaClientResult> createLunaClientAsync(CreateLunaClientRequest request)
AWSCloudHSMAsync
Creates an HSM client.
createLunaClientAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the CreateLunaClient action.public Future<CreateLunaClientResult> createLunaClientAsync(CreateLunaClientRequest request, AsyncHandler<CreateLunaClientRequest,CreateLunaClientResult> asyncHandler)
AWSCloudHSMAsync
Creates an HSM client.
createLunaClientAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the CreateLunaClient action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteHapgResult> deleteHapgAsync(DeleteHapgRequest request)
AWSCloudHSMAsync
Deletes a high-availability partition group.
deleteHapgAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the DeleteHapg action.public Future<DeleteHapgResult> deleteHapgAsync(DeleteHapgRequest request, AsyncHandler<DeleteHapgRequest,DeleteHapgResult> asyncHandler)
AWSCloudHSMAsync
Deletes a high-availability partition group.
deleteHapgAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the DeleteHapg action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteHsmResult> deleteHsmAsync(DeleteHsmRequest request)
AWSCloudHSMAsync
Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.
deleteHsmAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the DeleteHsm operation.public Future<DeleteHsmResult> deleteHsmAsync(DeleteHsmRequest request, AsyncHandler<DeleteHsmRequest,DeleteHsmResult> asyncHandler)
AWSCloudHSMAsync
Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.
deleteHsmAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the DeleteHsm operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteLunaClientResult> deleteLunaClientAsync(DeleteLunaClientRequest request)
AWSCloudHSMAsync
Deletes a client.
deleteLunaClientAsync
in interface AWSCloudHSMAsync
public Future<DeleteLunaClientResult> deleteLunaClientAsync(DeleteLunaClientRequest request, AsyncHandler<DeleteLunaClientRequest,DeleteLunaClientResult> asyncHandler)
AWSCloudHSMAsync
Deletes a client.
deleteLunaClientAsync
in interface AWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeHapgResult> describeHapgAsync(DescribeHapgRequest request)
AWSCloudHSMAsync
Retrieves information about a high-availability partition group.
describeHapgAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the DescribeHapg action.public Future<DescribeHapgResult> describeHapgAsync(DescribeHapgRequest request, AsyncHandler<DescribeHapgRequest,DescribeHapgResult> asyncHandler)
AWSCloudHSMAsync
Retrieves information about a high-availability partition group.
describeHapgAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the DescribeHapg action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeHsmResult> describeHsmAsync(DescribeHsmRequest request)
AWSCloudHSMAsync
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
describeHsmAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the DescribeHsm operation.public Future<DescribeHsmResult> describeHsmAsync(DescribeHsmRequest request, AsyncHandler<DescribeHsmRequest,DescribeHsmResult> asyncHandler)
AWSCloudHSMAsync
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
describeHsmAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the DescribeHsm operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeHsmResult> describeHsmAsync()
describeHsmAsync
in interface AWSCloudHSMAsync
describeHsmAsync(DescribeHsmRequest)
public Future<DescribeHsmResult> describeHsmAsync(AsyncHandler<DescribeHsmRequest,DescribeHsmResult> asyncHandler)
describeHsmAsync
in interface AWSCloudHSMAsync
describeHsmAsync(DescribeHsmRequest, com.amazonaws.handlers.AsyncHandler)
public Future<DescribeLunaClientResult> describeLunaClientAsync(DescribeLunaClientRequest request)
AWSCloudHSMAsync
Retrieves information about an HSM client.
describeLunaClientAsync
in interface AWSCloudHSMAsync
public Future<DescribeLunaClientResult> describeLunaClientAsync(DescribeLunaClientRequest request, AsyncHandler<DescribeLunaClientRequest,DescribeLunaClientResult> asyncHandler)
AWSCloudHSMAsync
Retrieves information about an HSM client.
describeLunaClientAsync
in interface AWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLunaClientResult> describeLunaClientAsync()
describeLunaClientAsync
in interface AWSCloudHSMAsync
describeLunaClientAsync(DescribeLunaClientRequest)
public Future<DescribeLunaClientResult> describeLunaClientAsync(AsyncHandler<DescribeLunaClientRequest,DescribeLunaClientResult> asyncHandler)
describeLunaClientAsync
in interface AWSCloudHSMAsync
describeLunaClientAsync(DescribeLunaClientRequest, com.amazonaws.handlers.AsyncHandler)
public Future<GetConfigResult> getConfigAsync(GetConfigRequest request)
AWSCloudHSMAsync
Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
getConfigAsync
in interface AWSCloudHSMAsync
public Future<GetConfigResult> getConfigAsync(GetConfigRequest request, AsyncHandler<GetConfigRequest,GetConfigResult> asyncHandler)
AWSCloudHSMAsync
Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
getConfigAsync
in interface AWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAvailableZonesResult> listAvailableZonesAsync(ListAvailableZonesRequest request)
AWSCloudHSMAsync
Lists the Availability Zones that have available AWS CloudHSM capacity.
listAvailableZonesAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the ListAvailableZones action.public Future<ListAvailableZonesResult> listAvailableZonesAsync(ListAvailableZonesRequest request, AsyncHandler<ListAvailableZonesRequest,ListAvailableZonesResult> asyncHandler)
AWSCloudHSMAsync
Lists the Availability Zones that have available AWS CloudHSM capacity.
listAvailableZonesAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the ListAvailableZones action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAvailableZonesResult> listAvailableZonesAsync()
listAvailableZonesAsync
in interface AWSCloudHSMAsync
listAvailableZonesAsync(ListAvailableZonesRequest)
public Future<ListAvailableZonesResult> listAvailableZonesAsync(AsyncHandler<ListAvailableZonesRequest,ListAvailableZonesResult> asyncHandler)
listAvailableZonesAsync
in interface AWSCloudHSMAsync
listAvailableZonesAsync(ListAvailableZonesRequest, com.amazonaws.handlers.AsyncHandler)
public Future<ListHapgsResult> listHapgsAsync(ListHapgsRequest request)
AWSCloudHSMAsync
Lists the high-availability partition groups for the account.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHapgs to retrieve the next set of items.
listHapgsAsync
in interface AWSCloudHSMAsync
public Future<ListHapgsResult> listHapgsAsync(ListHapgsRequest request, AsyncHandler<ListHapgsRequest,ListHapgsResult> asyncHandler)
AWSCloudHSMAsync
Lists the high-availability partition groups for the account.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHapgs to retrieve the next set of items.
listHapgsAsync
in interface AWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListHapgsResult> listHapgsAsync()
listHapgsAsync
in interface AWSCloudHSMAsync
listHapgsAsync(ListHapgsRequest)
public Future<ListHapgsResult> listHapgsAsync(AsyncHandler<ListHapgsRequest,ListHapgsResult> asyncHandler)
listHapgsAsync
in interface AWSCloudHSMAsync
listHapgsAsync(ListHapgsRequest, com.amazonaws.handlers.AsyncHandler)
public Future<ListHsmsResult> listHsmsAsync(ListHsmsRequest request)
AWSCloudHSMAsync
Retrieves the identifiers of all of the HSMs provisioned for the current customer.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHsms to retrieve the next set of items.
listHsmsAsync
in interface AWSCloudHSMAsync
public Future<ListHsmsResult> listHsmsAsync(ListHsmsRequest request, AsyncHandler<ListHsmsRequest,ListHsmsResult> asyncHandler)
AWSCloudHSMAsync
Retrieves the identifiers of all of the HSMs provisioned for the current customer.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHsms to retrieve the next set of items.
listHsmsAsync
in interface AWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListHsmsResult> listHsmsAsync()
listHsmsAsync
in interface AWSCloudHSMAsync
listHsmsAsync(ListHsmsRequest)
public Future<ListHsmsResult> listHsmsAsync(AsyncHandler<ListHsmsRequest,ListHsmsResult> asyncHandler)
listHsmsAsync
in interface AWSCloudHSMAsync
listHsmsAsync(ListHsmsRequest, com.amazonaws.handlers.AsyncHandler)
public Future<ListLunaClientsResult> listLunaClientsAsync(ListLunaClientsRequest request)
AWSCloudHSMAsync
Lists all of the clients.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListLunaClients to retrieve the next set of items.
listLunaClientsAsync
in interface AWSCloudHSMAsync
public Future<ListLunaClientsResult> listLunaClientsAsync(ListLunaClientsRequest request, AsyncHandler<ListLunaClientsRequest,ListLunaClientsResult> asyncHandler)
AWSCloudHSMAsync
Lists all of the clients.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListLunaClients to retrieve the next set of items.
listLunaClientsAsync
in interface AWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListLunaClientsResult> listLunaClientsAsync()
listLunaClientsAsync
in interface AWSCloudHSMAsync
listLunaClientsAsync(ListLunaClientsRequest)
public Future<ListLunaClientsResult> listLunaClientsAsync(AsyncHandler<ListLunaClientsRequest,ListLunaClientsResult> asyncHandler)
listLunaClientsAsync
in interface AWSCloudHSMAsync
listLunaClientsAsync(ListLunaClientsRequest, com.amazonaws.handlers.AsyncHandler)
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSCloudHSMAsync
Returns a list of all tags for the specified AWS CloudHSM resource.
listTagsForResourceAsync
in interface AWSCloudHSMAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSCloudHSMAsync
Returns a list of all tags for the specified AWS CloudHSM resource.
listTagsForResourceAsync
in interface AWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ModifyHapgResult> modifyHapgAsync(ModifyHapgRequest request)
AWSCloudHSMAsync
Modifies an existing high-availability partition group.
modifyHapgAsync
in interface AWSCloudHSMAsync
public Future<ModifyHapgResult> modifyHapgAsync(ModifyHapgRequest request, AsyncHandler<ModifyHapgRequest,ModifyHapgResult> asyncHandler)
AWSCloudHSMAsync
Modifies an existing high-availability partition group.
modifyHapgAsync
in interface AWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ModifyHsmResult> modifyHsmAsync(ModifyHsmRequest request)
AWSCloudHSMAsync
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.
modifyHsmAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the ModifyHsm operation.public Future<ModifyHsmResult> modifyHsmAsync(ModifyHsmRequest request, AsyncHandler<ModifyHsmRequest,ModifyHsmResult> asyncHandler)
AWSCloudHSMAsync
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.
modifyHsmAsync
in interface AWSCloudHSMAsync
request
- Contains the inputs for the ModifyHsm operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ModifyLunaClientResult> modifyLunaClientAsync(ModifyLunaClientRequest request)
AWSCloudHSMAsync
Modifies the certificate used by the client.
This action can potentially start a workflow to install the new certificate on the client's HSMs.
modifyLunaClientAsync
in interface AWSCloudHSMAsync
public Future<ModifyLunaClientResult> modifyLunaClientAsync(ModifyLunaClientRequest request, AsyncHandler<ModifyLunaClientRequest,ModifyLunaClientResult> asyncHandler)
AWSCloudHSMAsync
Modifies the certificate used by the client.
This action can potentially start a workflow to install the new certificate on the client's HSMs.
modifyLunaClientAsync
in interface AWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request)
AWSCloudHSMAsync
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.
removeTagsFromResourceAsync
in interface AWSCloudHSMAsync
public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request, AsyncHandler<RemoveTagsFromResourceRequest,RemoveTagsFromResourceResult> asyncHandler)
AWSCloudHSMAsync
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.
removeTagsFromResourceAsync
in interface AWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSCloudHSM
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.