Skip to content

Commit

Permalink
Updating the cognito-identity model
Browse files Browse the repository at this point in the history
  • Loading branch information
mtdowling committed Jul 10, 2014
1 parent c4bf949 commit 3bda378
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions src/Aws/CognitoIdentity/Resources/cognitoidentity-2014-06-30.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
<?php
/**
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

return array (
'apiVersion' => '2014-06-30',
Expand Down Expand Up @@ -67,21 +81,27 @@
),
'errorResponses' => array(
array(
'reason' => 'Thrown for missing or bad input parameter(s).',
'class' => 'InvalidParameterException',
),
array(
'reason' => 'Thrown when a user is not authorized to access the requested resource.',
'class' => 'NotAuthorizedException',
),
array(
'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
'class' => 'ResourceConflictException',
),
array(
'reason' => 'Thrown when a request is throttled.',
'class' => 'TooManyRequestsException',
),
array(
'reason' => 'Thrown when the service encounters an error during processing the request.',
'class' => 'InternalErrorException',
),
array(
'reason' => 'Thrown when the total number of user pools has exceeded a preset limit.',
'class' => 'LimitExceededException',
),
),
Expand Down Expand Up @@ -117,18 +137,23 @@
),
'errorResponses' => array(
array(
'reason' => 'Thrown for missing or bad input parameter(s).',
'class' => 'InvalidParameterException',
),
array(
'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
'class' => 'ResourceNotFoundException',
),
array(
'reason' => 'Thrown when a user is not authorized to access the requested resource.',
'class' => 'NotAuthorizedException',
),
array(
'reason' => 'Thrown when a request is throttled.',
'class' => 'TooManyRequestsException',
),
array(
'reason' => 'Thrown when the service encounters an error during processing the request.',
'class' => 'InternalErrorException',
),
),
Expand Down Expand Up @@ -164,18 +189,23 @@
),
'errorResponses' => array(
array(
'reason' => 'Thrown for missing or bad input parameter(s).',
'class' => 'InvalidParameterException',
),
array(
'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
'class' => 'ResourceNotFoundException',
),
array(
'reason' => 'Thrown when a user is not authorized to access the requested resource.',
'class' => 'NotAuthorizedException',
),
array(
'reason' => 'Thrown when a request is throttled.',
'class' => 'TooManyRequestsException',
),
array(
'reason' => 'Thrown when the service encounters an error during processing the request.',
'class' => 'InternalErrorException',
),
),
Expand Down Expand Up @@ -231,24 +261,31 @@
),
'errorResponses' => array(
array(
'reason' => 'Thrown for missing or bad input parameter(s).',
'class' => 'InvalidParameterException',
),
array(
'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
'class' => 'ResourceNotFoundException',
),
array(
'reason' => 'Thrown when a user is not authorized to access the requested resource.',
'class' => 'NotAuthorizedException',
),
array(
'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
'class' => 'ResourceConflictException',
),
array(
'reason' => 'Thrown when a request is throttled.',
'class' => 'TooManyRequestsException',
),
array(
'reason' => 'Thrown when the service encounters an error during processing the request.',
'class' => 'InternalErrorException',
),
array(
'reason' => 'Thrown when the total number of user pools has exceeded a preset limit.',
'class' => 'LimitExceededException',
),
),
Expand Down Expand Up @@ -297,21 +334,27 @@
),
'errorResponses' => array(
array(
'reason' => 'Thrown for missing or bad input parameter(s).',
'class' => 'InvalidParameterException',
),
array(
'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
'class' => 'ResourceNotFoundException',
),
array(
'reason' => 'Thrown when a user is not authorized to access the requested resource.',
'class' => 'NotAuthorizedException',
),
array(
'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
'class' => 'ResourceConflictException',
),
array(
'reason' => 'Thrown when a request is throttled.',
'class' => 'TooManyRequestsException',
),
array(
'reason' => 'Thrown when the service encounters an error during processing the request.',
'class' => 'InternalErrorException',
),
),
Expand Down Expand Up @@ -345,6 +388,7 @@
'maxLength' => 50,
),
'MaxResults' => array(
'required' => true,
'type' => 'numeric',
'location' => 'json',
'minimum' => 1,
Expand All @@ -358,18 +402,23 @@
),
'errorResponses' => array(
array(
'reason' => 'Thrown for missing or bad input parameter(s).',
'class' => 'InvalidParameterException',
),
array(
'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
'class' => 'ResourceNotFoundException',
),
array(
'reason' => 'Thrown when a user is not authorized to access the requested resource.',
'class' => 'NotAuthorizedException',
),
array(
'reason' => 'Thrown when a request is throttled.',
'class' => 'TooManyRequestsException',
),
array(
'reason' => 'Thrown when the service encounters an error during processing the request.',
'class' => 'InternalErrorException',
),
),
Expand All @@ -396,6 +445,7 @@
'default' => 'AWSCognitoIdentityService.ListIdentityPools',
),
'MaxResults' => array(
'required' => true,
'type' => 'numeric',
'location' => 'json',
'minimum' => 1,
Expand All @@ -409,15 +459,19 @@
),
'errorResponses' => array(
array(
'reason' => 'Thrown for missing or bad input parameter(s).',
'class' => 'InvalidParameterException',
),
array(
'reason' => 'Thrown when a user is not authorized to access the requested resource.',
'class' => 'NotAuthorizedException',
),
array(
'reason' => 'Thrown when a request is throttled.',
'class' => 'TooManyRequestsException',
),
array(
'reason' => 'Thrown when the service encounters an error during processing the request.',
'class' => 'InternalErrorException',
),
),
Expand Down Expand Up @@ -478,21 +532,27 @@
),
'errorResponses' => array(
array(
'reason' => 'Thrown for missing or bad input parameter(s).',
'class' => 'InvalidParameterException',
),
array(
'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
'class' => 'ResourceNotFoundException',
),
array(
'reason' => 'Thrown when a user is not authorized to access the requested resource.',
'class' => 'NotAuthorizedException',
),
array(
'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
'class' => 'ResourceConflictException',
),
array(
'reason' => 'Thrown when a request is throttled.',
'class' => 'TooManyRequestsException',
),
array(
'reason' => 'Thrown when the service encounters an error during processing the request.',
'class' => 'InternalErrorException',
),
),
Expand Down Expand Up @@ -554,21 +614,27 @@
),
'errorResponses' => array(
array(
'reason' => 'Thrown for missing or bad input parameter(s).',
'class' => 'InvalidParameterException',
),
array(
'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
'class' => 'ResourceNotFoundException',
),
array(
'reason' => 'Thrown when a user is not authorized to access the requested resource.',
'class' => 'NotAuthorizedException',
),
array(
'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
'class' => 'ResourceConflictException',
),
array(
'reason' => 'Thrown when a request is throttled.',
'class' => 'TooManyRequestsException',
),
array(
'reason' => 'Thrown when the service encounters an error during processing the request.',
'class' => 'InternalErrorException',
),
),
Expand Down

0 comments on commit 3bda378

Please sign in to comment.