Class: Aws::ChimeSDKMediaPipelines::Errors::ForbiddenException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ChimeSDKMediaPipelines::Errors::ForbiddenException
- Defined in:
- lib/aws-sdk-chimesdkmediapipelines/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ForbiddenException
constructor
A new instance of ForbiddenException.
- #message ⇒ String
- #request_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ForbiddenException
Returns a new instance of ForbiddenException.
101 102 103 |
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 101 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
106 107 108 |
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 106 def code @code || @data[:code] end |
#message ⇒ String
111 112 113 |
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 111 def @message || @data[:message] end |
#request_id ⇒ String
116 117 118 |
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 116 def request_id @data[:request_id] end |