Class: Aws::SQS::Errors::KmsAccessDenied

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of KmsAccessDenied.

Parameters:



215
216
217
# File 'lib/aws-sdk-sqs/errors.rb', line 215

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

Instance Method Details

#messageString

Returns:

  • (String)


220
221
222
# File 'lib/aws-sdk-sqs/errors.rb', line 220

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