cognito-identity-2014-06-30.min.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683
  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. "authtype": "none"
  152. },
  153. "GetId": {
  154. "input": {
  155. "type": "structure",
  156. "required": [
  157. "IdentityPoolId"
  158. ],
  159. "members": {
  160. "AccountId": {},
  161. "IdentityPoolId": {},
  162. "Logins": {
  163. "shape": "S10"
  164. }
  165. }
  166. },
  167. "output": {
  168. "type": "structure",
  169. "members": {
  170. "IdentityId": {}
  171. }
  172. },
  173. "authtype": "none"
  174. },
  175. "GetIdentityPoolRoles": {
  176. "input": {
  177. "type": "structure",
  178. "required": [
  179. "IdentityPoolId"
  180. ],
  181. "members": {
  182. "IdentityPoolId": {}
  183. }
  184. },
  185. "output": {
  186. "type": "structure",
  187. "members": {
  188. "IdentityPoolId": {},
  189. "Roles": {
  190. "shape": "S1c"
  191. },
  192. "RoleMappings": {
  193. "shape": "S1e"
  194. }
  195. }
  196. }
  197. },
  198. "GetOpenIdToken": {
  199. "input": {
  200. "type": "structure",
  201. "required": [
  202. "IdentityId"
  203. ],
  204. "members": {
  205. "IdentityId": {},
  206. "Logins": {
  207. "shape": "S10"
  208. }
  209. }
  210. },
  211. "output": {
  212. "type": "structure",
  213. "members": {
  214. "IdentityId": {},
  215. "Token": {}
  216. }
  217. },
  218. "authtype": "none"
  219. },
  220. "GetOpenIdTokenForDeveloperIdentity": {
  221. "input": {
  222. "type": "structure",
  223. "required": [
  224. "IdentityPoolId",
  225. "Logins"
  226. ],
  227. "members": {
  228. "IdentityPoolId": {},
  229. "IdentityId": {},
  230. "Logins": {
  231. "shape": "S10"
  232. },
  233. "PrincipalTags": {
  234. "shape": "S1s"
  235. },
  236. "TokenDuration": {
  237. "type": "long"
  238. }
  239. }
  240. },
  241. "output": {
  242. "type": "structure",
  243. "members": {
  244. "IdentityId": {},
  245. "Token": {}
  246. }
  247. }
  248. },
  249. "GetPrincipalTagAttributeMap": {
  250. "input": {
  251. "type": "structure",
  252. "required": [
  253. "IdentityPoolId",
  254. "IdentityProviderName"
  255. ],
  256. "members": {
  257. "IdentityPoolId": {},
  258. "IdentityProviderName": {}
  259. }
  260. },
  261. "output": {
  262. "type": "structure",
  263. "members": {
  264. "IdentityPoolId": {},
  265. "IdentityProviderName": {},
  266. "UseDefaults": {
  267. "type": "boolean"
  268. },
  269. "PrincipalTags": {
  270. "shape": "S1s"
  271. }
  272. }
  273. }
  274. },
  275. "ListIdentities": {
  276. "input": {
  277. "type": "structure",
  278. "required": [
  279. "IdentityPoolId",
  280. "MaxResults"
  281. ],
  282. "members": {
  283. "IdentityPoolId": {},
  284. "MaxResults": {
  285. "type": "integer"
  286. },
  287. "NextToken": {},
  288. "HideDisabled": {
  289. "type": "boolean"
  290. }
  291. }
  292. },
  293. "output": {
  294. "type": "structure",
  295. "members": {
  296. "IdentityPoolId": {},
  297. "Identities": {
  298. "type": "list",
  299. "member": {
  300. "shape": "Sv"
  301. }
  302. },
  303. "NextToken": {}
  304. }
  305. }
  306. },
  307. "ListIdentityPools": {
  308. "input": {
  309. "type": "structure",
  310. "required": [
  311. "MaxResults"
  312. ],
  313. "members": {
  314. "MaxResults": {
  315. "type": "integer"
  316. },
  317. "NextToken": {}
  318. }
  319. },
  320. "output": {
  321. "type": "structure",
  322. "members": {
  323. "IdentityPools": {
  324. "type": "list",
  325. "member": {
  326. "type": "structure",
  327. "members": {
  328. "IdentityPoolId": {},
  329. "IdentityPoolName": {}
  330. }
  331. }
  332. },
  333. "NextToken": {}
  334. }
  335. }
  336. },
  337. "ListTagsForResource": {
  338. "input": {
  339. "type": "structure",
  340. "required": [
  341. "ResourceArn"
  342. ],
  343. "members": {
  344. "ResourceArn": {}
  345. }
  346. },
  347. "output": {
  348. "type": "structure",
  349. "members": {
  350. "Tags": {
  351. "shape": "Sh"
  352. }
  353. }
  354. }
  355. },
  356. "LookupDeveloperIdentity": {
  357. "input": {
  358. "type": "structure",
  359. "required": [
  360. "IdentityPoolId"
  361. ],
  362. "members": {
  363. "IdentityPoolId": {},
  364. "IdentityId": {},
  365. "DeveloperUserIdentifier": {},
  366. "MaxResults": {
  367. "type": "integer"
  368. },
  369. "NextToken": {}
  370. }
  371. },
  372. "output": {
  373. "type": "structure",
  374. "members": {
  375. "IdentityId": {},
  376. "DeveloperUserIdentifierList": {
  377. "type": "list",
  378. "member": {}
  379. },
  380. "NextToken": {}
  381. }
  382. }
  383. },
  384. "MergeDeveloperIdentities": {
  385. "input": {
  386. "type": "structure",
  387. "required": [
  388. "SourceUserIdentifier",
  389. "DestinationUserIdentifier",
  390. "DeveloperProviderName",
  391. "IdentityPoolId"
  392. ],
  393. "members": {
  394. "SourceUserIdentifier": {},
  395. "DestinationUserIdentifier": {},
  396. "DeveloperProviderName": {},
  397. "IdentityPoolId": {}
  398. }
  399. },
  400. "output": {
  401. "type": "structure",
  402. "members": {
  403. "IdentityId": {}
  404. }
  405. }
  406. },
  407. "SetIdentityPoolRoles": {
  408. "input": {
  409. "type": "structure",
  410. "required": [
  411. "IdentityPoolId",
  412. "Roles"
  413. ],
  414. "members": {
  415. "IdentityPoolId": {},
  416. "Roles": {
  417. "shape": "S1c"
  418. },
  419. "RoleMappings": {
  420. "shape": "S1e"
  421. }
  422. }
  423. }
  424. },
  425. "SetPrincipalTagAttributeMap": {
  426. "input": {
  427. "type": "structure",
  428. "required": [
  429. "IdentityPoolId",
  430. "IdentityProviderName"
  431. ],
  432. "members": {
  433. "IdentityPoolId": {},
  434. "IdentityProviderName": {},
  435. "UseDefaults": {
  436. "type": "boolean"
  437. },
  438. "PrincipalTags": {
  439. "shape": "S1s"
  440. }
  441. }
  442. },
  443. "output": {
  444. "type": "structure",
  445. "members": {
  446. "IdentityPoolId": {},
  447. "IdentityProviderName": {},
  448. "UseDefaults": {
  449. "type": "boolean"
  450. },
  451. "PrincipalTags": {
  452. "shape": "S1s"
  453. }
  454. }
  455. }
  456. },
  457. "TagResource": {
  458. "input": {
  459. "type": "structure",
  460. "required": [
  461. "ResourceArn",
  462. "Tags"
  463. ],
  464. "members": {
  465. "ResourceArn": {},
  466. "Tags": {
  467. "shape": "Sh"
  468. }
  469. }
  470. },
  471. "output": {
  472. "type": "structure",
  473. "members": {}
  474. }
  475. },
  476. "UnlinkDeveloperIdentity": {
  477. "input": {
  478. "type": "structure",
  479. "required": [
  480. "IdentityId",
  481. "IdentityPoolId",
  482. "DeveloperProviderName",
  483. "DeveloperUserIdentifier"
  484. ],
  485. "members": {
  486. "IdentityId": {},
  487. "IdentityPoolId": {},
  488. "DeveloperProviderName": {},
  489. "DeveloperUserIdentifier": {}
  490. }
  491. }
  492. },
  493. "UnlinkIdentity": {
  494. "input": {
  495. "type": "structure",
  496. "required": [
  497. "IdentityId",
  498. "Logins",
  499. "LoginsToRemove"
  500. ],
  501. "members": {
  502. "IdentityId": {},
  503. "Logins": {
  504. "shape": "S10"
  505. },
  506. "LoginsToRemove": {
  507. "shape": "Sw"
  508. }
  509. }
  510. },
  511. "authtype": "none"
  512. },
  513. "UntagResource": {
  514. "input": {
  515. "type": "structure",
  516. "required": [
  517. "ResourceArn",
  518. "TagKeys"
  519. ],
  520. "members": {
  521. "ResourceArn": {},
  522. "TagKeys": {
  523. "type": "list",
  524. "member": {}
  525. }
  526. }
  527. },
  528. "output": {
  529. "type": "structure",
  530. "members": {}
  531. }
  532. },
  533. "UpdateIdentityPool": {
  534. "input": {
  535. "shape": "Sk"
  536. },
  537. "output": {
  538. "shape": "Sk"
  539. }
  540. }
  541. },
  542. "shapes": {
  543. "S5": {
  544. "type": "map",
  545. "key": {},
  546. "value": {}
  547. },
  548. "S9": {
  549. "type": "list",
  550. "member": {}
  551. },
  552. "Sb": {
  553. "type": "list",
  554. "member": {
  555. "type": "structure",
  556. "members": {
  557. "ProviderName": {},
  558. "ClientId": {},
  559. "ServerSideTokenCheck": {
  560. "type": "boolean"
  561. }
  562. }
  563. }
  564. },
  565. "Sg": {
  566. "type": "list",
  567. "member": {}
  568. },
  569. "Sh": {
  570. "type": "map",
  571. "key": {},
  572. "value": {}
  573. },
  574. "Sk": {
  575. "type": "structure",
  576. "required": [
  577. "IdentityPoolId",
  578. "IdentityPoolName",
  579. "AllowUnauthenticatedIdentities"
  580. ],
  581. "members": {
  582. "IdentityPoolId": {},
  583. "IdentityPoolName": {},
  584. "AllowUnauthenticatedIdentities": {
  585. "type": "boolean"
  586. },
  587. "AllowClassicFlow": {
  588. "type": "boolean"
  589. },
  590. "SupportedLoginProviders": {
  591. "shape": "S5"
  592. },
  593. "DeveloperProviderName": {},
  594. "OpenIdConnectProviderARNs": {
  595. "shape": "S9"
  596. },
  597. "CognitoIdentityProviders": {
  598. "shape": "Sb"
  599. },
  600. "SamlProviderARNs": {
  601. "shape": "Sg"
  602. },
  603. "IdentityPoolTags": {
  604. "shape": "Sh"
  605. }
  606. }
  607. },
  608. "Sv": {
  609. "type": "structure",
  610. "members": {
  611. "IdentityId": {},
  612. "Logins": {
  613. "shape": "Sw"
  614. },
  615. "CreationDate": {
  616. "type": "timestamp"
  617. },
  618. "LastModifiedDate": {
  619. "type": "timestamp"
  620. }
  621. }
  622. },
  623. "Sw": {
  624. "type": "list",
  625. "member": {}
  626. },
  627. "S10": {
  628. "type": "map",
  629. "key": {},
  630. "value": {}
  631. },
  632. "S1c": {
  633. "type": "map",
  634. "key": {},
  635. "value": {}
  636. },
  637. "S1e": {
  638. "type": "map",
  639. "key": {},
  640. "value": {
  641. "type": "structure",
  642. "required": [
  643. "Type"
  644. ],
  645. "members": {
  646. "Type": {},
  647. "AmbiguousRoleResolution": {},
  648. "RulesConfiguration": {
  649. "type": "structure",
  650. "required": [
  651. "Rules"
  652. ],
  653. "members": {
  654. "Rules": {
  655. "type": "list",
  656. "member": {
  657. "type": "structure",
  658. "required": [
  659. "Claim",
  660. "MatchType",
  661. "Value",
  662. "RoleARN"
  663. ],
  664. "members": {
  665. "Claim": {},
  666. "MatchType": {},
  667. "Value": {},
  668. "RoleARN": {}
  669. }
  670. }
  671. }
  672. }
  673. }
  674. }
  675. }
  676. },
  677. "S1s": {
  678. "type": "map",
  679. "key": {},
  680. "value": {}
  681. }
  682. }
  683. }