serverless-spy 0.0.4 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/.eslintrc.yml +1 -1
  2. package/.jsii +3 -2
  3. package/lib/ServerlessSpy.js +1 -1
  4. package/listener/createServerlessSpyListener.ts +12 -2
  5. package/listener/index.ts +1 -0
  6. package/node_modules/@aws-sdk/client-cognito-identity/CHANGELOG.md +4150 -0
  7. package/node_modules/@aws-sdk/client-cognito-identity/LICENSE +201 -0
  8. package/node_modules/@aws-sdk/client-cognito-identity/README.md +219 -0
  9. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/CognitoIdentity.js +352 -0
  10. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/CognitoIdentityClient.js +36 -0
  11. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/CreateIdentityPoolCommand.js +38 -0
  12. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DeleteIdentitiesCommand.js +38 -0
  13. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DeleteIdentityPoolCommand.js +38 -0
  14. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DescribeIdentityCommand.js +38 -0
  15. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DescribeIdentityPoolCommand.js +38 -0
  16. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetCredentialsForIdentityCommand.js +36 -0
  17. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetIdCommand.js +36 -0
  18. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetIdentityPoolRolesCommand.js +38 -0
  19. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetOpenIdTokenCommand.js +36 -0
  20. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +38 -0
  21. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetPrincipalTagAttributeMapCommand.js +38 -0
  22. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/ListIdentitiesCommand.js +38 -0
  23. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/ListIdentityPoolsCommand.js +38 -0
  24. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/ListTagsForResourceCommand.js +38 -0
  25. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/LookupDeveloperIdentityCommand.js +38 -0
  26. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/MergeDeveloperIdentitiesCommand.js +38 -0
  27. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/SetIdentityPoolRolesCommand.js +38 -0
  28. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/SetPrincipalTagAttributeMapCommand.js +38 -0
  29. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/TagResourceCommand.js +38 -0
  30. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UnlinkDeveloperIdentityCommand.js +38 -0
  31. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UnlinkIdentityCommand.js +36 -0
  32. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UntagResourceCommand.js +38 -0
  33. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UpdateIdentityPoolCommand.js +38 -0
  34. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/index.js +26 -0
  35. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/endpoints.js +167 -0
  36. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/index.js +11 -0
  37. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/models/CognitoIdentityServiceException.js +11 -0
  38. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/models/index.js +4 -0
  39. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/models/models_0.js +354 -0
  40. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/pagination/Interfaces.js +2 -0
  41. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/pagination/ListIdentityPoolsPaginator.js +36 -0
  42. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/pagination/index.js +5 -0
  43. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/protocols/Aws_json1_1.js +2236 -0
  44. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.browser.js +45 -0
  45. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.js +52 -0
  46. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.native.js +16 -0
  47. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.shared.js +17 -0
  48. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/CognitoIdentity.js +355 -0
  49. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/CognitoIdentityClient.js +38 -0
  50. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/CreateIdentityPoolCommand.js +41 -0
  51. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DeleteIdentitiesCommand.js +41 -0
  52. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DeleteIdentityPoolCommand.js +41 -0
  53. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DescribeIdentityCommand.js +41 -0
  54. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DescribeIdentityPoolCommand.js +41 -0
  55. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetCredentialsForIdentityCommand.js +39 -0
  56. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetIdCommand.js +39 -0
  57. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetIdentityPoolRolesCommand.js +41 -0
  58. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetOpenIdTokenCommand.js +39 -0
  59. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +41 -0
  60. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +41 -0
  61. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListIdentitiesCommand.js +41 -0
  62. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListIdentityPoolsCommand.js +41 -0
  63. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  64. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/LookupDeveloperIdentityCommand.js +41 -0
  65. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/MergeDeveloperIdentitiesCommand.js +41 -0
  66. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/SetIdentityPoolRolesCommand.js +41 -0
  67. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +41 -0
  68. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/TagResourceCommand.js +41 -0
  69. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UnlinkDeveloperIdentityCommand.js +41 -0
  70. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UnlinkIdentityCommand.js +39 -0
  71. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UntagResourceCommand.js +41 -0
  72. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UpdateIdentityPoolCommand.js +41 -0
  73. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/index.js +23 -0
  74. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/endpoints.js +163 -0
  75. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/index.js +6 -0
  76. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/CognitoIdentityServiceException.js +12 -0
  77. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/index.js +1 -0
  78. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/models_0.js +202 -0
  79. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/Interfaces.js +1 -0
  80. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/ListIdentityPoolsPaginator.js +75 -0
  81. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/index.js +2 -0
  82. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/protocols/Aws_json1_1.js +2662 -0
  83. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.browser.js +26 -0
  84. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.js +30 -0
  85. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.native.js +8 -0
  86. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.shared.js +13 -0
  87. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/CognitoIdentity.d.ts +295 -0
  88. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/CognitoIdentityClient.d.ts +180 -0
  89. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/CreateIdentityPoolCommand.d.ts +61 -0
  90. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DeleteIdentitiesCommand.d.ts +37 -0
  91. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DeleteIdentityPoolCommand.d.ts +37 -0
  92. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DescribeIdentityCommand.d.ts +37 -0
  93. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DescribeIdentityPoolCommand.d.ts +37 -0
  94. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetCredentialsForIdentityCommand.d.ts +39 -0
  95. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetIdCommand.d.ts +37 -0
  96. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetIdentityPoolRolesCommand.d.ts +36 -0
  97. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetOpenIdTokenCommand.d.ts +39 -0
  98. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +47 -0
  99. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetPrincipalTagAttributeMapCommand.d.ts +35 -0
  100. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListIdentitiesCommand.d.ts +36 -0
  101. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListIdentityPoolsCommand.d.ts +36 -0
  102. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListTagsForResourceCommand.d.ts +38 -0
  103. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/LookupDeveloperIdentityCommand.d.ts +51 -0
  104. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/MergeDeveloperIdentitiesCommand.d.ts +47 -0
  105. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/SetIdentityPoolRolesCommand.d.ts +36 -0
  106. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/SetPrincipalTagAttributeMapCommand.d.ts +35 -0
  107. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/TagResourceCommand.d.ts +49 -0
  108. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UnlinkDeveloperIdentityCommand.d.ts +39 -0
  109. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UnlinkIdentityCommand.d.ts +38 -0
  110. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UntagResourceCommand.d.ts +36 -0
  111. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UpdateIdentityPoolCommand.d.ts +36 -0
  112. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/index.d.ts +23 -0
  113. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/endpoints.d.ts +2 -0
  114. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/index.d.ts +6 -0
  115. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/CognitoIdentityServiceException.d.ts +10 -0
  116. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/index.d.ts +1 -0
  117. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/models_0.d.ts +1166 -0
  118. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/Interfaces.d.ts +6 -0
  119. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/ListIdentityPoolsPaginator.d.ts +4 -0
  120. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/index.d.ts +2 -0
  121. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/protocols/Aws_json1_1.d.ts +71 -0
  122. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.browser.d.ts +40 -0
  123. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.d.ts +40 -0
  124. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.native.d.ts +39 -0
  125. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.shared.d.ts +13 -0
  126. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/CognitoIdentity.d.ts +120 -0
  127. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/CognitoIdentityClient.d.ts +96 -0
  128. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/CreateIdentityPoolCommand.d.ts +17 -0
  129. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DeleteIdentitiesCommand.d.ts +17 -0
  130. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DeleteIdentityPoolCommand.d.ts +17 -0
  131. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DescribeIdentityCommand.d.ts +17 -0
  132. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DescribeIdentityPoolCommand.d.ts +17 -0
  133. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetCredentialsForIdentityCommand.d.ts +17 -0
  134. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetIdCommand.d.ts +17 -0
  135. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetIdentityPoolRolesCommand.d.ts +17 -0
  136. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetOpenIdTokenCommand.d.ts +17 -0
  137. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +17 -0
  138. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetPrincipalTagAttributeMapCommand.d.ts +17 -0
  139. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +17 -0
  140. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListIdentityPoolsCommand.d.ts +17 -0
  141. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  142. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/LookupDeveloperIdentityCommand.d.ts +17 -0
  143. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/MergeDeveloperIdentitiesCommand.d.ts +17 -0
  144. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/SetIdentityPoolRolesCommand.d.ts +17 -0
  145. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/SetPrincipalTagAttributeMapCommand.d.ts +17 -0
  146. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  147. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UnlinkDeveloperIdentityCommand.d.ts +17 -0
  148. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UnlinkIdentityCommand.d.ts +17 -0
  149. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  150. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UpdateIdentityPoolCommand.d.ts +17 -0
  151. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/index.d.ts +23 -0
  152. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/endpoints.d.ts +2 -0
  153. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/index.d.ts +6 -0
  154. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/CognitoIdentityServiceException.d.ts +6 -0
  155. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/index.d.ts +1 -0
  156. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/models_0.d.ts +567 -0
  157. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  158. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/ListIdentityPoolsPaginator.d.ts +4 -0
  159. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/index.d.ts +2 -0
  160. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +71 -0
  161. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  162. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  163. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  164. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  165. package/node_modules/@aws-sdk/client-cognito-identity/package.json +107 -0
  166. package/node_modules/@aws-sdk/credential-provider-cognito-identity/CHANGELOG.md +4874 -0
  167. package/node_modules/@aws-sdk/credential-provider-cognito-identity/LICENSE +201 -0
  168. package/node_modules/@aws-sdk/credential-provider-cognito-identity/README.md +11 -0
  169. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/CognitoProviderParameters.js +2 -0
  170. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/InMemoryStorage.js +21 -0
  171. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/IndexedDbStorage.js +71 -0
  172. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/Logins.js +2 -0
  173. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/Storage.js +2 -0
  174. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/fromCognitoIdentity.js +32 -0
  175. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/fromCognitoIdentityPool.js +42 -0
  176. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/index.js +8 -0
  177. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/localStorage.js +16 -0
  178. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/resolveLogins.js +19 -0
  179. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/CognitoProviderParameters.js +1 -0
  180. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/InMemoryStorage.js +20 -0
  181. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/IndexedDbStorage.js +70 -0
  182. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/Logins.js +1 -0
  183. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/Storage.js +1 -0
  184. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/fromCognitoIdentity.js +50 -0
  185. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/fromCognitoIdentityPool.js +73 -0
  186. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/index.js +5 -0
  187. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/localStorage.js +12 -0
  188. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/resolveLogins.js +19 -0
  189. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/CognitoProviderParameters.d.ts +25 -0
  190. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/InMemoryStorage.d.ts +8 -0
  191. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/IndexedDbStorage.d.ts +10 -0
  192. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/Logins.d.ts +3 -0
  193. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/Storage.d.ts +14 -0
  194. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/fromCognitoIdentity.d.ts +23 -0
  195. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/fromCognitoIdentityPool.d.ts +44 -0
  196. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/index.d.ts +5 -0
  197. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/localStorage.d.ts +2 -0
  198. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/resolveLogins.d.ts +5 -0
  199. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/CognitoProviderParameters.d.ts +10 -0
  200. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/InMemoryStorage.d.ts +8 -0
  201. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/IndexedDbStorage.d.ts +10 -0
  202. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/Logins.d.ts +3 -0
  203. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/Storage.d.ts +6 -0
  204. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/fromCognitoIdentity.d.ts +13 -0
  205. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/fromCognitoIdentityPool.d.ts +15 -0
  206. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/index.d.ts +5 -0
  207. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/localStorage.d.ts +2 -0
  208. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/resolveLogins.d.ts +3 -0
  209. package/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +59 -0
  210. package/node_modules/@aws-sdk/credential-providers/CHANGELOG.md +570 -0
  211. package/node_modules/@aws-sdk/credential-providers/LICENSE +201 -0
  212. package/node_modules/@aws-sdk/credential-providers/README.md +663 -0
  213. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromCognitoIdentity.js +13 -0
  214. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromCognitoIdentityPool.js +13 -0
  215. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromContainerMetadata.js +6 -0
  216. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromEnv.js +6 -0
  217. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromIni.js +14 -0
  218. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromInstanceMetadata.js +6 -0
  219. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromNodeProviderChain.js +14 -0
  220. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromProcess.js +6 -0
  221. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromSSO.js +7 -0
  222. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromTemporaryCredentials.js +31 -0
  223. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromTokenFile.js +13 -0
  224. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromWebToken.js +13 -0
  225. package/node_modules/@aws-sdk/credential-providers/dist-cjs/index.js +15 -0
  226. package/node_modules/@aws-sdk/credential-providers/dist-cjs/index.web.js +7 -0
  227. package/node_modules/@aws-sdk/credential-providers/dist-es/fromCognitoIdentity.js +7 -0
  228. package/node_modules/@aws-sdk/credential-providers/dist-es/fromCognitoIdentityPool.js +7 -0
  229. package/node_modules/@aws-sdk/credential-providers/dist-es/fromContainerMetadata.js +2 -0
  230. package/node_modules/@aws-sdk/credential-providers/dist-es/fromEnv.js +2 -0
  231. package/node_modules/@aws-sdk/credential-providers/dist-es/fromIni.js +8 -0
  232. package/node_modules/@aws-sdk/credential-providers/dist-es/fromInstanceMetadata.js +2 -0
  233. package/node_modules/@aws-sdk/credential-providers/dist-es/fromNodeProviderChain.js +8 -0
  234. package/node_modules/@aws-sdk/credential-providers/dist-es/fromProcess.js +2 -0
  235. package/node_modules/@aws-sdk/credential-providers/dist-es/fromSSO.js +7 -0
  236. package/node_modules/@aws-sdk/credential-providers/dist-es/fromTemporaryCredentials.js +40 -0
  237. package/node_modules/@aws-sdk/credential-providers/dist-es/fromTokenFile.js +8 -0
  238. package/node_modules/@aws-sdk/credential-providers/dist-es/fromWebToken.js +7 -0
  239. package/node_modules/@aws-sdk/credential-providers/dist-es/index.js +12 -0
  240. package/node_modules/@aws-sdk/credential-providers/dist-es/index.web.js +4 -0
  241. package/node_modules/@aws-sdk/credential-providers/dist-types/fromCognitoIdentity.d.ts +45 -0
  242. package/node_modules/@aws-sdk/credential-providers/dist-types/fromCognitoIdentityPool.d.ts +46 -0
  243. package/node_modules/@aws-sdk/credential-providers/dist-types/fromContainerMetadata.d.ts +24 -0
  244. package/node_modules/@aws-sdk/credential-providers/dist-types/fromEnv.d.ts +26 -0
  245. package/node_modules/@aws-sdk/credential-providers/dist-types/fromIni.d.ts +43 -0
  246. package/node_modules/@aws-sdk/credential-providers/dist-types/fromInstanceMetadata.d.ts +22 -0
  247. package/node_modules/@aws-sdk/credential-providers/dist-types/fromNodeProviderChain.d.ts +29 -0
  248. package/node_modules/@aws-sdk/credential-providers/dist-types/fromProcess.d.ts +28 -0
  249. package/node_modules/@aws-sdk/credential-providers/dist-types/fromSSO.d.ts +48 -0
  250. package/node_modules/@aws-sdk/credential-providers/dist-types/fromTemporaryCredentials.d.ts +48 -0
  251. package/node_modules/@aws-sdk/credential-providers/dist-types/fromTokenFile.d.ts +32 -0
  252. package/node_modules/@aws-sdk/credential-providers/dist-types/fromWebToken.d.ts +41 -0
  253. package/node_modules/@aws-sdk/credential-providers/dist-types/index.d.ts +12 -0
  254. package/node_modules/@aws-sdk/credential-providers/dist-types/index.web.d.ts +4 -0
  255. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromCognitoIdentity.d.ts +9 -0
  256. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromCognitoIdentityPool.d.ts +7 -0
  257. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromContainerMetadata.d.ts +6 -0
  258. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromEnv.d.ts +3 -0
  259. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromIni.d.ts +8 -0
  260. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromInstanceMetadata.d.ts +4 -0
  261. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromNodeProviderChain.d.ts +8 -0
  262. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromProcess.d.ts +6 -0
  263. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromSSO.d.ts +8 -0
  264. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromTemporaryCredentials.d.ts +12 -0
  265. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromTokenFile.d.ts +8 -0
  266. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromWebToken.d.ts +8 -0
  267. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/index.d.ts +12 -0
  268. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/index.web.d.ts +4 -0
  269. package/node_modules/@aws-sdk/credential-providers/package.json +78 -0
  270. package/package.json +6 -3
@@ -0,0 +1,26 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import packageInfo from "../package.json";
3
+ import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
+ import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
9
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
15
+ export var getRuntimeConfig = function (config) {
16
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
+ var clientSharedValues = getSharedRuntimeConfig(config);
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
26
+ };
@@ -0,0 +1,30 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import packageInfo from "../package.json";
3
+ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
+ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
+ import { Hash } from "@aws-sdk/hash-node";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
+ import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
18
+ export var getRuntimeConfig = function (config) {
19
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ emitWarningIfUnsupportedVersion(process.version);
21
+ var defaultsMode = resolveDefaultsModeConfig(config);
22
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
23
+ var clientSharedValues = getSharedRuntimeConfig(config);
24
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
25
+ switch (_a.label) {
26
+ case 0: return [4, defaultConfigProvider()];
27
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
28
+ }
29
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
30
+ };
@@ -0,0 +1,8 @@
1
+ import { __assign } from "tslib";
2
+ import { Sha256 } from "@aws-crypto/sha256-js";
3
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
+ export var getRuntimeConfig = function (config) {
5
+ var _a;
6
+ var browserDefaults = getBrowserRuntimeConfig(config);
7
+ return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
+ };
@@ -0,0 +1,13 @@
1
+ import { parseUrl } from "@aws-sdk/url-parser";
2
+ import { defaultRegionInfoProvider } from "./endpoints";
3
+ export var getRuntimeConfig = function (config) {
4
+ var _a, _b, _c, _d, _e;
5
+ return ({
6
+ apiVersion: "2014-06-30",
7
+ disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
8
+ logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
9
+ regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : defaultRegionInfoProvider,
10
+ serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "Cognito Identity",
11
+ urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
+ });
13
+ };
@@ -0,0 +1,295 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CognitoIdentityClient } from "./CognitoIdentityClient";
3
+ import { CreateIdentityPoolCommandInput, CreateIdentityPoolCommandOutput } from "./commands/CreateIdentityPoolCommand";
4
+ import { DeleteIdentitiesCommandInput, DeleteIdentitiesCommandOutput } from "./commands/DeleteIdentitiesCommand";
5
+ import { DeleteIdentityPoolCommandInput, DeleteIdentityPoolCommandOutput } from "./commands/DeleteIdentityPoolCommand";
6
+ import { DescribeIdentityCommandInput, DescribeIdentityCommandOutput } from "./commands/DescribeIdentityCommand";
7
+ import { DescribeIdentityPoolCommandInput, DescribeIdentityPoolCommandOutput } from "./commands/DescribeIdentityPoolCommand";
8
+ import { GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput } from "./commands/GetCredentialsForIdentityCommand";
9
+ import { GetIdCommandInput, GetIdCommandOutput } from "./commands/GetIdCommand";
10
+ import { GetIdentityPoolRolesCommandInput, GetIdentityPoolRolesCommandOutput } from "./commands/GetIdentityPoolRolesCommand";
11
+ import { GetOpenIdTokenCommandInput, GetOpenIdTokenCommandOutput } from "./commands/GetOpenIdTokenCommand";
12
+ import { GetOpenIdTokenForDeveloperIdentityCommandInput, GetOpenIdTokenForDeveloperIdentityCommandOutput } from "./commands/GetOpenIdTokenForDeveloperIdentityCommand";
13
+ import { GetPrincipalTagAttributeMapCommandInput, GetPrincipalTagAttributeMapCommandOutput } from "./commands/GetPrincipalTagAttributeMapCommand";
14
+ import { ListIdentitiesCommandInput, ListIdentitiesCommandOutput } from "./commands/ListIdentitiesCommand";
15
+ import { ListIdentityPoolsCommandInput, ListIdentityPoolsCommandOutput } from "./commands/ListIdentityPoolsCommand";
16
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
17
+ import { LookupDeveloperIdentityCommandInput, LookupDeveloperIdentityCommandOutput } from "./commands/LookupDeveloperIdentityCommand";
18
+ import { MergeDeveloperIdentitiesCommandInput, MergeDeveloperIdentitiesCommandOutput } from "./commands/MergeDeveloperIdentitiesCommand";
19
+ import { SetIdentityPoolRolesCommandInput, SetIdentityPoolRolesCommandOutput } from "./commands/SetIdentityPoolRolesCommand";
20
+ import { SetPrincipalTagAttributeMapCommandInput, SetPrincipalTagAttributeMapCommandOutput } from "./commands/SetPrincipalTagAttributeMapCommand";
21
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
22
+ import { UnlinkDeveloperIdentityCommandInput, UnlinkDeveloperIdentityCommandOutput } from "./commands/UnlinkDeveloperIdentityCommand";
23
+ import { UnlinkIdentityCommandInput, UnlinkIdentityCommandOutput } from "./commands/UnlinkIdentityCommand";
24
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
25
+ import { UpdateIdentityPoolCommandInput, UpdateIdentityPoolCommandOutput } from "./commands/UpdateIdentityPoolCommand";
26
+ /**
27
+ * <fullname>Amazon Cognito Federated Identities</fullname>
28
+ * <p>Amazon Cognito Federated Identities is a web service that delivers scoped temporary
29
+ * credentials to mobile devices and other untrusted environments. It uniquely identifies a
30
+ * device and supplies the user with a consistent identity over the lifetime of an
31
+ * application.</p>
32
+ * <p>Using Amazon Cognito Federated Identities, you can enable authentication with one or
33
+ * more third-party identity providers (Facebook, Google, or Login with Amazon) or an Amazon
34
+ * Cognito user pool, and you can also choose to support unauthenticated access from your app.
35
+ * Cognito delivers a unique identifier for each user and acts as an OpenID token provider
36
+ * trusted by AWS Security Token Service (STS) to access temporary, limited-privilege AWS
37
+ * credentials.</p>
38
+ * <p>For a description of the authentication flow from the Amazon Cognito Developer Guide
39
+ * see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html">Authentication Flow</a>.</p>
40
+ * <p>For more information see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html">Amazon Cognito Federated Identities</a>.</p>
41
+ */
42
+ export declare class CognitoIdentity extends CognitoIdentityClient {
43
+ /**
44
+ * <p>Creates a new identity pool. The identity pool is a store of user identity
45
+ * information that is specific to your AWS account. The keys for <code>SupportedLoginProviders</code> are as follows:</p>
46
+ *
47
+ * <ul>
48
+ * <li>
49
+ * <p>Facebook: <code>graph.facebook.com</code>
50
+ * </p>
51
+ * </li>
52
+ * <li>
53
+ * <p>Google: <code>accounts.google.com</code>
54
+ * </p>
55
+ * </li>
56
+ * <li>
57
+ * <p>Amazon: <code>www.amazon.com</code>
58
+ * </p>
59
+ * </li>
60
+ * <li>
61
+ * <p>Twitter: <code>api.twitter.com</code>
62
+ * </p>
63
+ * </li>
64
+ * <li>
65
+ * <p>Digits: <code>www.digits.com</code>
66
+ * </p>
67
+ * </li>
68
+ * </ul>
69
+ *
70
+ * <p>You must use AWS Developer credentials to call this API.</p>
71
+ */
72
+ createIdentityPool(args: CreateIdentityPoolCommandInput, options?: __HttpHandlerOptions): Promise<CreateIdentityPoolCommandOutput>;
73
+ createIdentityPool(args: CreateIdentityPoolCommandInput, cb: (err: any, data?: CreateIdentityPoolCommandOutput) => void): void;
74
+ createIdentityPool(args: CreateIdentityPoolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIdentityPoolCommandOutput) => void): void;
75
+ /**
76
+ * <p>Deletes identities from an identity pool. You can specify a list of 1-60 identities
77
+ * that you want to delete.</p>
78
+ * <p>You must use AWS Developer credentials to call this API.</p>
79
+ */
80
+ deleteIdentities(args: DeleteIdentitiesCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIdentitiesCommandOutput>;
81
+ deleteIdentities(args: DeleteIdentitiesCommandInput, cb: (err: any, data?: DeleteIdentitiesCommandOutput) => void): void;
82
+ deleteIdentities(args: DeleteIdentitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIdentitiesCommandOutput) => void): void;
83
+ /**
84
+ * <p>Deletes an identity pool. Once a pool is deleted, users will not be able to
85
+ * authenticate with the pool.</p>
86
+ * <p>You must use AWS Developer credentials to call this API.</p>
87
+ */
88
+ deleteIdentityPool(args: DeleteIdentityPoolCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIdentityPoolCommandOutput>;
89
+ deleteIdentityPool(args: DeleteIdentityPoolCommandInput, cb: (err: any, data?: DeleteIdentityPoolCommandOutput) => void): void;
90
+ deleteIdentityPool(args: DeleteIdentityPoolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIdentityPoolCommandOutput) => void): void;
91
+ /**
92
+ * <p>Returns metadata related to the given identity, including when the identity was
93
+ * created and any associated linked logins.</p>
94
+ * <p>You must use AWS Developer credentials to call this API.</p>
95
+ */
96
+ describeIdentity(args: DescribeIdentityCommandInput, options?: __HttpHandlerOptions): Promise<DescribeIdentityCommandOutput>;
97
+ describeIdentity(args: DescribeIdentityCommandInput, cb: (err: any, data?: DescribeIdentityCommandOutput) => void): void;
98
+ describeIdentity(args: DescribeIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeIdentityCommandOutput) => void): void;
99
+ /**
100
+ * <p>Gets details about a particular identity pool, including the pool name, ID
101
+ * description, creation date, and current number of users.</p>
102
+ * <p>You must use AWS Developer credentials to call this API.</p>
103
+ */
104
+ describeIdentityPool(args: DescribeIdentityPoolCommandInput, options?: __HttpHandlerOptions): Promise<DescribeIdentityPoolCommandOutput>;
105
+ describeIdentityPool(args: DescribeIdentityPoolCommandInput, cb: (err: any, data?: DescribeIdentityPoolCommandOutput) => void): void;
106
+ describeIdentityPool(args: DescribeIdentityPoolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeIdentityPoolCommandOutput) => void): void;
107
+ /**
108
+ * <p>Returns credentials for the provided identity ID. Any provided logins will be
109
+ * validated against supported login providers. If the token is for
110
+ * cognito-identity.amazonaws.com, it will be passed through to AWS Security Token Service
111
+ * with the appropriate role for the token.</p>
112
+ * <p>This is a public API. You do not need any credentials to call this API.</p>
113
+ */
114
+ getCredentialsForIdentity(args: GetCredentialsForIdentityCommandInput, options?: __HttpHandlerOptions): Promise<GetCredentialsForIdentityCommandOutput>;
115
+ getCredentialsForIdentity(args: GetCredentialsForIdentityCommandInput, cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void): void;
116
+ getCredentialsForIdentity(args: GetCredentialsForIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void): void;
117
+ /**
118
+ * <p>Generates (or retrieves) a Cognito ID. Supplying multiple logins will create an
119
+ * implicit linked account.</p>
120
+ * <p>This is a public API. You do not need any credentials to call this API.</p>
121
+ */
122
+ getId(args: GetIdCommandInput, options?: __HttpHandlerOptions): Promise<GetIdCommandOutput>;
123
+ getId(args: GetIdCommandInput, cb: (err: any, data?: GetIdCommandOutput) => void): void;
124
+ getId(args: GetIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIdCommandOutput) => void): void;
125
+ /**
126
+ * <p>Gets the roles for an identity pool.</p>
127
+ * <p>You must use AWS Developer credentials to call this API.</p>
128
+ */
129
+ getIdentityPoolRoles(args: GetIdentityPoolRolesCommandInput, options?: __HttpHandlerOptions): Promise<GetIdentityPoolRolesCommandOutput>;
130
+ getIdentityPoolRoles(args: GetIdentityPoolRolesCommandInput, cb: (err: any, data?: GetIdentityPoolRolesCommandOutput) => void): void;
131
+ getIdentityPoolRoles(args: GetIdentityPoolRolesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIdentityPoolRolesCommandOutput) => void): void;
132
+ /**
133
+ * <p>Gets an OpenID token, using a known Cognito ID. This known Cognito ID is returned by
134
+ * <a>GetId</a>. You can optionally add additional logins for the identity.
135
+ * Supplying multiple logins creates an implicit link.</p>
136
+ * <p>The OpenID token is valid for 10 minutes.</p>
137
+ * <p>This is a public API. You do not need any credentials to call this API.</p>
138
+ */
139
+ getOpenIdToken(args: GetOpenIdTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetOpenIdTokenCommandOutput>;
140
+ getOpenIdToken(args: GetOpenIdTokenCommandInput, cb: (err: any, data?: GetOpenIdTokenCommandOutput) => void): void;
141
+ getOpenIdToken(args: GetOpenIdTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOpenIdTokenCommandOutput) => void): void;
142
+ /**
143
+ * <p>Registers (or retrieves) a Cognito <code>IdentityId</code> and an OpenID Connect
144
+ * token for a user authenticated by your backend authentication process. Supplying multiple
145
+ * logins will create an implicit linked account. You can only specify one developer provider
146
+ * as part of the <code>Logins</code> map, which is linked to the identity pool. The developer
147
+ * provider is the "domain" by which Cognito will refer to your users.</p>
148
+ * <p>You can use <code>GetOpenIdTokenForDeveloperIdentity</code> to create a new identity
149
+ * and to link new logins (that is, user credentials issued by a public provider or developer
150
+ * provider) to an existing identity. When you want to create a new identity, the
151
+ * <code>IdentityId</code> should be null. When you want to associate a new login with an
152
+ * existing authenticated/unauthenticated identity, you can do so by providing the existing
153
+ * <code>IdentityId</code>. This API will create the identity in the specified
154
+ * <code>IdentityPoolId</code>.</p>
155
+ * <p>You must use AWS Developer credentials to call this API.</p>
156
+ */
157
+ getOpenIdTokenForDeveloperIdentity(args: GetOpenIdTokenForDeveloperIdentityCommandInput, options?: __HttpHandlerOptions): Promise<GetOpenIdTokenForDeveloperIdentityCommandOutput>;
158
+ getOpenIdTokenForDeveloperIdentity(args: GetOpenIdTokenForDeveloperIdentityCommandInput, cb: (err: any, data?: GetOpenIdTokenForDeveloperIdentityCommandOutput) => void): void;
159
+ getOpenIdTokenForDeveloperIdentity(args: GetOpenIdTokenForDeveloperIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOpenIdTokenForDeveloperIdentityCommandOutput) => void): void;
160
+ /**
161
+ * <p>Use <code>GetPrincipalTagAttributeMap</code> to list all mappings between <code>PrincipalTags</code> and user attributes.</p>
162
+ */
163
+ getPrincipalTagAttributeMap(args: GetPrincipalTagAttributeMapCommandInput, options?: __HttpHandlerOptions): Promise<GetPrincipalTagAttributeMapCommandOutput>;
164
+ getPrincipalTagAttributeMap(args: GetPrincipalTagAttributeMapCommandInput, cb: (err: any, data?: GetPrincipalTagAttributeMapCommandOutput) => void): void;
165
+ getPrincipalTagAttributeMap(args: GetPrincipalTagAttributeMapCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPrincipalTagAttributeMapCommandOutput) => void): void;
166
+ /**
167
+ * <p>Lists the identities in an identity pool.</p>
168
+ * <p>You must use AWS Developer credentials to call this API.</p>
169
+ */
170
+ listIdentities(args: ListIdentitiesCommandInput, options?: __HttpHandlerOptions): Promise<ListIdentitiesCommandOutput>;
171
+ listIdentities(args: ListIdentitiesCommandInput, cb: (err: any, data?: ListIdentitiesCommandOutput) => void): void;
172
+ listIdentities(args: ListIdentitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIdentitiesCommandOutput) => void): void;
173
+ /**
174
+ * <p>Lists all of the Cognito identity pools registered for your account.</p>
175
+ * <p>You must use AWS Developer credentials to call this API.</p>
176
+ */
177
+ listIdentityPools(args: ListIdentityPoolsCommandInput, options?: __HttpHandlerOptions): Promise<ListIdentityPoolsCommandOutput>;
178
+ listIdentityPools(args: ListIdentityPoolsCommandInput, cb: (err: any, data?: ListIdentityPoolsCommandOutput) => void): void;
179
+ listIdentityPools(args: ListIdentityPoolsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIdentityPoolsCommandOutput) => void): void;
180
+ /**
181
+ * <p>Lists the tags that are assigned to an Amazon Cognito identity pool.</p>
182
+ * <p>A tag is a label that you can apply to identity pools to categorize and manage them in
183
+ * different ways, such as by purpose, owner, environment, or other criteria.</p>
184
+ * <p>You can use this action up to 10 times per second, per account.</p>
185
+ */
186
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
187
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
188
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
189
+ /**
190
+ * <p>Retrieves the <code>IdentityID</code> associated with a
191
+ * <code>DeveloperUserIdentifier</code> or the list of <code>DeveloperUserIdentifier</code>
192
+ * values associated with an <code>IdentityId</code> for an existing identity. Either
193
+ * <code>IdentityID</code> or <code>DeveloperUserIdentifier</code> must not be null. If you
194
+ * supply only one of these values, the other value will be searched in the database and
195
+ * returned as a part of the response. If you supply both,
196
+ * <code>DeveloperUserIdentifier</code> will be matched against <code>IdentityID</code>. If
197
+ * the values are verified against the database, the response returns both values and is the
198
+ * same as the request. Otherwise a <code>ResourceConflictException</code> is
199
+ * thrown.</p>
200
+ * <p>
201
+ * <code>LookupDeveloperIdentity</code> is intended for low-throughput control plane
202
+ * operations: for example, to enable customer service to locate an identity ID by username.
203
+ * If you are using it for higher-volume operations such as user authentication, your requests
204
+ * are likely to be throttled. <a>GetOpenIdTokenForDeveloperIdentity</a> is a
205
+ * better option for higher-volume operations for user authentication.</p>
206
+ * <p>You must use AWS Developer credentials to call this API.</p>
207
+ */
208
+ lookupDeveloperIdentity(args: LookupDeveloperIdentityCommandInput, options?: __HttpHandlerOptions): Promise<LookupDeveloperIdentityCommandOutput>;
209
+ lookupDeveloperIdentity(args: LookupDeveloperIdentityCommandInput, cb: (err: any, data?: LookupDeveloperIdentityCommandOutput) => void): void;
210
+ lookupDeveloperIdentity(args: LookupDeveloperIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LookupDeveloperIdentityCommandOutput) => void): void;
211
+ /**
212
+ * <p>Merges two users having different <code>IdentityId</code>s, existing in the same
213
+ * identity pool, and identified by the same developer provider. You can use this action to
214
+ * request that discrete users be merged and identified as a single user in the Cognito
215
+ * environment. Cognito associates the given source user (<code>SourceUserIdentifier</code>)
216
+ * with the <code>IdentityId</code> of the <code>DestinationUserIdentifier</code>. Only
217
+ * developer-authenticated users can be merged. If the users to be merged are associated with
218
+ * the same public provider, but as two different users, an exception will be
219
+ * thrown.</p>
220
+ * <p>The number of linked logins is limited to 20. So, the number of linked logins for the
221
+ * source user, <code>SourceUserIdentifier</code>, and the destination user,
222
+ * <code>DestinationUserIdentifier</code>, together should not be larger than 20.
223
+ * Otherwise, an exception will be thrown.</p>
224
+ * <p>You must use AWS Developer credentials to call this API.</p>
225
+ */
226
+ mergeDeveloperIdentities(args: MergeDeveloperIdentitiesCommandInput, options?: __HttpHandlerOptions): Promise<MergeDeveloperIdentitiesCommandOutput>;
227
+ mergeDeveloperIdentities(args: MergeDeveloperIdentitiesCommandInput, cb: (err: any, data?: MergeDeveloperIdentitiesCommandOutput) => void): void;
228
+ mergeDeveloperIdentities(args: MergeDeveloperIdentitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergeDeveloperIdentitiesCommandOutput) => void): void;
229
+ /**
230
+ * <p>Sets the roles for an identity pool. These roles are used when making calls to <a>GetCredentialsForIdentity</a> action.</p>
231
+ * <p>You must use AWS Developer credentials to call this API.</p>
232
+ */
233
+ setIdentityPoolRoles(args: SetIdentityPoolRolesCommandInput, options?: __HttpHandlerOptions): Promise<SetIdentityPoolRolesCommandOutput>;
234
+ setIdentityPoolRoles(args: SetIdentityPoolRolesCommandInput, cb: (err: any, data?: SetIdentityPoolRolesCommandOutput) => void): void;
235
+ setIdentityPoolRoles(args: SetIdentityPoolRolesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetIdentityPoolRolesCommandOutput) => void): void;
236
+ /**
237
+ * <p>You can use this operation to use default (username and clientID) attribute or custom attribute mappings.</p>
238
+ */
239
+ setPrincipalTagAttributeMap(args: SetPrincipalTagAttributeMapCommandInput, options?: __HttpHandlerOptions): Promise<SetPrincipalTagAttributeMapCommandOutput>;
240
+ setPrincipalTagAttributeMap(args: SetPrincipalTagAttributeMapCommandInput, cb: (err: any, data?: SetPrincipalTagAttributeMapCommandOutput) => void): void;
241
+ setPrincipalTagAttributeMap(args: SetPrincipalTagAttributeMapCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetPrincipalTagAttributeMapCommandOutput) => void): void;
242
+ /**
243
+ * <p>Assigns a set of tags to the specified Amazon Cognito identity pool. A tag is a label
244
+ * that you can use to categorize and manage identity pools in different ways, such as by
245
+ * purpose, owner, environment, or other criteria.</p>
246
+ * <p>Each tag consists of a key and value, both of which you define. A key is a general
247
+ * category for more specific values. For example, if you have two versions of an identity
248
+ * pool, one for testing and another for production, you might assign an
249
+ * <code>Environment</code> tag key to both identity pools. The value of this key might be
250
+ * <code>Test</code> for one identity pool and <code>Production</code> for the
251
+ * other.</p>
252
+ * <p>Tags are useful for cost tracking and access control. You can activate your tags so that
253
+ * they appear on the Billing and Cost Management console, where you can track the costs
254
+ * associated with your identity pools. In an IAM policy, you can constrain permissions for
255
+ * identity pools based on specific tags or tag values.</p>
256
+ * <p>You can use this action up to 5 times per second, per account. An identity pool can have
257
+ * as many as 50 tags.</p>
258
+ */
259
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
260
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
261
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
262
+ /**
263
+ * <p>Unlinks a <code>DeveloperUserIdentifier</code> from an existing identity. Unlinked
264
+ * developer users will be considered new identities next time they are seen. If, for a given
265
+ * Cognito identity, you remove all federated identities as well as the developer user
266
+ * identifier, the Cognito identity becomes inaccessible.</p>
267
+ * <p>You must use AWS Developer credentials to call this API.</p>
268
+ */
269
+ unlinkDeveloperIdentity(args: UnlinkDeveloperIdentityCommandInput, options?: __HttpHandlerOptions): Promise<UnlinkDeveloperIdentityCommandOutput>;
270
+ unlinkDeveloperIdentity(args: UnlinkDeveloperIdentityCommandInput, cb: (err: any, data?: UnlinkDeveloperIdentityCommandOutput) => void): void;
271
+ unlinkDeveloperIdentity(args: UnlinkDeveloperIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnlinkDeveloperIdentityCommandOutput) => void): void;
272
+ /**
273
+ * <p>Unlinks a federated identity from an existing account. Unlinked logins will be
274
+ * considered new identities next time they are seen. Removing the last linked login will make
275
+ * this identity inaccessible.</p>
276
+ * <p>This is a public API. You do not need any credentials to call this API.</p>
277
+ */
278
+ unlinkIdentity(args: UnlinkIdentityCommandInput, options?: __HttpHandlerOptions): Promise<UnlinkIdentityCommandOutput>;
279
+ unlinkIdentity(args: UnlinkIdentityCommandInput, cb: (err: any, data?: UnlinkIdentityCommandOutput) => void): void;
280
+ unlinkIdentity(args: UnlinkIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnlinkIdentityCommandOutput) => void): void;
281
+ /**
282
+ * <p>Removes the specified tags from the specified Amazon Cognito identity pool. You can use
283
+ * this action up to 5 times per second, per account</p>
284
+ */
285
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
286
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
287
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
288
+ /**
289
+ * <p>Updates an identity pool.</p>
290
+ * <p>You must use AWS Developer credentials to call this API.</p>
291
+ */
292
+ updateIdentityPool(args: UpdateIdentityPoolCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIdentityPoolCommandOutput>;
293
+ updateIdentityPool(args: UpdateIdentityPoolCommandInput, cb: (err: any, data?: UpdateIdentityPoolCommandOutput) => void): void;
294
+ updateIdentityPool(args: UpdateIdentityPoolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIdentityPoolCommandOutput) => void): void;
295
+ }
@@ -0,0 +1,180 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { CreateIdentityPoolCommandInput, CreateIdentityPoolCommandOutput } from "./commands/CreateIdentityPoolCommand";
10
+ import { DeleteIdentitiesCommandInput, DeleteIdentitiesCommandOutput } from "./commands/DeleteIdentitiesCommand";
11
+ import { DeleteIdentityPoolCommandInput, DeleteIdentityPoolCommandOutput } from "./commands/DeleteIdentityPoolCommand";
12
+ import { DescribeIdentityCommandInput, DescribeIdentityCommandOutput } from "./commands/DescribeIdentityCommand";
13
+ import { DescribeIdentityPoolCommandInput, DescribeIdentityPoolCommandOutput } from "./commands/DescribeIdentityPoolCommand";
14
+ import { GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput } from "./commands/GetCredentialsForIdentityCommand";
15
+ import { GetIdCommandInput, GetIdCommandOutput } from "./commands/GetIdCommand";
16
+ import { GetIdentityPoolRolesCommandInput, GetIdentityPoolRolesCommandOutput } from "./commands/GetIdentityPoolRolesCommand";
17
+ import { GetOpenIdTokenCommandInput, GetOpenIdTokenCommandOutput } from "./commands/GetOpenIdTokenCommand";
18
+ import { GetOpenIdTokenForDeveloperIdentityCommandInput, GetOpenIdTokenForDeveloperIdentityCommandOutput } from "./commands/GetOpenIdTokenForDeveloperIdentityCommand";
19
+ import { GetPrincipalTagAttributeMapCommandInput, GetPrincipalTagAttributeMapCommandOutput } from "./commands/GetPrincipalTagAttributeMapCommand";
20
+ import { ListIdentitiesCommandInput, ListIdentitiesCommandOutput } from "./commands/ListIdentitiesCommand";
21
+ import { ListIdentityPoolsCommandInput, ListIdentityPoolsCommandOutput } from "./commands/ListIdentityPoolsCommand";
22
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
23
+ import { LookupDeveloperIdentityCommandInput, LookupDeveloperIdentityCommandOutput } from "./commands/LookupDeveloperIdentityCommand";
24
+ import { MergeDeveloperIdentitiesCommandInput, MergeDeveloperIdentitiesCommandOutput } from "./commands/MergeDeveloperIdentitiesCommand";
25
+ import { SetIdentityPoolRolesCommandInput, SetIdentityPoolRolesCommandOutput } from "./commands/SetIdentityPoolRolesCommand";
26
+ import { SetPrincipalTagAttributeMapCommandInput, SetPrincipalTagAttributeMapCommandOutput } from "./commands/SetPrincipalTagAttributeMapCommand";
27
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
28
+ import { UnlinkDeveloperIdentityCommandInput, UnlinkDeveloperIdentityCommandOutput } from "./commands/UnlinkDeveloperIdentityCommand";
29
+ import { UnlinkIdentityCommandInput, UnlinkIdentityCommandOutput } from "./commands/UnlinkIdentityCommand";
30
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
31
+ import { UpdateIdentityPoolCommandInput, UpdateIdentityPoolCommandOutput } from "./commands/UpdateIdentityPoolCommand";
32
+ export declare type ServiceInputTypes = CreateIdentityPoolCommandInput | DeleteIdentitiesCommandInput | DeleteIdentityPoolCommandInput | DescribeIdentityCommandInput | DescribeIdentityPoolCommandInput | GetCredentialsForIdentityCommandInput | GetIdCommandInput | GetIdentityPoolRolesCommandInput | GetOpenIdTokenCommandInput | GetOpenIdTokenForDeveloperIdentityCommandInput | GetPrincipalTagAttributeMapCommandInput | ListIdentitiesCommandInput | ListIdentityPoolsCommandInput | ListTagsForResourceCommandInput | LookupDeveloperIdentityCommandInput | MergeDeveloperIdentitiesCommandInput | SetIdentityPoolRolesCommandInput | SetPrincipalTagAttributeMapCommandInput | TagResourceCommandInput | UnlinkDeveloperIdentityCommandInput | UnlinkIdentityCommandInput | UntagResourceCommandInput | UpdateIdentityPoolCommandInput;
33
+ export declare type ServiceOutputTypes = CreateIdentityPoolCommandOutput | DeleteIdentitiesCommandOutput | DeleteIdentityPoolCommandOutput | DescribeIdentityCommandOutput | DescribeIdentityPoolCommandOutput | GetCredentialsForIdentityCommandOutput | GetIdCommandOutput | GetIdentityPoolRolesCommandOutput | GetOpenIdTokenCommandOutput | GetOpenIdTokenForDeveloperIdentityCommandOutput | GetPrincipalTagAttributeMapCommandOutput | ListIdentitiesCommandOutput | ListIdentityPoolsCommandOutput | ListTagsForResourceCommandOutput | LookupDeveloperIdentityCommandOutput | MergeDeveloperIdentitiesCommandOutput | SetIdentityPoolRolesCommandOutput | SetPrincipalTagAttributeMapCommandOutput | TagResourceCommandOutput | UnlinkDeveloperIdentityCommandOutput | UnlinkIdentityCommandOutput | UntagResourceCommandOutput | UpdateIdentityPoolCommandOutput;
34
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
35
+ /**
36
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
37
+ */
38
+ requestHandler?: __HttpHandler;
39
+ /**
40
+ * A constructor for a class implementing the {@link __Hash} interface
41
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
42
+ * @internal
43
+ */
44
+ sha256?: __HashConstructor;
45
+ /**
46
+ * The function that will be used to convert strings into HTTP endpoints.
47
+ * @internal
48
+ */
49
+ urlParser?: __UrlParser;
50
+ /**
51
+ * A function that can calculate the length of a request body.
52
+ * @internal
53
+ */
54
+ bodyLengthChecker?: __BodyLengthCalculator;
55
+ /**
56
+ * A function that converts a stream into an array of bytes.
57
+ * @internal
58
+ */
59
+ streamCollector?: __StreamCollector;
60
+ /**
61
+ * The function that will be used to convert a base64-encoded string to a byte array.
62
+ * @internal
63
+ */
64
+ base64Decoder?: __Decoder;
65
+ /**
66
+ * The function that will be used to convert binary data to a base64-encoded string.
67
+ * @internal
68
+ */
69
+ base64Encoder?: __Encoder;
70
+ /**
71
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
72
+ * @internal
73
+ */
74
+ utf8Decoder?: __Decoder;
75
+ /**
76
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
77
+ * @internal
78
+ */
79
+ utf8Encoder?: __Encoder;
80
+ /**
81
+ * The runtime environment.
82
+ * @internal
83
+ */
84
+ runtime?: string;
85
+ /**
86
+ * Disable dyanamically changing the endpoint of the client based on the hostPrefix
87
+ * trait of an operation.
88
+ */
89
+ disableHostPrefix?: boolean;
90
+ /**
91
+ * Value for how many times a request will be made at most in case of retry.
92
+ */
93
+ maxAttempts?: number | __Provider<number>;
94
+ /**
95
+ * Specifies which retry algorithm to use.
96
+ */
97
+ retryMode?: string | __Provider<string>;
98
+ /**
99
+ * Optional logger for logging debug/info/warn/error.
100
+ */
101
+ logger?: __Logger;
102
+ /**
103
+ * Enables IPv6/IPv4 dualstack endpoint.
104
+ */
105
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
106
+ /**
107
+ * Enables FIPS compatible endpoints.
108
+ */
109
+ useFipsEndpoint?: boolean | __Provider<boolean>;
110
+ /**
111
+ * Unique service identifier.
112
+ * @internal
113
+ */
114
+ serviceId?: string;
115
+ /**
116
+ * The AWS region to which this client will send requests
117
+ */
118
+ region?: string | __Provider<string>;
119
+ /**
120
+ * Default credentials provider; Not available in browser runtime.
121
+ * @internal
122
+ */
123
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
124
+ /**
125
+ * Fetch related hostname, signing name or signing region with given region.
126
+ * @internal
127
+ */
128
+ regionInfoProvider?: RegionInfoProvider;
129
+ /**
130
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
131
+ * @internal
132
+ */
133
+ defaultUserAgentProvider?: Provider<__UserAgent>;
134
+ /**
135
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
136
+ */
137
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
138
+ }
139
+ declare type CognitoIdentityClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
140
+ /**
141
+ * The configuration interface of CognitoIdentityClient class constructor that set the region, credentials and other options.
142
+ */
143
+ export interface CognitoIdentityClientConfig extends CognitoIdentityClientConfigType {
144
+ }
145
+ declare type CognitoIdentityClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
146
+ /**
147
+ * The resolved configuration interface of CognitoIdentityClient class. This is resolved and normalized from the {@link CognitoIdentityClientConfig | constructor configuration interface}.
148
+ */
149
+ export interface CognitoIdentityClientResolvedConfig extends CognitoIdentityClientResolvedConfigType {
150
+ }
151
+ /**
152
+ * <fullname>Amazon Cognito Federated Identities</fullname>
153
+ * <p>Amazon Cognito Federated Identities is a web service that delivers scoped temporary
154
+ * credentials to mobile devices and other untrusted environments. It uniquely identifies a
155
+ * device and supplies the user with a consistent identity over the lifetime of an
156
+ * application.</p>
157
+ * <p>Using Amazon Cognito Federated Identities, you can enable authentication with one or
158
+ * more third-party identity providers (Facebook, Google, or Login with Amazon) or an Amazon
159
+ * Cognito user pool, and you can also choose to support unauthenticated access from your app.
160
+ * Cognito delivers a unique identifier for each user and acts as an OpenID token provider
161
+ * trusted by AWS Security Token Service (STS) to access temporary, limited-privilege AWS
162
+ * credentials.</p>
163
+ * <p>For a description of the authentication flow from the Amazon Cognito Developer Guide
164
+ * see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html">Authentication Flow</a>.</p>
165
+ * <p>For more information see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html">Amazon Cognito Federated Identities</a>.</p>
166
+ */
167
+ export declare class CognitoIdentityClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CognitoIdentityClientResolvedConfig> {
168
+ /**
169
+ * The resolved configuration of CognitoIdentityClient class. This is resolved and normalized from the {@link CognitoIdentityClientConfig | constructor configuration interface}.
170
+ */
171
+ readonly config: CognitoIdentityClientResolvedConfig;
172
+ constructor(configuration: CognitoIdentityClientConfig);
173
+ /**
174
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
175
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
176
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
177
+ */
178
+ destroy(): void;
179
+ }
180
+ export {};