Skip to content

Commit

Permalink
2.7.10 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mtdowling committed Dec 12, 2014
1 parent 4a8a59f commit f315695
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 3 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# CHANGELOG

## 2.7.10 - Unreleased
## 2.7.10 - 2014-12-12

* Added support for user data to Amazon Elastic Transcoder.
* Corrected the AWS Security Token Service endpoint.
* Added support for data retrieval policies and audit logging to the Amazon
Glacier client.
* Corrected the AWS Security Token Service endpoint.

## 2.7.9 - 2014-12-08

Expand Down
2 changes: 1 addition & 1 deletion src/Aws/Common/Aws.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Aws extends ServiceBuilder
/**
* @var string Current version of the SDK
*/
const VERSION = '2.7.9';
const VERSION = '2.7.10';

/**
* Create a new service locator for the AWS SDK
Expand Down
2 changes: 2 additions & 0 deletions src/Aws/Glacier/GlacierClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* @method Model deleteVaultNotifications(array $args = array()) {@command Glacier DeleteVaultNotifications}
* @method Model describeJob(array $args = array()) {@command Glacier DescribeJob}
* @method Model describeVault(array $args = array()) {@command Glacier DescribeVault}
* @method Model getDataRetrievalPolicy(array $args = array()) {@command Glacier GetDataRetrievalPolicy}
* @method Model getJobOutput(array $args = array()) {@command Glacier GetJobOutput}
* @method Model getVaultNotifications(array $args = array()) {@command Glacier GetVaultNotifications}
* @method Model initiateJob(array $args = array()) {@command Glacier InitiateJob}
Expand All @@ -44,6 +45,7 @@
* @method Model listMultipartUploads(array $args = array()) {@command Glacier ListMultipartUploads}
* @method Model listParts(array $args = array()) {@command Glacier ListParts}
* @method Model listVaults(array $args = array()) {@command Glacier ListVaults}
* @method Model setDataRetrievalPolicy(array $args = array()) {@command Glacier SetDataRetrievalPolicy}
* @method Model setVaultNotifications(array $args = array()) {@command Glacier SetVaultNotifications}
* @method Model uploadArchive(array $args = array()) {@command Glacier UploadArchive}
* @method Model uploadMultipartPart(array $args = array()) {@command Glacier UploadMultipartPart}
Expand Down
108 changes: 108 additions & 0 deletions src/Aws/Glacier/Resources/glacier-2012-06-01.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,34 @@
),
),
),
'GetDataRetrievalPolicy' => array(
'httpMethod' => 'GET',
'uri' => '/{accountId}/policies/data-retrieval',
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
'responseClass' => 'GetDataRetrievalPolicyOutput',
'responseType' => 'model',
'parameters' => array(
'accountId' => array(
'required' => true,
'type' => 'string',
'location' => 'uri',
),
),
'errorResponses' => array(
array(
'reason' => 'Returned if a parameter of the request is incorrectly specified.',
'class' => 'InvalidParameterValueException',
),
array(
'reason' => 'Returned if a required header or parameter is missing from the request.',
'class' => 'MissingParameterValueException',
),
array(
'reason' => 'Returned if the service cannot complete the request.',
'class' => 'ServiceUnavailableException',
),
),
),
'GetJobOutput' => array(
'httpMethod' => 'GET',
'uri' => '/{accountId}/vaults/{vaultName}/jobs/{jobId}/output',
Expand Down Expand Up @@ -537,6 +565,10 @@
'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.',
'class' => 'ResourceNotFoundException',
),
array(
'reason' => 'Returned if a retrieval job would exceed the current data policy\'s retrieval rate limit. For more information about data retrieval policies,',
'class' => 'PolicyEnforcedException',
),
array(
'reason' => 'Returned if a parameter of the request is incorrectly specified.',
'class' => 'InvalidParameterValueException',
Expand Down Expand Up @@ -786,6 +818,55 @@
),
),
),
'SetDataRetrievalPolicy' => array(
'httpMethod' => 'PUT',
'uri' => '/{accountId}/policies/data-retrieval',
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
'responseClass' => 'EmptyOutput',
'responseType' => 'model',
'parameters' => array(
'accountId' => array(
'required' => true,
'type' => 'string',
'location' => 'uri',
),
'Policy' => array(
'type' => 'object',
'location' => 'json',
'properties' => array(
'Rules' => array(
'type' => 'array',
'items' => array(
'name' => 'DataRetrievalRule',
'type' => 'object',
'properties' => array(
'Strategy' => array(
'type' => 'string',
),
'BytesPerHour' => array(
'type' => 'numeric',
),
),
),
),
),
),
),
'errorResponses' => array(
array(
'reason' => 'Returned if a parameter of the request is incorrectly specified.',
'class' => 'InvalidParameterValueException',
),
array(
'reason' => 'Returned if a required header or parameter is missing from the request.',
'class' => 'MissingParameterValueException',
),
array(
'reason' => 'Returned if the service cannot complete the request.',
'class' => 'ServiceUnavailableException',
),
),
),
'SetVaultNotifications' => array(
'httpMethod' => 'PUT',
'uri' => '/{accountId}/vaults/{vaultName}/notification-configuration',
Expand Down Expand Up @@ -1121,6 +1202,33 @@
),
),
),
'GetDataRetrievalPolicyOutput' => array(
'type' => 'object',
'additionalProperties' => true,
'properties' => array(
'Policy' => array(
'type' => 'object',
'location' => 'json',
'properties' => array(
'Rules' => array(
'type' => 'array',
'items' => array(
'name' => 'DataRetrievalRule',
'type' => 'object',
'properties' => array(
'Strategy' => array(
'type' => 'string',
),
'BytesPerHour' => array(
'type' => 'numeric',
),
),
),
),
),
),
),
),
'GetJobOutputOutput' => array(
'type' => 'object',
'additionalProperties' => true,
Expand Down

0 comments on commit f315695

Please sign in to comment.