Class: Aws::ChimeSDKMediaPipelines::Errors::ServiceUnavailableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ChimeSDKMediaPipelines::Errors::ServiceUnavailableException
- Defined in:
- lib/aws-sdk-chimesdkmediapipelines/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableException
constructor
A new instance of ServiceUnavailableException.
- #message ⇒ String
- #request_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableException
Returns a new instance of ServiceUnavailableException.
201 202 203 |
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 201 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
206 207 208 |
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 206 def code @code || @data[:code] end |
#message ⇒ String
211 212 213 |
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 211 def @message || @data[:message] end |
#request_id ⇒ String
216 217 218 |
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 216 def request_id @data[:request_id] end |