Download the PHP package uam/aws-ecs-client without Composer
On this page you can find all versions of the php package uam/aws-ecs-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download uam/aws-ecs-client
More information about uam/aws-ecs-client
Files in uam/aws-ecs-client
Package aws-ecs-client
Short Description PHP client library for the AWS ECommerce Service (Amazon Product Advertising API)
License MIT
Informations about the package aws-ecs-client
uam-amazon-pa-client
This library provides a PHP client for the Amazon Product Advertising API.
It is designed to mimic the AWS PHP SDK v2.
Installation
Via composer:
Add the library package to your composer.json
file:
Usage
where {service}
is the name of the requested service, as per the configuration.
Configuration
The configuration file can be written as a PHP array or a json file. The configuration passed to the Aws::factory
method can take one of 3 forms:
Services
A standard Guzzle configuration array containing a services
key. See the Guzzle documentation.
Multiple stores
An array containing a stores
key, the value of which is an array where:
- the key is the name of the service
- the value is an array of parameters passed to the service
One Guzzle service will be created for each key in the stores
array.
Single store
Otherwise, the array is taken to represent the parameters of a single Guzzle service. The service name is equal to the value of the name
configuration option if it exists, or "ecs" by default if not.
Configuration parameters
The configuration parameters fot each service are:
key
: Your AWS Access Key IDassociate_tag
: Your Amazon Product Advertising associate tag or tracking idregion
: A string repressenting the locale of the Amazon store to use. Allowed values are: ca, cn, de, es, fr, it, jp, uk, us.