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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


3876
3877
3878
3879
3880
# File 'lib/aws-sdk-kms/types.rb', line 3876

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