serverless-spy 0.0.5 → 0.0.6

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 (269) hide show
  1. package/.jsii +3 -2
  2. package/lib/ServerlessSpy.js +1 -1
  3. package/listener/createServerlessSpyListener.ts +12 -2
  4. package/listener/index.ts +1 -0
  5. package/node_modules/@aws-sdk/client-cognito-identity/CHANGELOG.md +4150 -0
  6. package/node_modules/@aws-sdk/client-cognito-identity/LICENSE +201 -0
  7. package/node_modules/@aws-sdk/client-cognito-identity/README.md +219 -0
  8. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/CognitoIdentity.js +352 -0
  9. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/CognitoIdentityClient.js +36 -0
  10. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/CreateIdentityPoolCommand.js +38 -0
  11. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DeleteIdentitiesCommand.js +38 -0
  12. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DeleteIdentityPoolCommand.js +38 -0
  13. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DescribeIdentityCommand.js +38 -0
  14. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DescribeIdentityPoolCommand.js +38 -0
  15. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetCredentialsForIdentityCommand.js +36 -0
  16. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetIdCommand.js +36 -0
  17. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetIdentityPoolRolesCommand.js +38 -0
  18. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetOpenIdTokenCommand.js +36 -0
  19. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +38 -0
  20. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetPrincipalTagAttributeMapCommand.js +38 -0
  21. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/ListIdentitiesCommand.js +38 -0
  22. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/ListIdentityPoolsCommand.js +38 -0
  23. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/ListTagsForResourceCommand.js +38 -0
  24. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/LookupDeveloperIdentityCommand.js +38 -0
  25. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/MergeDeveloperIdentitiesCommand.js +38 -0
  26. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/SetIdentityPoolRolesCommand.js +38 -0
  27. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/SetPrincipalTagAttributeMapCommand.js +38 -0
  28. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/TagResourceCommand.js +38 -0
  29. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UnlinkDeveloperIdentityCommand.js +38 -0
  30. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UnlinkIdentityCommand.js +36 -0
  31. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UntagResourceCommand.js +38 -0
  32. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UpdateIdentityPoolCommand.js +38 -0
  33. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/index.js +26 -0
  34. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/endpoints.js +167 -0
  35. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/index.js +11 -0
  36. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/models/CognitoIdentityServiceException.js +11 -0
  37. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/models/index.js +4 -0
  38. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/models/models_0.js +354 -0
  39. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/pagination/Interfaces.js +2 -0
  40. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/pagination/ListIdentityPoolsPaginator.js +36 -0
  41. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/pagination/index.js +5 -0
  42. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/protocols/Aws_json1_1.js +2236 -0
  43. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.browser.js +45 -0
  44. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.js +52 -0
  45. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.native.js +16 -0
  46. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.shared.js +17 -0
  47. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/CognitoIdentity.js +355 -0
  48. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/CognitoIdentityClient.js +38 -0
  49. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/CreateIdentityPoolCommand.js +41 -0
  50. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DeleteIdentitiesCommand.js +41 -0
  51. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DeleteIdentityPoolCommand.js +41 -0
  52. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DescribeIdentityCommand.js +41 -0
  53. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DescribeIdentityPoolCommand.js +41 -0
  54. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetCredentialsForIdentityCommand.js +39 -0
  55. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetIdCommand.js +39 -0
  56. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetIdentityPoolRolesCommand.js +41 -0
  57. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetOpenIdTokenCommand.js +39 -0
  58. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +41 -0
  59. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +41 -0
  60. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListIdentitiesCommand.js +41 -0
  61. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListIdentityPoolsCommand.js +41 -0
  62. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  63. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/LookupDeveloperIdentityCommand.js +41 -0
  64. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/MergeDeveloperIdentitiesCommand.js +41 -0
  65. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/SetIdentityPoolRolesCommand.js +41 -0
  66. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +41 -0
  67. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/TagResourceCommand.js +41 -0
  68. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UnlinkDeveloperIdentityCommand.js +41 -0
  69. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UnlinkIdentityCommand.js +39 -0
  70. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UntagResourceCommand.js +41 -0
  71. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UpdateIdentityPoolCommand.js +41 -0
  72. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/index.js +23 -0
  73. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/endpoints.js +163 -0
  74. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/index.js +6 -0
  75. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/CognitoIdentityServiceException.js +12 -0
  76. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/index.js +1 -0
  77. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/models_0.js +202 -0
  78. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/Interfaces.js +1 -0
  79. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/ListIdentityPoolsPaginator.js +75 -0
  80. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/index.js +2 -0
  81. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/protocols/Aws_json1_1.js +2662 -0
  82. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.browser.js +26 -0
  83. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.js +30 -0
  84. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.native.js +8 -0
  85. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.shared.js +13 -0
  86. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/CognitoIdentity.d.ts +295 -0
  87. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/CognitoIdentityClient.d.ts +180 -0
  88. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/CreateIdentityPoolCommand.d.ts +61 -0
  89. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DeleteIdentitiesCommand.d.ts +37 -0
  90. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DeleteIdentityPoolCommand.d.ts +37 -0
  91. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DescribeIdentityCommand.d.ts +37 -0
  92. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DescribeIdentityPoolCommand.d.ts +37 -0
  93. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetCredentialsForIdentityCommand.d.ts +39 -0
  94. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetIdCommand.d.ts +37 -0
  95. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetIdentityPoolRolesCommand.d.ts +36 -0
  96. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetOpenIdTokenCommand.d.ts +39 -0
  97. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +47 -0
  98. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetPrincipalTagAttributeMapCommand.d.ts +35 -0
  99. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListIdentitiesCommand.d.ts +36 -0
  100. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListIdentityPoolsCommand.d.ts +36 -0
  101. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListTagsForResourceCommand.d.ts +38 -0
  102. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/LookupDeveloperIdentityCommand.d.ts +51 -0
  103. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/MergeDeveloperIdentitiesCommand.d.ts +47 -0
  104. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/SetIdentityPoolRolesCommand.d.ts +36 -0
  105. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/SetPrincipalTagAttributeMapCommand.d.ts +35 -0
  106. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/TagResourceCommand.d.ts +49 -0
  107. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UnlinkDeveloperIdentityCommand.d.ts +39 -0
  108. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UnlinkIdentityCommand.d.ts +38 -0
  109. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UntagResourceCommand.d.ts +36 -0
  110. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UpdateIdentityPoolCommand.d.ts +36 -0
  111. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/index.d.ts +23 -0
  112. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/endpoints.d.ts +2 -0
  113. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/index.d.ts +6 -0
  114. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/CognitoIdentityServiceException.d.ts +10 -0
  115. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/index.d.ts +1 -0
  116. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/models_0.d.ts +1166 -0
  117. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/Interfaces.d.ts +6 -0
  118. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/ListIdentityPoolsPaginator.d.ts +4 -0
  119. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/index.d.ts +2 -0
  120. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/protocols/Aws_json1_1.d.ts +71 -0
  121. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.browser.d.ts +40 -0
  122. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.d.ts +40 -0
  123. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.native.d.ts +39 -0
  124. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.shared.d.ts +13 -0
  125. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/CognitoIdentity.d.ts +120 -0
  126. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/CognitoIdentityClient.d.ts +96 -0
  127. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/CreateIdentityPoolCommand.d.ts +17 -0
  128. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DeleteIdentitiesCommand.d.ts +17 -0
  129. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DeleteIdentityPoolCommand.d.ts +17 -0
  130. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DescribeIdentityCommand.d.ts +17 -0
  131. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DescribeIdentityPoolCommand.d.ts +17 -0
  132. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetCredentialsForIdentityCommand.d.ts +17 -0
  133. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetIdCommand.d.ts +17 -0
  134. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetIdentityPoolRolesCommand.d.ts +17 -0
  135. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetOpenIdTokenCommand.d.ts +17 -0
  136. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +17 -0
  137. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetPrincipalTagAttributeMapCommand.d.ts +17 -0
  138. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +17 -0
  139. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListIdentityPoolsCommand.d.ts +17 -0
  140. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  141. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/LookupDeveloperIdentityCommand.d.ts +17 -0
  142. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/MergeDeveloperIdentitiesCommand.d.ts +17 -0
  143. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/SetIdentityPoolRolesCommand.d.ts +17 -0
  144. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/SetPrincipalTagAttributeMapCommand.d.ts +17 -0
  145. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  146. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UnlinkDeveloperIdentityCommand.d.ts +17 -0
  147. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UnlinkIdentityCommand.d.ts +17 -0
  148. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  149. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UpdateIdentityPoolCommand.d.ts +17 -0
  150. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/index.d.ts +23 -0
  151. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/endpoints.d.ts +2 -0
  152. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/index.d.ts +6 -0
  153. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/CognitoIdentityServiceException.d.ts +6 -0
  154. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/index.d.ts +1 -0
  155. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/models_0.d.ts +567 -0
  156. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  157. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/ListIdentityPoolsPaginator.d.ts +4 -0
  158. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/index.d.ts +2 -0
  159. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +71 -0
  160. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  161. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  162. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  163. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  164. package/node_modules/@aws-sdk/client-cognito-identity/package.json +107 -0
  165. package/node_modules/@aws-sdk/credential-provider-cognito-identity/CHANGELOG.md +4874 -0
  166. package/node_modules/@aws-sdk/credential-provider-cognito-identity/LICENSE +201 -0
  167. package/node_modules/@aws-sdk/credential-provider-cognito-identity/README.md +11 -0
  168. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/CognitoProviderParameters.js +2 -0
  169. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/InMemoryStorage.js +21 -0
  170. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/IndexedDbStorage.js +71 -0
  171. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/Logins.js +2 -0
  172. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/Storage.js +2 -0
  173. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/fromCognitoIdentity.js +32 -0
  174. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/fromCognitoIdentityPool.js +42 -0
  175. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/index.js +8 -0
  176. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/localStorage.js +16 -0
  177. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/resolveLogins.js +19 -0
  178. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/CognitoProviderParameters.js +1 -0
  179. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/InMemoryStorage.js +20 -0
  180. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/IndexedDbStorage.js +70 -0
  181. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/Logins.js +1 -0
  182. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/Storage.js +1 -0
  183. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/fromCognitoIdentity.js +50 -0
  184. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/fromCognitoIdentityPool.js +73 -0
  185. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/index.js +5 -0
  186. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/localStorage.js +12 -0
  187. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/resolveLogins.js +19 -0
  188. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/CognitoProviderParameters.d.ts +25 -0
  189. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/InMemoryStorage.d.ts +8 -0
  190. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/IndexedDbStorage.d.ts +10 -0
  191. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/Logins.d.ts +3 -0
  192. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/Storage.d.ts +14 -0
  193. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/fromCognitoIdentity.d.ts +23 -0
  194. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/fromCognitoIdentityPool.d.ts +44 -0
  195. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/index.d.ts +5 -0
  196. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/localStorage.d.ts +2 -0
  197. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/resolveLogins.d.ts +5 -0
  198. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/CognitoProviderParameters.d.ts +10 -0
  199. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/InMemoryStorage.d.ts +8 -0
  200. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/IndexedDbStorage.d.ts +10 -0
  201. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/Logins.d.ts +3 -0
  202. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/Storage.d.ts +6 -0
  203. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/fromCognitoIdentity.d.ts +13 -0
  204. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/fromCognitoIdentityPool.d.ts +15 -0
  205. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/index.d.ts +5 -0
  206. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/localStorage.d.ts +2 -0
  207. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/resolveLogins.d.ts +3 -0
  208. package/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +59 -0
  209. package/node_modules/@aws-sdk/credential-providers/CHANGELOG.md +570 -0
  210. package/node_modules/@aws-sdk/credential-providers/LICENSE +201 -0
  211. package/node_modules/@aws-sdk/credential-providers/README.md +663 -0
  212. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromCognitoIdentity.js +13 -0
  213. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromCognitoIdentityPool.js +13 -0
  214. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromContainerMetadata.js +6 -0
  215. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromEnv.js +6 -0
  216. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromIni.js +14 -0
  217. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromInstanceMetadata.js +6 -0
  218. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromNodeProviderChain.js +14 -0
  219. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromProcess.js +6 -0
  220. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromSSO.js +7 -0
  221. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromTemporaryCredentials.js +31 -0
  222. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromTokenFile.js +13 -0
  223. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromWebToken.js +13 -0
  224. package/node_modules/@aws-sdk/credential-providers/dist-cjs/index.js +15 -0
  225. package/node_modules/@aws-sdk/credential-providers/dist-cjs/index.web.js +7 -0
  226. package/node_modules/@aws-sdk/credential-providers/dist-es/fromCognitoIdentity.js +7 -0
  227. package/node_modules/@aws-sdk/credential-providers/dist-es/fromCognitoIdentityPool.js +7 -0
  228. package/node_modules/@aws-sdk/credential-providers/dist-es/fromContainerMetadata.js +2 -0
  229. package/node_modules/@aws-sdk/credential-providers/dist-es/fromEnv.js +2 -0
  230. package/node_modules/@aws-sdk/credential-providers/dist-es/fromIni.js +8 -0
  231. package/node_modules/@aws-sdk/credential-providers/dist-es/fromInstanceMetadata.js +2 -0
  232. package/node_modules/@aws-sdk/credential-providers/dist-es/fromNodeProviderChain.js +8 -0
  233. package/node_modules/@aws-sdk/credential-providers/dist-es/fromProcess.js +2 -0
  234. package/node_modules/@aws-sdk/credential-providers/dist-es/fromSSO.js +7 -0
  235. package/node_modules/@aws-sdk/credential-providers/dist-es/fromTemporaryCredentials.js +40 -0
  236. package/node_modules/@aws-sdk/credential-providers/dist-es/fromTokenFile.js +8 -0
  237. package/node_modules/@aws-sdk/credential-providers/dist-es/fromWebToken.js +7 -0
  238. package/node_modules/@aws-sdk/credential-providers/dist-es/index.js +12 -0
  239. package/node_modules/@aws-sdk/credential-providers/dist-es/index.web.js +4 -0
  240. package/node_modules/@aws-sdk/credential-providers/dist-types/fromCognitoIdentity.d.ts +45 -0
  241. package/node_modules/@aws-sdk/credential-providers/dist-types/fromCognitoIdentityPool.d.ts +46 -0
  242. package/node_modules/@aws-sdk/credential-providers/dist-types/fromContainerMetadata.d.ts +24 -0
  243. package/node_modules/@aws-sdk/credential-providers/dist-types/fromEnv.d.ts +26 -0
  244. package/node_modules/@aws-sdk/credential-providers/dist-types/fromIni.d.ts +43 -0
  245. package/node_modules/@aws-sdk/credential-providers/dist-types/fromInstanceMetadata.d.ts +22 -0
  246. package/node_modules/@aws-sdk/credential-providers/dist-types/fromNodeProviderChain.d.ts +29 -0
  247. package/node_modules/@aws-sdk/credential-providers/dist-types/fromProcess.d.ts +28 -0
  248. package/node_modules/@aws-sdk/credential-providers/dist-types/fromSSO.d.ts +48 -0
  249. package/node_modules/@aws-sdk/credential-providers/dist-types/fromTemporaryCredentials.d.ts +48 -0
  250. package/node_modules/@aws-sdk/credential-providers/dist-types/fromTokenFile.d.ts +32 -0
  251. package/node_modules/@aws-sdk/credential-providers/dist-types/fromWebToken.d.ts +41 -0
  252. package/node_modules/@aws-sdk/credential-providers/dist-types/index.d.ts +12 -0
  253. package/node_modules/@aws-sdk/credential-providers/dist-types/index.web.d.ts +4 -0
  254. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromCognitoIdentity.d.ts +9 -0
  255. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromCognitoIdentityPool.d.ts +7 -0
  256. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromContainerMetadata.d.ts +6 -0
  257. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromEnv.d.ts +3 -0
  258. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromIni.d.ts +8 -0
  259. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromInstanceMetadata.d.ts +4 -0
  260. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromNodeProviderChain.d.ts +8 -0
  261. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromProcess.d.ts +6 -0
  262. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromSSO.d.ts +8 -0
  263. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromTemporaryCredentials.d.ts +12 -0
  264. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromTokenFile.d.ts +8 -0
  265. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromWebToken.d.ts +8 -0
  266. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/index.d.ts +12 -0
  267. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/index.web.d.ts +4 -0
  268. package/node_modules/@aws-sdk/credential-providers/package.json +78 -0
  269. package/package.json +4 -2
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
8
+ const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
+ const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
10
+ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
+ const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
12
+ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
+ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
+ const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
18
+ const getRuntimeConfig = (config) => {
19
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
23
+ return {
24
+ ...clientSharedValues,
25
+ ...config,
26
+ runtime: "browser",
27
+ defaultsMode,
28
+ base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
29
+ base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
30
+ bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
31
+ credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
32
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
+ maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
34
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
37
+ sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
38
+ streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
39
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
40
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
41
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
42
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
43
+ };
44
+ };
45
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const client_sts_1 = require("@aws-sdk/client-sts");
7
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
8
+ const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
+ const hash_node_1 = require("@aws-sdk/hash-node");
10
+ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
+ const node_config_provider_1 = require("@aws-sdk/node-config-provider");
12
+ const node_http_handler_1 = require("@aws-sdk/node-http-handler");
13
+ const util_base64_node_1 = require("@aws-sdk/util-base64-node");
14
+ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
+ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
+ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
+ const smithy_client_2 = require("@aws-sdk/smithy-client");
21
+ const getRuntimeConfig = (config) => {
22
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
23
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
24
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
25
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
26
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
27
+ return {
28
+ ...clientSharedValues,
29
+ ...config,
30
+ runtime: "node",
31
+ defaultsMode,
32
+ base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
33
+ base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
34
+ bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
35
+ credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
36
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
+ maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
38
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
39
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
40
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
41
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
42
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
43
+ }),
44
+ sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
45
+ streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
46
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
47
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
48
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
49
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
50
+ };
51
+ };
52
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
+ const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
+ const getRuntimeConfig = (config) => {
7
+ var _a;
8
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
+ return {
10
+ ...browserDefaults,
11
+ ...config,
12
+ runtime: "react-native",
13
+ sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : sha256_js_1.Sha256,
14
+ };
15
+ };
16
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const url_parser_1 = require("@aws-sdk/url-parser");
5
+ const endpoints_1 = require("./endpoints");
6
+ const getRuntimeConfig = (config) => {
7
+ var _a, _b, _c, _d, _e;
8
+ return ({
9
+ apiVersion: "2014-06-30",
10
+ disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
11
+ logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
12
+ regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : endpoints_1.defaultRegionInfoProvider,
13
+ serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "Cognito Identity",
14
+ urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
15
+ });
16
+ };
17
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,355 @@
1
+ import { __extends } from "tslib";
2
+ import { CognitoIdentityClient } from "./CognitoIdentityClient";
3
+ import { CreateIdentityPoolCommand, } from "./commands/CreateIdentityPoolCommand";
4
+ import { DeleteIdentitiesCommand, } from "./commands/DeleteIdentitiesCommand";
5
+ import { DeleteIdentityPoolCommand, } from "./commands/DeleteIdentityPoolCommand";
6
+ import { DescribeIdentityCommand, } from "./commands/DescribeIdentityCommand";
7
+ import { DescribeIdentityPoolCommand, } from "./commands/DescribeIdentityPoolCommand";
8
+ import { GetCredentialsForIdentityCommand, } from "./commands/GetCredentialsForIdentityCommand";
9
+ import { GetIdCommand } from "./commands/GetIdCommand";
10
+ import { GetIdentityPoolRolesCommand, } from "./commands/GetIdentityPoolRolesCommand";
11
+ import { GetOpenIdTokenCommand, } from "./commands/GetOpenIdTokenCommand";
12
+ import { GetOpenIdTokenForDeveloperIdentityCommand, } from "./commands/GetOpenIdTokenForDeveloperIdentityCommand";
13
+ import { GetPrincipalTagAttributeMapCommand, } from "./commands/GetPrincipalTagAttributeMapCommand";
14
+ import { ListIdentitiesCommand, } from "./commands/ListIdentitiesCommand";
15
+ import { ListIdentityPoolsCommand, } from "./commands/ListIdentityPoolsCommand";
16
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
17
+ import { LookupDeveloperIdentityCommand, } from "./commands/LookupDeveloperIdentityCommand";
18
+ import { MergeDeveloperIdentitiesCommand, } from "./commands/MergeDeveloperIdentitiesCommand";
19
+ import { SetIdentityPoolRolesCommand, } from "./commands/SetIdentityPoolRolesCommand";
20
+ import { SetPrincipalTagAttributeMapCommand, } from "./commands/SetPrincipalTagAttributeMapCommand";
21
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
22
+ import { UnlinkDeveloperIdentityCommand, } from "./commands/UnlinkDeveloperIdentityCommand";
23
+ import { UnlinkIdentityCommand, } from "./commands/UnlinkIdentityCommand";
24
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
25
+ import { UpdateIdentityPoolCommand, } from "./commands/UpdateIdentityPoolCommand";
26
+ var CognitoIdentity = (function (_super) {
27
+ __extends(CognitoIdentity, _super);
28
+ function CognitoIdentity() {
29
+ return _super !== null && _super.apply(this, arguments) || this;
30
+ }
31
+ CognitoIdentity.prototype.createIdentityPool = function (args, optionsOrCb, cb) {
32
+ var command = new CreateIdentityPoolCommand(args);
33
+ if (typeof optionsOrCb === "function") {
34
+ this.send(command, optionsOrCb);
35
+ }
36
+ else if (typeof cb === "function") {
37
+ if (typeof optionsOrCb !== "object")
38
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
39
+ this.send(command, optionsOrCb || {}, cb);
40
+ }
41
+ else {
42
+ return this.send(command, optionsOrCb);
43
+ }
44
+ };
45
+ CognitoIdentity.prototype.deleteIdentities = function (args, optionsOrCb, cb) {
46
+ var command = new DeleteIdentitiesCommand(args);
47
+ if (typeof optionsOrCb === "function") {
48
+ this.send(command, optionsOrCb);
49
+ }
50
+ else if (typeof cb === "function") {
51
+ if (typeof optionsOrCb !== "object")
52
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
53
+ this.send(command, optionsOrCb || {}, cb);
54
+ }
55
+ else {
56
+ return this.send(command, optionsOrCb);
57
+ }
58
+ };
59
+ CognitoIdentity.prototype.deleteIdentityPool = function (args, optionsOrCb, cb) {
60
+ var command = new DeleteIdentityPoolCommand(args);
61
+ if (typeof optionsOrCb === "function") {
62
+ this.send(command, optionsOrCb);
63
+ }
64
+ else if (typeof cb === "function") {
65
+ if (typeof optionsOrCb !== "object")
66
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
67
+ this.send(command, optionsOrCb || {}, cb);
68
+ }
69
+ else {
70
+ return this.send(command, optionsOrCb);
71
+ }
72
+ };
73
+ CognitoIdentity.prototype.describeIdentity = function (args, optionsOrCb, cb) {
74
+ var command = new DescribeIdentityCommand(args);
75
+ if (typeof optionsOrCb === "function") {
76
+ this.send(command, optionsOrCb);
77
+ }
78
+ else if (typeof cb === "function") {
79
+ if (typeof optionsOrCb !== "object")
80
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
81
+ this.send(command, optionsOrCb || {}, cb);
82
+ }
83
+ else {
84
+ return this.send(command, optionsOrCb);
85
+ }
86
+ };
87
+ CognitoIdentity.prototype.describeIdentityPool = function (args, optionsOrCb, cb) {
88
+ var command = new DescribeIdentityPoolCommand(args);
89
+ if (typeof optionsOrCb === "function") {
90
+ this.send(command, optionsOrCb);
91
+ }
92
+ else if (typeof cb === "function") {
93
+ if (typeof optionsOrCb !== "object")
94
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
95
+ this.send(command, optionsOrCb || {}, cb);
96
+ }
97
+ else {
98
+ return this.send(command, optionsOrCb);
99
+ }
100
+ };
101
+ CognitoIdentity.prototype.getCredentialsForIdentity = function (args, optionsOrCb, cb) {
102
+ var command = new GetCredentialsForIdentityCommand(args);
103
+ if (typeof optionsOrCb === "function") {
104
+ this.send(command, optionsOrCb);
105
+ }
106
+ else if (typeof cb === "function") {
107
+ if (typeof optionsOrCb !== "object")
108
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
109
+ this.send(command, optionsOrCb || {}, cb);
110
+ }
111
+ else {
112
+ return this.send(command, optionsOrCb);
113
+ }
114
+ };
115
+ CognitoIdentity.prototype.getId = function (args, optionsOrCb, cb) {
116
+ var command = new GetIdCommand(args);
117
+ if (typeof optionsOrCb === "function") {
118
+ this.send(command, optionsOrCb);
119
+ }
120
+ else if (typeof cb === "function") {
121
+ if (typeof optionsOrCb !== "object")
122
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
123
+ this.send(command, optionsOrCb || {}, cb);
124
+ }
125
+ else {
126
+ return this.send(command, optionsOrCb);
127
+ }
128
+ };
129
+ CognitoIdentity.prototype.getIdentityPoolRoles = function (args, optionsOrCb, cb) {
130
+ var command = new GetIdentityPoolRolesCommand(args);
131
+ if (typeof optionsOrCb === "function") {
132
+ this.send(command, optionsOrCb);
133
+ }
134
+ else if (typeof cb === "function") {
135
+ if (typeof optionsOrCb !== "object")
136
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
137
+ this.send(command, optionsOrCb || {}, cb);
138
+ }
139
+ else {
140
+ return this.send(command, optionsOrCb);
141
+ }
142
+ };
143
+ CognitoIdentity.prototype.getOpenIdToken = function (args, optionsOrCb, cb) {
144
+ var command = new GetOpenIdTokenCommand(args);
145
+ if (typeof optionsOrCb === "function") {
146
+ this.send(command, optionsOrCb);
147
+ }
148
+ else if (typeof cb === "function") {
149
+ if (typeof optionsOrCb !== "object")
150
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
151
+ this.send(command, optionsOrCb || {}, cb);
152
+ }
153
+ else {
154
+ return this.send(command, optionsOrCb);
155
+ }
156
+ };
157
+ CognitoIdentity.prototype.getOpenIdTokenForDeveloperIdentity = function (args, optionsOrCb, cb) {
158
+ var command = new GetOpenIdTokenForDeveloperIdentityCommand(args);
159
+ if (typeof optionsOrCb === "function") {
160
+ this.send(command, optionsOrCb);
161
+ }
162
+ else if (typeof cb === "function") {
163
+ if (typeof optionsOrCb !== "object")
164
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
165
+ this.send(command, optionsOrCb || {}, cb);
166
+ }
167
+ else {
168
+ return this.send(command, optionsOrCb);
169
+ }
170
+ };
171
+ CognitoIdentity.prototype.getPrincipalTagAttributeMap = function (args, optionsOrCb, cb) {
172
+ var command = new GetPrincipalTagAttributeMapCommand(args);
173
+ if (typeof optionsOrCb === "function") {
174
+ this.send(command, optionsOrCb);
175
+ }
176
+ else if (typeof cb === "function") {
177
+ if (typeof optionsOrCb !== "object")
178
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
179
+ this.send(command, optionsOrCb || {}, cb);
180
+ }
181
+ else {
182
+ return this.send(command, optionsOrCb);
183
+ }
184
+ };
185
+ CognitoIdentity.prototype.listIdentities = function (args, optionsOrCb, cb) {
186
+ var command = new ListIdentitiesCommand(args);
187
+ if (typeof optionsOrCb === "function") {
188
+ this.send(command, optionsOrCb);
189
+ }
190
+ else if (typeof cb === "function") {
191
+ if (typeof optionsOrCb !== "object")
192
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
193
+ this.send(command, optionsOrCb || {}, cb);
194
+ }
195
+ else {
196
+ return this.send(command, optionsOrCb);
197
+ }
198
+ };
199
+ CognitoIdentity.prototype.listIdentityPools = function (args, optionsOrCb, cb) {
200
+ var command = new ListIdentityPoolsCommand(args);
201
+ if (typeof optionsOrCb === "function") {
202
+ this.send(command, optionsOrCb);
203
+ }
204
+ else if (typeof cb === "function") {
205
+ if (typeof optionsOrCb !== "object")
206
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
207
+ this.send(command, optionsOrCb || {}, cb);
208
+ }
209
+ else {
210
+ return this.send(command, optionsOrCb);
211
+ }
212
+ };
213
+ CognitoIdentity.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
214
+ var command = new ListTagsForResourceCommand(args);
215
+ if (typeof optionsOrCb === "function") {
216
+ this.send(command, optionsOrCb);
217
+ }
218
+ else if (typeof cb === "function") {
219
+ if (typeof optionsOrCb !== "object")
220
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
221
+ this.send(command, optionsOrCb || {}, cb);
222
+ }
223
+ else {
224
+ return this.send(command, optionsOrCb);
225
+ }
226
+ };
227
+ CognitoIdentity.prototype.lookupDeveloperIdentity = function (args, optionsOrCb, cb) {
228
+ var command = new LookupDeveloperIdentityCommand(args);
229
+ if (typeof optionsOrCb === "function") {
230
+ this.send(command, optionsOrCb);
231
+ }
232
+ else if (typeof cb === "function") {
233
+ if (typeof optionsOrCb !== "object")
234
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
235
+ this.send(command, optionsOrCb || {}, cb);
236
+ }
237
+ else {
238
+ return this.send(command, optionsOrCb);
239
+ }
240
+ };
241
+ CognitoIdentity.prototype.mergeDeveloperIdentities = function (args, optionsOrCb, cb) {
242
+ var command = new MergeDeveloperIdentitiesCommand(args);
243
+ if (typeof optionsOrCb === "function") {
244
+ this.send(command, optionsOrCb);
245
+ }
246
+ else if (typeof cb === "function") {
247
+ if (typeof optionsOrCb !== "object")
248
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
249
+ this.send(command, optionsOrCb || {}, cb);
250
+ }
251
+ else {
252
+ return this.send(command, optionsOrCb);
253
+ }
254
+ };
255
+ CognitoIdentity.prototype.setIdentityPoolRoles = function (args, optionsOrCb, cb) {
256
+ var command = new SetIdentityPoolRolesCommand(args);
257
+ if (typeof optionsOrCb === "function") {
258
+ this.send(command, optionsOrCb);
259
+ }
260
+ else if (typeof cb === "function") {
261
+ if (typeof optionsOrCb !== "object")
262
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
263
+ this.send(command, optionsOrCb || {}, cb);
264
+ }
265
+ else {
266
+ return this.send(command, optionsOrCb);
267
+ }
268
+ };
269
+ CognitoIdentity.prototype.setPrincipalTagAttributeMap = function (args, optionsOrCb, cb) {
270
+ var command = new SetPrincipalTagAttributeMapCommand(args);
271
+ if (typeof optionsOrCb === "function") {
272
+ this.send(command, optionsOrCb);
273
+ }
274
+ else if (typeof cb === "function") {
275
+ if (typeof optionsOrCb !== "object")
276
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
277
+ this.send(command, optionsOrCb || {}, cb);
278
+ }
279
+ else {
280
+ return this.send(command, optionsOrCb);
281
+ }
282
+ };
283
+ CognitoIdentity.prototype.tagResource = function (args, optionsOrCb, cb) {
284
+ var command = new TagResourceCommand(args);
285
+ if (typeof optionsOrCb === "function") {
286
+ this.send(command, optionsOrCb);
287
+ }
288
+ else if (typeof cb === "function") {
289
+ if (typeof optionsOrCb !== "object")
290
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
291
+ this.send(command, optionsOrCb || {}, cb);
292
+ }
293
+ else {
294
+ return this.send(command, optionsOrCb);
295
+ }
296
+ };
297
+ CognitoIdentity.prototype.unlinkDeveloperIdentity = function (args, optionsOrCb, cb) {
298
+ var command = new UnlinkDeveloperIdentityCommand(args);
299
+ if (typeof optionsOrCb === "function") {
300
+ this.send(command, optionsOrCb);
301
+ }
302
+ else if (typeof cb === "function") {
303
+ if (typeof optionsOrCb !== "object")
304
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
305
+ this.send(command, optionsOrCb || {}, cb);
306
+ }
307
+ else {
308
+ return this.send(command, optionsOrCb);
309
+ }
310
+ };
311
+ CognitoIdentity.prototype.unlinkIdentity = function (args, optionsOrCb, cb) {
312
+ var command = new UnlinkIdentityCommand(args);
313
+ if (typeof optionsOrCb === "function") {
314
+ this.send(command, optionsOrCb);
315
+ }
316
+ else if (typeof cb === "function") {
317
+ if (typeof optionsOrCb !== "object")
318
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
319
+ this.send(command, optionsOrCb || {}, cb);
320
+ }
321
+ else {
322
+ return this.send(command, optionsOrCb);
323
+ }
324
+ };
325
+ CognitoIdentity.prototype.untagResource = function (args, optionsOrCb, cb) {
326
+ var command = new UntagResourceCommand(args);
327
+ if (typeof optionsOrCb === "function") {
328
+ this.send(command, optionsOrCb);
329
+ }
330
+ else if (typeof cb === "function") {
331
+ if (typeof optionsOrCb !== "object")
332
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
333
+ this.send(command, optionsOrCb || {}, cb);
334
+ }
335
+ else {
336
+ return this.send(command, optionsOrCb);
337
+ }
338
+ };
339
+ CognitoIdentity.prototype.updateIdentityPool = function (args, optionsOrCb, cb) {
340
+ var command = new UpdateIdentityPoolCommand(args);
341
+ if (typeof optionsOrCb === "function") {
342
+ this.send(command, optionsOrCb);
343
+ }
344
+ else if (typeof cb === "function") {
345
+ if (typeof optionsOrCb !== "object")
346
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
347
+ this.send(command, optionsOrCb || {}, cb);
348
+ }
349
+ else {
350
+ return this.send(command, optionsOrCb);
351
+ }
352
+ };
353
+ return CognitoIdentity;
354
+ }(CognitoIdentityClient));
355
+ export { CognitoIdentity };
@@ -0,0 +1,38 @@
1
+ import { __extends } from "tslib";
2
+ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
+ import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
+ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
+ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
7
+ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
+ import { resolveAwsAuthConfig } from "@aws-sdk/middleware-signing";
9
+ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
+ import { Client as __Client, } from "@aws-sdk/smithy-client";
11
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
+ var CognitoIdentityClient = (function (_super) {
13
+ __extends(CognitoIdentityClient, _super);
14
+ function CognitoIdentityClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
31
+ return _this;
32
+ }
33
+ CognitoIdentityClient.prototype.destroy = function () {
34
+ _super.prototype.destroy.call(this);
35
+ };
36
+ return CognitoIdentityClient;
37
+ }(__Client));
38
+ export { CognitoIdentityClient };
@@ -0,0 +1,41 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
+ import { Command as $Command } from "@aws-sdk/smithy-client";
5
+ import { CreateIdentityPoolInputFilterSensitiveLog, IdentityPoolFilterSensitiveLog, } from "../models/models_0";
6
+ import { deserializeAws_json1_1CreateIdentityPoolCommand, serializeAws_json1_1CreateIdentityPoolCommand, } from "../protocols/Aws_json1_1";
7
+ var CreateIdentityPoolCommand = (function (_super) {
8
+ __extends(CreateIdentityPoolCommand, _super);
9
+ function CreateIdentityPoolCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
13
+ }
14
+ CreateIdentityPoolCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
15
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use(getAwsAuthPlugin(configuration));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "CognitoIdentityClient";
20
+ var commandName = "CreateIdentityPoolCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
25
+ inputFilterSensitiveLog: CreateIdentityPoolInputFilterSensitiveLog,
26
+ outputFilterSensitiveLog: IdentityPoolFilterSensitiveLog,
27
+ };
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ CreateIdentityPoolCommand.prototype.serialize = function (input, context) {
34
+ return serializeAws_json1_1CreateIdentityPoolCommand(input, context);
35
+ };
36
+ CreateIdentityPoolCommand.prototype.deserialize = function (output, context) {
37
+ return deserializeAws_json1_1CreateIdentityPoolCommand(output, context);
38
+ };
39
+ return CreateIdentityPoolCommand;
40
+ }($Command));
41
+ export { CreateIdentityPoolCommand };
@@ -0,0 +1,41 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
+ import { Command as $Command } from "@aws-sdk/smithy-client";
5
+ import { DeleteIdentitiesInputFilterSensitiveLog, DeleteIdentitiesResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { deserializeAws_json1_1DeleteIdentitiesCommand, serializeAws_json1_1DeleteIdentitiesCommand, } from "../protocols/Aws_json1_1";
7
+ var DeleteIdentitiesCommand = (function (_super) {
8
+ __extends(DeleteIdentitiesCommand, _super);
9
+ function DeleteIdentitiesCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
13
+ }
14
+ DeleteIdentitiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
15
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use(getAwsAuthPlugin(configuration));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "CognitoIdentityClient";
20
+ var commandName = "DeleteIdentitiesCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
25
+ inputFilterSensitiveLog: DeleteIdentitiesInputFilterSensitiveLog,
26
+ outputFilterSensitiveLog: DeleteIdentitiesResponseFilterSensitiveLog,
27
+ };
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DeleteIdentitiesCommand.prototype.serialize = function (input, context) {
34
+ return serializeAws_json1_1DeleteIdentitiesCommand(input, context);
35
+ };
36
+ DeleteIdentitiesCommand.prototype.deserialize = function (output, context) {
37
+ return deserializeAws_json1_1DeleteIdentitiesCommand(output, context);
38
+ };
39
+ return DeleteIdentitiesCommand;
40
+ }($Command));
41
+ export { DeleteIdentitiesCommand };
@@ -0,0 +1,41 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
+ import { Command as $Command } from "@aws-sdk/smithy-client";
5
+ import { DeleteIdentityPoolInputFilterSensitiveLog } from "../models/models_0";
6
+ import { deserializeAws_json1_1DeleteIdentityPoolCommand, serializeAws_json1_1DeleteIdentityPoolCommand, } from "../protocols/Aws_json1_1";
7
+ var DeleteIdentityPoolCommand = (function (_super) {
8
+ __extends(DeleteIdentityPoolCommand, _super);
9
+ function DeleteIdentityPoolCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
13
+ }
14
+ DeleteIdentityPoolCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
15
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use(getAwsAuthPlugin(configuration));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "CognitoIdentityClient";
20
+ var commandName = "DeleteIdentityPoolCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
25
+ inputFilterSensitiveLog: DeleteIdentityPoolInputFilterSensitiveLog,
26
+ outputFilterSensitiveLog: function (output) { return output; },
27
+ };
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DeleteIdentityPoolCommand.prototype.serialize = function (input, context) {
34
+ return serializeAws_json1_1DeleteIdentityPoolCommand(input, context);
35
+ };
36
+ DeleteIdentityPoolCommand.prototype.deserialize = function (output, context) {
37
+ return deserializeAws_json1_1DeleteIdentityPoolCommand(output, context);
38
+ };
39
+ return DeleteIdentityPoolCommand;
40
+ }($Command));
41
+ export { DeleteIdentityPoolCommand };