Class: Aws::SNS::Errors::KMSAccessDeniedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SNS::Errors::KMSAccessDeniedException
- Defined in:
- lib/aws-sdk-sns/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KMSAccessDeniedException
constructor
A new instance of KMSAccessDeniedException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KMSAccessDeniedException
Returns a new instance of KMSAccessDeniedException.
271 272 273 |
# File 'lib/aws-sdk-sns/errors.rb', line 271 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
276 277 278 |
# File 'lib/aws-sdk-sns/errors.rb', line 276 def @message || @data[:message] end |