1 | {
|
2 | "version": "2.0",
|
3 | "metadata": {
|
4 | "apiVersion": "2014-06-30",
|
5 | "endpointPrefix": "cognito-identity",
|
6 | "jsonVersion": "1.1",
|
7 | "protocol": "json",
|
8 | "serviceFullName": "Amazon Cognito Identity",
|
9 | "serviceId": "Cognito Identity",
|
10 | "signatureVersion": "v4",
|
11 | "targetPrefix": "AWSCognitoIdentityService",
|
12 | "uid": "cognito-identity-2014-06-30"
|
13 | },
|
14 | "operations": {
|
15 | "CreateIdentityPool": {
|
16 | "input": {
|
17 | "type": "structure",
|
18 | "required": [
|
19 | "IdentityPoolName",
|
20 | "AllowUnauthenticatedIdentities"
|
21 | ],
|
22 | "members": {
|
23 | "IdentityPoolName": {},
|
24 | "AllowUnauthenticatedIdentities": {
|
25 | "type": "boolean"
|
26 | },
|
27 | "SupportedLoginProviders": {
|
28 | "shape": "S4"
|
29 | },
|
30 | "DeveloperProviderName": {},
|
31 | "OpenIdConnectProviderARNs": {
|
32 | "shape": "S8"
|
33 | },
|
34 | "CognitoIdentityProviders": {
|
35 | "shape": "Sa"
|
36 | },
|
37 | "SamlProviderARNs": {
|
38 | "shape": "Sf"
|
39 | },
|
40 | "IdentityPoolTags": {
|
41 | "shape": "Sg"
|
42 | }
|
43 | }
|
44 | },
|
45 | "output": {
|
46 | "shape": "Sj"
|
47 | }
|
48 | },
|
49 | "DeleteIdentities": {
|
50 | "input": {
|
51 | "type": "structure",
|
52 | "required": [
|
53 | "IdentityIdsToDelete"
|
54 | ],
|
55 | "members": {
|
56 | "IdentityIdsToDelete": {
|
57 | "type": "list",
|
58 | "member": {}
|
59 | }
|
60 | }
|
61 | },
|
62 | "output": {
|
63 | "type": "structure",
|
64 | "members": {
|
65 | "UnprocessedIdentityIds": {
|
66 | "type": "list",
|
67 | "member": {
|
68 | "type": "structure",
|
69 | "members": {
|
70 | "IdentityId": {},
|
71 | "ErrorCode": {}
|
72 | }
|
73 | }
|
74 | }
|
75 | }
|
76 | }
|
77 | },
|
78 | "DeleteIdentityPool": {
|
79 | "input": {
|
80 | "type": "structure",
|
81 | "required": [
|
82 | "IdentityPoolId"
|
83 | ],
|
84 | "members": {
|
85 | "IdentityPoolId": {}
|
86 | }
|
87 | }
|
88 | },
|
89 | "DescribeIdentity": {
|
90 | "input": {
|
91 | "type": "structure",
|
92 | "required": [
|
93 | "IdentityId"
|
94 | ],
|
95 | "members": {
|
96 | "IdentityId": {}
|
97 | }
|
98 | },
|
99 | "output": {
|
100 | "shape": "Su"
|
101 | }
|
102 | },
|
103 | "DescribeIdentityPool": {
|
104 | "input": {
|
105 | "type": "structure",
|
106 | "required": [
|
107 | "IdentityPoolId"
|
108 | ],
|
109 | "members": {
|
110 | "IdentityPoolId": {}
|
111 | }
|
112 | },
|
113 | "output": {
|
114 | "shape": "Sj"
|
115 | }
|
116 | },
|
117 | "GetCredentialsForIdentity": {
|
118 | "input": {
|
119 | "type": "structure",
|
120 | "required": [
|
121 | "IdentityId"
|
122 | ],
|
123 | "members": {
|
124 | "IdentityId": {},
|
125 | "Logins": {
|
126 | "shape": "Sz"
|
127 | },
|
128 | "CustomRoleArn": {}
|
129 | }
|
130 | },
|
131 | "output": {
|
132 | "type": "structure",
|
133 | "members": {
|
134 | "IdentityId": {},
|
135 | "Credentials": {
|
136 | "type": "structure",
|
137 | "members": {
|
138 | "AccessKeyId": {},
|
139 | "SecretKey": {},
|
140 | "SessionToken": {},
|
141 | "Expiration": {
|
142 | "type": "timestamp"
|
143 | }
|
144 | }
|
145 | }
|
146 | }
|
147 | }
|
148 | },
|
149 | "GetId": {
|
150 | "input": {
|
151 | "type": "structure",
|
152 | "required": [
|
153 | "IdentityPoolId"
|
154 | ],
|
155 | "members": {
|
156 | "AccountId": {},
|
157 | "IdentityPoolId": {},
|
158 | "Logins": {
|
159 | "shape": "Sz"
|
160 | }
|
161 | }
|
162 | },
|
163 | "output": {
|
164 | "type": "structure",
|
165 | "members": {
|
166 | "IdentityId": {}
|
167 | }
|
168 | }
|
169 | },
|
170 | "GetIdentityPoolRoles": {
|
171 | "input": {
|
172 | "type": "structure",
|
173 | "required": [
|
174 | "IdentityPoolId"
|
175 | ],
|
176 | "members": {
|
177 | "IdentityPoolId": {}
|
178 | }
|
179 | },
|
180 | "output": {
|
181 | "type": "structure",
|
182 | "members": {
|
183 | "IdentityPoolId": {},
|
184 | "Roles": {
|
185 | "shape": "S1b"
|
186 | },
|
187 | "RoleMappings": {
|
188 | "shape": "S1d"
|
189 | }
|
190 | }
|
191 | }
|
192 | },
|
193 | "GetOpenIdToken": {
|
194 | "input": {
|
195 | "type": "structure",
|
196 | "required": [
|
197 | "IdentityId"
|
198 | ],
|
199 | "members": {
|
200 | "IdentityId": {},
|
201 | "Logins": {
|
202 | "shape": "Sz"
|
203 | }
|
204 | }
|
205 | },
|
206 | "output": {
|
207 | "type": "structure",
|
208 | "members": {
|
209 | "IdentityId": {},
|
210 | "Token": {}
|
211 | }
|
212 | }
|
213 | },
|
214 | "GetOpenIdTokenForDeveloperIdentity": {
|
215 | "input": {
|
216 | "type": "structure",
|
217 | "required": [
|
218 | "IdentityPoolId",
|
219 | "Logins"
|
220 | ],
|
221 | "members": {
|
222 | "IdentityPoolId": {},
|
223 | "IdentityId": {},
|
224 | "Logins": {
|
225 | "shape": "Sz"
|
226 | },
|
227 | "TokenDuration": {
|
228 | "type": "long"
|
229 | }
|
230 | }
|
231 | },
|
232 | "output": {
|
233 | "type": "structure",
|
234 | "members": {
|
235 | "IdentityId": {},
|
236 | "Token": {}
|
237 | }
|
238 | }
|
239 | },
|
240 | "ListIdentities": {
|
241 | "input": {
|
242 | "type": "structure",
|
243 | "required": [
|
244 | "IdentityPoolId",
|
245 | "MaxResults"
|
246 | ],
|
247 | "members": {
|
248 | "IdentityPoolId": {},
|
249 | "MaxResults": {
|
250 | "type": "integer"
|
251 | },
|
252 | "NextToken": {},
|
253 | "HideDisabled": {
|
254 | "type": "boolean"
|
255 | }
|
256 | }
|
257 | },
|
258 | "output": {
|
259 | "type": "structure",
|
260 | "members": {
|
261 | "IdentityPoolId": {},
|
262 | "Identities": {
|
263 | "type": "list",
|
264 | "member": {
|
265 | "shape": "Su"
|
266 | }
|
267 | },
|
268 | "NextToken": {}
|
269 | }
|
270 | }
|
271 | },
|
272 | "ListIdentityPools": {
|
273 | "input": {
|
274 | "type": "structure",
|
275 | "required": [
|
276 | "MaxResults"
|
277 | ],
|
278 | "members": {
|
279 | "MaxResults": {
|
280 | "type": "integer"
|
281 | },
|
282 | "NextToken": {}
|
283 | }
|
284 | },
|
285 | "output": {
|
286 | "type": "structure",
|
287 | "members": {
|
288 | "IdentityPools": {
|
289 | "type": "list",
|
290 | "member": {
|
291 | "type": "structure",
|
292 | "members": {
|
293 | "IdentityPoolId": {},
|
294 | "IdentityPoolName": {}
|
295 | }
|
296 | }
|
297 | },
|
298 | "NextToken": {}
|
299 | }
|
300 | }
|
301 | },
|
302 | "ListTagsForResource": {
|
303 | "input": {
|
304 | "type": "structure",
|
305 | "required": [
|
306 | "ResourceArn"
|
307 | ],
|
308 | "members": {
|
309 | "ResourceArn": {}
|
310 | }
|
311 | },
|
312 | "output": {
|
313 | "type": "structure",
|
314 | "members": {
|
315 | "Tags": {
|
316 | "shape": "Sg"
|
317 | }
|
318 | }
|
319 | }
|
320 | },
|
321 | "LookupDeveloperIdentity": {
|
322 | "input": {
|
323 | "type": "structure",
|
324 | "required": [
|
325 | "IdentityPoolId"
|
326 | ],
|
327 | "members": {
|
328 | "IdentityPoolId": {},
|
329 | "IdentityId": {},
|
330 | "DeveloperUserIdentifier": {},
|
331 | "MaxResults": {
|
332 | "type": "integer"
|
333 | },
|
334 | "NextToken": {}
|
335 | }
|
336 | },
|
337 | "output": {
|
338 | "type": "structure",
|
339 | "members": {
|
340 | "IdentityId": {},
|
341 | "DeveloperUserIdentifierList": {
|
342 | "type": "list",
|
343 | "member": {}
|
344 | },
|
345 | "NextToken": {}
|
346 | }
|
347 | }
|
348 | },
|
349 | "MergeDeveloperIdentities": {
|
350 | "input": {
|
351 | "type": "structure",
|
352 | "required": [
|
353 | "SourceUserIdentifier",
|
354 | "DestinationUserIdentifier",
|
355 | "DeveloperProviderName",
|
356 | "IdentityPoolId"
|
357 | ],
|
358 | "members": {
|
359 | "SourceUserIdentifier": {},
|
360 | "DestinationUserIdentifier": {},
|
361 | "DeveloperProviderName": {},
|
362 | "IdentityPoolId": {}
|
363 | }
|
364 | },
|
365 | "output": {
|
366 | "type": "structure",
|
367 | "members": {
|
368 | "IdentityId": {}
|
369 | }
|
370 | }
|
371 | },
|
372 | "SetIdentityPoolRoles": {
|
373 | "input": {
|
374 | "type": "structure",
|
375 | "required": [
|
376 | "IdentityPoolId",
|
377 | "Roles"
|
378 | ],
|
379 | "members": {
|
380 | "IdentityPoolId": {},
|
381 | "Roles": {
|
382 | "shape": "S1b"
|
383 | },
|
384 | "RoleMappings": {
|
385 | "shape": "S1d"
|
386 | }
|
387 | }
|
388 | }
|
389 | },
|
390 | "TagResource": {
|
391 | "input": {
|
392 | "type": "structure",
|
393 | "required": [
|
394 | "ResourceArn"
|
395 | ],
|
396 | "members": {
|
397 | "ResourceArn": {},
|
398 | "Tags": {
|
399 | "shape": "Sg"
|
400 | }
|
401 | }
|
402 | },
|
403 | "output": {
|
404 | "type": "structure",
|
405 | "members": {}
|
406 | }
|
407 | },
|
408 | "UnlinkDeveloperIdentity": {
|
409 | "input": {
|
410 | "type": "structure",
|
411 | "required": [
|
412 | "IdentityId",
|
413 | "IdentityPoolId",
|
414 | "DeveloperProviderName",
|
415 | "DeveloperUserIdentifier"
|
416 | ],
|
417 | "members": {
|
418 | "IdentityId": {},
|
419 | "IdentityPoolId": {},
|
420 | "DeveloperProviderName": {},
|
421 | "DeveloperUserIdentifier": {}
|
422 | }
|
423 | }
|
424 | },
|
425 | "UnlinkIdentity": {
|
426 | "input": {
|
427 | "type": "structure",
|
428 | "required": [
|
429 | "IdentityId",
|
430 | "Logins",
|
431 | "LoginsToRemove"
|
432 | ],
|
433 | "members": {
|
434 | "IdentityId": {},
|
435 | "Logins": {
|
436 | "shape": "Sz"
|
437 | },
|
438 | "LoginsToRemove": {
|
439 | "shape": "Sv"
|
440 | }
|
441 | }
|
442 | }
|
443 | },
|
444 | "UntagResource": {
|
445 | "input": {
|
446 | "type": "structure",
|
447 | "required": [
|
448 | "ResourceArn"
|
449 | ],
|
450 | "members": {
|
451 | "ResourceArn": {},
|
452 | "TagKeys": {
|
453 | "type": "list",
|
454 | "member": {}
|
455 | }
|
456 | }
|
457 | },
|
458 | "output": {
|
459 | "type": "structure",
|
460 | "members": {}
|
461 | }
|
462 | },
|
463 | "UpdateIdentityPool": {
|
464 | "input": {
|
465 | "shape": "Sj"
|
466 | },
|
467 | "output": {
|
468 | "shape": "Sj"
|
469 | }
|
470 | }
|
471 | },
|
472 | "shapes": {
|
473 | "S4": {
|
474 | "type": "map",
|
475 | "key": {},
|
476 | "value": {}
|
477 | },
|
478 | "S8": {
|
479 | "type": "list",
|
480 | "member": {}
|
481 | },
|
482 | "Sa": {
|
483 | "type": "list",
|
484 | "member": {
|
485 | "type": "structure",
|
486 | "members": {
|
487 | "ProviderName": {},
|
488 | "ClientId": {},
|
489 | "ServerSideTokenCheck": {
|
490 | "type": "boolean"
|
491 | }
|
492 | }
|
493 | }
|
494 | },
|
495 | "Sf": {
|
496 | "type": "list",
|
497 | "member": {}
|
498 | },
|
499 | "Sg": {
|
500 | "type": "map",
|
501 | "key": {},
|
502 | "value": {}
|
503 | },
|
504 | "Sj": {
|
505 | "type": "structure",
|
506 | "required": [
|
507 | "IdentityPoolId",
|
508 | "IdentityPoolName",
|
509 | "AllowUnauthenticatedIdentities"
|
510 | ],
|
511 | "members": {
|
512 | "IdentityPoolId": {},
|
513 | "IdentityPoolName": {},
|
514 | "AllowUnauthenticatedIdentities": {
|
515 | "type": "boolean"
|
516 | },
|
517 | "SupportedLoginProviders": {
|
518 | "shape": "S4"
|
519 | },
|
520 | "DeveloperProviderName": {},
|
521 | "OpenIdConnectProviderARNs": {
|
522 | "shape": "S8"
|
523 | },
|
524 | "CognitoIdentityProviders": {
|
525 | "shape": "Sa"
|
526 | },
|
527 | "SamlProviderARNs": {
|
528 | "shape": "Sf"
|
529 | },
|
530 | "IdentityPoolTags": {
|
531 | "shape": "Sg"
|
532 | }
|
533 | }
|
534 | },
|
535 | "Su": {
|
536 | "type": "structure",
|
537 | "members": {
|
538 | "IdentityId": {},
|
539 | "Logins": {
|
540 | "shape": "Sv"
|
541 | },
|
542 | "CreationDate": {
|
543 | "type": "timestamp"
|
544 | },
|
545 | "LastModifiedDate": {
|
546 | "type": "timestamp"
|
547 | }
|
548 | }
|
549 | },
|
550 | "Sv": {
|
551 | "type": "list",
|
552 | "member": {}
|
553 | },
|
554 | "Sz": {
|
555 | "type": "map",
|
556 | "key": {},
|
557 | "value": {}
|
558 | },
|
559 | "S1b": {
|
560 | "type": "map",
|
561 | "key": {},
|
562 | "value": {}
|
563 | },
|
564 | "S1d": {
|
565 | "type": "map",
|
566 | "key": {},
|
567 | "value": {
|
568 | "type": "structure",
|
569 | "required": [
|
570 | "Type"
|
571 | ],
|
572 | "members": {
|
573 | "Type": {},
|
574 | "AmbiguousRoleResolution": {},
|
575 | "RulesConfiguration": {
|
576 | "type": "structure",
|
577 | "required": [
|
578 | "Rules"
|
579 | ],
|
580 | "members": {
|
581 | "Rules": {
|
582 | "type": "list",
|
583 | "member": {
|
584 | "type": "structure",
|
585 | "required": [
|
586 | "Claim",
|
587 | "MatchType",
|
588 | "Value",
|
589 | "RoleARN"
|
590 | ],
|
591 | "members": {
|
592 | "Claim": {},
|
593 | "MatchType": {},
|
594 | "Value": {},
|
595 | "RoleARN": {}
|
596 | }
|
597 | }
|
598 | }
|
599 | }
|
600 | }
|
601 | }
|
602 | }
|
603 | }
|
604 | }
|
605 | } |
\ | No newline at end of file |