serverless-spy 0.0.3 → 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 -16
@@ -0,0 +1,48 @@
1
+ import { AssumeRoleCommandInput, STSClientConfig } from "@aws-sdk/client-sts";
2
+ import { CredentialProvider, Credentials } from "@aws-sdk/types";
3
+ export interface FromTemporaryCredentialsOptions {
4
+ params: Omit<AssumeRoleCommandInput, "RoleSessionName"> & {
5
+ RoleSessionName?: string;
6
+ };
7
+ masterCredentials?: Credentials | CredentialProvider;
8
+ clientConfig?: STSClientConfig;
9
+ mfaCodeProvider?: (mfaSerial: string) => Promise<string>;
10
+ }
11
+ /**
12
+ * Creates a credential provider function that retrieves temporary credentials from STS AssumeRole API.
13
+ *
14
+ * ```javascript
15
+ * import { fromTemporaryCredentials } from "@aws-sdk/credential-providers"; // ES6 import
16
+ * // const { fromTemporaryCredentials } = require("@aws-sdk/credential-providers"); // CommonJS import
17
+ *
18
+ * const client = new FooClient({
19
+ * region,
20
+ * credentials: fromTemporaryCredentials(
21
+ * // Optional. The master credentials used to get and refresh temporary credentials from AWS STS. If skipped, it uses
22
+ * // the default credential resolved by internal STS client.
23
+ * masterCredentials: fromTemporaryCredentials({
24
+ * params: { RoleArn: "arn:aws:iam::1234567890:role/RoleA" }
25
+ * }),
26
+ * // Required. Options passed to STS AssumeRole operation.
27
+ * params: {
28
+ * // Required. ARN of role to assume.
29
+ * RoleArn: "arn:aws:iam::1234567890:role/RoleB",
30
+ * // Optional. An identifier for the assumed role session. If skipped, it generates a random session name with
31
+ * // prefix of 'aws-sdk-js-'.
32
+ * RoleSessionName: "aws-sdk-js-123",
33
+ * // Optional. The duration, in seconds, of the role session.
34
+ * DurationSeconds: 3600
35
+ * //... For more options see https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
36
+ * },
37
+ * // Optional. Custom STS client configurations overriding the default ones.
38
+ * clientConfig: { region },
39
+ * // Optional. A function that returns a promise fulfilled with an MFA token code for the provided MFA Serial code.
40
+ * // Required if `params` has `SerialNumber` config.
41
+ * mfaCodeProvider: async mfaSerial => {
42
+ * return "token"
43
+ * }
44
+ * ),
45
+ * });
46
+ * ```
47
+ */
48
+ export declare const fromTemporaryCredentials: (options: FromTemporaryCredentialsOptions) => CredentialProvider;
@@ -0,0 +1,32 @@
1
+ import { STSClientConfig } from "@aws-sdk/client-sts";
2
+ import { FromTokenFileInit as _FromTokenFileInit } from "@aws-sdk/credential-provider-web-identity";
3
+ import { CredentialProvider } from "@aws-sdk/types";
4
+ export interface FromTokenFileInit extends _FromTokenFileInit {
5
+ clientConfig?: STSClientConfig;
6
+ }
7
+ /**
8
+ * Creates a credential provider function that reads OIDC token from given file, then call STS.AssumeRoleWithWebIdentity
9
+ * API. The configurations must be specified in environmental variables:
10
+ *
11
+ * - Reads file location of where the OIDC token is stored from either provided option `webIdentityTokenFile` or
12
+ * environment variable `AWS_WEB_IDENTITY_TOKEN_FILE`.
13
+ * - Reads IAM role wanting to be assumed from either provided option `roleArn` or environment variable `AWS_ROLE_ARN`.
14
+ * - Reads optional role session name to be used to distinguish sessions from provided option `roleSessionName` or
15
+ * environment variable `AWS_ROLE_SESSION_NAME`.
16
+ * If session name is not defined, it comes up with a role session name.
17
+ * - Reads OIDC token from file on disk.
18
+ * - Calls sts:AssumeRoleWithWebIdentity via `roleAssumerWithWebIdentity` option to get credentials.
19
+ *
20
+ * ```javascript
21
+ * import { fromTokenFile } from "@aws-sdk/credential-providers"; // ES6 import
22
+ * // const { fromTokenFile } = require("@aws-sdk/credential-providers"); // CommonJS import
23
+ *
24
+ * const client = new FooClient({
25
+ * credentials: fromTokenFile({
26
+ * // Optional. STS client config to make the assume role request.
27
+ * clientConfig: { region }
28
+ * });
29
+ * });
30
+ * ```
31
+ */
32
+ export declare const fromTokenFile: (init?: FromTokenFileInit) => CredentialProvider;
@@ -0,0 +1,41 @@
1
+ import { STSClientConfig } from "@aws-sdk/client-sts";
2
+ import { FromWebTokenInit as _FromWebTokenInit } from "@aws-sdk/credential-provider-web-identity";
3
+ import { CredentialProvider } from "@aws-sdk/types";
4
+ export interface FromWebTokenInit extends _FromWebTokenInit {
5
+ clientConfig?: STSClientConfig;
6
+ }
7
+ /**
8
+ * Creates a credential provider function that gets credentials calling STS
9
+ * AssumeRoleWithWebIdentity API.
10
+ *
11
+ * ```javascript
12
+ * import { fromWebToken } from "@aws-sdk/credential-providers"; // ES6 import
13
+ * // const { fromWebToken } = require("@aws-sdk/credential-providers"); // CommonJS import
14
+ *
15
+ * const dynamodb = new DynamoDBClient({
16
+ * region,
17
+ * credentials: fromWebToken({
18
+ * // Required. ARN of the role that the caller is assuming.
19
+ * roleArn: "arn:aws:iam::1234567890:role/RoleA",
20
+ * // Required. The OAuth 2.0 access token or OpenID Connect ID token that is provided by the identity provider.
21
+ * webIdentityToken: await openIdProvider()
22
+ * // Optional. Custom STS client configurations overriding the default ones.
23
+ * clientConfig: { region }
24
+ * // Optional. A function that assumes a role with web identity and returns a promise fulfilled with credentials for
25
+ * // the assumed role.
26
+ * roleAssumerWithWebIdentity,
27
+ * // Optional. An identifier for the assumed role session.
28
+ * roleSessionName: "session_123",
29
+ * // Optional. The fully qualified host component of the domain name of the identity provider.
30
+ * providerId: "graph.facebook.com",
31
+ * // Optional. ARNs of the IAM managed policies that you want to use as managed session.
32
+ * policyArns: [{arn: "arn:aws:iam::1234567890:policy/SomePolicy"}],
33
+ * // Optional. An IAM policy in JSON format that you want to use as an inline session policy.
34
+ * policy: "JSON_STRING",
35
+ * // Optional. The duration, in seconds, of the role session. Default to 3600.
36
+ * durationSeconds: 7200
37
+ * }),
38
+ * });
39
+ * ```
40
+ */
41
+ export declare const fromWebToken: (init: FromWebTokenInit) => CredentialProvider;
@@ -0,0 +1,12 @@
1
+ export * from "./fromCognitoIdentity";
2
+ export * from "./fromCognitoIdentityPool";
3
+ export * from "./fromContainerMetadata";
4
+ export * from "./fromEnv";
5
+ export * from "./fromIni";
6
+ export * from "./fromInstanceMetadata";
7
+ export * from "./fromNodeProviderChain";
8
+ export * from "./fromProcess";
9
+ export * from "./fromSSO";
10
+ export * from "./fromTemporaryCredentials";
11
+ export * from "./fromTokenFile";
12
+ export * from "./fromWebToken";
@@ -0,0 +1,4 @@
1
+ export * from "./fromCognitoIdentity";
2
+ export * from "./fromCognitoIdentityPool";
3
+ export * from "./fromTemporaryCredentials";
4
+ export * from "./fromWebToken";
@@ -0,0 +1,9 @@
1
+ import { CognitoIdentityClientConfig } from "@aws-sdk/client-cognito-identity";
2
+ import { CognitoIdentityCredentialProvider as _CognitoIdentityCredentialProvider, FromCognitoIdentityParameters as _FromCognitoIdentityParameters } from "@aws-sdk/credential-provider-cognito-identity";
3
+ export interface FromCognitoIdentityParameters extends Pick<_FromCognitoIdentityParameters, Exclude<keyof _FromCognitoIdentityParameters, "client">> {
4
+
5
+ clientConfig?: CognitoIdentityClientConfig;
6
+ }
7
+ export declare type CognitoIdentityCredentialProvider = _CognitoIdentityCredentialProvider;
8
+
9
+ export declare const fromCognitoIdentity: (options: FromCognitoIdentityParameters) => _CognitoIdentityCredentialProvider;
@@ -0,0 +1,7 @@
1
+ import { CognitoIdentityClientConfig } from "@aws-sdk/client-cognito-identity";
2
+ import { CognitoIdentityCredentialProvider, FromCognitoIdentityPoolParameters as _FromCognitoIdentityPoolParameters } from "@aws-sdk/credential-provider-cognito-identity";
3
+ export interface FromCognitoIdentityPoolParameters extends Pick<_FromCognitoIdentityPoolParameters, Exclude<keyof _FromCognitoIdentityPoolParameters, "client">> {
4
+ clientConfig?: CognitoIdentityClientConfig;
5
+ }
6
+
7
+ export declare const fromCognitoIdentityPool: (options: FromCognitoIdentityPoolParameters) => CognitoIdentityCredentialProvider;
@@ -0,0 +1,6 @@
1
+ import { RemoteProviderInit as _RemoteProviderInit } from "@aws-sdk/credential-provider-imds";
2
+ import { CredentialProvider } from "@aws-sdk/types";
3
+ export interface RemoteProviderInit extends _RemoteProviderInit {
4
+ }
5
+
6
+ export declare const fromContainerMetadata: (init?: RemoteProviderInit | undefined) => CredentialProvider;
@@ -0,0 +1,3 @@
1
+ import { CredentialProvider } from "@aws-sdk/types";
2
+
3
+ export declare const fromEnv: () => CredentialProvider;
@@ -0,0 +1,8 @@
1
+ import { STSClientConfig } from "@aws-sdk/client-sts";
2
+ import { FromIniInit as _FromIniInit } from "@aws-sdk/credential-provider-ini";
3
+ import { CredentialProvider } from "@aws-sdk/types";
4
+ export interface FromIniInit extends _FromIniInit {
5
+ clientConfig?: STSClientConfig;
6
+ }
7
+
8
+ export declare const fromIni: (init?: FromIniInit) => CredentialProvider;
@@ -0,0 +1,4 @@
1
+ import { RemoteProviderConfig as _RemoteProviderInit } from "@aws-sdk/credential-provider-imds";
2
+ import { CredentialProvider } from "@aws-sdk/types";
3
+
4
+ export declare const fromInstanceMetadata: (init?: _RemoteProviderInit | undefined) => CredentialProvider;
@@ -0,0 +1,8 @@
1
+ import { STSClientConfig } from "@aws-sdk/client-sts";
2
+ import { DefaultProviderInit } from "@aws-sdk/credential-provider-node";
3
+ import { CredentialProvider } from "@aws-sdk/types";
4
+ export interface fromNodeProviderChainInit extends DefaultProviderInit {
5
+ clientConfig?: STSClientConfig;
6
+ }
7
+
8
+ export declare const fromNodeProviderChain: (init?: fromNodeProviderChainInit) => CredentialProvider;
@@ -0,0 +1,6 @@
1
+ import { FromProcessInit as _FromProcessInit } from "@aws-sdk/credential-provider-process";
2
+ import { CredentialProvider } from "@aws-sdk/types";
3
+ export interface FromProcessInit extends _FromProcessInit {
4
+ }
5
+
6
+ export declare const fromProcess: (init?: FromProcessInit | undefined) => CredentialProvider;
@@ -0,0 +1,8 @@
1
+ import { SSOClientConfig } from "@aws-sdk/client-sso";
2
+ import { FromSSOInit as _FromSSOInit } from "@aws-sdk/credential-provider-sso";
3
+ import { CredentialProvider } from "@aws-sdk/types";
4
+ export interface FromSSOInit extends Pick<_FromSSOInit, Exclude<keyof _FromSSOInit, "client">> {
5
+ clientConfig?: SSOClientConfig;
6
+ }
7
+
8
+ export declare const fromSSO: (init?: FromSSOInit) => CredentialProvider;
@@ -0,0 +1,12 @@
1
+ import { AssumeRoleCommandInput, STSClientConfig } from "@aws-sdk/client-sts";
2
+ import { CredentialProvider, Credentials } from "@aws-sdk/types";
3
+ export interface FromTemporaryCredentialsOptions {
4
+ params: Pick<AssumeRoleCommandInput, Exclude<keyof AssumeRoleCommandInput, "RoleSessionName">> & {
5
+ RoleSessionName?: string;
6
+ };
7
+ masterCredentials?: Credentials | CredentialProvider;
8
+ clientConfig?: STSClientConfig;
9
+ mfaCodeProvider?: (mfaSerial: string) => Promise<string>;
10
+ }
11
+
12
+ export declare const fromTemporaryCredentials: (options: FromTemporaryCredentialsOptions) => CredentialProvider;
@@ -0,0 +1,8 @@
1
+ import { STSClientConfig } from "@aws-sdk/client-sts";
2
+ import { FromTokenFileInit as _FromTokenFileInit } from "@aws-sdk/credential-provider-web-identity";
3
+ import { CredentialProvider } from "@aws-sdk/types";
4
+ export interface FromTokenFileInit extends _FromTokenFileInit {
5
+ clientConfig?: STSClientConfig;
6
+ }
7
+
8
+ export declare const fromTokenFile: (init?: FromTokenFileInit) => CredentialProvider;
@@ -0,0 +1,8 @@
1
+ import { STSClientConfig } from "@aws-sdk/client-sts";
2
+ import { FromWebTokenInit as _FromWebTokenInit } from "@aws-sdk/credential-provider-web-identity";
3
+ import { CredentialProvider } from "@aws-sdk/types";
4
+ export interface FromWebTokenInit extends _FromWebTokenInit {
5
+ clientConfig?: STSClientConfig;
6
+ }
7
+
8
+ export declare const fromWebToken: (init: FromWebTokenInit) => CredentialProvider;
@@ -0,0 +1,12 @@
1
+ export * from "./fromCognitoIdentity";
2
+ export * from "./fromCognitoIdentityPool";
3
+ export * from "./fromContainerMetadata";
4
+ export * from "./fromEnv";
5
+ export * from "./fromIni";
6
+ export * from "./fromInstanceMetadata";
7
+ export * from "./fromNodeProviderChain";
8
+ export * from "./fromProcess";
9
+ export * from "./fromSSO";
10
+ export * from "./fromTemporaryCredentials";
11
+ export * from "./fromTokenFile";
12
+ export * from "./fromWebToken";
@@ -0,0 +1,4 @@
1
+ export * from "./fromCognitoIdentity";
2
+ export * from "./fromCognitoIdentityPool";
3
+ export * from "./fromTemporaryCredentials";
4
+ export * from "./fromWebToken";
@@ -0,0 +1,78 @@
1
+ {
2
+ "name": "@aws-sdk/credential-providers",
3
+ "version": "3.154.0",
4
+ "description": "A collection of credential providers, without requiring service clients like STS, Cognito",
5
+ "main": "./dist-cjs/index.js",
6
+ "module": "./dist-es/index.js",
7
+ "browser": "./dist-es/index.web.js",
8
+ "react-native": "./dist-es/index.web.js",
9
+ "sideEffects": false,
10
+ "scripts": {
11
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
12
+ "build:cjs": "tsc -p tsconfig.cjs.json",
13
+ "build:es": "tsc -p tsconfig.es.json",
14
+ "build:types": "tsc -p tsconfig.types.json",
15
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
16
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
17
+ "test": "jest"
18
+ },
19
+ "keywords": [
20
+ "aws",
21
+ "credentials"
22
+ ],
23
+ "author": {
24
+ "name": "AWS SDK for JavaScript Team",
25
+ "url": "https://aws.amazon.com/javascript/"
26
+ },
27
+ "license": "Apache-2.0",
28
+ "dependencies": {
29
+ "@aws-sdk/client-cognito-identity": "3.154.0",
30
+ "@aws-sdk/client-sso": "3.154.0",
31
+ "@aws-sdk/client-sts": "3.154.0",
32
+ "@aws-sdk/credential-provider-cognito-identity": "3.154.0",
33
+ "@aws-sdk/credential-provider-env": "3.127.0",
34
+ "@aws-sdk/credential-provider-imds": "3.127.0",
35
+ "@aws-sdk/credential-provider-ini": "3.154.0",
36
+ "@aws-sdk/credential-provider-node": "3.154.0",
37
+ "@aws-sdk/credential-provider-process": "3.127.0",
38
+ "@aws-sdk/credential-provider-sso": "3.154.0",
39
+ "@aws-sdk/credential-provider-web-identity": "3.127.0",
40
+ "@aws-sdk/property-provider": "3.127.0",
41
+ "@aws-sdk/shared-ini-file-loader": "3.127.0",
42
+ "@aws-sdk/types": "3.127.0",
43
+ "tslib": "^2.3.1"
44
+ },
45
+ "devDependencies": {
46
+ "@tsconfig/recommended": "1.0.1",
47
+ "@types/node": "^10.0.0",
48
+ "concurrently": "7.0.0",
49
+ "downlevel-dts": "0.7.0",
50
+ "rimraf": "3.0.2",
51
+ "typedoc": "0.19.2",
52
+ "typescript": "~4.6.2"
53
+ },
54
+ "types": "./dist-types/index.d.ts",
55
+ "engines": {
56
+ "node": ">= 12.0.0"
57
+ },
58
+ "typesVersions": {
59
+ "<4.0": {
60
+ "dist-types/*": [
61
+ "dist-types/ts3.4/*"
62
+ ]
63
+ }
64
+ },
65
+ "files": [
66
+ "dist-*"
67
+ ],
68
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/credential-providers",
69
+ "repository": {
70
+ "type": "git",
71
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
72
+ "directory": "packages/credential-providers"
73
+ }
74
+
75
+ ,"_resolved": "https://registry.npmjs.org/@aws-sdk/credential-providers/-/credential-providers-3.154.0.tgz"
76
+ ,"_integrity": "sha512-aSyEMwUu6HzM7K9x9zlLHHzsyt4KTfkn1obblN7DdOmUipM+dR6upNkAiilpYa/F7jAIkU+cXe3btvRo5SAoAw=="
77
+ ,"_from": "@aws-sdk/credential-providers@3.154.0"
78
+ }
package/package.json CHANGED
@@ -95,28 +95,15 @@
95
95
  "@aws-sdk/util-dynamodb": "^3.142.0",
96
96
  "@serverless-stack/node": "^1.6.0",
97
97
  "aws-lambda": "^1.0.7",
98
- "aws4": "^1.11.0"
98
+ "aws4": "^1.11.0",
99
+ "@aws-sdk/credential-providers": "^3.145.0"
99
100
  },
100
- "bundledDependencies": [
101
- "@aws-sdk/client-apigatewaymanagementapi",
102
- "@aws-sdk/client-dynamodb",
103
- "@aws-sdk/client-eventbridge",
104
- "@aws-sdk/client-lambda",
105
- "@aws-sdk/client-s3",
106
- "@aws-sdk/client-sns",
107
- "@aws-sdk/client-sqs",
108
- "@aws-sdk/lib-dynamodb",
109
- "@aws-sdk/util-dynamodb",
110
- "@serverless-stack/node",
111
- "aws4",
112
- "aws-lambda"
113
- ],
114
101
  "keywords": [
115
102
  "cdk"
116
103
  ],
117
104
  "main": "lib/index.js",
118
105
  "license": "Apache-2.0",
119
- "version": "0.0.3",
106
+ "version": "0.0.6",
120
107
  "types": "lib/index.d.ts",
121
108
  "stability": "stable",
122
109
  "jsii": {
@@ -131,6 +118,7 @@
131
118
  "@types/prettier": "2.6.0"
132
119
  },
133
120
  "bundleDependencies": [
121
+ "@aws-sdk/credential-providers",
134
122
  "@aws-sdk/client-apigatewaymanagementapi",
135
123
  "@aws-sdk/client-dynamodb",
136
124
  "@aws-sdk/client-eventbridge",