Class: Aws::ChimeSDKMediaPipelines::Errors::ThrottledClientException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ThrottledClientException.

Parameters:



226
227
228
# File 'gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 226

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

Instance Method Details

#codeString

Returns:

  • (String)


231
232
233
# File 'gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 231

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

#messageString

Returns:

  • (String)


236
237
238
# File 'gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 236

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

#request_idString

Returns:

  • (String)


241
242
243
# File 'gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/errors.rb', line 241

def request_id
  @data[:request_id]
end