public class AbstractAWSCloudHSMAsync extends AbstractAWSCloudHSM implements AWSCloudHSMAsync
AWSCloudHSMAsync
. Convenient method forms
pass through to the corresponding overload that takes a request object and an
AsyncHandler
, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
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, shutdown
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, shutdown
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.