Class: Aws::ChimeSDKMediaPipelines::Errors::ServiceUnavailableException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-chimesdkmediapipelines/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableException

Returns a new instance of ServiceUnavailableException.

Parameters:



201
202
203
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 201

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#codeString

Returns:

  • (String)


206
207
208
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 206

def code
  @code || @data[:code]
end

#messageString

Returns:

  • (String)


211
212
213
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 211

def message
  @message || @data[:message]
end

#request_idString

Returns:

  • (String)


216
217
218
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 216

def request_id
  @data[:request_id]
end