Class AWSCloudHSMAsyncClient
- All Implemented Interfaces:
AWSCloudHSM
,AWSCloudHSMAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
-
Field Summary
Fields inherited from class com.amazonaws.services.cloudhsm.AWSCloudHSMClient
configFactory
Fields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new asynchronous client to invoke service methods on CloudHSM.AWSCloudHSMAsyncClient
(AWSCredentials awsCredentials) Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account credentials.AWSCloudHSMAsyncClient
(AWSCredentialsProvider awsCredentialsProvider) Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account credentials provider.AWSCloudHSMAsyncClient
(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on CloudHSM using the provided AWS account credentials provider and client configuration options.AWSCloudHSMAsyncClient
(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account credentials provider, executor service, and client configuration options.AWSCloudHSMAsyncClient
(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account credentials provider and executor service.AWSCloudHSMAsyncClient
(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account credentials, executor service, and client configuration options.AWSCloudHSMAsyncClient
(AWSCredentials awsCredentials, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account credentials and executor service.AWSCloudHSMAsyncClient
(ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on CloudHSM. -
Method Summary
Modifier and TypeMethodDescriptionAdds or overwrites one or more tags for the specified AWS CloudHSM resource.addTagsToResourceAsync
(AddTagsToResourceRequest request, AsyncHandler<AddTagsToResourceRequest, AddTagsToResourceResult> asyncHandler) Adds or overwrites one or more tags for the specified AWS CloudHSM resource.createHapgAsync
(CreateHapgRequest request) Creates a high-availability partition group.createHapgAsync
(CreateHapgRequest request, AsyncHandler<CreateHapgRequest, CreateHapgResult> asyncHandler) Creates a high-availability partition group.createHsmAsync
(CreateHsmRequest request) Creates an uninitialized HSM instance.createHsmAsync
(CreateHsmRequest request, AsyncHandler<CreateHsmRequest, CreateHsmResult> asyncHandler) Creates an uninitialized HSM instance.Creates an HSM client.createLunaClientAsync
(CreateLunaClientRequest request, AsyncHandler<CreateLunaClientRequest, CreateLunaClientResult> asyncHandler) Creates an HSM client.deleteHapgAsync
(DeleteHapgRequest request) Deletes a high-availability partition group.deleteHapgAsync
(DeleteHapgRequest request, AsyncHandler<DeleteHapgRequest, DeleteHapgResult> asyncHandler) Deletes a high-availability partition group.deleteHsmAsync
(DeleteHsmRequest request) Deletes an HSM.deleteHsmAsync
(DeleteHsmRequest request, AsyncHandler<DeleteHsmRequest, DeleteHsmResult> asyncHandler) Deletes an HSM.Deletes a client.deleteLunaClientAsync
(DeleteLunaClientRequest request, AsyncHandler<DeleteLunaClientRequest, DeleteLunaClientResult> asyncHandler) Deletes a client.describeHapgAsync
(DescribeHapgRequest request) Retrieves information about a high-availability partition group.describeHapgAsync
(DescribeHapgRequest request, AsyncHandler<DescribeHapgRequest, DescribeHapgResult> asyncHandler) Retrieves information about a high-availability partition group.Simplified method form for invoking the DescribeHsm operation.describeHsmAsync
(AsyncHandler<DescribeHsmRequest, DescribeHsmResult> asyncHandler) Simplified method form for invoking the DescribeHsm operation with an AsyncHandler.describeHsmAsync
(DescribeHsmRequest request) Retrieves information about an HSM.describeHsmAsync
(DescribeHsmRequest request, AsyncHandler<DescribeHsmRequest, DescribeHsmResult> asyncHandler) Retrieves information about an HSM.Simplified method form for invoking the DescribeLunaClient operation.describeLunaClientAsync
(AsyncHandler<DescribeLunaClientRequest, DescribeLunaClientResult> asyncHandler) Simplified method form for invoking the DescribeLunaClient operation with an AsyncHandler.Retrieves information about an HSM client.describeLunaClientAsync
(DescribeLunaClientRequest request, AsyncHandler<DescribeLunaClientRequest, DescribeLunaClientResult> asyncHandler) Retrieves information about an HSM client.getConfigAsync
(GetConfigRequest request) Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.getConfigAsync
(GetConfigRequest request, AsyncHandler<GetConfigRequest, GetConfigResult> asyncHandler) Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.Returns the executor service used by this client to execute async requests.Simplified method form for invoking the ListAvailableZones operation.listAvailableZonesAsync
(AsyncHandler<ListAvailableZonesRequest, ListAvailableZonesResult> asyncHandler) Simplified method form for invoking the ListAvailableZones operation with an AsyncHandler.Lists the Availability Zones that have available AWS CloudHSM capacity.listAvailableZonesAsync
(ListAvailableZonesRequest request, AsyncHandler<ListAvailableZonesRequest, ListAvailableZonesResult> asyncHandler) Lists the Availability Zones that have available AWS CloudHSM capacity.Simplified method form for invoking the ListHapgs operation.listHapgsAsync
(AsyncHandler<ListHapgsRequest, ListHapgsResult> asyncHandler) Simplified method form for invoking the ListHapgs operation with an AsyncHandler.listHapgsAsync
(ListHapgsRequest request) Lists the high-availability partition groups for the account.listHapgsAsync
(ListHapgsRequest request, AsyncHandler<ListHapgsRequest, ListHapgsResult> asyncHandler) Lists the high-availability partition groups for the account.Simplified method form for invoking the ListHsms operation.listHsmsAsync
(AsyncHandler<ListHsmsRequest, ListHsmsResult> asyncHandler) Simplified method form for invoking the ListHsms operation with an AsyncHandler.listHsmsAsync
(ListHsmsRequest request) Retrieves the identifiers of all of the HSMs provisioned for the current customer.listHsmsAsync
(ListHsmsRequest request, AsyncHandler<ListHsmsRequest, ListHsmsResult> asyncHandler) Retrieves the identifiers of all of the HSMs provisioned for the current customer.Simplified method form for invoking the ListLunaClients operation.Simplified method form for invoking the ListLunaClients operation with an AsyncHandler.Lists all of the clients.listLunaClientsAsync
(ListLunaClientsRequest request, AsyncHandler<ListLunaClientsRequest, ListLunaClientsResult> asyncHandler) Lists all of the clients.Returns a list of all tags for the specified AWS CloudHSM resource.listTagsForResourceAsync
(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest, ListTagsForResourceResult> asyncHandler) Returns a list of all tags for the specified AWS CloudHSM resource.modifyHapgAsync
(ModifyHapgRequest request) Modifies an existing high-availability partition group.modifyHapgAsync
(ModifyHapgRequest request, AsyncHandler<ModifyHapgRequest, ModifyHapgResult> asyncHandler) Modifies an existing high-availability partition group.modifyHsmAsync
(ModifyHsmRequest request) Modifies an HSM.modifyHsmAsync
(ModifyHsmRequest request, AsyncHandler<ModifyHsmRequest, ModifyHsmResult> asyncHandler) Modifies an HSM.Modifies the certificate used by the client.modifyLunaClientAsync
(ModifyLunaClientRequest request, AsyncHandler<ModifyLunaClientRequest, ModifyLunaClientResult> asyncHandler) Modifies the certificate used by the client.Removes one or more tags from the specified AWS CloudHSM resource.removeTagsFromResourceAsync
(RemoveTagsFromResourceRequest request, AsyncHandler<RemoveTagsFromResourceRequest, RemoveTagsFromResourceResult> asyncHandler) Removes one or more tags from the specified AWS CloudHSM resource.void
shutdown()
Shuts down the client, releasing all managed resources.Methods inherited from class com.amazonaws.services.cloudhsm.AWSCloudHSMClient
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
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.amazonaws.services.cloudhsm.AWSCloudHSM
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
-
Constructor Details
-
AWSCloudHSMAsyncClient
public AWSCloudHSMAsyncClient()Constructs a new asynchronous client to invoke service methods on CloudHSM. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
-
AWSCloudHSMAsyncClient
Constructs a new asynchronous client to invoke service methods on CloudHSM. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the maximum number of concurrent connections configured via
ClientConfiguration.getMaxConnections()
.- Parameters:
clientConfiguration
- The client configuration options controlling how this client connects to CloudHSM (ex: proxy settings, retry counts, etc).- See Also:
-
AWSCloudHSMAsyncClient
Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account credentials.Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- Parameters:
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.- See Also:
-
AWSCloudHSMAsyncClient
Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account credentials and executor service. Default client settings will be used.- Parameters:
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.
-
AWSCloudHSMAsyncClient
public AWSCloudHSMAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account credentials, executor service, and client configuration options.- Parameters:
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.
-
AWSCloudHSMAsyncClient
Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account credentials provider. Default client settings will be used.Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.- See Also:
-
AWSCloudHSMAsyncClient
public AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on CloudHSM using the provided AWS account credentials provider and client configuration options.Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the maximum number of concurrent connections configured via
ClientConfiguration.getMaxConnections()
.- Parameters:
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).- See Also:
-
AWSCloudHSMAsyncClient
public AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account credentials provider and executor service. Default client settings will be used.- Parameters:
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.
-
AWSCloudHSMAsyncClient
public AWSCloudHSMAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on CloudHSM using the specified AWS account credentials provider, executor service, and client configuration options.- Parameters:
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.
-
-
Method Details
-
getExecutorService
Returns the executor service used by this client to execute async requests.- Returns:
- The executor service used by this client to execute async requests.
-
addTagsToResourceAsync
Description copied from interface: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.
- Specified by:
addTagsToResourceAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the AddTagsToResource operation returned by the service.
-
addTagsToResourceAsync
public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request, AsyncHandler<AddTagsToResourceRequest, AddTagsToResourceResult> asyncHandler) Description copied from interface: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.
- Specified by:
addTagsToResourceAsync
in interfaceAWSCloudHSMAsync
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.- Returns:
- A Java Future containing the result of the AddTagsToResource operation returned by the service.
-
createHapgAsync
Description copied from interface:AWSCloudHSMAsync
Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
- Specified by:
createHapgAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the CreateHapgRequest action.- Returns:
- A Java Future containing the result of the CreateHapg operation returned by the service.
-
createHapgAsync
public Future<CreateHapgResult> createHapgAsync(CreateHapgRequest request, AsyncHandler<CreateHapgRequest, CreateHapgResult> asyncHandler) Description copied from interface:AWSCloudHSMAsync
Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
- Specified by:
createHapgAsync
in interfaceAWSCloudHSMAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateHapg operation returned by the service.
-
createHsmAsync
Description copied from interface: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
.- Specified by:
createHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the CreateHsm operation.- Returns:
- A Java Future containing the result of the CreateHsm operation returned by the service.
-
createHsmAsync
public Future<CreateHsmResult> createHsmAsync(CreateHsmRequest request, AsyncHandler<CreateHsmRequest, CreateHsmResult> asyncHandler) Description copied from interface: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
.- Specified by:
createHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateHsm operation returned by the service.
-
createLunaClientAsync
Description copied from interface:AWSCloudHSMAsync
Creates an HSM client.
- Specified by:
createLunaClientAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the CreateLunaClient action.- Returns:
- A Java Future containing the result of the CreateLunaClient operation returned by the service.
-
createLunaClientAsync
public Future<CreateLunaClientResult> createLunaClientAsync(CreateLunaClientRequest request, AsyncHandler<CreateLunaClientRequest, CreateLunaClientResult> asyncHandler) Description copied from interface:AWSCloudHSMAsync
Creates an HSM client.
- Specified by:
createLunaClientAsync
in interfaceAWSCloudHSMAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateLunaClient operation returned by the service.
-
deleteHapgAsync
Description copied from interface:AWSCloudHSMAsync
Deletes a high-availability partition group.
- Specified by:
deleteHapgAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the DeleteHapg action.- Returns:
- A Java Future containing the result of the DeleteHapg operation returned by the service.
-
deleteHapgAsync
public Future<DeleteHapgResult> deleteHapgAsync(DeleteHapgRequest request, AsyncHandler<DeleteHapgRequest, DeleteHapgResult> asyncHandler) Description copied from interface:AWSCloudHSMAsync
Deletes a high-availability partition group.
- Specified by:
deleteHapgAsync
in interfaceAWSCloudHSMAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteHapg operation returned by the service.
-
deleteHsmAsync
Description copied from interface:AWSCloudHSMAsync
Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.
- Specified by:
deleteHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the DeleteHsm operation.- Returns:
- A Java Future containing the result of the DeleteHsm operation returned by the service.
-
deleteHsmAsync
public Future<DeleteHsmResult> deleteHsmAsync(DeleteHsmRequest request, AsyncHandler<DeleteHsmRequest, DeleteHsmResult> asyncHandler) Description copied from interface:AWSCloudHSMAsync
Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.
- Specified by:
deleteHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteHsm operation returned by the service.
-
deleteLunaClientAsync
Description copied from interface:AWSCloudHSMAsync
Deletes a client.
- Specified by:
deleteLunaClientAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the DeleteLunaClient operation returned by the service.
-
deleteLunaClientAsync
public Future<DeleteLunaClientResult> deleteLunaClientAsync(DeleteLunaClientRequest request, AsyncHandler<DeleteLunaClientRequest, DeleteLunaClientResult> asyncHandler) Description copied from interface:AWSCloudHSMAsync
Deletes a client.
- Specified by:
deleteLunaClientAsync
in interfaceAWSCloudHSMAsync
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.- Returns:
- A Java Future containing the result of the DeleteLunaClient operation returned by the service.
-
describeHapgAsync
Description copied from interface:AWSCloudHSMAsync
Retrieves information about a high-availability partition group.
- Specified by:
describeHapgAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the DescribeHapg action.- Returns:
- A Java Future containing the result of the DescribeHapg operation returned by the service.
-
describeHapgAsync
public Future<DescribeHapgResult> describeHapgAsync(DescribeHapgRequest request, AsyncHandler<DescribeHapgRequest, DescribeHapgResult> asyncHandler) Description copied from interface:AWSCloudHSMAsync
Retrieves information about a high-availability partition group.
- Specified by:
describeHapgAsync
in interfaceAWSCloudHSMAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeHapg operation returned by the service.
-
describeHsmAsync
Description copied from interface:AWSCloudHSMAsync
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
- Specified by:
describeHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the DescribeHsm operation.- Returns:
- A Java Future containing the result of the DescribeHsm operation returned by the service.
-
describeHsmAsync
public Future<DescribeHsmResult> describeHsmAsync(DescribeHsmRequest request, AsyncHandler<DescribeHsmRequest, DescribeHsmResult> asyncHandler) Description copied from interface:AWSCloudHSMAsync
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
- Specified by:
describeHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeHsm operation returned by the service.
-
describeHsmAsync
Simplified method form for invoking the DescribeHsm operation.- Specified by:
describeHsmAsync
in interfaceAWSCloudHSMAsync
- See Also:
-
describeHsmAsync
public Future<DescribeHsmResult> describeHsmAsync(AsyncHandler<DescribeHsmRequest, DescribeHsmResult> asyncHandler) Simplified method form for invoking the DescribeHsm operation with an AsyncHandler.- Specified by:
describeHsmAsync
in interfaceAWSCloudHSMAsync
- See Also:
-
describeLunaClientAsync
Description copied from interface:AWSCloudHSMAsync
Retrieves information about an HSM client.
- Specified by:
describeLunaClientAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the DescribeLunaClient operation returned by the service.
-
describeLunaClientAsync
public Future<DescribeLunaClientResult> describeLunaClientAsync(DescribeLunaClientRequest request, AsyncHandler<DescribeLunaClientRequest, DescribeLunaClientResult> asyncHandler) Description copied from interface:AWSCloudHSMAsync
Retrieves information about an HSM client.
- Specified by:
describeLunaClientAsync
in interfaceAWSCloudHSMAsync
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.- Returns:
- A Java Future containing the result of the DescribeLunaClient operation returned by the service.
-
describeLunaClientAsync
Simplified method form for invoking the DescribeLunaClient operation.- Specified by:
describeLunaClientAsync
in interfaceAWSCloudHSMAsync
- See Also:
-
describeLunaClientAsync
public Future<DescribeLunaClientResult> describeLunaClientAsync(AsyncHandler<DescribeLunaClientRequest, DescribeLunaClientResult> asyncHandler) Simplified method form for invoking the DescribeLunaClient operation with an AsyncHandler.- Specified by:
describeLunaClientAsync
in interfaceAWSCloudHSMAsync
- See Also:
-
getConfigAsync
Description copied from interface:AWSCloudHSMAsync
Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
- Specified by:
getConfigAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the GetConfig operation returned by the service.
-
getConfigAsync
public Future<GetConfigResult> getConfigAsync(GetConfigRequest request, AsyncHandler<GetConfigRequest, GetConfigResult> asyncHandler) Description copied from interface:AWSCloudHSMAsync
Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
- Specified by:
getConfigAsync
in interfaceAWSCloudHSMAsync
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.- Returns:
- A Java Future containing the result of the GetConfig operation returned by the service.
-
listAvailableZonesAsync
Description copied from interface:AWSCloudHSMAsync
Lists the Availability Zones that have available AWS CloudHSM capacity.
- Specified by:
listAvailableZonesAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the ListAvailableZones action.- Returns:
- A Java Future containing the result of the ListAvailableZones operation returned by the service.
-
listAvailableZonesAsync
public Future<ListAvailableZonesResult> listAvailableZonesAsync(ListAvailableZonesRequest request, AsyncHandler<ListAvailableZonesRequest, ListAvailableZonesResult> asyncHandler) Description copied from interface:AWSCloudHSMAsync
Lists the Availability Zones that have available AWS CloudHSM capacity.
- Specified by:
listAvailableZonesAsync
in interfaceAWSCloudHSMAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ListAvailableZones operation returned by the service.
-
listAvailableZonesAsync
Simplified method form for invoking the ListAvailableZones operation.- Specified by:
listAvailableZonesAsync
in interfaceAWSCloudHSMAsync
- See Also:
-
listAvailableZonesAsync
public Future<ListAvailableZonesResult> listAvailableZonesAsync(AsyncHandler<ListAvailableZonesRequest, ListAvailableZonesResult> asyncHandler) Simplified method form for invoking the ListAvailableZones operation with an AsyncHandler.- Specified by:
listAvailableZonesAsync
in interfaceAWSCloudHSMAsync
- See Also:
-
listHapgsAsync
Description copied from interface: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.
- Specified by:
listHapgsAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the ListHapgs operation returned by the service.
-
listHapgsAsync
public Future<ListHapgsResult> listHapgsAsync(ListHapgsRequest request, AsyncHandler<ListHapgsRequest, ListHapgsResult> asyncHandler) Description copied from interface: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.
- Specified by:
listHapgsAsync
in interfaceAWSCloudHSMAsync
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.- Returns:
- A Java Future containing the result of the ListHapgs operation returned by the service.
-
listHapgsAsync
Simplified method form for invoking the ListHapgs operation.- Specified by:
listHapgsAsync
in interfaceAWSCloudHSMAsync
- See Also:
-
listHapgsAsync
public Future<ListHapgsResult> listHapgsAsync(AsyncHandler<ListHapgsRequest, ListHapgsResult> asyncHandler) Simplified method form for invoking the ListHapgs operation with an AsyncHandler.- Specified by:
listHapgsAsync
in interfaceAWSCloudHSMAsync
- See Also:
-
listHsmsAsync
Description copied from interface: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.
- Specified by:
listHsmsAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the ListHsms operation returned by the service.
-
listHsmsAsync
public Future<ListHsmsResult> listHsmsAsync(ListHsmsRequest request, AsyncHandler<ListHsmsRequest, ListHsmsResult> asyncHandler) Description copied from interface: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.
- Specified by:
listHsmsAsync
in interfaceAWSCloudHSMAsync
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.- Returns:
- A Java Future containing the result of the ListHsms operation returned by the service.
-
listHsmsAsync
Simplified method form for invoking the ListHsms operation.- Specified by:
listHsmsAsync
in interfaceAWSCloudHSMAsync
- See Also:
-
listHsmsAsync
public Future<ListHsmsResult> listHsmsAsync(AsyncHandler<ListHsmsRequest, ListHsmsResult> asyncHandler) Simplified method form for invoking the ListHsms operation with an AsyncHandler.- Specified by:
listHsmsAsync
in interfaceAWSCloudHSMAsync
- See Also:
-
listLunaClientsAsync
Description copied from interface: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.
- Specified by:
listLunaClientsAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the ListLunaClients operation returned by the service.
-
listLunaClientsAsync
public Future<ListLunaClientsResult> listLunaClientsAsync(ListLunaClientsRequest request, AsyncHandler<ListLunaClientsRequest, ListLunaClientsResult> asyncHandler) Description copied from interface: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.
- Specified by:
listLunaClientsAsync
in interfaceAWSCloudHSMAsync
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.- Returns:
- A Java Future containing the result of the ListLunaClients operation returned by the service.
-
listLunaClientsAsync
Simplified method form for invoking the ListLunaClients operation.- Specified by:
listLunaClientsAsync
in interfaceAWSCloudHSMAsync
- See Also:
-
listLunaClientsAsync
public Future<ListLunaClientsResult> listLunaClientsAsync(AsyncHandler<ListLunaClientsRequest, ListLunaClientsResult> asyncHandler) Simplified method form for invoking the ListLunaClients operation with an AsyncHandler.- Specified by:
listLunaClientsAsync
in interfaceAWSCloudHSMAsync
- See Also:
-
listTagsForResourceAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request) Description copied from interface:AWSCloudHSMAsync
Returns a list of all tags for the specified AWS CloudHSM resource.
- Specified by:
listTagsForResourceAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
-
listTagsForResourceAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest, ListTagsForResourceResult> asyncHandler) Description copied from interface:AWSCloudHSMAsync
Returns a list of all tags for the specified AWS CloudHSM resource.
- Specified by:
listTagsForResourceAsync
in interfaceAWSCloudHSMAsync
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.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
-
modifyHapgAsync
Description copied from interface:AWSCloudHSMAsync
Modifies an existing high-availability partition group.
- Specified by:
modifyHapgAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the ModifyHapg operation returned by the service.
-
modifyHapgAsync
public Future<ModifyHapgResult> modifyHapgAsync(ModifyHapgRequest request, AsyncHandler<ModifyHapgRequest, ModifyHapgResult> asyncHandler) Description copied from interface:AWSCloudHSMAsync
Modifies an existing high-availability partition group.
- Specified by:
modifyHapgAsync
in interfaceAWSCloudHSMAsync
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.- Returns:
- A Java Future containing the result of the ModifyHapg operation returned by the service.
-
modifyHsmAsync
Description copied from interface: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.
- Specified by:
modifyHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the ModifyHsm operation.- Returns:
- A Java Future containing the result of the ModifyHsm operation returned by the service.
-
modifyHsmAsync
public Future<ModifyHsmResult> modifyHsmAsync(ModifyHsmRequest request, AsyncHandler<ModifyHsmRequest, ModifyHsmResult> asyncHandler) Description copied from interface: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.
- Specified by:
modifyHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ModifyHsm operation returned by the service.
-
modifyLunaClientAsync
Description copied from interface: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.
- Specified by:
modifyLunaClientAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the ModifyLunaClient operation returned by the service.
-
modifyLunaClientAsync
public Future<ModifyLunaClientResult> modifyLunaClientAsync(ModifyLunaClientRequest request, AsyncHandler<ModifyLunaClientRequest, ModifyLunaClientResult> asyncHandler) Description copied from interface: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.
- Specified by:
modifyLunaClientAsync
in interfaceAWSCloudHSMAsync
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.- Returns:
- A Java Future containing the result of the ModifyLunaClient operation returned by the service.
-
removeTagsFromResourceAsync
public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request) Description copied from interface: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.
- Specified by:
removeTagsFromResourceAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
-
removeTagsFromResourceAsync
public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request, AsyncHandler<RemoveTagsFromResourceRequest, RemoveTagsFromResourceResult> asyncHandler) Description copied from interface: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.
- Specified by:
removeTagsFromResourceAsync
in interfaceAWSCloudHSMAsync
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.- Returns:
- A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
-
shutdown
public void shutdown()Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should callgetExecutorService().shutdown()
followed bygetExecutorService().awaitTermination()
prior to calling this method.- Specified by:
shutdown
in interfaceAWSCloudHSM
- Overrides:
shutdown
in classAmazonWebServiceClient
-