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

DisableKeyRotation() public method

Disables rotation of the specified 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 DisableKeyRotation ( Amazon.KeyManagementService.Model.DisableKeyRotationRequest request ) : DisableKeyRotationResponse
request Amazon.KeyManagementService.Model.DisableKeyRotationRequest Container for the necessary parameters to execute the DisableKeyRotation service method.
return DisableKeyRotationResponse
        public DisableKeyRotationResponse DisableKeyRotation(DisableKeyRotationRequest request)
        {
            var marshaller = new DisableKeyRotationRequestMarshaller();
            var unmarshaller = DisableKeyRotationResponseUnmarshaller.Instance;

            return Invoke<DisableKeyRotationRequest,DisableKeyRotationResponse>(request, marshaller, unmarshaller);
        }

Same methods

AmazonKeyManagementServiceClient::DisableKeyRotation ( string keyId ) : DisableKeyRotationResponse
AmazonKeyManagementServiceClient