Class: Aws::ChimeSDKMediaPipelines::Errors::ServiceFailureException

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) ⇒ ServiceFailureException

Returns a new instance of ServiceFailureException.

Parameters:



176
177
178
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 176

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

Instance Method Details

#codeString

Returns:

  • (String)


181
182
183
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 181

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

#messageString

Returns:

  • (String)


186
187
188
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 186

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

#request_idString

Returns:

  • (String)


191
192
193
# File 'lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 191

def request_id
  @data[:request_id]
end