Skip to content

Commit

Permalink
Updated IAM and CloudSearchDomain models
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremeamia committed Apr 23, 2015
1 parent ab0362e commit 1000933
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,8 @@
## Next Release

* `Aws\Ec2` - Added support for new VM Import APIs, `including ImportImage`.
* `Aws\Iam` - Added support for the `GetAccessKeyLastUsed` operation.
* `Aws\CloudSearchDomain` - Search responses now include the expressions requested.

## 2.8.1 - 2015-04-16

Expand Down
Expand Up @@ -191,6 +191,12 @@
),
),
),
'exprs' => array(
'type' => 'object',
'additionalProperties' => array(
'type' => 'string',
),
),
'highlights' => array(
'type' => 'object',
'additionalProperties' => array(
Expand Down
1 change: 1 addition & 0 deletions src/Aws/Iam/IamClient.php
Expand Up @@ -69,6 +69,7 @@
* @method Model detachUserPolicy(array $args = array()) {@command Iam DetachUserPolicy}
* @method Model enableMFADevice(array $args = array()) {@command Iam EnableMFADevice}
* @method Model generateCredentialReport(array $args = array()) {@command Iam GenerateCredentialReport}
* @method Model getAccessKeyLastUsed(array $args = array()) {@command Iam GetAccessKeyLastUsed}
* @method Model getAccountAuthorizationDetails(array $args = array()) {@command Iam GetAccountAuthorizationDetails}
* @method Model getAccountPasswordPolicy(array $args = array()) {@command Iam GetAccountPasswordPolicy}
* @method Model getAccountSummary(array $args = array()) {@command Iam GetAccountSummary}
Expand Down
70 changes: 63 additions & 7 deletions src/Aws/Iam/Resources/iam-2010-05-08.php
Expand Up @@ -2172,6 +2172,38 @@
),
),
),
'GetAccessKeyLastUsed' => array(
'httpMethod' => 'POST',
'uri' => '/',
'class' => 'Aws\\Common\\Command\\QueryCommand',
'responseClass' => 'GetAccessKeyLastUsedResponse',
'responseType' => 'model',
'parameters' => array(
'Action' => array(
'static' => true,
'location' => 'aws.query',
'default' => 'GetAccessKeyLastUsed',
),
'Version' => array(
'static' => true,
'location' => 'aws.query',
'default' => '2010-05-08',
),
'AccessKeyId' => array(
'required' => true,
'type' => 'string',
'location' => 'aws.query',
'minLength' => 16,
'maxLength' => 32,
),
),
'errorResponses' => array(
array(
'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.',
'class' => 'NoSuchEntityException',
),
),
),
'GetAccountAuthorizationDetails' => array(
'httpMethod' => 'POST',
'uri' => '/',
Expand Down Expand Up @@ -5360,6 +5392,31 @@
),
),
),
'GetAccessKeyLastUsedResponse' => array(
'type' => 'object',
'additionalProperties' => true,
'properties' => array(
'UserName' => array(
'type' => 'string',
'location' => 'xml',
),
'AccessKeyLastUsed' => array(
'type' => 'object',
'location' => 'xml',
'properties' => array(
'LastUsedDate' => array(
'type' => 'string',
),
'ServiceName' => array(
'type' => 'string',
),
'Region' => array(
'type' => 'string',
),
),
),
),
),
'GetAccountAuthorizationDetailsResponse' => array(
'type' => 'object',
'additionalProperties' => true,
Expand Down Expand Up @@ -7175,13 +7232,6 @@
),
),
'iterators' => array(
'GetAccountAuthorizationDetails' => array(
'input_token' => 'Marker',
'output_token' => 'Marker',
'more_results' => 'IsTruncated',
'limit_key' => 'MaxItems',
'result_key' => 'UserDetailList || GroupDetailList || RoleDetailList',
),
'GetGroup' => array(
'input_token' => 'Marker',
'output_token' => 'Marker',
Expand Down Expand Up @@ -7297,5 +7347,11 @@
'limit_key' => 'MaxItems',
'result_key' => 'VirtualMFADevices',
),
'GetAccountAuthorizationDetails' => array(
'input_token' => 'Marker',
'output_token' => 'Marker',
'more_results' => 'IsTruncated',
'limit_key' => 'MaxItems',
),
),
);

0 comments on commit 1000933

Please sign in to comment.