
com.amazonaws.services.cloudhsm.AWSCloudHSMAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-cloudhsm Show documentation
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.services.cloudhsm;
import com.amazonaws.services.cloudhsm.model.*;
/**
* Interface for accessing CloudHSM asynchronously. Each asynchronous method
* will return a Java Future object representing the asynchronous operation;
* overloads which accept an {@code AsyncHandler} can be used to receive
* notification when an asynchronous operation completes.
*
* AWS CloudHSM Service
*/
public interface AWSCloudHSMAsync extends AWSCloudHSM {
/**
*
* 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.
*
*
* @param addTagsToResourceRequest
* @return A Java Future containing the result of the AddTagsToResource
* operation returned by the service.
* @sample AWSCloudHSMAsync.AddTagsToResource
*/
java.util.concurrent.Future addTagsToResourceAsync(
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.
*
*
* @param addTagsToResourceRequest
* @param 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.
* @return A Java Future containing the result of the AddTagsToResource
* operation returned by the service.
* @sample AWSCloudHSMAsyncHandler.AddTagsToResource
*/
java.util.concurrent.Future addTagsToResourceAsync(
AddTagsToResourceRequest addTagsToResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a high-availability partition group. A high-availability
* partition group is a group of partitions that spans multiple physical
* HSMs.
*
*
* @param createHapgRequest
* Contains the inputs for the CreateHapgRequest action.
* @return A Java Future containing the result of the CreateHapg operation
* returned by the service.
* @sample AWSCloudHSMAsync.CreateHapg
*/
java.util.concurrent.Future createHapgAsync(
CreateHapgRequest createHapgRequest);
/**
*
* Creates a high-availability partition group. A high-availability
* partition group is a group of partitions that spans multiple physical
* HSMs.
*
*
* @param createHapgRequest
* Contains the inputs for the CreateHapgRequest action.
* @param 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.
* @return A Java Future containing the result of the CreateHapg operation
* returned by the service.
* @sample AWSCloudHSMAsyncHandler.CreateHapg
*/
java.util.concurrent.Future createHapgAsync(
CreateHapgRequest createHapgRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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
.
*
*
*
* @param createHsmRequest
* Contains the inputs for the CreateHsm operation.
* @return A Java Future containing the result of the CreateHsm operation
* returned by the service.
* @sample AWSCloudHSMAsync.CreateHsm
*/
java.util.concurrent.Future createHsmAsync(
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
.
*
*
*
* @param createHsmRequest
* Contains the inputs for the CreateHsm operation.
* @param 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.
* @return A Java Future containing the result of the CreateHsm operation
* returned by the service.
* @sample AWSCloudHSMAsyncHandler.CreateHsm
*/
java.util.concurrent.Future createHsmAsync(
CreateHsmRequest createHsmRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates an HSM client.
*
*
* @param createLunaClientRequest
* Contains the inputs for the CreateLunaClient action.
* @return A Java Future containing the result of the CreateLunaClient
* operation returned by the service.
* @sample AWSCloudHSMAsync.CreateLunaClient
*/
java.util.concurrent.Future createLunaClientAsync(
CreateLunaClientRequest createLunaClientRequest);
/**
*
* Creates an HSM client.
*
*
* @param createLunaClientRequest
* Contains the inputs for the CreateLunaClient action.
* @param 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.
* @return A Java Future containing the result of the CreateLunaClient
* operation returned by the service.
* @sample AWSCloudHSMAsyncHandler.CreateLunaClient
*/
java.util.concurrent.Future createLunaClientAsync(
CreateLunaClientRequest createLunaClientRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a high-availability partition group.
*
*
* @param deleteHapgRequest
* Contains the inputs for the DeleteHapg action.
* @return A Java Future containing the result of the DeleteHapg operation
* returned by the service.
* @sample AWSCloudHSMAsync.DeleteHapg
*/
java.util.concurrent.Future deleteHapgAsync(
DeleteHapgRequest deleteHapgRequest);
/**
*
* Deletes a high-availability partition group.
*
*
* @param deleteHapgRequest
* Contains the inputs for the DeleteHapg action.
* @param 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.
* @return A Java Future containing the result of the DeleteHapg operation
* returned by the service.
* @sample AWSCloudHSMAsyncHandler.DeleteHapg
*/
java.util.concurrent.Future deleteHapgAsync(
DeleteHapgRequest deleteHapgRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes an HSM. After completion, this operation cannot be undone and
* your key material cannot be recovered.
*
*
* @param deleteHsmRequest
* Contains the inputs for the DeleteHsm operation.
* @return A Java Future containing the result of the DeleteHsm operation
* returned by the service.
* @sample AWSCloudHSMAsync.DeleteHsm
*/
java.util.concurrent.Future deleteHsmAsync(
DeleteHsmRequest deleteHsmRequest);
/**
*
* Deletes an HSM. After completion, this operation cannot be undone and
* your key material cannot be recovered.
*
*
* @param deleteHsmRequest
* Contains the inputs for the DeleteHsm operation.
* @param 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.
* @return A Java Future containing the result of the DeleteHsm operation
* returned by the service.
* @sample AWSCloudHSMAsyncHandler.DeleteHsm
*/
java.util.concurrent.Future deleteHsmAsync(
DeleteHsmRequest deleteHsmRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a client.
*
*
* @param deleteLunaClientRequest
* @return A Java Future containing the result of the DeleteLunaClient
* operation returned by the service.
* @sample AWSCloudHSMAsync.DeleteLunaClient
*/
java.util.concurrent.Future deleteLunaClientAsync(
DeleteLunaClientRequest deleteLunaClientRequest);
/**
*
* Deletes a client.
*
*
* @param deleteLunaClientRequest
* @param 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.
* @return A Java Future containing the result of the DeleteLunaClient
* operation returned by the service.
* @sample AWSCloudHSMAsyncHandler.DeleteLunaClient
*/
java.util.concurrent.Future deleteLunaClientAsync(
DeleteLunaClientRequest deleteLunaClientRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves information about a high-availability partition group.
*
*
* @param describeHapgRequest
* Contains the inputs for the DescribeHapg action.
* @return A Java Future containing the result of the DescribeHapg operation
* returned by the service.
* @sample AWSCloudHSMAsync.DescribeHapg
*/
java.util.concurrent.Future describeHapgAsync(
DescribeHapgRequest describeHapgRequest);
/**
*
* Retrieves information about a high-availability partition group.
*
*
* @param describeHapgRequest
* Contains the inputs for the DescribeHapg action.
* @param 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.
* @return A Java Future containing the result of the DescribeHapg operation
* returned by the service.
* @sample AWSCloudHSMAsyncHandler.DescribeHapg
*/
java.util.concurrent.Future describeHapgAsync(
DescribeHapgRequest describeHapgRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves information about an HSM. You can identify the HSM by its ARN
* or its serial number.
*
*
* @param describeHsmRequest
* Contains the inputs for the DescribeHsm operation.
* @return A Java Future containing the result of the DescribeHsm operation
* returned by the service.
* @sample AWSCloudHSMAsync.DescribeHsm
*/
java.util.concurrent.Future describeHsmAsync(
DescribeHsmRequest describeHsmRequest);
/**
*
* Retrieves information about an HSM. You can identify the HSM by its ARN
* or its serial number.
*
*
* @param describeHsmRequest
* Contains the inputs for the DescribeHsm operation.
* @param 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.
* @return A Java Future containing the result of the DescribeHsm operation
* returned by the service.
* @sample AWSCloudHSMAsyncHandler.DescribeHsm
*/
java.util.concurrent.Future describeHsmAsync(
DescribeHsmRequest describeHsmRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Simplified method form for invoking the DescribeHsm operation.
*
* @see #describeHsmAsync(DescribeHsmRequest)
*/
java.util.concurrent.Future describeHsmAsync();
/**
* Simplified method form for invoking the DescribeHsm operation with an
* AsyncHandler.
*
* @see #describeHsmAsync(DescribeHsmRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
java.util.concurrent.Future describeHsmAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves information about an HSM client.
*
*
* @param describeLunaClientRequest
* @return A Java Future containing the result of the DescribeLunaClient
* operation returned by the service.
* @sample AWSCloudHSMAsync.DescribeLunaClient
*/
java.util.concurrent.Future describeLunaClientAsync(
DescribeLunaClientRequest describeLunaClientRequest);
/**
*
* Retrieves information about an HSM client.
*
*
* @param describeLunaClientRequest
* @param 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.
* @return A Java Future containing the result of the DescribeLunaClient
* operation returned by the service.
* @sample AWSCloudHSMAsyncHandler.DescribeLunaClient
*/
java.util.concurrent.Future describeLunaClientAsync(
DescribeLunaClientRequest describeLunaClientRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Simplified method form for invoking the DescribeLunaClient operation.
*
* @see #describeLunaClientAsync(DescribeLunaClientRequest)
*/
java.util.concurrent.Future describeLunaClientAsync();
/**
* Simplified method form for invoking the DescribeLunaClient operation with
* an AsyncHandler.
*
* @see #describeLunaClientAsync(DescribeLunaClientRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
java.util.concurrent.Future describeLunaClientAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets the configuration files necessary to connect to all high
* availability partition groups the client is associated with.
*
*
* @param getConfigRequest
* @return A Java Future containing the result of the GetConfig operation
* returned by the service.
* @sample AWSCloudHSMAsync.GetConfig
*/
java.util.concurrent.Future getConfigAsync(
GetConfigRequest getConfigRequest);
/**
*
* Gets the configuration files necessary to connect to all high
* availability partition groups the client is associated with.
*
*
* @param getConfigRequest
* @param 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.
* @return A Java Future containing the result of the GetConfig operation
* returned by the service.
* @sample AWSCloudHSMAsyncHandler.GetConfig
*/
java.util.concurrent.Future getConfigAsync(
GetConfigRequest getConfigRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the Availability Zones that have available AWS CloudHSM capacity.
*
*
* @param listAvailableZonesRequest
* Contains the inputs for the ListAvailableZones action.
* @return A Java Future containing the result of the ListAvailableZones
* operation returned by the service.
* @sample AWSCloudHSMAsync.ListAvailableZones
*/
java.util.concurrent.Future listAvailableZonesAsync(
ListAvailableZonesRequest listAvailableZonesRequest);
/**
*
* Lists the Availability Zones that have available AWS CloudHSM capacity.
*
*
* @param listAvailableZonesRequest
* Contains the inputs for the ListAvailableZones action.
* @param 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.
* @return A Java Future containing the result of the ListAvailableZones
* operation returned by the service.
* @sample AWSCloudHSMAsyncHandler.ListAvailableZones
*/
java.util.concurrent.Future listAvailableZonesAsync(
ListAvailableZonesRequest listAvailableZonesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Simplified method form for invoking the ListAvailableZones operation.
*
* @see #listAvailableZonesAsync(ListAvailableZonesRequest)
*/
java.util.concurrent.Future listAvailableZonesAsync();
/**
* Simplified method form for invoking the ListAvailableZones operation with
* an AsyncHandler.
*
* @see #listAvailableZonesAsync(ListAvailableZonesRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
java.util.concurrent.Future listAvailableZonesAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param listHapgsRequest
* @return A Java Future containing the result of the ListHapgs operation
* returned by the service.
* @sample AWSCloudHSMAsync.ListHapgs
*/
java.util.concurrent.Future listHapgsAsync(
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.
*
*
* @param listHapgsRequest
* @param 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.
* @return A Java Future containing the result of the ListHapgs operation
* returned by the service.
* @sample AWSCloudHSMAsyncHandler.ListHapgs
*/
java.util.concurrent.Future listHapgsAsync(
ListHapgsRequest listHapgsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Simplified method form for invoking the ListHapgs operation.
*
* @see #listHapgsAsync(ListHapgsRequest)
*/
java.util.concurrent.Future listHapgsAsync();
/**
* Simplified method form for invoking the ListHapgs operation with an
* AsyncHandler.
*
* @see #listHapgsAsync(ListHapgsRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
java.util.concurrent.Future listHapgsAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param listHsmsRequest
* @return A Java Future containing the result of the ListHsms operation
* returned by the service.
* @sample AWSCloudHSMAsync.ListHsms
*/
java.util.concurrent.Future listHsmsAsync(
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.
*
*
* @param listHsmsRequest
* @param 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.
* @return A Java Future containing the result of the ListHsms operation
* returned by the service.
* @sample AWSCloudHSMAsyncHandler.ListHsms
*/
java.util.concurrent.Future listHsmsAsync(
ListHsmsRequest listHsmsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Simplified method form for invoking the ListHsms operation.
*
* @see #listHsmsAsync(ListHsmsRequest)
*/
java.util.concurrent.Future listHsmsAsync();
/**
* Simplified method form for invoking the ListHsms operation with an
* AsyncHandler.
*
* @see #listHsmsAsync(ListHsmsRequest, com.amazonaws.handlers.AsyncHandler)
*/
java.util.concurrent.Future listHsmsAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param listLunaClientsRequest
* @return A Java Future containing the result of the ListLunaClients
* operation returned by the service.
* @sample AWSCloudHSMAsync.ListLunaClients
*/
java.util.concurrent.Future listLunaClientsAsync(
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.
*
*
* @param listLunaClientsRequest
* @param 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.
* @return A Java Future containing the result of the ListLunaClients
* operation returned by the service.
* @sample AWSCloudHSMAsyncHandler.ListLunaClients
*/
java.util.concurrent.Future listLunaClientsAsync(
ListLunaClientsRequest listLunaClientsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Simplified method form for invoking the ListLunaClients operation.
*
* @see #listLunaClientsAsync(ListLunaClientsRequest)
*/
java.util.concurrent.Future listLunaClientsAsync();
/**
* Simplified method form for invoking the ListLunaClients operation with an
* AsyncHandler.
*
* @see #listLunaClientsAsync(ListLunaClientsRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
java.util.concurrent.Future listLunaClientsAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of all tags for the specified AWS CloudHSM resource.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource
* operation returned by the service.
* @sample AWSCloudHSMAsync.ListTagsForResource
*/
java.util.concurrent.Future listTagsForResourceAsync(
ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Returns a list of all tags for the specified AWS CloudHSM resource.
*
*
* @param listTagsForResourceRequest
* @param 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.
* @return A Java Future containing the result of the ListTagsForResource
* operation returned by the service.
* @sample AWSCloudHSMAsyncHandler.ListTagsForResource
*/
java.util.concurrent.Future listTagsForResourceAsync(
ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Modifies an existing high-availability partition group.
*
*
* @param modifyHapgRequest
* @return A Java Future containing the result of the ModifyHapg operation
* returned by the service.
* @sample AWSCloudHSMAsync.ModifyHapg
*/
java.util.concurrent.Future modifyHapgAsync(
ModifyHapgRequest modifyHapgRequest);
/**
*
* Modifies an existing high-availability partition group.
*
*
* @param modifyHapgRequest
* @param 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.
* @return A Java Future containing the result of the ModifyHapg operation
* returned by the service.
* @sample AWSCloudHSMAsyncHandler.ModifyHapg
*/
java.util.concurrent.Future modifyHapgAsync(
ModifyHapgRequest modifyHapgRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
*
* @param modifyHsmRequest
* Contains the inputs for the ModifyHsm operation.
* @return A Java Future containing the result of the ModifyHsm operation
* returned by the service.
* @sample AWSCloudHSMAsync.ModifyHsm
*/
java.util.concurrent.Future modifyHsmAsync(
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.
*
*
*
* @param modifyHsmRequest
* Contains the inputs for the ModifyHsm operation.
* @param 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.
* @return A Java Future containing the result of the ModifyHsm operation
* returned by the service.
* @sample AWSCloudHSMAsyncHandler.ModifyHsm
*/
java.util.concurrent.Future modifyHsmAsync(
ModifyHsmRequest modifyHsmRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Modifies the certificate used by the client.
*
*
* This action can potentially start a workflow to install the new
* certificate on the client's HSMs.
*
*
* @param modifyLunaClientRequest
* @return A Java Future containing the result of the ModifyLunaClient
* operation returned by the service.
* @sample AWSCloudHSMAsync.ModifyLunaClient
*/
java.util.concurrent.Future modifyLunaClientAsync(
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.
*
*
* @param modifyLunaClientRequest
* @param 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.
* @return A Java Future containing the result of the ModifyLunaClient
* operation returned by the service.
* @sample AWSCloudHSMAsyncHandler.ModifyLunaClient
*/
java.util.concurrent.Future modifyLunaClientAsync(
ModifyLunaClientRequest modifyLunaClientRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param removeTagsFromResourceRequest
* @return A Java Future containing the result of the RemoveTagsFromResource
* operation returned by the service.
* @sample AWSCloudHSMAsync.RemoveTagsFromResource
*/
java.util.concurrent.Future removeTagsFromResourceAsync(
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.
*
*
* @param removeTagsFromResourceRequest
* @param 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.
* @return A Java Future containing the result of the RemoveTagsFromResource
* operation returned by the service.
* @sample AWSCloudHSMAsyncHandler.RemoveTagsFromResource
*/
java.util.concurrent.Future removeTagsFromResourceAsync(
RemoveTagsFromResourceRequest removeTagsFromResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}