Class: Aws::SNS::Errors::KMSOptInRequired
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SNS::Errors::KMSOptInRequired
- Defined in:
- lib/aws-sdk-sns/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KMSOptInRequired
constructor
A new instance of KMSOptInRequired.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KMSOptInRequired
Returns a new instance of KMSOptInRequired.
331 332 333 |
# File 'lib/aws-sdk-sns/errors.rb', line 331 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
336 337 338 |
# File 'lib/aws-sdk-sns/errors.rb', line 336 def @message || @data[:message] end |