aws-sdk-core 2.0.0.rc14 → 2.0.0.rc15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -3
  3. data/apis/AutoScaling.api.json +1943 -0
  4. data/apis/{autoscaling-2011-01-01.paginators.json → AutoScaling.paginators.json} +0 -0
  5. data/apis/CloudFormation.api.json +785 -0
  6. data/apis/{cloudformation-2010-05-15.paginators.json → CloudFormation.paginators.json} +0 -0
  7. data/apis/CloudFront.api.json +2581 -0
  8. data/apis/{cloudfront-2014-05-31.paginators.json → CloudFront.paginators.json} +0 -0
  9. data/apis/{cloudfront-2014-01-31.waiters.json → CloudFront.waiters.json} +0 -0
  10. data/apis/CloudSearch.api.json +1955 -0
  11. data/apis/{cloudsearch-2013-01-01.paginators.json → CloudSearch.paginators.json} +0 -0
  12. data/apis/CloudSearchDomain.api.json +349 -0
  13. data/apis/CloudTrail.api.json +559 -0
  14. data/apis/{cloudtrail-2013-11-01.paginators.json → CloudTrail.paginators.json} +0 -0
  15. data/apis/CloudWatch.api.json +917 -0
  16. data/apis/{monitoring-2010-08-01.paginators.json → CloudWatch.paginators.json} +0 -0
  17. data/apis/CloudWatchLogs.api.json +816 -0
  18. data/apis/{logs-2014-03-28.paginators.json → CloudWatchLogs.paginators.json} +0 -0
  19. data/apis/CognitoIdentity.api.json +631 -0
  20. data/apis/CognitoSync.api.json +721 -0
  21. data/apis/DataPipeline.api.json +940 -0
  22. data/apis/{datapipeline-2012-10-29.paginators.json → DataPipeline.paginators.json} +0 -0
  23. data/apis/DirectConnect.api.json +833 -0
  24. data/apis/{directconnect-2012-10-25.paginators.json → DirectConnect.paginators.json} +0 -0
  25. data/apis/DynamoDB.api.json +1210 -0
  26. data/apis/{dynamodb-2011-12-05.paginators.json → DynamoDB.paginators.json} +0 -0
  27. data/apis/{dynamodb-2012-08-10.waiters.json → DynamoDB.waiters.json} +0 -0
  28. data/apis/EC2.api.json +9914 -0
  29. data/apis/{ec2-2014-06-15.paginators.json → EC2.paginators.json} +0 -0
  30. data/apis/{ec2-2014-06-15.resources.json → EC2.resources.json} +0 -0
  31. data/apis/{ec2-2014-06-15.waiters.json → EC2.waiters.json} +0 -0
  32. data/apis/EMR.api.json +1339 -0
  33. data/apis/{elasticmapreduce-2009-03-31.paginators.json → EMR.paginators.json} +0 -0
  34. data/apis/ElastiCache.api.json +3410 -0
  35. data/apis/{elasticache-2014-03-24.paginators.json → ElastiCache.paginators.json} +0 -0
  36. data/apis/ElasticBeanstalk.api.json +1540 -0
  37. data/apis/{elasticbeanstalk-2010-12-01.paginators.json → ElasticBeanstalk.paginators.json} +0 -0
  38. data/apis/ElasticLoadBalancing.api.json +2131 -0
  39. data/apis/{elasticloadbalancing-2012-06-01.paginators.json → ElasticLoadBalancing.paginators.json} +0 -0
  40. data/apis/ElasticTranscoder.api.json +1647 -0
  41. data/apis/{elastictranscoder-2012-09-25.paginators.json → ElasticTranscoder.paginators.json} +0 -0
  42. data/apis/Glacier.api.json +1456 -0
  43. data/apis/{glacier-2012-06-01.paginators.json → Glacier.paginators.json} +0 -0
  44. data/apis/{glacier-2012-06-01.resources.json → Glacier.resources.json} +0 -0
  45. data/apis/{glacier-2012-06-01.waiters.json → Glacier.waiters.json} +0 -0
  46. data/apis/IAM.api.json +4033 -0
  47. data/apis/{iam-2010-05-08.paginators.json → IAM.paginators.json} +0 -0
  48. data/apis/{iam-2010-05-08.resources.json → IAM.resources.json} +0 -0
  49. data/apis/ImportExport.api.json +515 -0
  50. data/apis/{importexport-2010-06-01.paginators.json → ImportExport.paginators.json} +0 -0
  51. data/apis/Kinesis.api.json +548 -0
  52. data/apis/{kinesis-2013-12-02.paginators.json → Kinesis.paginators.json} +0 -0
  53. data/apis/OpsWorks.api.json +2524 -0
  54. data/apis/{opsworks-2013-02-18.paginators.json → OpsWorks.paginators.json} +0 -0
  55. data/apis/RDS.api.json +4473 -0
  56. data/apis/{rds-2013-02-12.paginators.json → RDS.paginators.json} +0 -0
  57. data/apis/{rds-2013-09-09.waiters.json → RDS.waiters.json} +0 -0
  58. data/apis/Redshift.api.json +4482 -0
  59. data/apis/{redshift-2012-12-01.paginators.json → Redshift.paginators.json} +0 -0
  60. data/apis/{redshift-2012-12-01.waiters.json → Redshift.waiters.json} +0 -0
  61. data/apis/Route53.api.json +1935 -0
  62. data/apis/{route53-2013-04-01.paginators.json → Route53.paginators.json} +0 -0
  63. data/apis/Route53Domains.api.json +1129 -0
  64. data/apis/{s3-2006-03-01.api.json → S3.api.json} +336 -942
  65. data/apis/{s3-2006-03-01.paginators.json → S3.paginators.json} +1 -1
  66. data/apis/{s3-2006-03-01.resources.json → S3.resources.json} +0 -0
  67. data/apis/{s3-2006-03-01.waiters.json → S3.waiters.json} +0 -0
  68. data/apis/SES.api.json +644 -0
  69. data/apis/{email-2010-12-01.paginators.json → SES.paginators.json} +0 -0
  70. data/apis/{email-2010-12-01.waiters.json → SES.waiters.json} +0 -0
  71. data/apis/SNS.api.json +1760 -0
  72. data/apis/{sns-2010-03-31.paginators.json → SNS.paginators.json} +0 -0
  73. data/apis/{sns-2010-03-31.resources.json → SNS.resources.json} +0 -0
  74. data/apis/SQS.api.json +1113 -0
  75. data/apis/{sqs-2012-11-05.paginators.json → SQS.paginators.json} +0 -0
  76. data/apis/{sqs-2012-11-05.resources.json → SQS.resources.json} +0 -0
  77. data/apis/STS.api.json +594 -0
  78. data/apis/SWF.api.json +2656 -0
  79. data/apis/{swf-2012-01-25.paginators.json → SWF.paginators.json} +0 -0
  80. data/apis/SimpleDB.api.json +954 -0
  81. data/apis/{sdb-2009-04-15.paginators.json → SimpleDB.paginators.json} +0 -0
  82. data/apis/StorageGateway.api.json +2311 -0
  83. data/apis/{storagegateway-2013-06-30.paginators.json → StorageGateway.paginators.json} +0 -0
  84. data/apis/Support.api.json +869 -0
  85. data/apis/{support-2013-04-15.paginators.json → Support.paginators.json} +0 -0
  86. data/lib/aws.rb +96 -53
  87. data/lib/aws/api/documenter.rb +238 -0
  88. data/lib/aws/api/{documentor.rb → operation_documenter.rb} +9 -5
  89. data/lib/aws/api/{doc_example.rb → operation_example.rb} +8 -7
  90. data/lib/aws/api/service_customizations.rb +3 -1
  91. data/lib/aws/client.rb +38 -0
  92. data/lib/aws/credential_provider_chain.rb +1 -0
  93. data/lib/aws/dynamodb/attribute_value.rb +87 -0
  94. data/lib/aws/empty_structure.rb +4 -3
  95. data/lib/aws/endpoint_provider.rb +1 -0
  96. data/lib/aws/errors.rb +2 -0
  97. data/lib/aws/instance_profile_credentials.rb +1 -1
  98. data/lib/aws/plugins/csd_conditional_signing.rb +32 -0
  99. data/lib/aws/plugins/dynamodb_simple_attributes.rb +179 -0
  100. data/lib/aws/plugins/global_configuration.rb +13 -3
  101. data/lib/aws/plugins/protocols/json_rpc.rb +9 -7
  102. data/lib/aws/plugins/regional_endpoint.rb +1 -1
  103. data/lib/aws/plugins/request_signer.rb +13 -6
  104. data/lib/aws/plugins/response_paging.rb +1 -2
  105. data/lib/aws/plugins/s3_url_encoded_keys.rb +92 -0
  106. data/lib/aws/plugins/user_agent.rb +1 -2
  107. data/lib/aws/signers/v4.rb +1 -1
  108. data/lib/aws/structure.rb +49 -2
  109. data/lib/aws/version.rb +1 -1
  110. data/lib/aws/xml/builder.rb +1 -0
  111. data/lib/seahorse.rb +2 -1
  112. data/lib/seahorse/client/handler_list.rb +10 -3
  113. data/lib/seahorse/client/http/request.rb +0 -8
  114. data/lib/seahorse/client/xml/builder.rb +0 -1
  115. data/lib/seahorse/model/shape_map.rb +1 -0
  116. data/lib/seahorse/model/shapes.rb +5 -0
  117. metadata +93 -107
  118. data/apis/autoscaling-2011-01-01.api.json +0 -3063
  119. data/apis/cloudformation-2010-05-15.api.json +0 -1306
  120. data/apis/cloudfront-2014-01-31.api.json +0 -3478
  121. data/apis/cloudfront-2014-01-31.paginators.json +0 -32
  122. data/apis/cloudfront-2014-05-31.api.json +0 -3540
  123. data/apis/cloudfront-2014-05-31.waiters.json +0 -29
  124. data/apis/cloudsearch-2011-02-01.api.json +0 -2093
  125. data/apis/cloudsearch-2011-02-01.paginators.json +0 -13
  126. data/apis/cloudsearch-2013-01-01.api.json +0 -2655
  127. data/apis/cloudsearchdomain-2013-01-01.api.json +0 -508
  128. data/apis/cloudtrail-2013-11-01.api.json +0 -773
  129. data/apis/cognito-identity-2014-06-30.api.json +0 -884
  130. data/apis/cognito-sync-2014-06-30.api.json +0 -1029
  131. data/apis/datapipeline-2012-10-29.api.json +0 -1432
  132. data/apis/directconnect-2012-10-25.api.json +0 -1174
  133. data/apis/dynamodb-2011-12-05.api.json +0 -1208
  134. data/apis/dynamodb-2011-12-05.waiters.json +0 -27
  135. data/apis/dynamodb-2012-08-10.api.json +0 -1857
  136. data/apis/dynamodb-2012-08-10.paginators.json +0 -26
  137. data/apis/ec2-2014-06-15.api.json +0 -11670
  138. data/apis/elasticache-2014-03-24.api.json +0 -4789
  139. data/apis/elasticache-2014-07-15.api.json +0 -4826
  140. data/apis/elasticache-2014-07-15.paginators.json +0 -76
  141. data/apis/elasticbeanstalk-2010-12-01.api.json +0 -2442
  142. data/apis/elasticloadbalancing-2012-06-01.api.json +0 -2605
  143. data/apis/elasticmapreduce-2009-03-31.api.json +0 -2282
  144. data/apis/elastictranscoder-2012-09-25.api.json +0 -2478
  145. data/apis/email-2010-12-01.api.json +0 -954
  146. data/apis/glacier-2012-06-01.api.json +0 -2012
  147. data/apis/iam-2010-05-08.api.json +0 -5322
  148. data/apis/importexport-2010-06-01.api.json +0 -687
  149. data/apis/kinesis-2013-12-02.api.json +0 -769
  150. data/apis/logs-2014-03-28.api.json +0 -942
  151. data/apis/manifest.json +0 -259
  152. data/apis/monitoring-2010-08-01.api.json +0 -1338
  153. data/apis/opsworks-2013-02-18.api.json +0 -4348
  154. data/apis/rds-2013-01-10.api.json +0 -6074
  155. data/apis/rds-2013-01-10.paginators.json +0 -97
  156. data/apis/rds-2013-02-12.api.json +0 -6392
  157. data/apis/rds-2013-09-09.api.json +0 -6564
  158. data/apis/rds-2013-09-09.paginators.json +0 -110
  159. data/apis/redshift-2012-12-01.api.json +0 -6318
  160. data/apis/route53-2013-04-01.api.json +0 -2493
  161. data/apis/route53domains-2014-05-15.api.json +0 -1622
  162. data/apis/sdb-2009-04-15.api.json +0 -1178
  163. data/apis/sns-2010-03-31.api.json +0 -2275
  164. data/apis/sqs-2012-11-05.api.json +0 -1438
  165. data/apis/storagegateway-2013-06-30.api.json +0 -3153
  166. data/apis/sts-2011-06-15.api.json +0 -786
  167. data/apis/support-2013-04-15.api.json +0 -1379
  168. data/apis/swf-2012-01-25.api.json +0 -4463
  169. data/lib/aws/api/manifest.rb +0 -29
  170. data/lib/aws/api/manifest_builder.rb +0 -57
  171. data/lib/aws/api/minifier.rb +0 -42
  172. data/lib/aws/response_handler.rb +0 -38
  173. data/lib/aws/service_builder.rb +0 -56
@@ -1,884 +0,0 @@
1
- {
2
- "metadata":{
3
- "apiVersion":"2014-06-30",
4
- "endpointPrefix":"cognito-identity",
5
- "jsonVersion":"1.1",
6
- "serviceFullName":"Amazon Cognito Identity",
7
- "signatureVersion":"v4",
8
- "targetPrefix":"AWSCognitoIdentityService",
9
- "protocol":"json"
10
- },
11
- "documentation":"<fullname>Amazon Cognito</fullname> <p>Amazon Cognito is a web service that facilitates the delivery of scoped, temporary credentials to mobile devices or other untrusted environments. Amazon Cognito uniquely identifies a device or user and supplies the user with a consistent identity throughout the lifetime of an application.</p> <p>Amazon Cognito lets users authenticate with third-party identity providers (Facebook, Google, or Login with Amazon). As a developer, you decide which identity providers to trust. You can also choose to support unauthenticated access from your application. Your users are provided with Cognito tokens that uniquely identify their device and any information provided about third-party logins.</p>",
12
- "operations":{
13
- "CreateIdentityPool":{
14
- "name":"CreateIdentityPool",
15
- "http":{
16
- "method":"POST",
17
- "requestUri":"/"
18
- },
19
- "input":{
20
- "shape":"CreateIdentityPoolInput",
21
- "documentation":"<p>Input to the CreateIdentityPool action.</p>"
22
- },
23
- "output":{
24
- "shape":"IdentityPool",
25
- "documentation":"An object representing a Cognito identity pool."
26
- },
27
- "errors":[
28
- {
29
- "shape":"InvalidParameterException",
30
- "error":{"httpStatusCode":400},
31
- "exception":true,
32
- "documentation":"Thrown for missing or bad input parameter(s)."
33
- },
34
- {
35
- "shape":"NotAuthorizedException",
36
- "error":{"httpStatusCode":403},
37
- "exception":true,
38
- "documentation":"Thrown when a user is not authorized to access the requested resource."
39
- },
40
- {
41
- "shape":"ResourceConflictException",
42
- "error":{"httpStatusCode":409},
43
- "exception":true,
44
- "documentation":"Thrown when a user tries to use a login which is already linked to another account."
45
- },
46
- {
47
- "shape":"TooManyRequestsException",
48
- "error":{"httpStatusCode":429},
49
- "exception":true,
50
- "documentation":"Thrown when a request is throttled."
51
- },
52
- {
53
- "shape":"InternalErrorException",
54
- "exception":true,
55
- "fault":true,
56
- "documentation":"Thrown when the service encounters an error during processing the request."
57
- },
58
- {
59
- "shape":"LimitExceededException",
60
- "error":{"httpStatusCode":400},
61
- "exception":true,
62
- "documentation":"Thrown when the total number of user pools has exceeded a preset limit."
63
- }
64
- ],
65
- "documentation":"<p>Creates a new identity pool. The identity pool is a store of user identity information that is specific to your AWS account.</p>"
66
- },
67
- "DeleteIdentityPool":{
68
- "name":"DeleteIdentityPool",
69
- "http":{
70
- "method":"POST",
71
- "requestUri":"/"
72
- },
73
- "input":{
74
- "shape":"DeleteIdentityPoolInput",
75
- "documentation":"<p>Input to the DeleteIdentityPool action.</p>"
76
- },
77
- "errors":[
78
- {
79
- "shape":"InvalidParameterException",
80
- "error":{"httpStatusCode":400},
81
- "exception":true,
82
- "documentation":"Thrown for missing or bad input parameter(s)."
83
- },
84
- {
85
- "shape":"ResourceNotFoundException",
86
- "error":{"httpStatusCode":404},
87
- "exception":true,
88
- "documentation":"Thrown when the requested resource (for example, a dataset or record) does not exist."
89
- },
90
- {
91
- "shape":"NotAuthorizedException",
92
- "error":{"httpStatusCode":403},
93
- "exception":true,
94
- "documentation":"Thrown when a user is not authorized to access the requested resource."
95
- },
96
- {
97
- "shape":"TooManyRequestsException",
98
- "error":{"httpStatusCode":429},
99
- "exception":true,
100
- "documentation":"Thrown when a request is throttled."
101
- },
102
- {
103
- "shape":"InternalErrorException",
104
- "exception":true,
105
- "fault":true,
106
- "documentation":"Thrown when the service encounters an error during processing the request."
107
- }
108
- ],
109
- "documentation":"<p>Deletes a user pool. Once a pool is deleted, users will not be able to authenticate with the pool.</p>"
110
- },
111
- "DescribeIdentityPool":{
112
- "name":"DescribeIdentityPool",
113
- "http":{
114
- "method":"POST",
115
- "requestUri":"/"
116
- },
117
- "input":{
118
- "shape":"DescribeIdentityPoolInput",
119
- "documentation":"Input to the DescribeIdentityPool action."
120
- },
121
- "output":{
122
- "shape":"IdentityPool",
123
- "documentation":"An object representing a Cognito identity pool."
124
- },
125
- "errors":[
126
- {
127
- "shape":"InvalidParameterException",
128
- "error":{"httpStatusCode":400},
129
- "exception":true,
130
- "documentation":"Thrown for missing or bad input parameter(s)."
131
- },
132
- {
133
- "shape":"ResourceNotFoundException",
134
- "error":{"httpStatusCode":404},
135
- "exception":true,
136
- "documentation":"Thrown when the requested resource (for example, a dataset or record) does not exist."
137
- },
138
- {
139
- "shape":"NotAuthorizedException",
140
- "error":{"httpStatusCode":403},
141
- "exception":true,
142
- "documentation":"Thrown when a user is not authorized to access the requested resource."
143
- },
144
- {
145
- "shape":"TooManyRequestsException",
146
- "error":{"httpStatusCode":429},
147
- "exception":true,
148
- "documentation":"Thrown when a request is throttled."
149
- },
150
- {
151
- "shape":"InternalErrorException",
152
- "exception":true,
153
- "fault":true,
154
- "documentation":"Thrown when the service encounters an error during processing the request."
155
- }
156
- ],
157
- "documentation":"<p>Gets details about a particular identity pool, including the pool name, ID description, creation date, and current number of users.</p>"
158
- },
159
- "GetId":{
160
- "name":"GetId",
161
- "http":{
162
- "method":"POST",
163
- "requestUri":"/"
164
- },
165
- "input":{
166
- "shape":"GetIdInput",
167
- "documentation":"Input to the GetId action."
168
- },
169
- "output":{
170
- "shape":"GetIdResponse",
171
- "documentation":"Returned in the response to a GetId request."
172
- },
173
- "errors":[
174
- {
175
- "shape":"InvalidParameterException",
176
- "error":{"httpStatusCode":400},
177
- "exception":true,
178
- "documentation":"Thrown for missing or bad input parameter(s)."
179
- },
180
- {
181
- "shape":"ResourceNotFoundException",
182
- "error":{"httpStatusCode":404},
183
- "exception":true,
184
- "documentation":"Thrown when the requested resource (for example, a dataset or record) does not exist."
185
- },
186
- {
187
- "shape":"NotAuthorizedException",
188
- "error":{"httpStatusCode":403},
189
- "exception":true,
190
- "documentation":"Thrown when a user is not authorized to access the requested resource."
191
- },
192
- {
193
- "shape":"ResourceConflictException",
194
- "error":{"httpStatusCode":409},
195
- "exception":true,
196
- "documentation":"Thrown when a user tries to use a login which is already linked to another account."
197
- },
198
- {
199
- "shape":"TooManyRequestsException",
200
- "error":{"httpStatusCode":429},
201
- "exception":true,
202
- "documentation":"Thrown when a request is throttled."
203
- },
204
- {
205
- "shape":"InternalErrorException",
206
- "exception":true,
207
- "fault":true,
208
- "documentation":"Thrown when the service encounters an error during processing the request."
209
- },
210
- {
211
- "shape":"LimitExceededException",
212
- "error":{"httpStatusCode":400},
213
- "exception":true,
214
- "documentation":"Thrown when the total number of user pools has exceeded a preset limit."
215
- }
216
- ],
217
- "documentation":"<p>Generates (or retrieves) a Cognito ID. Supplying multiple logins will create an implicit linked account.</p>"
218
- },
219
- "GetOpenIdToken":{
220
- "name":"GetOpenIdToken",
221
- "http":{
222
- "method":"POST",
223
- "requestUri":"/"
224
- },
225
- "input":{
226
- "shape":"GetOpenIdTokenInput",
227
- "documentation":"Input to the GetOpenIdToken action."
228
- },
229
- "output":{
230
- "shape":"GetOpenIdTokenResponse",
231
- "documentation":"Returned in response to a successful GetOpenIdToken request."
232
- },
233
- "errors":[
234
- {
235
- "shape":"InvalidParameterException",
236
- "error":{"httpStatusCode":400},
237
- "exception":true,
238
- "documentation":"Thrown for missing or bad input parameter(s)."
239
- },
240
- {
241
- "shape":"ResourceNotFoundException",
242
- "error":{"httpStatusCode":404},
243
- "exception":true,
244
- "documentation":"Thrown when the requested resource (for example, a dataset or record) does not exist."
245
- },
246
- {
247
- "shape":"NotAuthorizedException",
248
- "error":{"httpStatusCode":403},
249
- "exception":true,
250
- "documentation":"Thrown when a user is not authorized to access the requested resource."
251
- },
252
- {
253
- "shape":"ResourceConflictException",
254
- "error":{"httpStatusCode":409},
255
- "exception":true,
256
- "documentation":"Thrown when a user tries to use a login which is already linked to another account."
257
- },
258
- {
259
- "shape":"TooManyRequestsException",
260
- "error":{"httpStatusCode":429},
261
- "exception":true,
262
- "documentation":"Thrown when a request is throttled."
263
- },
264
- {
265
- "shape":"InternalErrorException",
266
- "exception":true,
267
- "fault":true,
268
- "documentation":"Thrown when the service encounters an error during processing the request."
269
- }
270
- ],
271
- "documentation":"<p>Gets an OpenID token, using a known Cognito ID. This known Cognito ID is returned from GetId. You can optionally add additional logins for the identity. Supplying multiple logins creates an implicit link.</p>"
272
- },
273
- "ListIdentities":{
274
- "name":"ListIdentities",
275
- "http":{
276
- "method":"POST",
277
- "requestUri":"/"
278
- },
279
- "input":{
280
- "shape":"ListIdentitiesInput",
281
- "documentation":"Input to the ListIdentities action."
282
- },
283
- "output":{
284
- "shape":"ListIdentitiesResponse",
285
- "documentation":"The response to a ListIdentities request."
286
- },
287
- "errors":[
288
- {
289
- "shape":"InvalidParameterException",
290
- "error":{"httpStatusCode":400},
291
- "exception":true,
292
- "documentation":"Thrown for missing or bad input parameter(s)."
293
- },
294
- {
295
- "shape":"ResourceNotFoundException",
296
- "error":{"httpStatusCode":404},
297
- "exception":true,
298
- "documentation":"Thrown when the requested resource (for example, a dataset or record) does not exist."
299
- },
300
- {
301
- "shape":"NotAuthorizedException",
302
- "error":{"httpStatusCode":403},
303
- "exception":true,
304
- "documentation":"Thrown when a user is not authorized to access the requested resource."
305
- },
306
- {
307
- "shape":"TooManyRequestsException",
308
- "error":{"httpStatusCode":429},
309
- "exception":true,
310
- "documentation":"Thrown when a request is throttled."
311
- },
312
- {
313
- "shape":"InternalErrorException",
314
- "exception":true,
315
- "fault":true,
316
- "documentation":"Thrown when the service encounters an error during processing the request."
317
- }
318
- ],
319
- "documentation":"<p>Lists the identities in a pool.</p>"
320
- },
321
- "ListIdentityPools":{
322
- "name":"ListIdentityPools",
323
- "http":{
324
- "method":"POST",
325
- "requestUri":"/"
326
- },
327
- "input":{
328
- "shape":"ListIdentityPoolsInput",
329
- "documentation":"Input to the ListIdentityPools action."
330
- },
331
- "output":{
332
- "shape":"ListIdentityPoolsResponse",
333
- "documentation":"The result of a successful ListIdentityPools action."
334
- },
335
- "errors":[
336
- {
337
- "shape":"InvalidParameterException",
338
- "error":{"httpStatusCode":400},
339
- "exception":true,
340
- "documentation":"Thrown for missing or bad input parameter(s)."
341
- },
342
- {
343
- "shape":"NotAuthorizedException",
344
- "error":{"httpStatusCode":403},
345
- "exception":true,
346
- "documentation":"Thrown when a user is not authorized to access the requested resource."
347
- },
348
- {
349
- "shape":"TooManyRequestsException",
350
- "error":{"httpStatusCode":429},
351
- "exception":true,
352
- "documentation":"Thrown when a request is throttled."
353
- },
354
- {
355
- "shape":"InternalErrorException",
356
- "exception":true,
357
- "fault":true,
358
- "documentation":"Thrown when the service encounters an error during processing the request."
359
- }
360
- ],
361
- "documentation":"<p>Lists all of the Cognito identity pools registered for your account.</p>"
362
- },
363
- "UnlinkIdentity":{
364
- "name":"UnlinkIdentity",
365
- "http":{
366
- "method":"POST",
367
- "requestUri":"/"
368
- },
369
- "input":{
370
- "shape":"UnlinkIdentityInput",
371
- "documentation":"Input to the UnlinkIdentity action."
372
- },
373
- "errors":[
374
- {
375
- "shape":"InvalidParameterException",
376
- "error":{"httpStatusCode":400},
377
- "exception":true,
378
- "documentation":"Thrown for missing or bad input parameter(s)."
379
- },
380
- {
381
- "shape":"ResourceNotFoundException",
382
- "error":{"httpStatusCode":404},
383
- "exception":true,
384
- "documentation":"Thrown when the requested resource (for example, a dataset or record) does not exist."
385
- },
386
- {
387
- "shape":"NotAuthorizedException",
388
- "error":{"httpStatusCode":403},
389
- "exception":true,
390
- "documentation":"Thrown when a user is not authorized to access the requested resource."
391
- },
392
- {
393
- "shape":"ResourceConflictException",
394
- "error":{"httpStatusCode":409},
395
- "exception":true,
396
- "documentation":"Thrown when a user tries to use a login which is already linked to another account."
397
- },
398
- {
399
- "shape":"TooManyRequestsException",
400
- "error":{"httpStatusCode":429},
401
- "exception":true,
402
- "documentation":"Thrown when a request is throttled."
403
- },
404
- {
405
- "shape":"InternalErrorException",
406
- "exception":true,
407
- "fault":true,
408
- "documentation":"Thrown when the service encounters an error during processing the request."
409
- }
410
- ],
411
- "documentation":"<p>Unlinks a federated identity from an existing account. Unlinked logins will be considered new identities next time they are seen. Removing the last linked login will make this identity inaccessible.</p>"
412
- },
413
- "UpdateIdentityPool":{
414
- "name":"UpdateIdentityPool",
415
- "http":{
416
- "method":"POST",
417
- "requestUri":"/"
418
- },
419
- "input":{
420
- "shape":"IdentityPool",
421
- "documentation":"An object representing a Cognito identity pool."
422
- },
423
- "output":{
424
- "shape":"IdentityPool",
425
- "documentation":"An object representing a Cognito identity pool."
426
- },
427
- "errors":[
428
- {
429
- "shape":"InvalidParameterException",
430
- "error":{"httpStatusCode":400},
431
- "exception":true,
432
- "documentation":"Thrown for missing or bad input parameter(s)."
433
- },
434
- {
435
- "shape":"ResourceNotFoundException",
436
- "error":{"httpStatusCode":404},
437
- "exception":true,
438
- "documentation":"Thrown when the requested resource (for example, a dataset or record) does not exist."
439
- },
440
- {
441
- "shape":"NotAuthorizedException",
442
- "error":{"httpStatusCode":403},
443
- "exception":true,
444
- "documentation":"Thrown when a user is not authorized to access the requested resource."
445
- },
446
- {
447
- "shape":"ResourceConflictException",
448
- "error":{"httpStatusCode":409},
449
- "exception":true,
450
- "documentation":"Thrown when a user tries to use a login which is already linked to another account."
451
- },
452
- {
453
- "shape":"TooManyRequestsException",
454
- "error":{"httpStatusCode":429},
455
- "exception":true,
456
- "documentation":"Thrown when a request is throttled."
457
- },
458
- {
459
- "shape":"InternalErrorException",
460
- "exception":true,
461
- "fault":true,
462
- "documentation":"Thrown when the service encounters an error during processing the request."
463
- }
464
- ],
465
- "documentation":"<p>Updates a user pool.</p>"
466
- }
467
- },
468
- "shapes":{
469
- "AccountId":{
470
- "type":"string",
471
- "min":1,
472
- "max":15,
473
- "pattern":"\\d+"
474
- },
475
- "CreateIdentityPoolInput":{
476
- "type":"structure",
477
- "required":[
478
- "IdentityPoolName",
479
- "AllowUnauthenticatedIdentities"
480
- ],
481
- "members":{
482
- "IdentityPoolName":{
483
- "shape":"IdentityPoolName",
484
- "documentation":"<p>A string that you provide.</p>"
485
- },
486
- "AllowUnauthenticatedIdentities":{
487
- "shape":"IdentityPoolUnauthenticated",
488
- "documentation":"<p>TRUE if the identity pool supports unauthenticated logins.</p>"
489
- },
490
- "SupportedLoginProviders":{
491
- "shape":"IdentityProviders",
492
- "documentation":"<p>Optional key:value pairs mapping provider names to provider app IDs.</p>"
493
- }
494
- },
495
- "documentation":"<p>Input to the CreateIdentityPool action.</p>"
496
- },
497
- "DeleteIdentityPoolInput":{
498
- "type":"structure",
499
- "required":["IdentityPoolId"],
500
- "members":{
501
- "IdentityPoolId":{
502
- "shape":"IdentityPoolId",
503
- "documentation":"An identity pool ID in the format REGION:GUID."
504
- }
505
- },
506
- "documentation":"<p>Input to the DeleteIdentityPool action.</p>"
507
- },
508
- "DescribeIdentityPoolInput":{
509
- "type":"structure",
510
- "required":["IdentityPoolId"],
511
- "members":{
512
- "IdentityPoolId":{
513
- "shape":"IdentityPoolId",
514
- "documentation":"An identity pool ID in the format REGION:GUID."
515
- }
516
- },
517
- "documentation":"Input to the DescribeIdentityPool action."
518
- },
519
- "GetIdInput":{
520
- "type":"structure",
521
- "required":[
522
- "AccountId",
523
- "IdentityPoolId"
524
- ],
525
- "members":{
526
- "AccountId":{
527
- "shape":"AccountId",
528
- "documentation":"A standard AWS account ID (9+ digits)."
529
- },
530
- "IdentityPoolId":{
531
- "shape":"IdentityPoolId",
532
- "documentation":"An identity pool ID in the format REGION:GUID."
533
- },
534
- "Logins":{
535
- "shape":"LoginsMap",
536
- "documentation":"A set of optional name/value pairs that map provider names to provider tokens."
537
- }
538
- },
539
- "documentation":"Input to the GetId action."
540
- },
541
- "GetIdResponse":{
542
- "type":"structure",
543
- "members":{
544
- "IdentityId":{
545
- "shape":"IdentityId",
546
- "documentation":"A unique identifier in the format REGION:GUID."
547
- }
548
- },
549
- "documentation":"Returned in the response to a GetId request."
550
- },
551
- "GetOpenIdTokenInput":{
552
- "type":"structure",
553
- "required":["IdentityId"],
554
- "members":{
555
- "IdentityId":{
556
- "shape":"IdentityId",
557
- "documentation":"A unique identifier in the format REGION:GUID."
558
- },
559
- "Logins":{
560
- "shape":"LoginsMap",
561
- "documentation":"A set of optional name/value pairs that map provider names to provider tokens."
562
- }
563
- },
564
- "documentation":"Input to the GetOpenIdToken action."
565
- },
566
- "GetOpenIdTokenResponse":{
567
- "type":"structure",
568
- "members":{
569
- "IdentityId":{
570
- "shape":"IdentityId",
571
- "documentation":"A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input."
572
- },
573
- "Token":{
574
- "shape":"OIDCToken",
575
- "documentation":"An OpenID token."
576
- }
577
- },
578
- "documentation":"Returned in response to a successful GetOpenIdToken request."
579
- },
580
- "IdentitiesList":{
581
- "type":"list",
582
- "member":{"shape":"IdentityDescription"}
583
- },
584
- "IdentityDescription":{
585
- "type":"structure",
586
- "members":{
587
- "IdentityId":{
588
- "shape":"IdentityId",
589
- "documentation":"A unique identifier in the format REGION:GUID."
590
- },
591
- "Logins":{
592
- "shape":"LoginsList",
593
- "documentation":"A set of optional name/value pairs that map provider names to provider tokens."
594
- }
595
- },
596
- "documentation":"A description of the identity."
597
- },
598
- "IdentityId":{
599
- "type":"string",
600
- "min":1,
601
- "max":50,
602
- "pattern":"[\\w-]+:[0-9a-f-]+"
603
- },
604
- "IdentityPool":{
605
- "type":"structure",
606
- "required":[
607
- "IdentityPoolId",
608
- "IdentityPoolName",
609
- "AllowUnauthenticatedIdentities"
610
- ],
611
- "members":{
612
- "IdentityPoolId":{
613
- "shape":"IdentityPoolId",
614
- "documentation":"An identity pool ID in the format REGION:GUID."
615
- },
616
- "IdentityPoolName":{
617
- "shape":"IdentityPoolName",
618
- "documentation":"<p>A string that you provide.</p>"
619
- },
620
- "AllowUnauthenticatedIdentities":{
621
- "shape":"IdentityPoolUnauthenticated",
622
- "documentation":"TRUE if the identity pool supports unauthenticated logins."
623
- },
624
- "SupportedLoginProviders":{
625
- "shape":"IdentityProviders",
626
- "documentation":"<p>Optional key:value pairs mapping provider names to provider app IDs.</p>"
627
- }
628
- },
629
- "documentation":"An object representing a Cognito identity pool."
630
- },
631
- "IdentityPoolId":{
632
- "type":"string",
633
- "min":1,
634
- "max":50,
635
- "pattern":"[\\w-]+:[0-9a-f-]+"
636
- },
637
- "IdentityPoolName":{
638
- "type":"string",
639
- "min":1,
640
- "max":128,
641
- "pattern":"[\\w ]+"
642
- },
643
- "IdentityPoolShortDescription":{
644
- "type":"structure",
645
- "members":{
646
- "IdentityPoolId":{
647
- "shape":"IdentityPoolId",
648
- "documentation":"An identity pool ID in the format REGION:GUID."
649
- },
650
- "IdentityPoolName":{
651
- "shape":"IdentityPoolName",
652
- "documentation":"A string that you provide."
653
- }
654
- },
655
- "documentation":"A description of the identity pool."
656
- },
657
- "IdentityPoolUnauthenticated":{"type":"boolean"},
658
- "IdentityPoolsList":{
659
- "type":"list",
660
- "member":{"shape":"IdentityPoolShortDescription"}
661
- },
662
- "IdentityProviderId":{
663
- "type":"string",
664
- "min":1,
665
- "max":128,
666
- "pattern":"[\\w._-]+"
667
- },
668
- "IdentityProviderName":{
669
- "type":"string",
670
- "min":1,
671
- "max":128,
672
- "pattern":"[\\w._-]+"
673
- },
674
- "IdentityProviderToken":{
675
- "type":"string",
676
- "min":1,
677
- "max":1024,
678
- "pattern":"[\\S]+"
679
- },
680
- "IdentityProviders":{
681
- "type":"map",
682
- "key":{"shape":"IdentityProviderName"},
683
- "value":{"shape":"IdentityProviderId"},
684
- "max":3
685
- },
686
- "InternalErrorException":{
687
- "type":"structure",
688
- "members":{
689
- "message":{
690
- "shape":"String",
691
- "documentation":"The message returned by an InternalErrorException."
692
- }
693
- },
694
- "exception":true,
695
- "fault":true,
696
- "documentation":"Thrown when the service encounters an error during processing the request."
697
- },
698
- "InvalidParameterException":{
699
- "type":"structure",
700
- "members":{
701
- "message":{
702
- "shape":"String",
703
- "documentation":"The message returned by an InvalidParameterException."
704
- }
705
- },
706
- "error":{"httpStatusCode":400},
707
- "exception":true,
708
- "documentation":"Thrown for missing or bad input parameter(s)."
709
- },
710
- "LimitExceededException":{
711
- "type":"structure",
712
- "members":{
713
- "message":{
714
- "shape":"String",
715
- "documentation":"The message returned by a LimitExceededException."
716
- }
717
- },
718
- "error":{"httpStatusCode":400},
719
- "exception":true,
720
- "documentation":"Thrown when the total number of user pools has exceeded a preset limit."
721
- },
722
- "ListIdentitiesInput":{
723
- "type":"structure",
724
- "required":[
725
- "IdentityPoolId",
726
- "MaxResults"
727
- ],
728
- "members":{
729
- "IdentityPoolId":{
730
- "shape":"IdentityPoolId",
731
- "documentation":"An identity pool ID in the format REGION:GUID."
732
- },
733
- "MaxResults":{
734
- "shape":"QueryLimit",
735
- "documentation":"The maximum number of identities to return."
736
- },
737
- "NextToken":{
738
- "shape":"PaginationKey",
739
- "documentation":"A pagination token."
740
- }
741
- },
742
- "documentation":"Input to the ListIdentities action."
743
- },
744
- "ListIdentitiesResponse":{
745
- "type":"structure",
746
- "members":{
747
- "IdentityPoolId":{
748
- "shape":"IdentityPoolId",
749
- "documentation":"An identity pool ID in the format REGION:GUID."
750
- },
751
- "Identities":{
752
- "shape":"IdentitiesList",
753
- "documentation":"An object containing a set of identities and associated mappings."
754
- },
755
- "NextToken":{
756
- "shape":"PaginationKey",
757
- "documentation":"A pagination token."
758
- }
759
- },
760
- "documentation":"The response to a ListIdentities request."
761
- },
762
- "ListIdentityPoolsInput":{
763
- "type":"structure",
764
- "required":["MaxResults"],
765
- "members":{
766
- "MaxResults":{
767
- "shape":"QueryLimit",
768
- "documentation":"The maximum number of identities to return."
769
- },
770
- "NextToken":{
771
- "shape":"PaginationKey",
772
- "documentation":"A pagination token."
773
- }
774
- },
775
- "documentation":"Input to the ListIdentityPools action."
776
- },
777
- "ListIdentityPoolsResponse":{
778
- "type":"structure",
779
- "members":{
780
- "IdentityPools":{
781
- "shape":"IdentityPoolsList",
782
- "documentation":"The identity pools returned by the ListIdentityPools action."
783
- },
784
- "NextToken":{
785
- "shape":"PaginationKey",
786
- "documentation":"A pagination token."
787
- }
788
- },
789
- "documentation":"The result of a successful ListIdentityPools action."
790
- },
791
- "LoginsList":{
792
- "type":"list",
793
- "member":{"shape":"IdentityProviderName"}
794
- },
795
- "LoginsMap":{
796
- "type":"map",
797
- "key":{"shape":"IdentityProviderName"},
798
- "value":{"shape":"IdentityProviderToken"},
799
- "max":3
800
- },
801
- "NotAuthorizedException":{
802
- "type":"structure",
803
- "members":{
804
- "message":{
805
- "shape":"String",
806
- "documentation":"The message returned by a NotAuthorizedException"
807
- }
808
- },
809
- "error":{"httpStatusCode":403},
810
- "exception":true,
811
- "documentation":"Thrown when a user is not authorized to access the requested resource."
812
- },
813
- "OIDCToken":{"type":"string"},
814
- "PaginationKey":{
815
- "type":"string",
816
- "min":1
817
- },
818
- "QueryLimit":{
819
- "type":"integer",
820
- "min":1,
821
- "max":60
822
- },
823
- "ResourceConflictException":{
824
- "type":"structure",
825
- "members":{
826
- "message":{
827
- "shape":"String",
828
- "documentation":"The message returned by a ResourceConflictException."
829
- }
830
- },
831
- "error":{"httpStatusCode":409},
832
- "exception":true,
833
- "documentation":"Thrown when a user tries to use a login which is already linked to another account."
834
- },
835
- "ResourceNotFoundException":{
836
- "type":"structure",
837
- "members":{
838
- "message":{
839
- "shape":"String",
840
- "documentation":"The message returned by a ResourceNotFoundException."
841
- }
842
- },
843
- "error":{"httpStatusCode":404},
844
- "exception":true,
845
- "documentation":"Thrown when the requested resource (for example, a dataset or record) does not exist."
846
- },
847
- "String":{"type":"string"},
848
- "TooManyRequestsException":{
849
- "type":"structure",
850
- "members":{
851
- "message":{
852
- "shape":"String",
853
- "documentation":"Message returned by a TooManyRequestsException"
854
- }
855
- },
856
- "error":{"httpStatusCode":429},
857
- "exception":true,
858
- "documentation":"Thrown when a request is throttled."
859
- },
860
- "UnlinkIdentityInput":{
861
- "type":"structure",
862
- "required":[
863
- "IdentityId",
864
- "Logins",
865
- "LoginsToRemove"
866
- ],
867
- "members":{
868
- "IdentityId":{
869
- "shape":"IdentityId",
870
- "documentation":"A unique identifier in the format REGION:GUID."
871
- },
872
- "Logins":{
873
- "shape":"LoginsMap",
874
- "documentation":"A set of optional name/value pairs that map provider names to provider tokens."
875
- },
876
- "LoginsToRemove":{
877
- "shape":"LoginsList",
878
- "documentation":"Provider names to unlink from this identity."
879
- }
880
- },
881
- "documentation":"Input to the UnlinkIdentity action."
882
- }
883
- }
884
- }