Class: Aws::KMS::Errors::XksKeyNotFoundException

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

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ XksKeyNotFoundException

Returns a new instance of XksKeyNotFoundException.

Parameters:



660
661
662
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/errors.rb', line 660

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


665
666
667
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/errors.rb', line 665

def message
  @message || @data[:message]
end