UNPKG

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