Class KmsInvalidKeyUsageException

All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<KmsInvalidKeyUsageException.Builder,KmsInvalidKeyUsageException>

@Generated("software.amazon.awssdk:codegen") public final class KmsInvalidKeyUsageException extends SqsException implements ToCopyableBuilder<KmsInvalidKeyUsageException.Builder,KmsInvalidKeyUsageException>

The request was rejected for one of the following reasons:

  • The KeyUsage value of the KMS key is incompatible with the API operation.

  • The encryption algorithm or signing algorithm specified for the operation is incompatible with the type of key material in the KMS key (KeySpec).

See Also: