This plugin provides the Amazon Web Services SDK to integrate Amazon Services such as S3, SES…
Note: The autoloader of this SDK is not included automatically.
Use the following path to include the classes before your code:
require_once WP_PLUGIN_DIR . '/amazon-cloud-services/sdk/v3/vendor/autoload.php';
Instantiate an Amazon S3 client
$credentials = new Aws\Credentials\Credentials('key', 'secret'); $s3 = new Aws\S3\S3Client\S3Client([ 'version' => 'latest', 'region' => 'us-west-2', 'credentials' => $credentials ]);
A Software Development Kit (SDK) is a collection of software development tools in one installable package.
This script is completely standalone and does not do anything after installing it. As such this is a light-weight module for easy inclusion into a bigger project.