Class: Aws::CodeGuruSecurity::Errors::AccessDeniedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CodeGuruSecurity::Errors::AccessDeniedException
- Defined in:
- lib/aws-sdk-codegurusecurity/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccessDeniedException
constructor
A new instance of AccessDeniedException.
- #message ⇒ String
- #resource_id ⇒ String
- #resource_type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccessDeniedException
Returns a new instance of AccessDeniedException.
48 49 50 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 48 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
53 54 55 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 53 def error_code @data[:error_code] end |
#message ⇒ String
58 59 60 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 58 def @message || @data[:message] end |
#resource_id ⇒ String
63 64 65 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 63 def resource_id @data[:resource_id] end |
#resource_type ⇒ String
68 69 70 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 68 def resource_type @data[:resource_type] end |