Class: Aws::Lambda::Errors::KMSAccessDeniedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Lambda::Errors::KMSAccessDeniedException
- Defined in:
- lib/aws-sdk-lambda/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KMSAccessDeniedException
constructor
A new instance of KMSAccessDeniedException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KMSAccessDeniedException
Returns a new instance of KMSAccessDeniedException.
445 446 447 |
# File 'lib/aws-sdk-lambda/errors.rb', line 445 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
455 456 457 |
# File 'lib/aws-sdk-lambda/errors.rb', line 455 def @message || @data[:message] end |
#type ⇒ String
450 451 452 |
# File 'lib/aws-sdk-lambda/errors.rb', line 450 def type @data[:type] end |