Class: Aws::KMS::Types::IncorrectKeyException

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb

Overview

The request was rejected because the specified KMS key cannot decrypt the data. The KeyId in a Decrypt request and the SourceKeyId in a ReEncrypt request must identify the same KMS key that was used to encrypt the ciphertext.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

Returns:

  • (String)


3595
3596
3597
3598
3599
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 3595

class IncorrectKeyException < Struct.new(
  :message)
  SENSITIVE = []
  include Aws::Structure
end