Class KMSInvalidStateException

All Implemented Interfaces:
Serializable

public class KMSInvalidStateException extends AmazonServiceException

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 customer master key (CMK), see How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.

See Also:
  • Constructor Details

    • KMSInvalidStateException

      public KMSInvalidStateException(String message)
      Constructs a new KMSInvalidStateException with the specified error message.
      Parameters:
      message - Describes the error encountered.