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

Inherits:
ServiceError
  • Object
show all
Defined in:
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:



331
332
333
# File 'lib/aws-sdk-sns/errors.rb', line 331

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

Instance Method Details

#messageString

Returns:

  • (String)


336
337
338
# File 'lib/aws-sdk-sns/errors.rb', line 336

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