Amazon.KeyManagementService.AmazonKeyManagementServiceClient.CancelKeyDeletion C# (CSharp) Méthode

CancelKeyDeletion() public méthode

Cancels the deletion of a customer master key (CMK). When this operation is successful, the CMK is set to the Disabled state. To enable a CMK, use EnableKey.

For more information about scheduling and canceling deletion of a CMK, see Deleting Customer Master Keys in the AWS Key Management Service Developer Guide.

/// The system timed out while trying to fulfill the request. The request can be retried. /// /// The request was rejected because a specified ARN was not valid. /// /// The request was rejected because an internal exception occurred. The request can be /// retried. /// /// The request was rejected because the state of the specified resource is not valid /// for this request. /// /// /// /// For more information about how key state affects the use of a CMK, see How /// Key State Affects Use of a Customer Master Key in the AWS Key Management Service /// Developer Guide. /// /// /// The request was rejected because the specified entity or resource could not be found. ///
public CancelKeyDeletion ( CancelKeyDeletionRequest request ) : CancelKeyDeletionResponse
request Amazon.KeyManagementService.Model.CancelKeyDeletionRequest Container for the necessary parameters to execute the CancelKeyDeletion service method.
Résultat Amazon.KeyManagementService.Model.CancelKeyDeletionResponse
        public CancelKeyDeletionResponse CancelKeyDeletion(CancelKeyDeletionRequest request)
        {
            var marshaller = new CancelKeyDeletionRequestMarshaller();
            var unmarshaller = CancelKeyDeletionResponseUnmarshaller.Instance;

            return Invoke<CancelKeyDeletionRequest,CancelKeyDeletionResponse>(request, marshaller, unmarshaller);
        }

Same methods

AmazonKeyManagementServiceClient::CancelKeyDeletion ( string keyId ) : CancelKeyDeletionResponse
AmazonKeyManagementServiceClient