Class: Aws::DynamoDB::Errors::ThrottlingException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ThrottlingException.

Parameters:



545
546
547
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/errors.rb', line 545

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

Instance Method Details

#messageString

Returns:

  • (String)


550
551
552
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/errors.rb', line 550

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

#throttling_reasonsString

Returns:

  • (String)


555
556
557
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/errors.rb', line 555

def throttling_reasons
  @data[:throttling_reasons]
end