Module | Amazon::AWS |
In: |
lib/amazon/aws/cache.rb
lib/amazon/aws/shoppingcart.rb lib/amazon/aws/search.rb lib/amazon/aws.rb |
NAME | = | '%s/%s' % [ Amazon::NAME, 'AWS' ] | ||
VERSION | = | '0.8.1' | ||
USER_AGENT | = | '%s %s' % [ NAME, VERSION ] | ||
DEF_ASSOC | = | { 'ca' => 'caliban-20', 'de' => 'calibanorg0a-21', 'fr' => 'caliban08-21', 'jp' => 'calibanorg-20', 'uk' => 'caliban-21', 'us' => 'calibanorg-20' | Default Associate tags to use per locale. | |
SERVICE | = | { 'Service' => 'AWSECommerceService', 'Version' => '2009-11-01' | Service name and API version for AWS. The version of the API used can be changed via the user configuration file. | |
MAX_REDIRECTS | = | 3 | Maximum number of 301 and 302 HTTP responses to follow, should Amazon later decide to change the location of the service. | |
PAGINATION | = | { 'ItemSearch' => { 'parameter' => 'ItemPage', 'max_page' => 400 }, 'ItemLookup' => { 'parameter' => 'OfferPage', 'max_page' => 100 }, 'ListLookup' => { 'parameter' => 'ProductPage', 'max_page' => 30 }, 'ListSearch' => { 'parameter' => 'ListPage', 'max_page' => 20 }, 'CustomerContentLookup' => { 'parameter' => 'ReviewPage', 'max_page' => 10 }, 'CustomerContentSearch' => { 'parameter' => 'CustomerPage', 'max_page' => 20 }, 'VehiclePartLookup' => { 'parameter' => 'FitmentPage', 'max_page' => 10 } | Maximum number of results pages that can be retrieved for a given search operation, using whichever pagination parameter is appropriate for that kind of operation. | |
ENDPOINT | = | { 'ca' => Endpoint.new( 'http://ecs.amazonaws.ca/onca/xml' ), 'de' => Endpoint.new( 'http://ecs.amazonaws.de/onca/xml' ), 'fr' => Endpoint.new( 'http://ecs.amazonaws.fr/onca/xml' ), 'jp' => Endpoint.new( 'http://ecs.amazonaws.jp/onca/xml' ), 'uk' => Endpoint.new( 'http://ecs.amazonaws.co.uk/onca/xml' ), 'us' => Endpoint.new( 'http://ecs.amazonaws.com/onca/xml' ) |