Class: Aws::DirectoryService::Errors::AccessDeniedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::DirectoryService::Errors::AccessDeniedException
- Defined in:
- lib/aws-sdk-directoryservice/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccessDeniedException
constructor
A new instance of AccessDeniedException.
- #message ⇒ String
- #request_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccessDeniedException
Returns a new instance of AccessDeniedException.
79 80 81 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 79 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
84 85 86 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 84 def @message || @data[:message] end |
#request_id ⇒ String
89 90 91 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 89 def request_id @data[:request_id] end |