AutoCloseable
@Generated("software.amazon.awssdk:codegen") public interface CloudHSMAsyncClient extends AutoCloseable
builder()
method.
Modifier and Type | Method | Description |
---|---|---|
default CompletableFuture<AddTagsToResourceResponse> |
addTagsToResource(AddTagsToResourceRequest addTagsToResourceRequest) |
Adds or overwrites one or more tags for the specified AWS CloudHSM resource.
|
static CloudHSMAsyncClientBuilder |
builder() |
Create a builder that can be used to configure and create a
CloudHSMAsyncClient . |
static CloudHSMAsyncClient |
create() |
Create a
CloudHSMAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<CreateHapgResponse> |
createHapg(CreateHapgRequest createHapgRequest) |
Creates a high-availability partition group.
|
default CompletableFuture<CreateHsmResponse> |
createHsm(CreateHsmRequest createHsmRequest) |
Creates an uninitialized HSM instance.
|
default CompletableFuture<CreateLunaClientResponse> |
createLunaClient(CreateLunaClientRequest createLunaClientRequest) |
Creates an HSM client.
|
default CompletableFuture<DeleteHapgResponse> |
deleteHapg(DeleteHapgRequest deleteHapgRequest) |
Deletes a high-availability partition group.
|
default CompletableFuture<DeleteHsmResponse> |
deleteHsm(DeleteHsmRequest deleteHsmRequest) |
Deletes an HSM.
|
default CompletableFuture<DeleteLunaClientResponse> |
deleteLunaClient(DeleteLunaClientRequest deleteLunaClientRequest) |
Deletes a client.
|
default CompletableFuture<DescribeHapgResponse> |
describeHapg(DescribeHapgRequest describeHapgRequest) |
Retrieves information about a high-availability partition group.
|
default CompletableFuture<DescribeHsmResponse> |
describeHsm(DescribeHsmRequest describeHsmRequest) |
Retrieves information about an HSM.
|
default CompletableFuture<DescribeLunaClientResponse> |
describeLunaClient(DescribeLunaClientRequest describeLunaClientRequest) |
Retrieves information about an HSM client.
|
default CompletableFuture<GetConfigResponse> |
getConfig(GetConfigRequest getConfigRequest) |
Gets the configuration files necessary to connect to all high availability partition groups the client is
associated with.
|
default CompletableFuture<ListAvailableZonesResponse> |
listAvailableZones(ListAvailableZonesRequest listAvailableZonesRequest) |
Lists the Availability Zones that have available AWS CloudHSM capacity.
|
default CompletableFuture<ListHapgsResponse> |
listHapgs(ListHapgsRequest listHapgsRequest) |
Lists the high-availability partition groups for the account.
|
default CompletableFuture<ListHsmsResponse> |
listHsms(ListHsmsRequest listHsmsRequest) |
Retrieves the identifiers of all of the HSMs provisioned for the current customer.
|
default CompletableFuture<ListLunaClientsResponse> |
listLunaClients(ListLunaClientsRequest listLunaClientsRequest) |
Lists all of the clients.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) |
Returns a list of all tags for the specified AWS CloudHSM resource.
|
default CompletableFuture<ModifyHapgResponse> |
modifyHapg(ModifyHapgRequest modifyHapgRequest) |
Modifies an existing high-availability partition group.
|
default CompletableFuture<ModifyHsmResponse> |
modifyHsm(ModifyHsmRequest modifyHsmRequest) |
Modifies an HSM.
|
default CompletableFuture<ModifyLunaClientResponse> |
modifyLunaClient(ModifyLunaClientRequest modifyLunaClientRequest) |
Modifies the certificate used by the client.
|
default CompletableFuture<RemoveTagsFromResourceResponse> |
removeTagsFromResource(RemoveTagsFromResourceRequest removeTagsFromResourceRequest) |
Removes one or more tags from the specified AWS CloudHSM resource.
|
close
static CloudHSMAsyncClient create()
CloudHSMAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static CloudHSMAsyncClientBuilder builder()
CloudHSMAsyncClient
.default CompletableFuture<AddTagsToResourceResponse> addTagsToResource(AddTagsToResourceRequest addTagsToResourceRequest)
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.
addTagsToResourceRequest
- default CompletableFuture<CreateHapgResponse> createHapg(CreateHapgRequest createHapgRequest)
Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
createHapgRequest
- Contains the inputs for the CreateHapgRequest action.default CompletableFuture<CreateHsmResponse> createHsm(CreateHsmRequest createHsmRequest)
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
.
createHsmRequest
- Contains the inputs for the CreateHsm operation.default CompletableFuture<CreateLunaClientResponse> createLunaClient(CreateLunaClientRequest createLunaClientRequest)
Creates an HSM client.
createLunaClientRequest
- Contains the inputs for the CreateLunaClient action.default CompletableFuture<DeleteHapgResponse> deleteHapg(DeleteHapgRequest deleteHapgRequest)
Deletes a high-availability partition group.
deleteHapgRequest
- Contains the inputs for the DeleteHapg action.default CompletableFuture<DeleteHsmResponse> deleteHsm(DeleteHsmRequest deleteHsmRequest)
Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.
deleteHsmRequest
- Contains the inputs for the DeleteHsm operation.default CompletableFuture<DeleteLunaClientResponse> deleteLunaClient(DeleteLunaClientRequest deleteLunaClientRequest)
Deletes a client.
deleteLunaClientRequest
- default CompletableFuture<DescribeHapgResponse> describeHapg(DescribeHapgRequest describeHapgRequest)
Retrieves information about a high-availability partition group.
describeHapgRequest
- Contains the inputs for the DescribeHapg action.default CompletableFuture<DescribeHsmResponse> describeHsm(DescribeHsmRequest describeHsmRequest)
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
describeHsmRequest
- Contains the inputs for the DescribeHsm operation.default CompletableFuture<DescribeLunaClientResponse> describeLunaClient(DescribeLunaClientRequest describeLunaClientRequest)
Retrieves information about an HSM client.
describeLunaClientRequest
- default CompletableFuture<GetConfigResponse> getConfig(GetConfigRequest getConfigRequest)
Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
getConfigRequest
- default CompletableFuture<ListAvailableZonesResponse> listAvailableZones(ListAvailableZonesRequest listAvailableZonesRequest)
Lists the Availability Zones that have available AWS CloudHSM capacity.
listAvailableZonesRequest
- Contains the inputs for the ListAvailableZones action.default CompletableFuture<ListHapgsResponse> listHapgs(ListHapgsRequest listHapgsRequest)
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
- default CompletableFuture<ListHsmsResponse> listHsms(ListHsmsRequest listHsmsRequest)
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
- default CompletableFuture<ListLunaClientsResponse> listLunaClients(ListLunaClientsRequest listLunaClientsRequest)
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
- default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of all tags for the specified AWS CloudHSM resource.
listTagsForResourceRequest
- default CompletableFuture<ModifyHapgResponse> modifyHapg(ModifyHapgRequest modifyHapgRequest)
Modifies an existing high-availability partition group.
modifyHapgRequest
- default CompletableFuture<ModifyHsmResponse> modifyHsm(ModifyHsmRequest modifyHsmRequest)
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.
modifyHsmRequest
- Contains the inputs for the ModifyHsm operation.default CompletableFuture<ModifyLunaClientResponse> modifyLunaClient(ModifyLunaClientRequest modifyLunaClientRequest)
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
- default CompletableFuture<RemoveTagsFromResourceResponse> removeTagsFromResource(RemoveTagsFromResourceRequest removeTagsFromResourceRequest)
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.
removeTagsFromResourceRequest
- Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.