Common Lisp Package: ORG.IODB.AMAZON.ECS

README:

FUNCTION

Public

HYPHENATED->CAMELIZED (HYPHEN-WORD)

Returns a camelized version of the hyphenated string of words. abc-efg -> AbcEfg

MULTIPLEXED-BATCH-ITEM-LOOKUP (ASINS &KEY SHARED-PARAMETERS-ARGS INDEPENDENT-PARAMETERS-ARGS)

Given a list of items and shared/independent paramters for a batch request, returns a list where the nth item of the list is a list of ITEM objects that correspond to the nth ASIN in ASINS. e.g. (ecs:multiplexed-batch-item-lookup '("0321486129" "0131873210") ...) => ((#<ORG.IODB.AMAZON.ECS:AMAZON-ITEM 0321486129> #<ORG.IODB.AMAZON.ECS:AMAZON-ITEM 0321486129>) (#<ORG.IODB.AMAZON.ECS:AMAZON-ITEM 0131873210> #<ORG.IODB.AMAZON.ECS:AMAZON-ITEM 0131873210>))

OFFICIAL-AMAZON.COM-MERCHANT? (MERCHANT)

Returns True if the given merchant is the Amazon.com itself (not a 3rd party merchant).

PERFORM-BATCH-OPERATION (OPERATION &KEY SIMPLE-PARAMETERS-ARGS SHARED-PARAMETERS-ARGS INDEPENDENT-PARAMETERS-ARGS (SECRET-ACCESS-KEY *SECRET-ACCESS-KEY*))

PERFORM-OPERATION (OPERATION &REST KEY-ARGS &KEY (ACCESS-KEY-ID *ACCESS-KEY-ID*) (ASSOCIATE-ID *ASSOCIATES-ID*) (SECRET-ACCESS-KEY *SECRET-ACCESS-KEY*) (VERSION *WEBSERVICES-VERSION*) VALIDATE (TIMESTAMP (FORMATTED-TIMESTAMP)) &ALLOW-OTHER-KEYS)

Undocumented

CART-ADD (CART-OR-CART-ID &REST OP-PARAMS)

CART-CREATE (&REST OP-PARAMS)

CART-GET (CART-OR-CART-ID &REST OP-PARAMS)

CART-MODIFY (CART-OR-CART-ID &REST OP-PARAMS)

GENERATE-EXPORTS

ITEM-LOOKUP (&REST OP-PARAMS)

Private

AGNOSTIC-PARAMETERS-STRING (&KEY (SECRET-ACCESS-KEY *SECRET-ACCESS-KEY*) PARAMETERS SORTEDP)

Generates a parameters string to be either included in the GET url or POST body of a query.

AMAZON-HTTP-REQUEST (URI)

Requests the given URI and returns a stream with the result. Thread friendly and avoids sending at more than 1 per second.

AMAZON-URL-ENCODE (STRING)

URL-encode a string according to Amazon's URL encoding rules: * Do not URL encode any of the unreserved characters that RFC 3986 defines. These unreserved characters are A-Z, a-z, 0-9, hyphen ( - ), underscore ( _ ), period ( . ), and tilde ( ~ ). * Percent encode extended UTF-8 characters in the form %XY%ZA.... * Percent encode the space character as %20 (and not +, as common encoding schemes do). * Percent encode all other characters with %XY, where X and Y are hex characters 0-9 and uppercase A-F.

BATCH-REQUEST-PARAMETERS (&KEY OPERATION SIMPLE-PARAMETERS SHARED-PARAMETERS INDEPENDENT-PARAMETERS)

Generates the parameters for a batch query. Each member of SIMPLE-PARAMETERS has the following form (key . value) Each member of SHARED-PARAMETERS has the following form (key . value) Each member of INDEPENDENT-PARAMETERS is formatted like so (key value1 valu2 value3 value4) It is assumed that each member of INDEPENDENT-PARAMETERS is the same length. However, this is not validated at runtime Each member of SIMPLE-PARAMETERS will be formatted like so: Parameter=Value Each member of SHARED-PARAMETERS will be formatted like so: OperationName.Parameter=Value Each member of INDEPENDENT-PARAMETERS will be formatted like so: OperationName.ReferenceNumber.Parameter=Value

DESTRUCTURE-URL-KEY-FORM (URL-KEY-FORM)

Returns 2 values: the url-key-form symbol interned in the current package, and the URL key to use for this particular key.

GENERATE-PARAMETERS-STRING (&KEY (ACCESS-KEY-ID *ACCESS-KEY-ID*) (ASSOCIATE-ID *ASSOCIATES-ID*) (SECRET-ACCESS-KEY *SECRET-ACCESS-KEY*) (VERSION *WEBSERVICES-VERSION*) MERCHANT-ID OPERATION PARAMETERS RESPONSE-GROUP VALIDATE (TIMESTAMP (FORMATTED-TIMESTAMP)))

Generates a parameters string to be either included in the GET url or POST body of a query.

GENERATE-URI (&REST REST)

Generates an Amazon Advertizing API request uri. PARAMETERS is an alist of parameters.

PARTITION-LIST (LIST MAX-CHUNK-SIZE)

Partitions list into a number of chunks, sized at most MAX-CHUNK-SIZE. All elements are crammed into lists of size MAX-CHUNK-SIZE except for the last.

SIMPLE-PARAMETERS (&KEY (ACCESS-KEY-ID *ACCESS-KEY-ID*) (ASSOCIATE-ID *ASSOCIATES-ID*) (VERSION *WEBSERVICES-VERSION*) OPERATION VALIDATE (TIMESTAMP (FORMATTED-TIMESTAMP)))

URLIZE-KEY-VALUE (KEY VALUE)

Given a key and value, returns the key=value string to put in a URI.

Undocumented

AMAZON-REQUEST-AND-PARSE (&KEY PARAMETERS PARAMETERS-SORTEDP (POSSIBLE-ROOT-ELEMENTS *DEFAULT-POSSIBLE-ROOT-ELEMENTS*) (SECRET-ACCESS-KEY *SECRET-ACCESS-KEY*))

BATCH-PARAMS (OP SHARED-ARGS-PLIST INDEPENDENT-ARGS-PLISTS)

EXTRA-KEYS-FROM-CART-OR-CART-ID (CART-OR-CART-ID)

FORMATTED-TIMESTAMP (&OPTIONAL (TIME-TO-DECODE (GET-UNIVERSAL-TIME)))

GENERATE-BATCH-PARAMETERS-STRING (&KEY OPERATION (ACCESS-KEY-ID *ACCESS-KEY-ID*) (ASSOCIATE-ID *ASSOCIATES-ID*) (SECRET-ACCESS-KEY *SECRET-ACCESS-KEY*) (VERSION *WEBSERVICES-VERSION*) MERCHANT-ID PARAMETERS RESPONSE-GROUP VALIDATE (TIMESTAMP (FORMATTED-TIMESTAMP)))

MY-PARSE-DATE (UGLY-DATE-STRING)

REQUEST-AND-PARSE (URI PARSE-FN)

SIGN (SORTED-QUERY-WITHOUT-SIGNATURE SECRET-KEY &KEY (METHOD GET) (DOMAIN *WEBSERVICES-DOMAIN*) (URI *WEBSERVICES-URI-PATH*))

SOFT-SUBLIST (LIST END)

STRING-HMAC (ENCODED-STRING KEY-STRING)

URI-FOR-POST

MACRO

Private

BIND-AND-PARAMETERIZE (&REST URL-KEY-FORMS)

Each URL Key form is either a symbol or a (evlaed-form string) where the STRING is the parameter name encoded into the URL. Symbol is a variable that we assume is bound. Nil-bound variables are assumed unspecified

DEFOP (OP-KEYWORD PARAMS-LIST)

Defines an operation with keyword OP-KEYWORD and params PARAMS. Params is a list where each item is of the form param-symbol OR (param-symbol &key key-string initform) where key-string defaults to the hyphen->camelized version of the symbol-name of param-symbol.

Undocumented

DEFINE-AMAZON-ERROR (NAME CODE &BODY DEFINE-CONDITION-BODY)

DEFINE-CHAINED-ACCESSORS ((FROM-CLASS RELATION) &BODY ACCESSORS)

GENERIC-FUNCTION

Public

AUTHOR (ITEM-LIKE-THING)

Gives the author of an item-like thing, e.g. ItemAttributes or Item

ISBN (ITEM-LIKE-THING)

Gives the isbn of an item-like thing, e.g. ItemAttributes or Item

ITEM-OFFICIAL-AMAZON-OFFER (ITEM)

Returns the first official amazon offer for the item.

OFFICIAL-AMAZON-OFFER? (OFFER)

Returns whether or not the offer is an official amazon offer.

TITLE (ITEM-LIKE-THING)

Gives the title of an item-like thing, e.g. ItemAttributes or Item

Undocumented

PRICE-IN-CENTS (PRICE &KEY CURRENCY-CODE)

PRICE-IN-DOLLARS (PRICE)

Private

GENERATE-OPERATION-SPECIFIC-PARAMETERS (OP &KEY TIMESTAMP VALIDATE VERSION SECRET-ACCESS-KEY ASSOCIATE-ID ACCESS-KEY-ID ISPU-POSTAL-CODE VARIATION-PAGE TAGS-PER-PAGE TAG-SORT TAG-PAGE REVIEW-SORT REVIEW-PAGE RELATIONSHIP-TYPE RELATED-ITEM-PAGE OFFER-PAGE MERCHANT-ID DELIVERY-METHOD CONDITION RESPONSE-GROUP SEARCH-INDEX ID-TYPE ITEM-ID TITLE TEXT-STREAM STATE SORT RELEASE-DATE PUBLISHER POWER POSTAL-CODE ORCHESTRA NEIGHBORHOOD MUSIC-LABEL MINIMUM-PRICE MAXIMUM-PRICE MANUFACTURER KEYWORDS ITEM-PAGE DISABLE-PARENT-ASIN-SUBSTITUTION DIRECTOR CUISINE CONDUCTOR COMPOSER CITY BROWSE-NODE BRAND AVAILABILITY AUTHOR AUDIENCE-RATING ARTISTS ACTOR HMAC CART-ID ITEMS MERGE-CART &ALLOW-OTHER-KEYS)

Given an operation keyword, returns an alist of parameters to send along specific to the particular operation. Only things like ResponseGroup, TagSort, etc. are returned and not things like Operation, Timestamp, and other simple params.

LISP-VALUE->URL-VALUE (LISP-VALUE)

Given a lisp value, convert it into a string that may then be embedded in a URL and maintain the meaning of the orignal lisp value. E.G. :dog-house would be translated into 'DogHouse'. Such url values must further be url-encoded.

Undocumented

PRICE-AS-STRING (PRICE)

SLOT-ACCESSOR

Public

Undocumented

ACTORS (OBJECT)

SETFACTORS (NEW-VALUE OBJECT)

ALTERNATE-VERSION-ASIN (OBJECT)

SETFALTERNATE-VERSION-ASIN (NEW-VALUE OBJECT)

ALTERNATE-VERSION-BINDING (OBJECT)

SETFALTERNATE-VERSION-BINDING (NEW-VALUE OBJECT)

ALTERNATE-VERSION-TITLE (OBJECT)

SETFALTERNATE-VERSION-TITLE (NEW-VALUE OBJECT)

ALTERNATE-VERSIONS (OBJECT)

SETFALTERNATE-VERSIONS (NEW-VALUE OBJECT)

AMOUNT-SAVED (OBJECT)

SETFAMOUNT-SAVED (NEW-VALUE OBJECT)

ARGUMENT-NAME (OBJECT)

SETFARGUMENT-NAME (NEW-VALUE OBJECT)

AVAILABILITY (OBJECT)

SETFAVAILABILITY (NEW-VALUE OBJECT)

AVAILABILITY-ATTRIBUTES (OBJECT)

SETFAVAILABILITY-ATTRIBUTES (NEW-VALUE OBJECT)

AVAILABILITY-MAXIMUM-HOURS (OBJECT)

SETFAVAILABILITY-MAXIMUM-HOURS (NEW-VALUE OBJECT)

AVAILABILITY-MINIMUM-HOURS (OBJECT)

SETFAVAILABILITY-MINIMUM-HOURS (NEW-VALUE OBJECT)

AVAILABILITY-TYPE (OBJECT)

SETFAVAILABILITY-TYPE (NEW-VALUE OBJECT)

AVERAGE-FEEDBACK-RATING (OBJECT)

SETFAVERAGE-FEEDBACK-RATING (NEW-VALUE OBJECT)

CART-ITEM-ASIN (OBJECT)

SETFCART-ITEM-ASIN (NEW-VALUE OBJECT)

CART-ITEM-COLLECTION (OBJECT)

SETFCART-ITEM-COLLECTION (NEW-VALUE OBJECT)

CART-ITEM-ID (OBJECT)

SETFCART-ITEM-ID (NEW-VALUE OBJECT)

CART-ITEM-MERCHANT-ID (OBJECT)

SETFCART-ITEM-MERCHANT-ID (NEW-VALUE OBJECT)

CART-ITEM-SELLER-ID (OBJECT)

SETFCART-ITEM-SELLER-ID (NEW-VALUE OBJECT)

CART-ITEMS (OBJECT)

SETFCART-ITEMS (NEW-VALUE OBJECT)

CART-PURCHASE-URL (OBJECT)

SETFCART-PURCHASE-URL (NEW-VALUE OBJECT)

CONDITION-NOTE (OBJECT)

SETFCONDITION-NOTE (NEW-VALUE OBJECT)

CREATORS (OBJECT)

SETFCREATORS (NEW-VALUE OBJECT)

DELIVERY-METHOD (OBJECT)

SETFDELIVERY-METHOD (NEW-VALUE OBJECT)

DIMENSION-HEIGHT (OBJECT)

SETFDIMENSION-HEIGHT (NEW-VALUE OBJECT)

DIMENSION-LENGTH (OBJECT)

SETFDIMENSION-LENGTH (NEW-VALUE OBJECT)

DIMENSION-WEIGHT (OBJECT)

SETFDIMENSION-WEIGHT (NEW-VALUE OBJECT)

DIMENSION-WIDTH (OBJECT)

SETFDIMENSION-WIDTH (NEW-VALUE OBJECT)

DIRECTORS (OBJECT)

SETFDIRECTORS (NEW-VALUE OBJECT)

DISTANCE-UNITS (OBJECT)

SETFDISTANCE-UNITS (NEW-VALUE OBJECT)

ELIGIBLE-FOR-SAVER-SHIPPING? (OBJECT)

SETFELIGIBLE-FOR-SAVER-SHIPPING? (NEW-VALUE OBJECT)

ERROR-CODE (OBJECT)

SETFERROR-CODE (NEW-VALUE OBJECT)

ERROR-MESSAGE (OBJECT)

SETFERROR-MESSAGE (NEW-VALUE OBJECT)

ERRORS (OBJECT)

SETFERRORS (NEW-VALUE OBJECT)

EXCHANGE-ID (OBJECT)

SETFEXCHANGE-ID (NEW-VALUE OBJECT)

GLANCE-PAGE (OBJECT)

SETFGLANCE-PAGE (NEW-VALUE OBJECT)

HEADERS (OBJECT)

SETFHEADERS (NEW-VALUE OBJECT)

IMAGE-HEIGHT (OBJECT)

SETFIMAGE-HEIGHT (NEW-VALUE OBJECT)

IMAGE-SET-CATEGORY (OBJECT)

SETFIMAGE-SET-CATEGORY (NEW-VALUE OBJECT)

IMAGE-SET-LARGE-IMAGE (OBJECT)

SETFIMAGE-SET-LARGE-IMAGE (NEW-VALUE OBJECT)

IMAGE-SET-MEDIUM-IMAGE (OBJECT)

SETFIMAGE-SET-MEDIUM-IMAGE (NEW-VALUE OBJECT)

IMAGE-SET-SMALL-IMAGE (OBJECT)

SETFIMAGE-SET-SMALL-IMAGE (NEW-VALUE OBJECT)

IMAGE-SETS (OBJECT)

SETFIMAGE-SETS (NEW-VALUE OBJECT)

IMAGE-URL (OBJECT)

SETFIMAGE-URL (NEW-VALUE OBJECT)

IMAGE-WIDTH (OBJECT)

SETFIMAGE-WIDTH (NEW-VALUE OBJECT)

ITEM-ASIN (OBJECT)

SETFITEM-ASIN (NEW-VALUE OBJECT)

ITEM-ATTRIBUTES (OBJECT)

SETFITEM-ATTRIBUTES (NEW-VALUE OBJECT)

ITEM-AUTHORS (OBJECT)

SETFITEM-AUTHORS (NEW-VALUE OBJECT)

ITEM-BINDING (OBJECT)

SETFITEM-BINDING (NEW-VALUE OBJECT)

ITEM-DETAIL-PAGE-URL (OBJECT)

SETFITEM-DETAIL-PAGE-URL (NEW-VALUE OBJECT)

ITEM-DEWEY-DECIMAL-NUMBER (OBJECT)

SETFITEM-DEWEY-DECIMAL-NUMBER (NEW-VALUE OBJECT)

ITEM-EAN (OBJECT)

SETFITEM-EAN (NEW-VALUE OBJECT)

ITEM-EDITION (OBJECT)

SETFITEM-EDITION (NEW-VALUE OBJECT)

ITEM-FEATURES (OBJECT)

SETFITEM-FEATURES (NEW-VALUE OBJECT)

ITEM-HEIGHT (OBJECT)

SETFITEM-HEIGHT (NEW-VALUE OBJECT)

ITEM-IMAGE-SET-COLLECTION (OBJECT)

SETFITEM-IMAGE-SET-COLLECTION (NEW-VALUE OBJECT)

ITEM-IMAGE-SETS (OBJECT)

SETFITEM-IMAGE-SETS (NEW-VALUE OBJECT)

ITEM-ISBN (OBJECT)

SETFITEM-ISBN (NEW-VALUE OBJECT)

ITEM-LABEL (OBJECT)

SETFITEM-LABEL (NEW-VALUE OBJECT)

ITEM-LARGE-IMAGE (OBJECT)

SETFITEM-LARGE-IMAGE (NEW-VALUE OBJECT)

ITEM-LENGTH (OBJECT)

SETFITEM-LENGTH (NEW-VALUE OBJECT)

ITEM-LIST-PRICE (OBJECT)

SETFITEM-LIST-PRICE (NEW-VALUE OBJECT)

ITEM-LOOKUP-REQUEST (OBJECT)

SETFITEM-LOOKUP-REQUEST (NEW-VALUE OBJECT)

ITEM-MEDIUM-IMAGE (OBJECT)

SETFITEM-MEDIUM-IMAGE (NEW-VALUE OBJECT)

ITEM-NUMBER-OF-ITEMS (OBJECT)

SETFITEM-NUMBER-OF-ITEMS (NEW-VALUE OBJECT)

ITEM-NUMBER-OF-PAGES (OBJECT)

SETFITEM-NUMBER-OF-PAGES (NEW-VALUE OBJECT)

ITEM-OFFER-SUMMARY (OBJECT)

SETFITEM-OFFER-SUMMARY (NEW-VALUE OBJECT)

ITEM-OFFERS (OBJECT)

SETFITEM-OFFERS (NEW-VALUE OBJECT)

ITEM-PACKAGE-DIMENSIONS (OBJECT)

SETFITEM-PACKAGE-DIMENSIONS (NEW-VALUE OBJECT)

ITEM-PRODUCT-GROUP (OBJECT)

SETFITEM-PRODUCT-GROUP (NEW-VALUE OBJECT)

ITEM-PUBLICATION-DATE (OBJECT)

SETFITEM-PUBLICATION-DATE (NEW-VALUE OBJECT)

ITEM-PUBLISHER (OBJECT)

SETFITEM-PUBLISHER (NEW-VALUE OBJECT)

ITEM-SALES-RANK (OBJECT)

SETFITEM-SALES-RANK (NEW-VALUE OBJECT)

ITEM-SMALL-IMAGE (OBJECT)

SETFITEM-SMALL-IMAGE (NEW-VALUE OBJECT)

ITEM-STUDIO (OBJECT)

SETFITEM-STUDIO (NEW-VALUE OBJECT)

ITEM-TITLE (OBJECT)

SETFITEM-TITLE (NEW-VALUE OBJECT)

ITEM-UPC (OBJECT)

SETFITEM-UPC (NEW-VALUE OBJECT)

ITEM-WEIGHT (OBJECT)

SETFITEM-WEIGHT (NEW-VALUE OBJECT)

ITEM-WIDTH (OBJECT)

SETFITEM-WIDTH (NEW-VALUE OBJECT)

ITEMS (OBJECT)

SETFITEMS (NEW-VALUE OBJECT)

KEYWORDS (OBJECT)

SETFKEYWORDS (NEW-VALUE OBJECT)

LOWEST-COLLECTIBLE-PRICE (OBJECT)

SETFLOWEST-COLLECTIBLE-PRICE (NEW-VALUE OBJECT)

LOWEST-NEW-PRICE (OBJECT)

SETFLOWEST-NEW-PRICE (NEW-VALUE OBJECT)

LOWEST-REFURBISHED-PRICE (OBJECT)

SETFLOWEST-REFURBISHED-PRICE (NEW-VALUE OBJECT)

LOWEST-USED-PRICE (OBJECT)

SETFLOWEST-USED-PRICE (NEW-VALUE OBJECT)

MANUFACTURER (OBJECT)

SETFMANUFACTURER (NEW-VALUE OBJECT)

MERCHANT-ID (OBJECT)

SETFMERCHANT-ID (NEW-VALUE OBJECT)

MERCHANT-NAME (OBJECT)

SETFMERCHANT-NAME (NEW-VALUE OBJECT)

OFFER-ATTRIBUTES (OBJECT)

SETFOFFER-ATTRIBUTES (NEW-VALUE OBJECT)

OFFER-CONDITION (OBJECT)

SETFOFFER-CONDITION (NEW-VALUE OBJECT)

OFFER-EDITORIAL-REVIEWS (OBJECT)

SETFOFFER-EDITORIAL-REVIEWS (NEW-VALUE OBJECT)

OFFER-LISTING (OBJECT)

SETFOFFER-LISTING (NEW-VALUE OBJECT)

OFFER-LISTING-ID (OBJECT)

SETFOFFER-LISTING-ID (NEW-VALUE OBJECT)

OFFER-MERCHANT (OBJECT)

SETFOFFER-MERCHANT (NEW-VALUE OBJECT)

OFFER-SUMMARY (OBJECT)

SETFOFFER-SUMMARY (NEW-VALUE OBJECT)

OFFERS (OBJECT)

SETFOFFERS (NEW-VALUE OBJECT)

OFFERS-TOTAL-OFFERS (OBJECT)

SETFOFFERS-TOTAL-OFFERS (NEW-VALUE OBJECT)

OFFERS-TOTAL-PAGES (OBJECT)

SETFOFFERS-TOTAL-PAGES (NEW-VALUE OBJECT)

OPERATION-ARGUMENTS (OBJECT)

SETFOPERATION-ARGUMENTS (NEW-VALUE OBJECT)

OPERATION-HTTP-HEADERS (OBJECT)

SETFOPERATION-HTTP-HEADERS (NEW-VALUE OBJECT)

OPERATION-REQUESTID (OBJECT)

SETFOPERATION-REQUESTID (NEW-VALUE OBJECT)

PERCENTAGE-SAVED (OBJECT)

SETFPERCENTAGE-SAVED (NEW-VALUE OBJECT)

PRICE (OBJECT)

SETFPRICE (NEW-VALUE OBJECT)

PRICE-AMOUNT (OBJECT)

SETFPRICE-AMOUNT (NEW-VALUE OBJECT)

PRICE-CURRENCY-CODE (OBJECT)

SETFPRICE-CURRENCY-CODE (NEW-VALUE OBJECT)

PRICE-FORMATTED (OBJECT)

SETFPRICE-FORMATTED (NEW-VALUE OBJECT)

QUANTITY (OBJECT)

SETFQUANTITY (NEW-VALUE OBJECT)

REQUEST (OBJECT)

SETFREQUEST (NEW-VALUE OBJECT)

REQUEST-ERRORS (OBJECT)

SETFREQUEST-ERRORS (NEW-VALUE OBJECT)

REQUEST-IS-VALID (OBJECT)

SETFREQUEST-IS-VALID (NEW-VALUE OBJECT)

REQUEST-ITEM-ID (OBJECT)

SETFREQUEST-ITEM-ID (NEW-VALUE OBJECT)

REQUEST-ITEM-SEARCH-REQUEST (OBJECT)

SETFREQUEST-ITEM-SEARCH-REQUEST (NEW-VALUE OBJECT)

REQUEST-PROCESSING-TIME (OBJECT)

SETFREQUEST-PROCESSING-TIME (NEW-VALUE OBJECT)

REQUEST-RESPONSE-GROUP (OBJECT)

SETFREQUEST-RESPONSE-GROUP (NEW-VALUE OBJECT)

RESPONSE-CART (OBJECT)

SETFRESPONSE-CART (NEW-VALUE OBJECT)

RESPONSE-GROUPS (OBJECT)

SETFRESPONSE-GROUPS (NEW-VALUE OBJECT)

RESPONSE-ITEMS (OBJECT)

SETFRESPONSE-ITEMS (NEW-VALUE OBJECT)

RESPONSE-OPERATION-REQUEST (OBJECT)

SETFRESPONSE-OPERATION-REQUEST (NEW-VALUE OBJECT)

RESPONSE-XMLNS (OBJECT)

SETFRESPONSE-XMLNS (NEW-VALUE OBJECT)

REVIEW-CONTENT (OBJECT)

SETFREVIEW-CONTENT (NEW-VALUE OBJECT)

REVIEW-SOURCE (OBJECT)

SETFREVIEW-SOURCE (NEW-VALUE OBJECT)

SEARCH-INDEX (OBJECT)

SETFSEARCH-INDEX (NEW-VALUE OBJECT)

SELLER-ID (OBJECT)

SETFSELLER-ID (NEW-VALUE OBJECT)

SUBCONDITION (OBJECT)

SETFSUBCONDITION (NEW-VALUE OBJECT)

SUMMARY-TOTAL-NEW (OBJECT)

SETFSUMMARY-TOTAL-NEW (NEW-VALUE OBJECT)

TOTAL-COLLECTIBLE (OBJECT)

SETFTOTAL-COLLECTIBLE (NEW-VALUE OBJECT)

TOTAL-FEEDBACK (OBJECT)

SETFTOTAL-FEEDBACK (NEW-VALUE OBJECT)

TOTAL-REFURBISHED (OBJECT)

SETFTOTAL-REFURBISHED (NEW-VALUE OBJECT)

TOTAL-USED (OBJECT)

SETFTOTAL-USED (NEW-VALUE OBJECT)

WILL-SHIP-EXPEDITED (OBJECT)

SETFWILL-SHIP-EXPEDITED (NEW-VALUE OBJECT)

WILL-SHIP-INTERNATIONAL (OBJECT)

SETFWILL-SHIP-INTERNATIONAL (NEW-VALUE OBJECT)

Private

Undocumented

AVAILABILITY-PREORDER-P (OBJECT)

SETFAVAILABILITY-PREORDER-P (NEW-VALUE OBJECT)

BROWSE-NODE (OBJECT)

SETFBROWSE-NODE (NEW-VALUE OBJECT)

CART-ADD-REQUEST (OBJECT)

SETFCART-ADD-REQUEST (NEW-VALUE OBJECT)

CART-CREATE-REQUEST (OBJECT)

SETFCART-CREATE-REQUEST (NEW-VALUE OBJECT)

CART-GET-REQUEST (OBJECT)

SETFCART-GET-REQUEST (NEW-VALUE OBJECT)

CART-HMAC (OBJECT)

SETFCART-HMAC (NEW-VALUE OBJECT)

CART-HMAC-URLENCODED (OBJECT)

SETFCART-HMAC-URLENCODED (NEW-VALUE OBJECT)

CART-ID (OBJECT)

SETFCART-ID (NEW-VALUE OBJECT)

CART-ITEM-EXCHANGE-ID (OBJECT)

SETFCART-ITEM-EXCHANGE-ID (NEW-VALUE OBJECT)

CART-ITEM-PRICE (OBJECT)

SETFCART-ITEM-PRICE (NEW-VALUE OBJECT)

CART-ITEM-PRODUCT-GROUP (OBJECT)

SETFCART-ITEM-PRODUCT-GROUP (NEW-VALUE OBJECT)

CART-ITEM-QUANTITY (OBJECT)

SETFCART-ITEM-QUANTITY (NEW-VALUE OBJECT)

CART-ITEM-TITLE (OBJECT)

SETFCART-ITEM-TITLE (NEW-VALUE OBJECT)

CART-ITEM-TOTAL-PRICE (OBJECT)

SETFCART-ITEM-TOTAL-PRICE (NEW-VALUE OBJECT)

CART-ITEMS-SUBTOTAL (OBJECT)

SETFCART-ITEMS-SUBTOTAL (NEW-VALUE OBJECT)

CART-MODIFY-REQUEST (OBJECT)

SETFCART-MODIFY-REQUEST (NEW-VALUE OBJECT)

CART-REQUEST (OBJECT)

SETFCART-REQUEST (NEW-VALUE OBJECT)

CART-REQUEST-CART-ID (OBJECT)

SETFCART-REQUEST-CART-ID (NEW-VALUE OBJECT)

CART-REQUEST-ERRORS (OBJECT)

SETFCART-REQUEST-ERRORS (NEW-VALUE OBJECT)

CART-REQUEST-HMAC (OBJECT)

SETFCART-REQUEST-HMAC (NEW-VALUE OBJECT)

CART-SELLER-NICKNAME (OBJECT)

SETFCART-SELLER-NICKNAME (NEW-VALUE OBJECT)

CART-SUBTOTAL (OBJECT)

SETFCART-SUBTOTAL (NEW-VALUE OBJECT)

EDITORIAL-REVIEWS (OBJECT)

SETFEDITORIAL-REVIEWS (NEW-VALUE OBJECT)

ERROR-SUPPRESSED? (OBJECT)

SETFERROR-SUPPRESSED? (NEW-VALUE OBJECT)

IMAGE-SET-SWATCH-IMAGE (OBJECT)

SETFIMAGE-SET-SWATCH-IMAGE (NEW-VALUE OBJECT)

IMAGE-SET-THUMBNAIL-IMAGE (OBJECT)

SETFIMAGE-SET-THUMBNAIL-IMAGE (NEW-VALUE OBJECT)

IMAGE-SET-TINY-IMAGE (OBJECT)

SETFIMAGE-SET-TINY-IMAGE (NEW-VALUE OBJECT)

IMAGE-SETS-MERCHANT-ID (OBJECT)

SETFIMAGE-SETS-MERCHANT-ID (NEW-VALUE OBJECT)

IS-ADULT-PRODUCT (OBJECT)

SETFIS-ADULT-PRODUCT (NEW-VALUE OBJECT)

ITEM-AUTOGRAPHED? (OBJECT)

SETFITEM-AUTOGRAPHED? (NEW-VALUE OBJECT)

ITEM-BRAND (OBJECT)

SETFITEM-BRAND (NEW-VALUE OBJECT)

ITEM-CART-ITEM-ID (OBJECT)

SETFITEM-CART-ITEM-ID (NEW-VALUE OBJECT)

ITEM-DIMENSIONS (OBJECT)

SETFITEM-DIMENSIONS (NEW-VALUE OBJECT)

ITEM-ELIGIBLE-FOR-TRADE-IN (OBJECT)

SETFITEM-ELIGIBLE-FOR-TRADE-IN (NEW-VALUE OBJECT)

ITEM-FORMAT (OBJECT)

SETFITEM-FORMAT (NEW-VALUE OBJECT)

ITEM-HARDWARE-PLATFORM (OBJECT)

SETFITEM-HARDWARE-PLATFORM (NEW-VALUE OBJECT)

ITEM-LANGUAGES (OBJECT)

SETFITEM-LANGUAGES (NEW-VALUE OBJECT)

ITEM-MEMORABILIA? (OBJECT)

SETFITEM-MEMORABILIA? (NEW-VALUE OBJECT)

ITEM-MPN (OBJECT)

SETFITEM-MPN (NEW-VALUE OBJECT)

ITEM-OFFER-LISTING-ID (OBJECT)

SETFITEM-OFFER-LISTING-ID (NEW-VALUE OBJECT)

ITEM-PACKAGE-QUANTITY (OBJECT)

SETFITEM-PACKAGE-QUANTITY (NEW-VALUE OBJECT)

ITEM-PAGE (OBJECT)

SETFITEM-PAGE (NEW-VALUE OBJECT)

ITEM-PRODUCT-TYPE-NAME (OBJECT)

SETFITEM-PRODUCT-TYPE-NAME (NEW-VALUE OBJECT)

ITEM-QUANTITY (OBJECT)

SETFITEM-QUANTITY (NEW-VALUE OBJECT)

ITEM-RELEASE-DATE (OBJECT)

SETFITEM-RELEASE-DATE (NEW-VALUE OBJECT)

ITEM-SIZE (OBJECT)

SETFITEM-SIZE (NEW-VALUE OBJECT)

ITEM-SKU (OBJECT)

SETFITEM-SKU (NEW-VALUE OBJECT)

ITEM-TRADE-IN-VALUE (OBJECT)

SETFITEM-TRADE-IN-VALUE (NEW-VALUE OBJECT)

LANGUAGE-NAME (OBJECT)

SETFLANGUAGE-NAME (NEW-VALUE OBJECT)

LANGUAGE-TYPE (OBJECT)

SETFLANGUAGE-TYPE (NEW-VALUE OBJECT)

LANGUAGES (OBJECT)

SETFLANGUAGES (NEW-VALUE OBJECT)

LOCATION (OBJECT)

SETFLOCATION (NEW-VALUE OBJECT)

LOCATION-COUNTRY-CODE (OBJECT)

SETFLOCATION-COUNTRY-CODE (NEW-VALUE OBJECT)

LOCATION-STATE-CODE (OBJECT)

SETFLOCATION-STATE-CODE (NEW-VALUE OBJECT)

OFFER-SELLER (OBJECT)

SETFOFFER-SELLER (NEW-VALUE OBJECT)

PRODUCT-CONDITION (OBJECT)

SETFPRODUCT-CONDITION (NEW-VALUE OBJECT)

QUANTITY-RESTRICTION (OBJECT)

SETFQUANTITY-RESTRICTION (NEW-VALUE OBJECT)

QUANTITY-RESTRICTION-LIMIT (OBJECT)

SETFQUANTITY-RESTRICTION-LIMIT (NEW-VALUE OBJECT)

REQUEST-AUTHOR (OBJECT)

SETFREQUEST-AUTHOR (NEW-VALUE OBJECT)

REQUEST-CONDITION (OBJECT)

SETFREQUEST-CONDITION (NEW-VALUE OBJECT)

REQUEST-DELIVERY-METHOD (OBJECT)

SETFREQUEST-DELIVERY-METHOD (NEW-VALUE OBJECT)

REQUEST-ID-TYPE (OBJECT)

SETFREQUEST-ID-TYPE (NEW-VALUE OBJECT)

REQUEST-IS-VALID? (OBJECT)

SETFREQUEST-IS-VALID? (NEW-VALUE OBJECT)

REQUEST-OFFER-PAGE (OBJECT)

SETFREQUEST-OFFER-PAGE (NEW-VALUE OBJECT)

REQUEST-REVIEW-PAGE (OBJECT)

SETFREQUEST-REVIEW-PAGE (NEW-VALUE OBJECT)

REQUEST-REVIEW-SORT (OBJECT)

SETFREQUEST-REVIEW-SORT (NEW-VALUE OBJECT)

REQUEST-SEARCH-INDEX (OBJECT)

SETFREQUEST-SEARCH-INDEX (NEW-VALUE OBJECT)

REQUEST-TITLE (OBJECT)

SETFREQUEST-TITLE (NEW-VALUE OBJECT)

REQUEST-VARIATION-PAGE (OBJECT)

SETFREQUEST-VARIATION-PAGE (NEW-VALUE OBJECT)

VARIABLE

Public

*ACCESS-KEY-ID*

The access key is assigned by amazon and is the public key that identifies your account.

*ASSOCIATES-ID*

This is used to embed your money-making associate ID into links etc.

*SECRET-ACCESS-KEY*

The secret key is assigned by Amazon.com and is only known to you.

*WEBSERVICES-DOMAIN*

The domain to use to make requests. Could alter this to ecs.amazon.co.uk for example.

*WEBSERVICES-URI-PATH*

This will probably never need to change

Undocumented

*AMAZON.COM-MERCHANT-ID*

*HTTP-REQUEST-FREQUENCY*

*HTTP-REQUEST-FUNCTION*

*WEBSERVICES-VERSION*

Private

*AMAZON-CODE->CONDITION-MAP*

Maps AMAZON-CODE strings to amazon-condition symbols.

Undocumented

*DEFAULT-POSSIBLE-ROOT-ELEMENTS*

*LAST-REQUEST-TIME*

*REQUEST-LOCK*

CLASS

Public

ABSTRACT-ROOT-RESPONSE

root of most all operations response

AMAZON-ITEM

HTTPHeader element in Amazon ECS response

AVAILABILITY-ATTRIBUTES (OBJECT)

HTTPHeader element in Amazon ECS response

CART-CREATE-RESPONSE

root of item lookup responses

CREATOR

Summary of offers for a particular item

HTTP-HEADERS

HTTPHeaders element in Amazon ECS response

IMAGE-SET

Contains a set of images. user contributed i guess?

IMAGE-SET-COLLECTION

Contains a set of images. user contributed i guess?

ITEM-ATTRIBUTES (OBJECT)

HTTPHeader element in Amazon ECS response

ITEM-LOOKUP-REQUEST (OBJECT)

HTTPHeader element in Amazon ECS response

ITEM-LOOKUP-RESPONSE

root of item lookup responses

ITEM-SEARCH-REQUEST

HTTPHeader element in Amazon ECS response

ITEM-SEARCH-RESPONSE

root of item search response

ITEMS (OBJECT)

HTTPHeader element in Amazon ECS response

ITEMS-ERRORS

Errors related to searching for or looking up items.

ITEMS-REQUEST-INFO

HTTPHeader element in Amazon ECS response

KEY-VALUE-ELEMENT

Arguments element in Amazon ECS response

MERCHANT

Summary of offers for a particular item

NUMERICAL-TEXT-ELEMENT

An element that has text that reduces to a number.

OFFER

Summary of offers for a particular item

OFFER-ATTRIBUTES (OBJECT)

Summary of offers for a particular item

OFFER-LISTING (OBJECT)

Summary of offers for a particular item

OFFER-SUMMARY (OBJECT)

Summary of offers for a particular item

OFFERS (OBJECT)

Summary of offers for a particular item

OPERATION-REQUEST

OperationResponse element in Amazon ECS response

PRICE-ELEMENT

Parent of all elements that contain price information

SELLER

Summary of offers for a particular item

VENDOR-LIKE-MIXIN

Mixed into seller and vendor to provide shared slots for the most part

Undocumented

ALTERNATE-VERSIONS (OBJECT)

AMAZON-ERRORS

CART-ITEM

CART-ITEM-COLLECTION (OBJECT)

DATE-ELEMENT

DIMENSIONAL-ELEMENT

DISTANCE-ELEMENT

EDITORIAL-REVIEW

EDITORIAL-REVIEW-COLLECTION

IMAGE-ELEMENT

ITEM-PRICE-DESCRIPTION-MIXIN

NUMERICAL-MEASUREMENT-ELEMENT

OPERATION-ARGUMENTS (OBJECT)

SIMPLE-TEXT-ELEMENT

WEIGHT-ELEMENT

YES-NO-ELEMENT

Private

AMAZON-ERROR-ELEMENT

Errors related to searching for or looking up items.

CART-ADD-RESPONSE

root of cart add responses

CART-GET-RESPONSE

root of cart modify responses

CART-MODIFY-RESPONSE

root of cart modify responses

CART-REQUEST (OBJECT)

OperationResponse element in Amazon ECS response

LANGUAGE

Summary of offers for a particular item

LANGUAGES-COLLECTION

Summary of offers for a particular item

LOCATION-ELEMENT

Parent of all elements that contain location information

QUANTITY-RESTRICTION (OBJECT)

max # of items that can be bought by a single user

Undocumented

ALTERNATE-VERSION

CART

CART-ADD-REQUEST (OBJECT)

CART-CREATE-REQUEST (OBJECT)

CART-GET-REQUEST (OBJECT)

CART-MODIFY-REQUEST (OBJECT)

CART-REQUEST-ERROR

CART-REQUEST-ERRORS (OBJECT)

CART-REQUEST-ITEM

CART-REQUEST-ITEMS

CONDITION

Public

Undocumented

AMAZON-CONDITION

AMAZON-ERROR

CART-ERROR

INVALID-PARAMETER-VALUE-ERROR

ITEM-NOT-ACCESSIBLE-ERROR

ITEM-NOT-ELIGIBLE-FOR-CART-ERROR

NO-EXACT-MATCHES-ERROR

Private

Undocumented

ITEM-ALREADY-IN-CART-ERROR

ITEM-NOT-ACCESSIBLE