Class KmsInvalidKeyUsageException

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

@Generated("software.amazon.awssdk:codegen") public final class KmsInvalidKeyUsageException extends S3VectorsException 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).

For more information, see InvalidKeyUsageException in the Amazon Web Services Key Management Service API Reference.

See Also: