@cdklabs/cdk-ecs-codedeploy 0.0.446 → 0.0.447

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 (589) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws/lambda-invoke-store/README.md +25 -1
  7. package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +12 -0
  8. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +12 -0
  9. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +6 -0
  10. package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +4188 -578
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commandBuilder.js +6 -0
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +2 -14
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationRevisionsCommand.js +2 -14
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationsCommand.js +2 -14
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentGroupsCommand.js +2 -14
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentInstancesCommand.js +2 -14
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentTargetsCommand.js +2 -14
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentsCommand.js +2 -14
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +2 -14
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ContinueDeploymentCommand.js +2 -14
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateApplicationCommand.js +2 -14
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentCommand.js +2 -14
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentConfigCommand.js +2 -14
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentGroupCommand.js +2 -14
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteApplicationCommand.js +2 -14
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentConfigCommand.js +2 -14
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentGroupCommand.js +2 -14
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteGitHubAccountTokenCommand.js +2 -14
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteResourcesByExternalIdCommand.js +2 -14
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +2 -14
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationCommand.js +2 -14
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationRevisionCommand.js +2 -14
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentCommand.js +2 -14
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentConfigCommand.js +2 -14
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentGroupCommand.js +2 -14
  37. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentInstanceCommand.js +2 -14
  38. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentTargetCommand.js +2 -14
  39. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetOnPremisesInstanceCommand.js +2 -14
  40. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationRevisionsCommand.js +2 -14
  41. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationsCommand.js +2 -14
  42. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentConfigsCommand.js +2 -14
  43. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentGroupsCommand.js +2 -14
  44. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentInstancesCommand.js +2 -14
  45. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentTargetsCommand.js +2 -14
  46. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentsCommand.js +2 -14
  47. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +2 -14
  48. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListOnPremisesInstancesCommand.js +2 -14
  49. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  50. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +2 -14
  51. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterApplicationRevisionCommand.js +2 -14
  52. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterOnPremisesInstanceCommand.js +2 -14
  53. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +2 -14
  54. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +2 -14
  55. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/StopDeploymentCommand.js +2 -14
  56. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/TagResourceCommand.js +2 -14
  57. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UntagResourceCommand.js +2 -14
  58. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateApplicationCommand.js +2 -14
  59. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateDeploymentGroupCommand.js +2 -14
  60. package/node_modules/@aws-sdk/client-codedeploy/dist-es/index.js +1 -0
  61. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.browser.js +0 -2
  62. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.js +1 -2
  63. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.native.js +0 -2
  64. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +2 -0
  65. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commandBuilder.d.ts +18 -0
  66. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +3 -8
  67. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +3 -8
  68. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +3 -8
  69. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +3 -8
  70. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +3 -8
  71. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +3 -8
  72. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +3 -8
  73. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +3 -8
  74. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +3 -8
  75. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +3 -8
  76. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +3 -8
  77. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +3 -8
  78. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +3 -8
  79. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +3 -8
  80. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +3 -8
  81. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +3 -8
  82. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +3 -8
  83. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +3 -8
  84. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +3 -8
  85. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +3 -8
  86. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +3 -8
  87. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +3 -8
  88. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +3 -8
  89. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +3 -8
  90. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +3 -8
  91. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +3 -8
  92. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +3 -8
  93. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +3 -8
  94. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +3 -8
  95. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +3 -8
  96. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +3 -8
  97. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +3 -8
  98. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +3 -8
  99. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +3 -8
  100. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +3 -8
  101. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +3 -8
  102. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  103. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +3 -8
  104. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +3 -8
  105. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +3 -8
  106. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +3 -8
  107. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +3 -8
  108. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +3 -8
  109. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +3 -8
  110. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  111. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +3 -8
  112. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +3 -8
  113. package/node_modules/@aws-sdk/client-codedeploy/dist-types/index.d.ts +1 -0
  114. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +2 -2
  115. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +2 -2
  116. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +2 -2
  117. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +1 -0
  118. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  119. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +7 -16
  120. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +7 -16
  121. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +7 -16
  122. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +7 -16
  123. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +7 -16
  124. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +7 -16
  125. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +7 -16
  126. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +7 -16
  127. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +7 -16
  128. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +7 -16
  129. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +7 -16
  130. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +7 -16
  131. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +7 -16
  132. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +7 -16
  133. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +7 -16
  134. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +7 -16
  135. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +7 -16
  136. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +7 -16
  137. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +7 -16
  138. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +7 -16
  139. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationRevisionCommand.d.ts +7 -16
  140. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +7 -16
  141. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentConfigCommand.d.ts +7 -16
  142. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentGroupCommand.d.ts +7 -16
  143. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +7 -16
  144. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentTargetCommand.d.ts +7 -16
  145. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +7 -16
  146. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +7 -16
  147. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +7 -16
  148. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +7 -16
  149. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +7 -16
  150. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +7 -16
  151. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +7 -16
  152. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +7 -16
  153. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +7 -16
  154. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +7 -16
  155. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  156. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +7 -16
  157. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +7 -16
  158. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +7 -16
  159. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +7 -16
  160. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +7 -16
  161. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +7 -16
  162. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  163. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  164. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +7 -16
  165. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +7 -16
  166. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/index.d.ts +1 -0
  167. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
  168. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
  169. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
  170. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  171. package/node_modules/@aws-sdk/client-codedeploy/package.json +8 -10
  172. package/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +1 -3
  173. package/node_modules/@aws-sdk/core/client.d.ts +1 -3
  174. package/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +1 -3
  175. package/node_modules/@aws-sdk/core/package.json +10 -17
  176. package/node_modules/@aws-sdk/core/protocols.d.ts +1 -3
  177. package/node_modules/@aws-sdk/core/util.d.ts +1 -3
  178. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  179. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +172 -1
  180. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -10
  181. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  182. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  183. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  184. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  185. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  186. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +58 -3
  187. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -8
  188. package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +1 -3
  189. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +13 -25
  190. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +13 -17
  191. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +12 -15
  192. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +12 -15
  193. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +13 -25
  194. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commandBuilder.js +6 -0
  195. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +2 -14
  196. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +2 -14
  197. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +1 -0
  198. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +0 -2
  199. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +1 -2
  200. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.native.js +0 -2
  201. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +2 -0
  202. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js +8 -0
  203. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +2 -17
  204. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js +1 -0
  205. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +0 -2
  206. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +1 -2
  207. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js +0 -2
  208. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
  209. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commandBuilder.js +6 -0
  210. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +2 -14
  211. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/index.js +1 -0
  212. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +0 -2
  213. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +1 -2
  214. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +0 -2
  215. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +2 -0
  216. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commandBuilder.js +6 -0
  217. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +2 -14
  218. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js +1 -0
  219. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +0 -2
  220. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +1 -2
  221. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.native.js +0 -2
  222. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  223. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commandBuilder.js +6 -0
  224. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +2 -14
  225. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +2 -14
  226. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js +1 -0
  227. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +0 -2
  228. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +1 -2
  229. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.native.js +0 -2
  230. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
  231. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commandBuilder.d.ts +18 -0
  232. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +3 -8
  233. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +3 -8
  234. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +1 -0
  235. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -2
  236. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +2 -2
  237. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -2
  238. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -0
  239. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commandBuilder.d.ts +18 -0
  240. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +3 -8
  241. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -0
  242. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +2 -2
  243. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +2 -2
  244. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +2 -2
  245. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +1 -0
  246. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commandBuilder.d.ts +18 -0
  247. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +3 -8
  248. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts +1 -0
  249. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +2 -2
  250. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +2 -2
  251. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +2 -2
  252. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +1 -0
  253. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commandBuilder.d.ts +18 -0
  254. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -8
  255. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +1 -0
  256. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -2
  257. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +2 -2
  258. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
  259. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
  260. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commandBuilder.d.ts +18 -0
  261. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -8
  262. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -8
  263. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +1 -0
  264. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +2 -2
  265. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +2 -2
  266. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +2 -2
  267. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
  268. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commandBuilder.d.ts +46 -0
  269. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +7 -16
  270. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +7 -16
  271. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +1 -0
  272. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +8 -2
  273. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +8 -2
  274. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +8 -2
  275. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -0
  276. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commandBuilder.d.ts +42 -0
  277. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +3 -8
  278. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts +1 -0
  279. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +8 -2
  280. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +8 -2
  281. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +8 -2
  282. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +1 -0
  283. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commandBuilder.d.ts +42 -0
  284. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +3 -8
  285. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/index.d.ts +1 -0
  286. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +8 -2
  287. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +8 -2
  288. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +8 -2
  289. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +1 -0
  290. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commandBuilder.d.ts +42 -0
  291. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -8
  292. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +1 -0
  293. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +8 -2
  294. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +8 -2
  295. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +8 -2
  296. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
  297. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commandBuilder.d.ts +46 -0
  298. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +7 -16
  299. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +7 -16
  300. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts +1 -0
  301. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +8 -2
  302. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +8 -2
  303. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +8 -2
  304. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +1 -0
  305. package/node_modules/@aws-sdk/nested-clients/package.json +8 -10
  306. package/node_modules/@aws-sdk/nested-clients/signin.d.ts +1 -3
  307. package/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts +1 -3
  308. package/node_modules/@aws-sdk/nested-clients/sso.d.ts +1 -3
  309. package/node_modules/@aws-sdk/nested-clients/sts.d.ts +1 -3
  310. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  311. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  312. package/node_modules/@aws-sdk/types/package.json +2 -2
  313. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +236 -3
  314. package/node_modules/@aws-sdk/xml-builder/package.json +3 -4
  315. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +4 -1
  316. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +8 -2
  317. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +4 -1
  318. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +18 -0
  319. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +108 -63
  320. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +11 -8
  321. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -8
  322. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +31 -27
  323. package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js +4 -1
  324. package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js +4 -1
  325. package/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -0
  326. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client-command-builder.js +17 -0
  327. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js +6 -1
  328. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js +92 -0
  329. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js +3 -0
  330. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js +3 -56
  331. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/EventStreamCodec.js +5 -3
  332. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/splitMessage.js +7 -6
  333. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +31 -27
  334. package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Js.d.ts +5 -0
  335. package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Node.d.ts +5 -0
  336. package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -0
  337. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client-command-builder.d.ts +22 -0
  338. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/command.d.ts +5 -6
  339. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +7 -0
  340. package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/constants.d.ts +12 -0
  341. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +4 -5
  342. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +4 -5
  343. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.d.ts +3 -4
  344. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/endpointMiddleware.d.ts +1 -2
  345. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/getEndpointPlugin.d.ts +1 -2
  346. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +22 -14
  347. package/node_modules/@smithy/core/package.json +2 -3
  348. package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
  349. package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
  350. package/node_modules/@smithy/node-http-handler/package.json +4 -4
  351. package/node_modules/@smithy/signature-v4/package.json +3 -4
  352. package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
  353. package/node_modules/@smithy/types/package.json +1 -1
  354. package/package.json +2 -2
  355. package/node_modules/@aws-crypto/crc32/CHANGELOG.md +0 -100
  356. package/node_modules/@aws-crypto/crc32/LICENSE +0 -201
  357. package/node_modules/@aws-crypto/crc32/README.md +0 -16
  358. package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.d.ts +0 -7
  359. package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +0 -31
  360. package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js.map +0 -1
  361. package/node_modules/@aws-crypto/crc32/build/main/index.d.ts +0 -7
  362. package/node_modules/@aws-crypto/crc32/build/main/index.js +0 -108
  363. package/node_modules/@aws-crypto/crc32/build/main/index.js.map +0 -1
  364. package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.d.ts +0 -7
  365. package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js +0 -28
  366. package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js.map +0 -1
  367. package/node_modules/@aws-crypto/crc32/build/module/index.d.ts +0 -7
  368. package/node_modules/@aws-crypto/crc32/build/module/index.js +0 -103
  369. package/node_modules/@aws-crypto/crc32/build/module/index.js.map +0 -1
  370. package/node_modules/@aws-crypto/crc32/package.json +0 -32
  371. package/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +0 -24
  372. package/node_modules/@aws-crypto/crc32/src/index.ts +0 -92
  373. package/node_modules/@aws-crypto/crc32/tsconfig.json +0 -9
  374. package/node_modules/@aws-crypto/crc32/tsconfig.module.json +0 -7
  375. package/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +0 -118
  376. package/node_modules/@aws-crypto/sha256-browser/LICENSE +0 -202
  377. package/node_modules/@aws-crypto/sha256-browser/README.md +0 -31
  378. package/node_modules/@aws-crypto/sha256-browser/build/main/constants.d.ts +0 -10
  379. package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js +0 -43
  380. package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js.map +0 -1
  381. package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.d.ts +0 -8
  382. package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js +0 -30
  383. package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js.map +0 -1
  384. package/node_modules/@aws-crypto/sha256-browser/build/main/index.d.ts +0 -2
  385. package/node_modules/@aws-crypto/sha256-browser/build/main/index.js +0 -8
  386. package/node_modules/@aws-crypto/sha256-browser/build/main/index.js.map +0 -1
  387. package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.d.ts +0 -2
  388. package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js +0 -11
  389. package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js.map +0 -1
  390. package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.d.ts +0 -10
  391. package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js +0 -56
  392. package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js.map +0 -1
  393. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.d.ts +0 -10
  394. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js +0 -40
  395. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js.map +0 -1
  396. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.d.ts +0 -8
  397. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js +0 -27
  398. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js.map +0 -1
  399. package/node_modules/@aws-crypto/sha256-browser/build/module/index.d.ts +0 -2
  400. package/node_modules/@aws-crypto/sha256-browser/build/module/index.js +0 -3
  401. package/node_modules/@aws-crypto/sha256-browser/build/module/index.js.map +0 -1
  402. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.d.ts +0 -2
  403. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js +0 -7
  404. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js.map +0 -1
  405. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.d.ts +0 -10
  406. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js +0 -53
  407. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js.map +0 -1
  408. package/node_modules/@aws-crypto/sha256-browser/package.json +0 -33
  409. package/node_modules/@aws-crypto/sha256-browser/src/constants.ts +0 -41
  410. package/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +0 -30
  411. package/node_modules/@aws-crypto/sha256-browser/src/index.ts +0 -2
  412. package/node_modules/@aws-crypto/sha256-browser/src/isEmptyData.ts +0 -9
  413. package/node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts +0 -71
  414. package/node_modules/@aws-crypto/sha256-browser/tsconfig.json +0 -10
  415. package/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json +0 -7
  416. package/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +0 -106
  417. package/node_modules/@aws-crypto/sha256-js/LICENSE +0 -201
  418. package/node_modules/@aws-crypto/sha256-js/README.md +0 -29
  419. package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.d.ts +0 -17
  420. package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js +0 -124
  421. package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js.map +0 -1
  422. package/node_modules/@aws-crypto/sha256-js/build/main/constants.d.ts +0 -20
  423. package/node_modules/@aws-crypto/sha256-js/build/main/constants.js +0 -98
  424. package/node_modules/@aws-crypto/sha256-js/build/main/constants.js.map +0 -1
  425. package/node_modules/@aws-crypto/sha256-js/build/main/index.d.ts +0 -1
  426. package/node_modules/@aws-crypto/sha256-js/build/main/index.js +0 -5
  427. package/node_modules/@aws-crypto/sha256-js/build/main/index.js.map +0 -1
  428. package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.d.ts +0 -12
  429. package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js +0 -85
  430. package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js.map +0 -1
  431. package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.d.ts +0 -5
  432. package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js +0 -322
  433. package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js.map +0 -1
  434. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.d.ts +0 -17
  435. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js +0 -121
  436. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js.map +0 -1
  437. package/node_modules/@aws-crypto/sha256-js/build/module/constants.d.ts +0 -20
  438. package/node_modules/@aws-crypto/sha256-js/build/module/constants.js +0 -95
  439. package/node_modules/@aws-crypto/sha256-js/build/module/constants.js.map +0 -1
  440. package/node_modules/@aws-crypto/sha256-js/build/module/index.d.ts +0 -1
  441. package/node_modules/@aws-crypto/sha256-js/build/module/index.js +0 -2
  442. package/node_modules/@aws-crypto/sha256-js/build/module/index.js.map +0 -1
  443. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.d.ts +0 -12
  444. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js +0 -82
  445. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js.map +0 -1
  446. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.d.ts +0 -5
  447. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js +0 -319
  448. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js.map +0 -1
  449. package/node_modules/@aws-crypto/sha256-js/package.json +0 -32
  450. package/node_modules/@aws-crypto/sha256-js/src/RawSha256.ts +0 -164
  451. package/node_modules/@aws-crypto/sha256-js/src/constants.ts +0 -98
  452. package/node_modules/@aws-crypto/sha256-js/src/index.ts +0 -1
  453. package/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts +0 -94
  454. package/node_modules/@aws-crypto/sha256-js/src/knownHashes.fixture.ts +0 -401
  455. package/node_modules/@aws-crypto/sha256-js/tsconfig.json +0 -10
  456. package/node_modules/@aws-crypto/sha256-js/tsconfig.module.json +0 -7
  457. package/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +0 -66
  458. package/node_modules/@aws-crypto/supports-web-crypto/LICENSE +0 -202
  459. package/node_modules/@aws-crypto/supports-web-crypto/README.md +0 -32
  460. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.d.ts +0 -1
  461. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js +0 -5
  462. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js.map +0 -1
  463. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.d.ts +0 -4
  464. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js +0 -69
  465. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js.map +0 -1
  466. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.d.ts +0 -1
  467. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js +0 -2
  468. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js.map +0 -1
  469. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.d.ts +0 -4
  470. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js +0 -62
  471. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js.map +0 -1
  472. package/node_modules/@aws-crypto/supports-web-crypto/package.json +0 -28
  473. package/node_modules/@aws-crypto/supports-web-crypto/src/index.ts +0 -1
  474. package/node_modules/@aws-crypto/supports-web-crypto/src/supportsWebCrypto.ts +0 -76
  475. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json +0 -10
  476. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json +0 -7
  477. package/node_modules/@aws-crypto/util/CHANGELOG.md +0 -71
  478. package/node_modules/@aws-crypto/util/LICENSE +0 -201
  479. package/node_modules/@aws-crypto/util/README.md +0 -16
  480. package/node_modules/@aws-crypto/util/build/main/convertToBuffer.d.ts +0 -2
  481. package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +0 -24
  482. package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js.map +0 -1
  483. package/node_modules/@aws-crypto/util/build/main/index.d.ts +0 -4
  484. package/node_modules/@aws-crypto/util/build/main/index.js +0 -14
  485. package/node_modules/@aws-crypto/util/build/main/index.js.map +0 -1
  486. package/node_modules/@aws-crypto/util/build/main/isEmptyData.d.ts +0 -2
  487. package/node_modules/@aws-crypto/util/build/main/isEmptyData.js +0 -13
  488. package/node_modules/@aws-crypto/util/build/main/isEmptyData.js.map +0 -1
  489. package/node_modules/@aws-crypto/util/build/main/numToUint8.d.ts +0 -1
  490. package/node_modules/@aws-crypto/util/build/main/numToUint8.js +0 -15
  491. package/node_modules/@aws-crypto/util/build/main/numToUint8.js.map +0 -1
  492. package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.d.ts +0 -1
  493. package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +0 -20
  494. package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js.map +0 -1
  495. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.d.ts +0 -2
  496. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js +0 -20
  497. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js.map +0 -1
  498. package/node_modules/@aws-crypto/util/build/module/index.d.ts +0 -4
  499. package/node_modules/@aws-crypto/util/build/module/index.js +0 -7
  500. package/node_modules/@aws-crypto/util/build/module/index.js.map +0 -1
  501. package/node_modules/@aws-crypto/util/build/module/isEmptyData.d.ts +0 -2
  502. package/node_modules/@aws-crypto/util/build/module/isEmptyData.js +0 -9
  503. package/node_modules/@aws-crypto/util/build/module/isEmptyData.js.map +0 -1
  504. package/node_modules/@aws-crypto/util/build/module/numToUint8.d.ts +0 -1
  505. package/node_modules/@aws-crypto/util/build/module/numToUint8.js +0 -11
  506. package/node_modules/@aws-crypto/util/build/module/numToUint8.js.map +0 -1
  507. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.d.ts +0 -1
  508. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js +0 -16
  509. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js.map +0 -1
  510. package/node_modules/@aws-crypto/util/package.json +0 -32
  511. package/node_modules/@aws-crypto/util/src/convertToBuffer.ts +0 -30
  512. package/node_modules/@aws-crypto/util/src/index.ts +0 -7
  513. package/node_modules/@aws-crypto/util/src/isEmptyData.ts +0 -12
  514. package/node_modules/@aws-crypto/util/src/numToUint8.ts +0 -11
  515. package/node_modules/@aws-crypto/util/src/uint32ArrayFrom.ts +0 -16
  516. package/node_modules/@aws-crypto/util/tsconfig.json +0 -9
  517. package/node_modules/@aws-crypto/util/tsconfig.module.json +0 -7
  518. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
  519. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/bdd.js +0 -46
  520. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/endpointResolver.js +0 -14
  521. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/CodeDeployServiceException.js +0 -8
  522. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/errors.js +0 -1321
  523. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.browser.js +0 -32
  524. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.js +0 -45
  525. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.native.js +0 -12
  526. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +0 -39
  527. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/schemas/schemas_0.js +0 -2398
  528. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +0 -869
  529. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +0 -862
  530. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +0 -42
  531. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +0 -27
  532. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +0 -71
  533. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +0 -49
  534. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +0 -13
  535. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +0 -2
  536. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +0 -29
  537. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +0 -25
  538. package/node_modules/@aws-sdk/util-locate-window/LICENSE +0 -201
  539. package/node_modules/@aws-sdk/util-locate-window/README.md +0 -4
  540. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -12
  541. package/node_modules/@aws-sdk/util-locate-window/dist-es/index.js +0 -10
  542. package/node_modules/@aws-sdk/util-locate-window/dist-types/index.d.ts +0 -6
  543. package/node_modules/@aws-sdk/util-locate-window/dist-types/ts3.4/index.d.ts +0 -1
  544. package/node_modules/@aws-sdk/util-locate-window/package.json +0 -54
  545. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +0 -57
  546. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -234
  547. package/node_modules/@smithy/is-array-buffer/LICENSE +0 -201
  548. package/node_modules/@smithy/is-array-buffer/README.md +0 -10
  549. package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +0 -32
  550. package/node_modules/@smithy/is-array-buffer/dist-es/index.js +0 -2
  551. package/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +0 -4
  552. package/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +0 -4
  553. package/node_modules/@smithy/is-array-buffer/package.json +0 -60
  554. package/node_modules/@smithy/util-buffer-from/LICENSE +0 -201
  555. package/node_modules/@smithy/util-buffer-from/README.md +0 -10
  556. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +0 -47
  557. package/node_modules/@smithy/util-buffer-from/dist-es/index.js +0 -14
  558. package/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +0 -13
  559. package/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +0 -13
  560. package/node_modules/@smithy/util-buffer-from/package.json +0 -61
  561. package/node_modules/@smithy/util-utf8/LICENSE +0 -201
  562. package/node_modules/@smithy/util-utf8/README.md +0 -4
  563. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
  564. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
  565. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  566. package/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
  567. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
  568. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
  569. package/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
  570. package/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
  571. package/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  572. package/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +0 -10
  573. package/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
  574. package/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
  575. package/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +0 -1
  576. package/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +0 -1
  577. package/node_modules/@smithy/util-utf8/dist-types/index.d.ts +0 -3
  578. package/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +0 -1
  579. package/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +0 -7
  580. package/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +0 -7
  581. package/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +0 -1
  582. package/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +0 -1
  583. package/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +0 -3
  584. package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +0 -1
  585. package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +0 -7
  586. package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +0 -7
  587. package/node_modules/@smithy/util-utf8/package.json +0 -66
  588. /package/node_modules/@smithy/{core/dist-es/submodules/endpoints/middleware-endpoint/types.js → types/dist-es/endpoints/EndpointParameterInstructions.js} +0 -0
  589. /package/node_modules/@smithy/{core/dist-types/submodules/endpoints/middleware-endpoint/types.d.ts → types/dist-types/endpoints/EndpointParameterInstructions.d.ts} +0 -0
@@ -1,124 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RawSha256 = void 0;
4
- var constants_1 = require("./constants");
5
- /**
6
- * @internal
7
- */
8
- var RawSha256 = /** @class */ (function () {
9
- function RawSha256() {
10
- this.state = Int32Array.from(constants_1.INIT);
11
- this.temp = new Int32Array(64);
12
- this.buffer = new Uint8Array(64);
13
- this.bufferLength = 0;
14
- this.bytesHashed = 0;
15
- /**
16
- * @internal
17
- */
18
- this.finished = false;
19
- }
20
- RawSha256.prototype.update = function (data) {
21
- if (this.finished) {
22
- throw new Error("Attempted to update an already finished hash.");
23
- }
24
- var position = 0;
25
- var byteLength = data.byteLength;
26
- this.bytesHashed += byteLength;
27
- if (this.bytesHashed * 8 > constants_1.MAX_HASHABLE_LENGTH) {
28
- throw new Error("Cannot hash more than 2^53 - 1 bits");
29
- }
30
- while (byteLength > 0) {
31
- this.buffer[this.bufferLength++] = data[position++];
32
- byteLength--;
33
- if (this.bufferLength === constants_1.BLOCK_SIZE) {
34
- this.hashBuffer();
35
- this.bufferLength = 0;
36
- }
37
- }
38
- };
39
- RawSha256.prototype.digest = function () {
40
- if (!this.finished) {
41
- var bitsHashed = this.bytesHashed * 8;
42
- var bufferView = new DataView(this.buffer.buffer, this.buffer.byteOffset, this.buffer.byteLength);
43
- var undecoratedLength = this.bufferLength;
44
- bufferView.setUint8(this.bufferLength++, 0x80);
45
- // Ensure the final block has enough room for the hashed length
46
- if (undecoratedLength % constants_1.BLOCK_SIZE >= constants_1.BLOCK_SIZE - 8) {
47
- for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE; i++) {
48
- bufferView.setUint8(i, 0);
49
- }
50
- this.hashBuffer();
51
- this.bufferLength = 0;
52
- }
53
- for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE - 8; i++) {
54
- bufferView.setUint8(i, 0);
55
- }
56
- bufferView.setUint32(constants_1.BLOCK_SIZE - 8, Math.floor(bitsHashed / 0x100000000), true);
57
- bufferView.setUint32(constants_1.BLOCK_SIZE - 4, bitsHashed);
58
- this.hashBuffer();
59
- this.finished = true;
60
- }
61
- // The value in state is little-endian rather than big-endian, so flip
62
- // each word into a new Uint8Array
63
- var out = new Uint8Array(constants_1.DIGEST_LENGTH);
64
- for (var i = 0; i < 8; i++) {
65
- out[i * 4] = (this.state[i] >>> 24) & 0xff;
66
- out[i * 4 + 1] = (this.state[i] >>> 16) & 0xff;
67
- out[i * 4 + 2] = (this.state[i] >>> 8) & 0xff;
68
- out[i * 4 + 3] = (this.state[i] >>> 0) & 0xff;
69
- }
70
- return out;
71
- };
72
- RawSha256.prototype.hashBuffer = function () {
73
- var _a = this, buffer = _a.buffer, state = _a.state;
74
- var state0 = state[0], state1 = state[1], state2 = state[2], state3 = state[3], state4 = state[4], state5 = state[5], state6 = state[6], state7 = state[7];
75
- for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {
76
- if (i < 16) {
77
- this.temp[i] =
78
- ((buffer[i * 4] & 0xff) << 24) |
79
- ((buffer[i * 4 + 1] & 0xff) << 16) |
80
- ((buffer[i * 4 + 2] & 0xff) << 8) |
81
- (buffer[i * 4 + 3] & 0xff);
82
- }
83
- else {
84
- var u = this.temp[i - 2];
85
- var t1_1 = ((u >>> 17) | (u << 15)) ^ ((u >>> 19) | (u << 13)) ^ (u >>> 10);
86
- u = this.temp[i - 15];
87
- var t2_1 = ((u >>> 7) | (u << 25)) ^ ((u >>> 18) | (u << 14)) ^ (u >>> 3);
88
- this.temp[i] =
89
- ((t1_1 + this.temp[i - 7]) | 0) + ((t2_1 + this.temp[i - 16]) | 0);
90
- }
91
- var t1 = ((((((state4 >>> 6) | (state4 << 26)) ^
92
- ((state4 >>> 11) | (state4 << 21)) ^
93
- ((state4 >>> 25) | (state4 << 7))) +
94
- ((state4 & state5) ^ (~state4 & state6))) |
95
- 0) +
96
- ((state7 + ((constants_1.KEY[i] + this.temp[i]) | 0)) | 0)) |
97
- 0;
98
- var t2 = ((((state0 >>> 2) | (state0 << 30)) ^
99
- ((state0 >>> 13) | (state0 << 19)) ^
100
- ((state0 >>> 22) | (state0 << 10))) +
101
- ((state0 & state1) ^ (state0 & state2) ^ (state1 & state2))) |
102
- 0;
103
- state7 = state6;
104
- state6 = state5;
105
- state5 = state4;
106
- state4 = (state3 + t1) | 0;
107
- state3 = state2;
108
- state2 = state1;
109
- state1 = state0;
110
- state0 = (t1 + t2) | 0;
111
- }
112
- state[0] += state0;
113
- state[1] += state1;
114
- state[2] += state2;
115
- state[3] += state3;
116
- state[4] += state4;
117
- state[5] += state5;
118
- state[6] += state6;
119
- state[7] += state7;
120
- };
121
- return RawSha256;
122
- }());
123
- exports.RawSha256 = RawSha256;
124
- //# sourceMappingURL=RawSha256.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RawSha256.js","sourceRoot":"","sources":["../../src/RawSha256.ts"],"names":[],"mappings":";;;AAAA,yCAMqB;AAErB;;GAEG;AACH;IAAA;QACU,UAAK,GAAe,UAAU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KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;IACrB,CAAC;IACH,gBAAC;AAAD,CAAC,AAxJD,IAwJC;AAxJY,8BAAS"}
@@ -1,20 +0,0 @@
1
- /**
2
- * @internal
3
- */
4
- export declare const BLOCK_SIZE: number;
5
- /**
6
- * @internal
7
- */
8
- export declare const DIGEST_LENGTH: number;
9
- /**
10
- * @internal
11
- */
12
- export declare const KEY: Uint32Array;
13
- /**
14
- * @internal
15
- */
16
- export declare const INIT: number[];
17
- /**
18
- * @internal
19
- */
20
- export declare const MAX_HASHABLE_LENGTH: number;
@@ -1,98 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MAX_HASHABLE_LENGTH = exports.INIT = exports.KEY = exports.DIGEST_LENGTH = exports.BLOCK_SIZE = void 0;
4
- /**
5
- * @internal
6
- */
7
- exports.BLOCK_SIZE = 64;
8
- /**
9
- * @internal
10
- */
11
- exports.DIGEST_LENGTH = 32;
12
- /**
13
- * @internal
14
- */
15
- exports.KEY = new Uint32Array([
16
- 0x428a2f98,
17
- 0x71374491,
18
- 0xb5c0fbcf,
19
- 0xe9b5dba5,
20
- 0x3956c25b,
21
- 0x59f111f1,
22
- 0x923f82a4,
23
- 0xab1c5ed5,
24
- 0xd807aa98,
25
- 0x12835b01,
26
- 0x243185be,
27
- 0x550c7dc3,
28
- 0x72be5d74,
29
- 0x80deb1fe,
30
- 0x9bdc06a7,
31
- 0xc19bf174,
32
- 0xe49b69c1,
33
- 0xefbe4786,
34
- 0x0fc19dc6,
35
- 0x240ca1cc,
36
- 0x2de92c6f,
37
- 0x4a7484aa,
38
- 0x5cb0a9dc,
39
- 0x76f988da,
40
- 0x983e5152,
41
- 0xa831c66d,
42
- 0xb00327c8,
43
- 0xbf597fc7,
44
- 0xc6e00bf3,
45
- 0xd5a79147,
46
- 0x06ca6351,
47
- 0x14292967,
48
- 0x27b70a85,
49
- 0x2e1b2138,
50
- 0x4d2c6dfc,
51
- 0x53380d13,
52
- 0x650a7354,
53
- 0x766a0abb,
54
- 0x81c2c92e,
55
- 0x92722c85,
56
- 0xa2bfe8a1,
57
- 0xa81a664b,
58
- 0xc24b8b70,
59
- 0xc76c51a3,
60
- 0xd192e819,
61
- 0xd6990624,
62
- 0xf40e3585,
63
- 0x106aa070,
64
- 0x19a4c116,
65
- 0x1e376c08,
66
- 0x2748774c,
67
- 0x34b0bcb5,
68
- 0x391c0cb3,
69
- 0x4ed8aa4a,
70
- 0x5b9cca4f,
71
- 0x682e6ff3,
72
- 0x748f82ee,
73
- 0x78a5636f,
74
- 0x84c87814,
75
- 0x8cc70208,
76
- 0x90befffa,
77
- 0xa4506ceb,
78
- 0xbef9a3f7,
79
- 0xc67178f2
80
- ]);
81
- /**
82
- * @internal
83
- */
84
- exports.INIT = [
85
- 0x6a09e667,
86
- 0xbb67ae85,
87
- 0x3c6ef372,
88
- 0xa54ff53a,
89
- 0x510e527f,
90
- 0x9b05688c,
91
- 0x1f83d9ab,
92
- 0x5be0cd19
93
- ];
94
- /**
95
- * @internal
96
- */
97
- exports.MAX_HASHABLE_LENGTH = Math.pow(2, 53) - 1;
98
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACU,QAAA,UAAU,GAAW,EAAE,CAAC;AAErC;;GAEG;AACU,QAAA,aAAa,GAAW,EAAE,CAAC;AAExC;;GAEG;AACU,QAAA,GAAG,GAAG,IAAI,WAAW,CAAC;IACjC,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;CACX,CAAC,CAAC;AAEH;;GAEG;AACU,QAAA,IAAI,GAAG;IAClB,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;CACX,CAAC;AAEF;;GAEG;AACU,QAAA,mBAAmB,GAAG,SAAA,CAAC,EAAI,EAAE,CAAA,GAAG,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export * from "./jsSha256";
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./jsSha256"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAA2B"}
@@ -1,12 +0,0 @@
1
- import { Checksum, SourceData } from "@aws-sdk/types";
2
- export declare class Sha256 implements Checksum {
3
- private readonly secret?;
4
- private hash;
5
- private outer?;
6
- private error;
7
- constructor(secret?: SourceData);
8
- update(toHash: SourceData): void;
9
- digestSync(): Uint8Array;
10
- digest(): Promise<Uint8Array>;
11
- reset(): void;
12
- }
@@ -1,85 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Sha256 = void 0;
4
- var tslib_1 = require("tslib");
5
- var constants_1 = require("./constants");
6
- var RawSha256_1 = require("./RawSha256");
7
- var util_1 = require("@aws-crypto/util");
8
- var Sha256 = /** @class */ (function () {
9
- function Sha256(secret) {
10
- this.secret = secret;
11
- this.hash = new RawSha256_1.RawSha256();
12
- this.reset();
13
- }
14
- Sha256.prototype.update = function (toHash) {
15
- if ((0, util_1.isEmptyData)(toHash) || this.error) {
16
- return;
17
- }
18
- try {
19
- this.hash.update((0, util_1.convertToBuffer)(toHash));
20
- }
21
- catch (e) {
22
- this.error = e;
23
- }
24
- };
25
- /* This synchronous method keeps compatibility
26
- * with the v2 aws-sdk.
27
- */
28
- Sha256.prototype.digestSync = function () {
29
- if (this.error) {
30
- throw this.error;
31
- }
32
- if (this.outer) {
33
- if (!this.outer.finished) {
34
- this.outer.update(this.hash.digest());
35
- }
36
- return this.outer.digest();
37
- }
38
- return this.hash.digest();
39
- };
40
- /* The underlying digest method here is synchronous.
41
- * To keep the same interface with the other hash functions
42
- * the default is to expose this as an async method.
43
- * However, it can sometimes be useful to have a sync method.
44
- */
45
- Sha256.prototype.digest = function () {
46
- return tslib_1.__awaiter(this, void 0, void 0, function () {
47
- return tslib_1.__generator(this, function (_a) {
48
- return [2 /*return*/, this.digestSync()];
49
- });
50
- });
51
- };
52
- Sha256.prototype.reset = function () {
53
- this.hash = new RawSha256_1.RawSha256();
54
- if (this.secret) {
55
- this.outer = new RawSha256_1.RawSha256();
56
- var inner = bufferFromSecret(this.secret);
57
- var outer = new Uint8Array(constants_1.BLOCK_SIZE);
58
- outer.set(inner);
59
- for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {
60
- inner[i] ^= 0x36;
61
- outer[i] ^= 0x5c;
62
- }
63
- this.hash.update(inner);
64
- this.outer.update(outer);
65
- // overwrite the copied key in memory
66
- for (var i = 0; i < inner.byteLength; i++) {
67
- inner[i] = 0;
68
- }
69
- }
70
- };
71
- return Sha256;
72
- }());
73
- exports.Sha256 = Sha256;
74
- function bufferFromSecret(secret) {
75
- var input = (0, util_1.convertToBuffer)(secret);
76
- if (input.byteLength > constants_1.BLOCK_SIZE) {
77
- var bufferHash = new RawSha256_1.RawSha256();
78
- bufferHash.update(input);
79
- input = bufferHash.digest();
80
- }
81
- var buffer = new Uint8Array(constants_1.BLOCK_SIZE);
82
- buffer.set(input);
83
- return buffer;
84
- }
85
- //# sourceMappingURL=jsSha256.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsSha256.js","sourceRoot":"","sources":["../../src/jsSha256.ts"],"names":[],"mappings":";;;;AAAA,yCAAyC;AACzC,yCAAwC;AAExC,yCAAgE;AAEhE;IAME,gBAAY,MAAmB;QAC7B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,qBAAS,EAAE,CAAC;QAC5B,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,uBAAM,GAAN,UAAO,MAAkB;QACvB,IAAI,IAAA,kBAAW,EAAC,MAAM,CAAC,IAAI,IAAI,CAAC,KAAK,EAAE;YACrC,OAAO;SACR;QAED,IAAI;YACF,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAA,sBAAe,EAAC,MAAM,CAAC,CAAC,CAAC;SAC3C;QAAC,OAAO,CAAC,EAAE;YACV,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;SAChB;IACH,CAAC;I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AAK,CAAC,UAAU,EAAE,CAAC,EAAE,EAAE;gBACzC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;aACd;SACF;IACH,CAAC;IACH,aAAC;AAAD,CAAC,AA1ED,IA0EC;AA1EY,wBAAM;AA4EnB,SAAS,gBAAgB,CAAC,MAAkB;IAC1C,IAAI,KAAK,GAAG,IAAA,sBAAe,EAAC,MAAM,CAAC,CAAC;IAEpC,IAAI,KAAK,CAAC,UAAU,GAAG,sBAAU,EAAE;QACjC,IAAM,UAAU,GAAG,IAAI,qBAAS,EAAE,CAAC;QACnC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACzB,KAAK,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC;KAC7B;IAED,IAAM,MAAM,GAAG,IAAI,UAAU,CAAC,sBAAU,CAAC,CAAC;IAC1C,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAClB,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare const hashTestVectors: Array<[Uint8Array, Uint8Array]>;
2
- /**
3
- * @see https://tools.ietf.org/html/rfc4231
4
- */
5
- export declare const hmacTestVectors: Array<[Uint8Array, Uint8Array, Uint8Array]>;