class AWS::DynamoDB::Client

@private

Constants

API_VERSION
CACHEABLE_REQUESTS
REGION_US_E1
REQUEST_CLASS
TARGET_PREFIX

Public Class Methods

new(*args) click to toggle source
# File lib/aws/dynamo_db/client.rb, line 32
def initialize *args

  super

  # If the signer does not provide a session token, then we will
  # replace it with another signer that manages an AWS STS session.
  # This session will auto renew whenever it has expired and will
  # be shared across threads.
  if config.signer.session_token.nil?
    @signer = Core::SessionSigner.for(config) 
  end

end

Protected Instance Methods

extract_error_code(response) click to toggle source
# File lib/aws/dynamo_db/client.rb, line 47
def extract_error_code response
  if response.http_response.status == 413
    'RequestEntityTooLarge'
  else
    super(response)
  end
end