Amazon.KeyManagementService.AmazonKeyManagementServiceClient.EnableKeyRotation C# (CSharp) Method

EnableKeyRotation() public method

Enables rotation of the specified customer master key.
/// The system timed out while trying to fulfill the request. The request can be retried. /// /// The request was rejected because the specified CMK is not enabled. /// /// 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. /// /// The request was rejected because a specified parameter is not supported or a specified /// resource is not valid for this operation. ///
public EnableKeyRotation ( EnableKeyRotationRequest request ) : EnableKeyRotationResponse
request Amazon.KeyManagementService.Model.EnableKeyRotationRequest Container for the necessary parameters to execute the EnableKeyRotation service method.
return EnableKeyRotationResponse
        public EnableKeyRotationResponse EnableKeyRotation(EnableKeyRotationRequest request)
        {
            var marshaller = new EnableKeyRotationRequestMarshaller();
            var unmarshaller = EnableKeyRotationResponseUnmarshaller.Instance;

            return Invoke<EnableKeyRotationRequest,EnableKeyRotationResponse>(request, marshaller, unmarshaller);
        }

Same methods

AmazonKeyManagementServiceClient::EnableKeyRotation ( string keyId ) : EnableKeyRotationResponse
AmazonKeyManagementServiceClient