class AWS::DynamoDB::Client

def should_retry? response

def should_retry? response 
  if response.error.is_a?(Errors::ProvisionedThroughputExceededException)
    config.dynamo_db_retry_throughput_errors?
  else
    super
  end
end