Skip to content

SQS  >  Errors  >  KmsInvalidKeyUsage

KmsInvalidKeyUsage

Error Class

KmsInvalidKeyUsage dataclass

Bases: ServiceError

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).

Attributes

fault class-attribute instance-attribute
fault: Literal['client', 'server'] | None = 'client'