UNPKG

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