Class: Aws::SQS::Errors::InvalidSecurity

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) ⇒ InvalidSecurity

Returns a new instance of InvalidSecurity.

Parameters:



200
201
202
# File 'lib/aws-sdk-sqs/errors.rb', line 200

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

Instance Method Details

#messageString

Returns:

  • (String)


205
206
207
# File 'lib/aws-sdk-sqs/errors.rb', line 205

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