Class: Aws::ControlTower::Errors::AccessDeniedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ControlTower::Errors::AccessDeniedException
- Defined in:
- gems/aws-sdk-controltower/lib/aws-sdk-controltower/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccessDeniedException
constructor
A new instance of AccessDeniedException.
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccessDeniedException
Returns a new instance of AccessDeniedException.
49 50 51 |
# File 'gems/aws-sdk-controltower/lib/aws-sdk-controltower/errors.rb', line 49 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
54 55 56 |
# File 'gems/aws-sdk-controltower/lib/aws-sdk-controltower/errors.rb', line 54 def @message || @data[:message] end |