Class: Aws::S3Vectors::Types::KmsInvalidKeyUsageException
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Vectors::Types::KmsInvalidKeyUsageException
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3vectors/types.rb
Overview
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*.
[1]: docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html#API_Encrypt_Errors
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
Instance Attribute Details
#message ⇒ String
613 614 615 616 617 |
# File 'lib/aws-sdk-s3vectors/types.rb', line 613 class KmsInvalidKeyUsageException < Struct.new( :message) SENSITIVE = [] include Aws::Structure end |