Class: Aws::SNS::Errors::KMSOptInRequired

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of KMSOptInRequired.

Parameters:



245
246
247
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/errors.rb', line 245

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

Instance Method Details

#messageString

Returns:

  • (String)


250
251
252
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/errors.rb', line 250

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