public interface AWSCloudHSMAsync extends AWSCloudHSM
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, setRegion, shutdown
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.
getConfigRequest
- 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.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.
getConfigRequest
- 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.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.
createHapgRequest
- 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.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.
createHapgRequest
- 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.Future<DescribeHapgResult> describeHapgAsync(DescribeHapgRequest describeHapgRequest) throws AmazonServiceException, AmazonClientException
Retrieves information about a high-availability partition group.
describeHapgRequest
- 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.Future<DescribeHapgResult> describeHapgAsync(DescribeHapgRequest describeHapgRequest, AsyncHandler<DescribeHapgRequest,DescribeHapgResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Retrieves information about a high-availability partition group.
describeHapgRequest
- 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.Future<ListAvailableZonesResult> listAvailableZonesAsync(ListAvailableZonesRequest listAvailableZonesRequest) throws AmazonServiceException, AmazonClientException
Lists the Availability Zones that have available AWS CloudHSM capacity.
listAvailableZonesRequest
- 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.Future<ListAvailableZonesResult> listAvailableZonesAsync(ListAvailableZonesRequest listAvailableZonesRequest, AsyncHandler<ListAvailableZonesRequest,ListAvailableZonesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the Availability Zones that have available AWS CloudHSM capacity.
listAvailableZonesRequest
- 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.Future<ModifyHsmResult> modifyHsmAsync(ModifyHsmRequest modifyHsmRequest) throws AmazonServiceException, AmazonClientException
Modifies an HSM.
modifyHsmRequest
- 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.Future<ModifyHsmResult> modifyHsmAsync(ModifyHsmRequest modifyHsmRequest, AsyncHandler<ModifyHsmRequest,ModifyHsmResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Modifies an HSM.
modifyHsmRequest
- 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.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.
listLunaClientsRequest
- 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.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.
listLunaClientsRequest
- 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.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.
listHapgsRequest
- 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.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.
listHapgsRequest
- 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.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.
deleteHsmRequest
- 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.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.
deleteHsmRequest
- 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.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.
createHsmRequest
- 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.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.
createHsmRequest
- 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.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.
listHsmsRequest
- 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.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.
listHsmsRequest
- 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.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.
describeHsmRequest
- 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.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.
describeHsmRequest
- 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.Future<DeleteHapgResult> deleteHapgAsync(DeleteHapgRequest deleteHapgRequest) throws AmazonServiceException, AmazonClientException
Deletes a high-availability partition group.
deleteHapgRequest
- 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.Future<DeleteHapgResult> deleteHapgAsync(DeleteHapgRequest deleteHapgRequest, AsyncHandler<DeleteHapgRequest,DeleteHapgResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a high-availability partition group.
deleteHapgRequest
- 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.Future<ModifyHapgResult> modifyHapgAsync(ModifyHapgRequest modifyHapgRequest) throws AmazonServiceException, AmazonClientException
Modifies an existing high-availability partition group.
modifyHapgRequest
- 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.Future<ModifyHapgResult> modifyHapgAsync(ModifyHapgRequest modifyHapgRequest, AsyncHandler<ModifyHapgRequest,ModifyHapgResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Modifies an existing high-availability partition group.
modifyHapgRequest
- 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.Future<CreateLunaClientResult> createLunaClientAsync(CreateLunaClientRequest createLunaClientRequest) throws AmazonServiceException, AmazonClientException
Creates an HSM client.
createLunaClientRequest
- 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.Future<CreateLunaClientResult> createLunaClientAsync(CreateLunaClientRequest createLunaClientRequest, AsyncHandler<CreateLunaClientRequest,CreateLunaClientResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates an HSM client.
createLunaClientRequest
- 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.Future<DeleteLunaClientResult> deleteLunaClientAsync(DeleteLunaClientRequest deleteLunaClientRequest) throws AmazonServiceException, AmazonClientException
Deletes a client.
deleteLunaClientRequest
- 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.Future<DeleteLunaClientResult> deleteLunaClientAsync(DeleteLunaClientRequest deleteLunaClientRequest, AsyncHandler<DeleteLunaClientRequest,DeleteLunaClientResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a client.
deleteLunaClientRequest
- 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.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.
modifyLunaClientRequest
- 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.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.
modifyLunaClientRequest
- 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.Future<DescribeLunaClientResult> describeLunaClientAsync(DescribeLunaClientRequest describeLunaClientRequest) throws AmazonServiceException, AmazonClientException
Retrieves information about an HSM client.
describeLunaClientRequest
- 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.Future<DescribeLunaClientResult> describeLunaClientAsync(DescribeLunaClientRequest describeLunaClientRequest, AsyncHandler<DescribeLunaClientRequest,DescribeLunaClientResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Retrieves information about an HSM client.
describeLunaClientRequest
- 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.