/*
* Copyright 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.
*/
/*
* Do not modify this file. This file is generated from the cloudhsmv2-2017-04-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.CloudHSMV2.Model;
namespace Amazon.CloudHSMV2
{
///
/// Interface for accessing CloudHSMV2
///
/// For more information about AWS CloudHSM, see AWS
/// CloudHSM and the AWS
/// CloudHSM User Guide.
///
public partial interface IAmazonCloudHSMV2 : IAmazonService, IDisposable
{
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
ICloudHSMV2PaginatorFactory Paginators { get; }
#endif
#region CopyBackupToRegion
///
/// Copy an AWS CloudHSM cluster backup to a different region.
///
/// Container for the necessary parameters to execute the CopyBackupToRegion service method.
///
/// The response from the CopyBackupToRegion service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because it refers to a resource that cannot be found.
///
///
/// The request was rejected because an error occurred.
///
///
/// The request was rejected because of a tagging failure. Verify the tag conditions in
/// all applicable policies, and then retry the request.
///
/// REST API Reference for CopyBackupToRegion Operation
CopyBackupToRegionResponse CopyBackupToRegion(CopyBackupToRegionRequest request);
///
/// Initiates the asynchronous execution of the CopyBackupToRegion operation.
///
///
/// Container for the necessary parameters to execute the CopyBackupToRegion operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCopyBackupToRegion
/// operation.
/// REST API Reference for CopyBackupToRegion Operation
IAsyncResult BeginCopyBackupToRegion(CopyBackupToRegionRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CopyBackupToRegion operation.
///
///
/// The IAsyncResult returned by the call to BeginCopyBackupToRegion.
///
/// Returns a CopyBackupToRegionResult from CloudHSMV2.
/// REST API Reference for CopyBackupToRegion Operation
CopyBackupToRegionResponse EndCopyBackupToRegion(IAsyncResult asyncResult);
#endregion
#region CreateCluster
///
/// Creates a new AWS CloudHSM cluster.
///
/// Container for the necessary parameters to execute the CreateCluster service method.
///
/// The response from the CreateCluster service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because it refers to a resource that cannot be found.
///
///
/// The request was rejected because an error occurred.
///
///
/// The request was rejected because of a tagging failure. Verify the tag conditions in
/// all applicable policies, and then retry the request.
///
/// REST API Reference for CreateCluster Operation
CreateClusterResponse CreateCluster(CreateClusterRequest request);
///
/// Initiates the asynchronous execution of the CreateCluster operation.
///
///
/// Container for the necessary parameters to execute the CreateCluster operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateCluster
/// operation.
/// REST API Reference for CreateCluster Operation
IAsyncResult BeginCreateCluster(CreateClusterRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateCluster operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateCluster.
///
/// Returns a CreateClusterResult from CloudHSMV2.
/// REST API Reference for CreateCluster Operation
CreateClusterResponse EndCreateCluster(IAsyncResult asyncResult);
#endregion
#region CreateHsm
///
/// Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.
///
/// Container for the necessary parameters to execute the CreateHsm service method.
///
/// The response from the CreateHsm service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because it refers to a resource that cannot be found.
///
///
/// The request was rejected because an error occurred.
///
/// REST API Reference for CreateHsm Operation
CreateHsmResponse CreateHsm(CreateHsmRequest request);
///
/// Initiates the asynchronous execution of the CreateHsm operation.
///
///
/// Container for the necessary parameters to execute the CreateHsm operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateHsm
/// operation.
/// REST API Reference for CreateHsm Operation
IAsyncResult BeginCreateHsm(CreateHsmRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateHsm operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateHsm.
///
/// Returns a CreateHsmResult from CloudHSMV2.
/// REST API Reference for CreateHsm Operation
CreateHsmResponse EndCreateHsm(IAsyncResult asyncResult);
#endregion
#region DeleteBackup
///
/// Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days after
/// the DeleteBackup request is made. For more information on restoring a backup, see
/// RestoreBackup.
///
/// Container for the necessary parameters to execute the DeleteBackup service method.
///
/// The response from the DeleteBackup service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because it refers to a resource that cannot be found.
///
///
/// The request was rejected because an error occurred.
///
/// REST API Reference for DeleteBackup Operation
DeleteBackupResponse DeleteBackup(DeleteBackupRequest request);
///
/// Initiates the asynchronous execution of the DeleteBackup operation.
///
///
/// Container for the necessary parameters to execute the DeleteBackup operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBackup
/// operation.
/// REST API Reference for DeleteBackup Operation
IAsyncResult BeginDeleteBackup(DeleteBackupRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteBackup operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteBackup.
///
/// Returns a DeleteBackupResult from CloudHSMV2.
/// REST API Reference for DeleteBackup Operation
DeleteBackupResponse EndDeleteBackup(IAsyncResult asyncResult);
#endregion
#region DeleteCluster
///
/// Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must
/// delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters.
/// To delete an HSM, use DeleteHsm.
///
/// Container for the necessary parameters to execute the DeleteCluster service method.
///
/// The response from the DeleteCluster service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because it refers to a resource that cannot be found.
///
///
/// The request was rejected because an error occurred.
///
///
/// The request was rejected because of a tagging failure. Verify the tag conditions in
/// all applicable policies, and then retry the request.
///
/// REST API Reference for DeleteCluster Operation
DeleteClusterResponse DeleteCluster(DeleteClusterRequest request);
///
/// Initiates the asynchronous execution of the DeleteCluster operation.
///
///
/// Container for the necessary parameters to execute the DeleteCluster operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCluster
/// operation.
/// REST API Reference for DeleteCluster Operation
IAsyncResult BeginDeleteCluster(DeleteClusterRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteCluster operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteCluster.
///
/// Returns a DeleteClusterResult from CloudHSMV2.
/// REST API Reference for DeleteCluster Operation
DeleteClusterResponse EndDeleteCluster(IAsyncResult asyncResult);
#endregion
#region DeleteHsm
///
/// Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the
/// IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI.
/// You need to specify only one of these values. To find these values, use DescribeClusters.
///
/// Container for the necessary parameters to execute the DeleteHsm service method.
///
/// The response from the DeleteHsm service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because it refers to a resource that cannot be found.
///
///
/// The request was rejected because an error occurred.
///
/// REST API Reference for DeleteHsm Operation
DeleteHsmResponse DeleteHsm(DeleteHsmRequest request);
///
/// Initiates the asynchronous execution of the DeleteHsm operation.
///
///
/// Container for the necessary parameters to execute the DeleteHsm operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteHsm
/// operation.
/// REST API Reference for DeleteHsm Operation
IAsyncResult BeginDeleteHsm(DeleteHsmRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteHsm operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteHsm.
///
/// Returns a DeleteHsmResult from CloudHSMV2.
/// REST API Reference for DeleteHsm Operation
DeleteHsmResponse EndDeleteHsm(IAsyncResult asyncResult);
#endregion
#region DescribeBackups
///
/// Gets information about backups of AWS CloudHSM clusters.
///
///
///
/// This is a paginated operation, which means that each response might contain only a
/// subset of all the backups. When the response contains only a subset of backups, it
/// includes a NextToken
value. Use this value in a subsequent DescribeBackups
/// request to get more backups. When you receive a response with no NextToken
/// (or an empty or null value), that means there are no more backups to get.
///
///
/// Container for the necessary parameters to execute the DescribeBackups service method.
///
/// The response from the DescribeBackups service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because it refers to a resource that cannot be found.
///
///
/// The request was rejected because an error occurred.
///
///
/// The request was rejected because of a tagging failure. Verify the tag conditions in
/// all applicable policies, and then retry the request.
///
/// REST API Reference for DescribeBackups Operation
DescribeBackupsResponse DescribeBackups(DescribeBackupsRequest request);
///
/// Initiates the asynchronous execution of the DescribeBackups operation.
///
///
/// Container for the necessary parameters to execute the DescribeBackups operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeBackups
/// operation.
/// REST API Reference for DescribeBackups Operation
IAsyncResult BeginDescribeBackups(DescribeBackupsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DescribeBackups operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeBackups.
///
/// Returns a DescribeBackupsResult from CloudHSMV2.
/// REST API Reference for DescribeBackups Operation
DescribeBackupsResponse EndDescribeBackups(IAsyncResult asyncResult);
#endregion
#region DescribeClusters
///
/// Gets information about AWS CloudHSM clusters.
///
///
///
/// This is a paginated operation, which means that each response might contain only a
/// subset of all the clusters. When the response contains only a subset of clusters,
/// it includes a NextToken
value. Use this value in a subsequent DescribeClusters
/// request to get more clusters. When you receive a response with no NextToken
/// (or an empty or null value), that means there are no more clusters to get.
///
///
/// Container for the necessary parameters to execute the DescribeClusters service method.
///
/// The response from the DescribeClusters service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because an error occurred.
///
///
/// The request was rejected because of a tagging failure. Verify the tag conditions in
/// all applicable policies, and then retry the request.
///
/// REST API Reference for DescribeClusters Operation
DescribeClustersResponse DescribeClusters(DescribeClustersRequest request);
///
/// Initiates the asynchronous execution of the DescribeClusters operation.
///
///
/// Container for the necessary parameters to execute the DescribeClusters operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeClusters
/// operation.
/// REST API Reference for DescribeClusters Operation
IAsyncResult BeginDescribeClusters(DescribeClustersRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DescribeClusters operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeClusters.
///
/// Returns a DescribeClustersResult from CloudHSMV2.
/// REST API Reference for DescribeClusters Operation
DescribeClustersResponse EndDescribeClusters(IAsyncResult asyncResult);
#endregion
#region InitializeCluster
///
/// Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your
/// issuing certificate authority (CA) and the CA's root certificate. Before you can claim
/// a cluster, you must sign the cluster's certificate signing request (CSR) with your
/// issuing CA. To get the cluster's CSR, use DescribeClusters.
///
/// Container for the necessary parameters to execute the InitializeCluster service method.
///
/// The response from the InitializeCluster service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because it refers to a resource that cannot be found.
///
///
/// The request was rejected because an error occurred.
///
/// REST API Reference for InitializeCluster Operation
InitializeClusterResponse InitializeCluster(InitializeClusterRequest request);
///
/// Initiates the asynchronous execution of the InitializeCluster operation.
///
///
/// Container for the necessary parameters to execute the InitializeCluster operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndInitializeCluster
/// operation.
/// REST API Reference for InitializeCluster Operation
IAsyncResult BeginInitializeCluster(InitializeClusterRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the InitializeCluster operation.
///
///
/// The IAsyncResult returned by the call to BeginInitializeCluster.
///
/// Returns a InitializeClusterResult from CloudHSMV2.
/// REST API Reference for InitializeCluster Operation
InitializeClusterResponse EndInitializeCluster(IAsyncResult asyncResult);
#endregion
#region ListTags
///
/// Gets a list of tags for the specified AWS CloudHSM cluster.
///
///
///
/// This is a paginated operation, which means that each response might contain only a
/// subset of all the tags. When the response contains only a subset of tags, it includes
/// a NextToken
value. Use this value in a subsequent ListTags
/// request to get more tags. When you receive a response with no NextToken
/// (or an empty or null value), that means there are no more tags to get.
///
///
/// Container for the necessary parameters to execute the ListTags service method.
///
/// The response from the ListTags service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because it refers to a resource that cannot be found.
///
///
/// The request was rejected because an error occurred.
///
///
/// The request was rejected because of a tagging failure. Verify the tag conditions in
/// all applicable policies, and then retry the request.
///
/// REST API Reference for ListTags Operation
ListTagsResponse ListTags(ListTagsRequest request);
///
/// Initiates the asynchronous execution of the ListTags operation.
///
///
/// Container for the necessary parameters to execute the ListTags operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTags
/// operation.
/// REST API Reference for ListTags Operation
IAsyncResult BeginListTags(ListTagsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListTags operation.
///
///
/// The IAsyncResult returned by the call to BeginListTags.
///
/// Returns a ListTagsResult from CloudHSMV2.
/// REST API Reference for ListTags Operation
ListTagsResponse EndListTags(IAsyncResult asyncResult);
#endregion
#region ModifyBackupAttributes
///
/// Modifies attributes for AWS CloudHSM backup.
///
/// Container for the necessary parameters to execute the ModifyBackupAttributes service method.
///
/// The response from the ModifyBackupAttributes service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because it refers to a resource that cannot be found.
///
///
/// The request was rejected because an error occurred.
///
/// REST API Reference for ModifyBackupAttributes Operation
ModifyBackupAttributesResponse ModifyBackupAttributes(ModifyBackupAttributesRequest request);
///
/// Initiates the asynchronous execution of the ModifyBackupAttributes operation.
///
///
/// Container for the necessary parameters to execute the ModifyBackupAttributes operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndModifyBackupAttributes
/// operation.
/// REST API Reference for ModifyBackupAttributes Operation
IAsyncResult BeginModifyBackupAttributes(ModifyBackupAttributesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ModifyBackupAttributes operation.
///
///
/// The IAsyncResult returned by the call to BeginModifyBackupAttributes.
///
/// Returns a ModifyBackupAttributesResult from CloudHSMV2.
/// REST API Reference for ModifyBackupAttributes Operation
ModifyBackupAttributesResponse EndModifyBackupAttributes(IAsyncResult asyncResult);
#endregion
#region ModifyCluster
///
/// Modifies AWS CloudHSM cluster.
///
/// Container for the necessary parameters to execute the ModifyCluster service method.
///
/// The response from the ModifyCluster service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because it refers to a resource that cannot be found.
///
///
/// The request was rejected because an error occurred.
///
/// REST API Reference for ModifyCluster Operation
ModifyClusterResponse ModifyCluster(ModifyClusterRequest request);
///
/// Initiates the asynchronous execution of the ModifyCluster operation.
///
///
/// Container for the necessary parameters to execute the ModifyCluster operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndModifyCluster
/// operation.
/// REST API Reference for ModifyCluster Operation
IAsyncResult BeginModifyCluster(ModifyClusterRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ModifyCluster operation.
///
///
/// The IAsyncResult returned by the call to BeginModifyCluster.
///
/// Returns a ModifyClusterResult from CloudHSMV2.
/// REST API Reference for ModifyCluster Operation
ModifyClusterResponse EndModifyCluster(IAsyncResult asyncResult);
#endregion
#region RestoreBackup
///
/// Restores a specified AWS CloudHSM backup that is in the PENDING_DELETION
/// state. For mor information on deleting a backup, see DeleteBackup.
///
/// Container for the necessary parameters to execute the RestoreBackup service method.
///
/// The response from the RestoreBackup service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because it refers to a resource that cannot be found.
///
///
/// The request was rejected because an error occurred.
///
/// REST API Reference for RestoreBackup Operation
RestoreBackupResponse RestoreBackup(RestoreBackupRequest request);
///
/// Initiates the asynchronous execution of the RestoreBackup operation.
///
///
/// Container for the necessary parameters to execute the RestoreBackup operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRestoreBackup
/// operation.
/// REST API Reference for RestoreBackup Operation
IAsyncResult BeginRestoreBackup(RestoreBackupRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the RestoreBackup operation.
///
///
/// The IAsyncResult returned by the call to BeginRestoreBackup.
///
/// Returns a RestoreBackupResult from CloudHSMV2.
/// REST API Reference for RestoreBackup Operation
RestoreBackupResponse EndRestoreBackup(IAsyncResult asyncResult);
#endregion
#region TagResource
///
/// Adds or overwrites one or more tags for the specified AWS CloudHSM cluster.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because it refers to a resource that cannot be found.
///
///
/// The request was rejected because an error occurred.
///
///
/// The request was rejected because of a tagging failure. Verify the tag conditions in
/// all applicable policies, and then retry the request.
///
/// REST API Reference for TagResource Operation
TagResourceResponse TagResource(TagResourceRequest request);
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from CloudHSMV2.
/// REST API Reference for TagResource Operation
TagResourceResponse EndTagResource(IAsyncResult asyncResult);
#endregion
#region UntagResource
///
/// Removes the specified tag or tags from the specified AWS CloudHSM cluster.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by CloudHSMV2.
///
/// The request was rejected because the requester does not have permission to perform
/// the requested operation.
///
///
/// The request was rejected because of an AWS CloudHSM internal failure. The request
/// can be retried.
///
///
/// The request was rejected because it is not a valid request.
///
///
/// The request was rejected because it refers to a resource that cannot be found.
///
///
/// The request was rejected because an error occurred.
///
///
/// The request was rejected because of a tagging failure. Verify the tag conditions in
/// all applicable policies, and then retry the request.
///
/// REST API Reference for UntagResource Operation
UntagResourceResponse UntagResource(UntagResourceRequest request);
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonCloudHSMV2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from CloudHSMV2.
/// REST API Reference for UntagResource Operation
UntagResourceResponse EndUntagResource(IAsyncResult asyncResult);
#endregion
}
}