public class AWSCloudHSMAsyncClient extends AWSCloudHSMClient implements AWSCloudHSMAsync
jsonErrorUnmarshallersclient, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset| Constructor and Description |
|---|
AWSCloudHSMAsyncClient()
Constructs a new asynchronous client to invoke service methods on
AWSCloudHSM.
|
AWSCloudHSMAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
AWSCloudHSM using the specified AWS account credentials.
|
AWSCloudHSMAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AWSCloudHSM 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
AWSCloudHSM using the specified AWS account credentials
and executor service.
|
AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
AWSCloudHSM using the specified AWS account credentials provider.
|
AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AWSCloudHSM using the specified 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
AWSCloudHSM 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
AWSCloudHSM using the specified AWS account credentials provider
and executor service.
|
AWSCloudHSMAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AWSCloudHSM.
|
| Modifier and Type | Method and Description |
|---|---|
Future<CreateHapgResult> |
createHapgAsync(CreateHapgRequest createHapgRequest)
Creates a high-availability partition group.
|
Future<CreateHapgResult> |
createHapgAsync(CreateHapgRequest createHapgRequest,
AsyncHandler<CreateHapgRequest,CreateHapgResult> asyncHandler)
Creates a high-availability partition group.
|
Future<CreateHsmResult> |
createHsmAsync(CreateHsmRequest createHsmRequest)
Creates an uninitialized HSM instance.
|
Future<CreateHsmResult> |
createHsmAsync(CreateHsmRequest createHsmRequest,
AsyncHandler<CreateHsmRequest,CreateHsmResult> asyncHandler)
Creates an uninitialized HSM instance.
|
Future<CreateLunaClientResult> |
createLunaClientAsync(CreateLunaClientRequest createLunaClientRequest)
Creates an HSM client.
|
Future<CreateLunaClientResult> |
createLunaClientAsync(CreateLunaClientRequest createLunaClientRequest,
AsyncHandler<CreateLunaClientRequest,CreateLunaClientResult> asyncHandler)
Creates an HSM client.
|
Future<DeleteHapgResult> |
deleteHapgAsync(DeleteHapgRequest deleteHapgRequest)
Deletes a high-availability partition group.
|
Future<DeleteHapgResult> |
deleteHapgAsync(DeleteHapgRequest deleteHapgRequest,
AsyncHandler<DeleteHapgRequest,DeleteHapgResult> asyncHandler)
Deletes a high-availability partition group.
|
Future<DeleteHsmResult> |
deleteHsmAsync(DeleteHsmRequest deleteHsmRequest)
Deletes an HSM.
|
Future<DeleteHsmResult> |
deleteHsmAsync(DeleteHsmRequest deleteHsmRequest,
AsyncHandler<DeleteHsmRequest,DeleteHsmResult> asyncHandler)
Deletes an HSM.
|
Future<DeleteLunaClientResult> |
deleteLunaClientAsync(DeleteLunaClientRequest deleteLunaClientRequest)
Deletes a client.
|
Future<DeleteLunaClientResult> |
deleteLunaClientAsync(DeleteLunaClientRequest deleteLunaClientRequest,
AsyncHandler<DeleteLunaClientRequest,DeleteLunaClientResult> asyncHandler)
Deletes a client.
|
Future<DescribeHapgResult> |
describeHapgAsync(DescribeHapgRequest describeHapgRequest)
Retrieves information about a high-availability partition group.
|
Future<DescribeHapgResult> |
describeHapgAsync(DescribeHapgRequest describeHapgRequest,
AsyncHandler<DescribeHapgRequest,DescribeHapgResult> asyncHandler)
Retrieves information about a high-availability partition group.
|
Future<DescribeHsmResult> |
describeHsmAsync(DescribeHsmRequest describeHsmRequest)
Retrieves information about an HSM.
|
Future<DescribeHsmResult> |
describeHsmAsync(DescribeHsmRequest describeHsmRequest,
AsyncHandler<DescribeHsmRequest,DescribeHsmResult> asyncHandler)
Retrieves information about an HSM.
|
Future<DescribeLunaClientResult> |
describeLunaClientAsync(DescribeLunaClientRequest describeLunaClientRequest)
Retrieves information about an HSM client.
|
Future<DescribeLunaClientResult> |
describeLunaClientAsync(DescribeLunaClientRequest describeLunaClientRequest,
AsyncHandler<DescribeLunaClientRequest,DescribeLunaClientResult> asyncHandler)
Retrieves information about an HSM client.
|
Future<GetConfigResult> |
getConfigAsync(GetConfigRequest getConfigRequest)
Gets the configuration files necessary to connect to all high
availability partition groups the client is associated with.
|
Future<GetConfigResult> |
getConfigAsync(GetConfigRequest getConfigRequest,
AsyncHandler<GetConfigRequest,GetConfigResult> asyncHandler)
Gets the configuration files necessary to connect to all high
availability partition groups the client is associated with.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this async client to execute
requests.
|
Future<ListAvailableZonesResult> |
listAvailableZonesAsync(ListAvailableZonesRequest listAvailableZonesRequest)
Lists the Availability Zones that have available AWS CloudHSM
capacity.
|
Future<ListAvailableZonesResult> |
listAvailableZonesAsync(ListAvailableZonesRequest listAvailableZonesRequest,
AsyncHandler<ListAvailableZonesRequest,ListAvailableZonesResult> asyncHandler)
Lists the Availability Zones that have available AWS CloudHSM
capacity.
|
Future<ListHapgsResult> |
listHapgsAsync(ListHapgsRequest listHapgsRequest)
Lists the high-availability partition groups for the account.
|
Future<ListHapgsResult> |
listHapgsAsync(ListHapgsRequest listHapgsRequest,
AsyncHandler<ListHapgsRequest,ListHapgsResult> asyncHandler)
Lists the high-availability partition groups for the account.
|
Future<ListHsmsResult> |
listHsmsAsync(ListHsmsRequest listHsmsRequest)
Retrieves the identifiers of all of the HSMs provisioned for the
current customer.
|
Future<ListHsmsResult> |
listHsmsAsync(ListHsmsRequest listHsmsRequest,
AsyncHandler<ListHsmsRequest,ListHsmsResult> asyncHandler)
Retrieves the identifiers of all of the HSMs provisioned for the
current customer.
|
Future<ListLunaClientsResult> |
listLunaClientsAsync(ListLunaClientsRequest listLunaClientsRequest)
Lists all of the clients.
|
Future<ListLunaClientsResult> |
listLunaClientsAsync(ListLunaClientsRequest listLunaClientsRequest,
AsyncHandler<ListLunaClientsRequest,ListLunaClientsResult> asyncHandler)
Lists all of the clients.
|
Future<ModifyHapgResult> |
modifyHapgAsync(ModifyHapgRequest modifyHapgRequest)
Modifies an existing high-availability partition group.
|
Future<ModifyHapgResult> |
modifyHapgAsync(ModifyHapgRequest modifyHapgRequest,
AsyncHandler<ModifyHapgRequest,ModifyHapgResult> asyncHandler)
Modifies an existing high-availability partition group.
|
Future<ModifyHsmResult> |
modifyHsmAsync(ModifyHsmRequest modifyHsmRequest)
Modifies an HSM.
|
Future<ModifyHsmResult> |
modifyHsmAsync(ModifyHsmRequest modifyHsmRequest,
AsyncHandler<ModifyHsmRequest,ModifyHsmResult> asyncHandler)
Modifies an HSM.
|
Future<ModifyLunaClientResult> |
modifyLunaClientAsync(ModifyLunaClientRequest modifyLunaClientRequest)
Modifies the certificate used by the client.
|
Future<ModifyLunaClientResult> |
modifyLunaClientAsync(ModifyLunaClientRequest modifyLunaClientRequest,
AsyncHandler<ModifyLunaClientRequest,ModifyLunaClientResult> asyncHandler)
Modifies the certificate used by the client.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
createHapg, createHsm, createLunaClient, deleteHapg, deleteHsm, deleteLunaClient, describeHapg, describeHsm, describeHsm, describeLunaClient, describeLunaClient, getCachedResponseMetadata, getConfig, listAvailableZones, listAvailableZones, listHapgs, listHapgs, listHsms, listHsms, listLunaClients, listLunaClients, modifyHapg, modifyHsm, modifyLunaClient, setEndpoint, setEndpointaddRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateHapg, createHsm, createLunaClient, deleteHapg, deleteHsm, deleteLunaClient, describeHapg, describeHsm, describeHsm, describeLunaClient, describeLunaClient, getCachedResponseMetadata, getConfig, listAvailableZones, listAvailableZones, listHapgs, listHapgs, listHsms, listHsms, listLunaClients, listLunaClients, modifyHapg, modifyHsm, modifyLunaClient, setEndpoint, setRegionpublic AWSCloudHSMAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChainpublic AWSCloudHSMAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this
client connects to AWSCloudHSM
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChainpublic AWSCloudHSMAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AWSCloudHSMAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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).public AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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 void shutdown()
shutdown in interface AWSCloudHSMshutdown in class AmazonWebServiceClientpublic Future<GetConfigResult> getConfigAsync(GetConfigRequest getConfigRequest) throws AmazonServiceException, AmazonClientException
Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
getConfigAsync in interface AWSCloudHSMAsyncgetConfigRequest - Container for the necessary parameters to
execute the GetConfig operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<GetConfigResult> getConfigAsync(GetConfigRequest getConfigRequest, AsyncHandler<GetConfigRequest,GetConfigResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
getConfigAsync in interface AWSCloudHSMAsyncgetConfigRequest - Container for the necessary parameters to
execute the GetConfig operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<CreateHapgResult> createHapgAsync(CreateHapgRequest createHapgRequest) throws AmazonServiceException, AmazonClientException
Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
createHapgAsync in interface AWSCloudHSMAsynccreateHapgRequest - Container for the necessary parameters to
execute the CreateHapg operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<CreateHapgResult> createHapgAsync(CreateHapgRequest createHapgRequest, AsyncHandler<CreateHapgRequest,CreateHapgResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
createHapgAsync in interface AWSCloudHSMAsynccreateHapgRequest - Container for the necessary parameters to
execute the CreateHapg operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeHapgResult> describeHapgAsync(DescribeHapgRequest describeHapgRequest) throws AmazonServiceException, AmazonClientException
Retrieves information about a high-availability partition group.
describeHapgAsync in interface AWSCloudHSMAsyncdescribeHapgRequest - Container for the necessary parameters to
execute the DescribeHapg operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeHapgResult> describeHapgAsync(DescribeHapgRequest describeHapgRequest, AsyncHandler<DescribeHapgRequest,DescribeHapgResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Retrieves information about a high-availability partition group.
describeHapgAsync in interface AWSCloudHSMAsyncdescribeHapgRequest - Container for the necessary parameters to
execute the DescribeHapg operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<ListAvailableZonesResult> listAvailableZonesAsync(ListAvailableZonesRequest listAvailableZonesRequest) throws AmazonServiceException, AmazonClientException
Lists the Availability Zones that have available AWS CloudHSM capacity.
listAvailableZonesAsync in interface AWSCloudHSMAsynclistAvailableZonesRequest - Container for the necessary
parameters to execute the ListAvailableZones operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<ListAvailableZonesResult> listAvailableZonesAsync(ListAvailableZonesRequest listAvailableZonesRequest, AsyncHandler<ListAvailableZonesRequest,ListAvailableZonesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the Availability Zones that have available AWS CloudHSM capacity.
listAvailableZonesAsync in interface AWSCloudHSMAsynclistAvailableZonesRequest - Container for the necessary
parameters to execute the ListAvailableZones operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<ModifyHsmResult> modifyHsmAsync(ModifyHsmRequest modifyHsmRequest) throws AmazonServiceException, AmazonClientException
Modifies an HSM.
modifyHsmAsync in interface AWSCloudHSMAsyncmodifyHsmRequest - Container for the necessary parameters to
execute the ModifyHsm operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<ModifyHsmResult> modifyHsmAsync(ModifyHsmRequest modifyHsmRequest, AsyncHandler<ModifyHsmRequest,ModifyHsmResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Modifies an HSM.
modifyHsmAsync in interface AWSCloudHSMAsyncmodifyHsmRequest - Container for the necessary parameters to
execute the ModifyHsm operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<ListLunaClientsResult> listLunaClientsAsync(ListLunaClientsRequest listLunaClientsRequest) throws AmazonServiceException, AmazonClientException
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 AWSCloudHSMAsynclistLunaClientsRequest - Container for the necessary parameters
to execute the ListLunaClients operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<ListLunaClientsResult> listLunaClientsAsync(ListLunaClientsRequest listLunaClientsRequest, AsyncHandler<ListLunaClientsRequest,ListLunaClientsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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 AWSCloudHSMAsynclistLunaClientsRequest - Container for the necessary parameters
to execute the ListLunaClients operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<ListHapgsResult> listHapgsAsync(ListHapgsRequest listHapgsRequest) throws AmazonServiceException, AmazonClientException
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 AWSCloudHSMAsynclistHapgsRequest - Container for the necessary parameters to
execute the ListHapgs operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<ListHapgsResult> listHapgsAsync(ListHapgsRequest listHapgsRequest, AsyncHandler<ListHapgsRequest,ListHapgsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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 AWSCloudHSMAsynclistHapgsRequest - Container for the necessary parameters to
execute the ListHapgs operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteHsmResult> deleteHsmAsync(DeleteHsmRequest deleteHsmRequest) throws AmazonServiceException, AmazonClientException
Deletes an HSM. Once complete, this operation cannot be undone and your key material cannot be recovered.
deleteHsmAsync in interface AWSCloudHSMAsyncdeleteHsmRequest - Container for the necessary parameters to
execute the DeleteHsm operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteHsmResult> deleteHsmAsync(DeleteHsmRequest deleteHsmRequest, AsyncHandler<DeleteHsmRequest,DeleteHsmResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes an HSM. Once complete, this operation cannot be undone and your key material cannot be recovered.
deleteHsmAsync in interface AWSCloudHSMAsyncdeleteHsmRequest - Container for the necessary parameters to
execute the DeleteHsm operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<CreateHsmResult> createHsmAsync(CreateHsmRequest createHsmRequest) throws AmazonServiceException, AmazonClientException
Creates an uninitialized HSM instance. Running this command provisions an HSM appliance and will result in charges to your AWS account for the HSM.
createHsmAsync in interface AWSCloudHSMAsynccreateHsmRequest - Container for the necessary parameters to
execute the CreateHsm operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<CreateHsmResult> createHsmAsync(CreateHsmRequest createHsmRequest, AsyncHandler<CreateHsmRequest,CreateHsmResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates an uninitialized HSM instance. Running this command provisions an HSM appliance and will result in charges to your AWS account for the HSM.
createHsmAsync in interface AWSCloudHSMAsynccreateHsmRequest - Container for the necessary parameters to
execute the CreateHsm operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<ListHsmsResult> listHsmsAsync(ListHsmsRequest listHsmsRequest) throws AmazonServiceException, AmazonClientException
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 AWSCloudHSMAsynclistHsmsRequest - Container for the necessary parameters to
execute the ListHsms operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<ListHsmsResult> listHsmsAsync(ListHsmsRequest listHsmsRequest, AsyncHandler<ListHsmsRequest,ListHsmsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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 AWSCloudHSMAsynclistHsmsRequest - Container for the necessary parameters to
execute the ListHsms operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeHsmResult> describeHsmAsync(DescribeHsmRequest describeHsmRequest) throws AmazonServiceException, AmazonClientException
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
describeHsmAsync in interface AWSCloudHSMAsyncdescribeHsmRequest - Container for the necessary parameters to
execute the DescribeHsm operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeHsmResult> describeHsmAsync(DescribeHsmRequest describeHsmRequest, AsyncHandler<DescribeHsmRequest,DescribeHsmResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
describeHsmAsync in interface AWSCloudHSMAsyncdescribeHsmRequest - Container for the necessary parameters to
execute the DescribeHsm operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteHapgResult> deleteHapgAsync(DeleteHapgRequest deleteHapgRequest) throws AmazonServiceException, AmazonClientException
Deletes a high-availability partition group.
deleteHapgAsync in interface AWSCloudHSMAsyncdeleteHapgRequest - Container for the necessary parameters to
execute the DeleteHapg operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteHapgResult> deleteHapgAsync(DeleteHapgRequest deleteHapgRequest, AsyncHandler<DeleteHapgRequest,DeleteHapgResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a high-availability partition group.
deleteHapgAsync in interface AWSCloudHSMAsyncdeleteHapgRequest - Container for the necessary parameters to
execute the DeleteHapg operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<ModifyHapgResult> modifyHapgAsync(ModifyHapgRequest modifyHapgRequest) throws AmazonServiceException, AmazonClientException
Modifies an existing high-availability partition group.
modifyHapgAsync in interface AWSCloudHSMAsyncmodifyHapgRequest - Container for the necessary parameters to
execute the ModifyHapg operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<ModifyHapgResult> modifyHapgAsync(ModifyHapgRequest modifyHapgRequest, AsyncHandler<ModifyHapgRequest,ModifyHapgResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Modifies an existing high-availability partition group.
modifyHapgAsync in interface AWSCloudHSMAsyncmodifyHapgRequest - Container for the necessary parameters to
execute the ModifyHapg operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<CreateLunaClientResult> createLunaClientAsync(CreateLunaClientRequest createLunaClientRequest) throws AmazonServiceException, AmazonClientException
Creates an HSM client.
createLunaClientAsync in interface AWSCloudHSMAsynccreateLunaClientRequest - Container for the necessary parameters
to execute the CreateLunaClient operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<CreateLunaClientResult> createLunaClientAsync(CreateLunaClientRequest createLunaClientRequest, AsyncHandler<CreateLunaClientRequest,CreateLunaClientResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates an HSM client.
createLunaClientAsync in interface AWSCloudHSMAsynccreateLunaClientRequest - Container for the necessary parameters
to execute the CreateLunaClient operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteLunaClientResult> deleteLunaClientAsync(DeleteLunaClientRequest deleteLunaClientRequest) throws AmazonServiceException, AmazonClientException
Deletes a client.
deleteLunaClientAsync in interface AWSCloudHSMAsyncdeleteLunaClientRequest - Container for the necessary parameters
to execute the DeleteLunaClient operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteLunaClientResult> deleteLunaClientAsync(DeleteLunaClientRequest deleteLunaClientRequest, AsyncHandler<DeleteLunaClientRequest,DeleteLunaClientResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a client.
deleteLunaClientAsync in interface AWSCloudHSMAsyncdeleteLunaClientRequest - Container for the necessary parameters
to execute the DeleteLunaClient operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<ModifyLunaClientResult> modifyLunaClientAsync(ModifyLunaClientRequest modifyLunaClientRequest) throws AmazonServiceException, AmazonClientException
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 AWSCloudHSMAsyncmodifyLunaClientRequest - Container for the necessary parameters
to execute the ModifyLunaClient operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<ModifyLunaClientResult> modifyLunaClientAsync(ModifyLunaClientRequest modifyLunaClientRequest, AsyncHandler<ModifyLunaClientRequest,ModifyLunaClientResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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 AWSCloudHSMAsyncmodifyLunaClientRequest - Container for the necessary parameters
to execute the ModifyLunaClient operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLunaClientResult> describeLunaClientAsync(DescribeLunaClientRequest describeLunaClientRequest) throws AmazonServiceException, AmazonClientException
Retrieves information about an HSM client.
describeLunaClientAsync in interface AWSCloudHSMAsyncdescribeLunaClientRequest - Container for the necessary
parameters to execute the DescribeLunaClient operation on AWSCloudHSM.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLunaClientResult> describeLunaClientAsync(DescribeLunaClientRequest describeLunaClientRequest, AsyncHandler<DescribeLunaClientRequest,DescribeLunaClientResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Retrieves information about an HSM client.
describeLunaClientAsync in interface AWSCloudHSMAsyncdescribeLunaClientRequest - Container for the necessary
parameters to execute the DescribeLunaClient operation on AWSCloudHSM.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AWSCloudHSM indicating
either a problem with the data in the request, or a server side issue.Copyright © 2015. All rights reserved.