Class: Aws::Detective::Errors::AccessDeniedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Detective::Errors::AccessDeniedException
- Defined in:
- lib/aws-sdk-detective/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
- #error_code_reason ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccessDeniedException
constructor
A new instance of AccessDeniedException.
- #message ⇒ String
- #sub_error_code ⇒ String
- #sub_error_code_reason ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccessDeniedException
Returns a new instance of AccessDeniedException.
49 50 51 |
# File 'lib/aws-sdk-detective/errors.rb', line 49 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
59 60 61 |
# File 'lib/aws-sdk-detective/errors.rb', line 59 def error_code @data[:error_code] end |
#error_code_reason ⇒ String
64 65 66 |
# File 'lib/aws-sdk-detective/errors.rb', line 64 def error_code_reason @data[:error_code_reason] end |
#message ⇒ String
54 55 56 |
# File 'lib/aws-sdk-detective/errors.rb', line 54 def @message || @data[:message] end |
#sub_error_code ⇒ String
69 70 71 |
# File 'lib/aws-sdk-detective/errors.rb', line 69 def sub_error_code @data[:sub_error_code] end |
#sub_error_code_reason ⇒ String
74 75 76 |
# File 'lib/aws-sdk-detective/errors.rb', line 74 def sub_error_code_reason @data[:sub_error_code_reason] end |