@cdklabs/cdk-ecs-codedeploy 0.0.207 → 0.0.208

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 (718) hide show
  1. package/.jsii +108 -49
  2. package/.jsii.tabl.json +1 -1
  3. package/.projenrc.ts +3 -5
  4. package/API.md +4 -4
  5. package/API.md.md +4 -9
  6. package/lib/api-canary/index.d.ts +1 -1
  7. package/lib/api-canary/index.js +7 -7
  8. package/lib/ecs-appspec/index.js +1 -1
  9. package/lib/ecs-deployment/index.js +1 -1
  10. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +4 -4
  11. package/node_modules/@aws-sdk/client-codedeploy/README.md +7 -7
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/CodeDeployClient.js +6 -4
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/AddTagsToOnPremisesInstancesCommand.js +5 -0
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js +5 -0
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationsCommand.js +5 -0
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js +5 -0
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js +5 -0
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +5 -0
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentsCommand.js +5 -0
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js +5 -0
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ContinueDeploymentCommand.js +5 -0
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateApplicationCommand.js +5 -0
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentCommand.js +5 -0
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentConfigCommand.js +5 -0
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentGroupCommand.js +5 -0
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteApplicationCommand.js +5 -0
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentConfigCommand.js +5 -0
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentGroupCommand.js +5 -0
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js +5 -0
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js +5 -0
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js +5 -0
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationCommand.js +5 -0
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationRevisionCommand.js +5 -0
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentCommand.js +5 -0
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentConfigCommand.js +5 -0
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentGroupCommand.js +5 -0
  37. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentInstanceCommand.js +5 -0
  38. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentTargetCommand.js +5 -0
  39. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetOnPremisesInstanceCommand.js +5 -0
  40. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationRevisionsCommand.js +5 -0
  41. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationsCommand.js +5 -0
  42. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentConfigsCommand.js +5 -0
  43. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentGroupsCommand.js +5 -0
  44. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentInstancesCommand.js +5 -0
  45. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentTargetsCommand.js +5 -0
  46. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentsCommand.js +5 -0
  47. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js +5 -0
  48. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListOnPremisesInstancesCommand.js +5 -0
  49. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  50. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +5 -0
  51. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterApplicationRevisionCommand.js +5 -0
  52. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js +5 -0
  53. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +5 -0
  54. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +5 -0
  55. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/StopDeploymentCommand.js +5 -0
  56. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/TagResourceCommand.js +5 -0
  57. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UntagResourceCommand.js +5 -0
  58. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateApplicationCommand.js +5 -0
  59. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateDeploymentGroupCommand.js +5 -0
  60. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/ruleset.js +3 -3
  61. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +1 -0
  62. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeExtensions.js +22 -0
  63. package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeployClient.js +6 -4
  64. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +5 -0
  65. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationRevisionsCommand.js +5 -0
  66. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationsCommand.js +5 -0
  67. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentGroupsCommand.js +5 -0
  68. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentInstancesCommand.js +5 -0
  69. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentTargetsCommand.js +5 -0
  70. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentsCommand.js +5 -0
  71. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +5 -0
  72. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ContinueDeploymentCommand.js +5 -0
  73. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateApplicationCommand.js +5 -0
  74. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentCommand.js +5 -0
  75. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentConfigCommand.js +5 -0
  76. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentGroupCommand.js +5 -0
  77. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteApplicationCommand.js +5 -0
  78. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentConfigCommand.js +5 -0
  79. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentGroupCommand.js +5 -0
  80. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteGitHubAccountTokenCommand.js +5 -0
  81. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteResourcesByExternalIdCommand.js +5 -0
  82. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +5 -0
  83. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationCommand.js +5 -0
  84. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationRevisionCommand.js +5 -0
  85. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentCommand.js +5 -0
  86. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentConfigCommand.js +5 -0
  87. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentGroupCommand.js +5 -0
  88. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentInstanceCommand.js +5 -0
  89. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentTargetCommand.js +5 -0
  90. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetOnPremisesInstanceCommand.js +5 -0
  91. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationRevisionsCommand.js +5 -0
  92. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationsCommand.js +5 -0
  93. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentConfigsCommand.js +5 -0
  94. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentGroupsCommand.js +5 -0
  95. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentInstancesCommand.js +5 -0
  96. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentTargetsCommand.js +5 -0
  97. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentsCommand.js +5 -0
  98. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +5 -0
  99. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListOnPremisesInstancesCommand.js +5 -0
  100. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  101. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +5 -0
  102. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterApplicationRevisionCommand.js +5 -0
  103. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterOnPremisesInstanceCommand.js +5 -0
  104. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +5 -0
  105. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +5 -0
  106. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/StopDeploymentCommand.js +5 -0
  107. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/TagResourceCommand.js +5 -0
  108. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UntagResourceCommand.js +5 -0
  109. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateApplicationCommand.js +5 -0
  110. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateDeploymentGroupCommand.js +5 -0
  111. package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/ruleset.js +3 -3
  112. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +1 -0
  113. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeExtensions.js +18 -0
  114. package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeploy.d.ts +25 -25
  115. package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +33 -28
  116. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +1 -1
  117. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +1 -1
  118. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +2 -3
  119. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +3 -4
  120. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +10 -11
  121. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +1 -2
  122. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +2 -1
  123. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +16 -16
  124. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +1 -2
  125. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +10 -10
  126. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +2 -2
  127. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +8 -1
  128. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +1 -1
  129. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +2 -2
  130. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +3 -4
  131. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +1 -2
  132. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +4 -4
  133. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +1 -2
  134. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +1 -2
  135. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +1 -1
  136. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +1 -1
  137. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +1 -1
  138. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +2 -2
  139. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +3 -5
  140. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +1 -2
  141. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +4 -3
  142. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +1 -1
  143. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +1 -2
  144. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +1 -1
  145. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +8 -9
  146. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +1 -2
  147. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +3 -3
  148. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +4 -4
  149. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +4 -4
  150. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +3 -2
  151. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +12 -11
  152. package/node_modules/@aws-sdk/client-codedeploy/dist-types/endpoint/EndpointParameters.d.ts +3 -0
  153. package/node_modules/@aws-sdk/client-codedeploy/dist-types/extensionConfiguration.d.ts +8 -0
  154. package/node_modules/@aws-sdk/client-codedeploy/dist-types/index.d.ts +26 -25
  155. package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/models_0.d.ts +701 -273
  156. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +8 -2
  157. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +5 -1
  158. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +5 -1
  159. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +1 -0
  160. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeExtensions.d.ts +17 -0
  161. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeployClient.d.ts +7 -1
  162. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  163. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/index.d.ts +1 -0
  164. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
  165. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
  166. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
  167. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  168. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  169. package/node_modules/@aws-sdk/client-codedeploy/package.json +37 -37
  170. package/node_modules/@aws-sdk/client-sso/README.md +7 -10
  171. package/node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js +6 -4
  172. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +5 -0
  173. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +5 -0
  174. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +5 -0
  175. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +5 -0
  176. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +3 -3
  177. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +1 -0
  178. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js +22 -0
  179. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +6 -4
  180. package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +5 -0
  181. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +5 -0
  182. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +5 -0
  183. package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +5 -0
  184. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +3 -3
  185. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +1 -0
  186. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +18 -0
  187. package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +0 -3
  188. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +8 -6
  189. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -2
  190. package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +3 -0
  191. package/node_modules/@aws-sdk/client-sso/dist-types/extensionConfiguration.d.ts +8 -0
  192. package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +1 -3
  193. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +25 -0
  194. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +5 -1
  195. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +5 -1
  196. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +5 -1
  197. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +1 -0
  198. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeExtensions.d.ts +17 -0
  199. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +5 -1
  200. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  201. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +1 -0
  202. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
  203. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
  204. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
  205. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  206. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  207. package/node_modules/@aws-sdk/client-sso/package.json +33 -33
  208. package/node_modules/@aws-sdk/client-sts/README.md +7 -7
  209. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +6 -4
  210. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +5 -0
  211. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +5 -0
  212. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
  213. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +5 -0
  214. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +5 -0
  215. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +5 -0
  216. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +5 -0
  217. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +5 -0
  218. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +1 -1
  219. package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +35 -0
  220. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +1 -0
  221. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js +22 -0
  222. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +6 -4
  223. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +5 -0
  224. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +5 -0
  225. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
  226. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +5 -0
  227. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +5 -0
  228. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +5 -0
  229. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +5 -0
  230. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +5 -0
  231. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +1 -1
  232. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +35 -0
  233. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +1 -0
  234. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js +18 -0
  235. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +8 -3
  236. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +8 -2
  237. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -2
  238. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +6 -7
  239. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +6 -4
  240. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +21 -16
  241. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +20 -18
  242. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/EndpointParameters.d.ts +3 -0
  243. package/node_modules/@aws-sdk/client-sts/dist-types/extensionConfiguration.d.ts +8 -0
  244. package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +1 -0
  245. package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +121 -28
  246. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +5 -1
  247. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +5 -1
  248. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +5 -1
  249. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +1 -0
  250. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeExtensions.d.ts +17 -0
  251. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +5 -1
  252. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  253. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +1 -0
  254. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +5 -0
  255. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
  256. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
  257. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
  258. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  259. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  260. package/node_modules/@aws-sdk/client-sts/package.json +36 -36
  261. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  262. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js +1 -0
  263. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -0
  264. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +4 -0
  265. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +1 -0
  266. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
  267. package/node_modules/@aws-sdk/credential-provider-node/README.md +6 -3
  268. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  269. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  270. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +1 -2
  271. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +1 -2
  272. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  273. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  274. package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +3 -0
  275. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  276. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  277. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  278. package/node_modules/@aws-sdk/middleware-sdk-sts/dist-types/index.d.ts +3 -0
  279. package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +4 -4
  280. package/node_modules/@aws-sdk/middleware-signing/dist-types/awsAuthConfiguration.d.ts +8 -1
  281. package/node_modules/@aws-sdk/middleware-signing/package.json +9 -8
  282. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +3 -0
  283. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -6
  284. package/node_modules/@aws-sdk/{client-sso-oidc → region-config-resolver}/LICENSE +2 -2
  285. package/node_modules/@aws-sdk/region-config-resolver/README.md +12 -0
  286. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js +30 -0
  287. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +5 -0
  288. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +15 -0
  289. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +10 -0
  290. package/node_modules/@aws-sdk/{types/dist-cjs/connection → region-config-resolver/dist-cjs/regionConfig}/index.js +1 -2
  291. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +5 -0
  292. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +29 -0
  293. package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +25 -0
  294. package/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +2 -0
  295. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/config.js +12 -0
  296. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/getRealRegion.js +6 -0
  297. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/index.js +2 -0
  298. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/isFipsRegion.js +1 -0
  299. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +25 -0
  300. package/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts +16 -0
  301. package/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts +2 -0
  302. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/config.d.ts +17 -0
  303. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/getRealRegion.d.ts +4 -0
  304. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/index.d.ts +8 -0
  305. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/isFipsRegion.d.ts +4 -0
  306. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +37 -0
  307. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts +14 -0
  308. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts +2 -0
  309. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +8 -0
  310. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +1 -0
  311. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +2 -0
  312. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +1 -0
  313. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +14 -0
  314. package/node_modules/@aws-sdk/region-config-resolver/package.json +61 -0
  315. package/node_modules/@aws-sdk/token-providers/README.md +20 -6
  316. package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-browser.js +895 -0
  317. package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js +901 -0
  318. package/node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +2 -2
  319. package/node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +2 -2
  320. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +1 -0
  321. package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-browser.js +872 -0
  322. package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-node.js +878 -0
  323. package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +1 -1
  324. package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +1 -1
  325. package/node_modules/@aws-sdk/token-providers/dist-es/index.js +1 -0
  326. package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-browser.d.ts +187 -0
  327. package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-node.d.ts +187 -0
  328. package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +1 -1
  329. package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +1 -2
  330. package/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +1 -0
  331. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/bundle/client-sso-oidc-browser.d.ts +235 -0
  332. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/bundle/client-sso-oidc-node.d.ts +235 -0
  333. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +1 -1
  334. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +1 -2
  335. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +1 -0
  336. package/node_modules/@aws-sdk/token-providers/package.json +42 -6
  337. package/node_modules/@aws-sdk/types/dist-cjs/auth.js +2 -5
  338. package/node_modules/@aws-sdk/types/dist-cjs/connection.js +2 -0
  339. package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +2 -5
  340. package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +2 -0
  341. package/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -0
  342. package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +2 -6
  343. package/node_modules/@aws-sdk/types/dist-es/auth.js +1 -5
  344. package/node_modules/@aws-sdk/types/dist-es/connection.js +1 -0
  345. package/node_modules/@aws-sdk/types/dist-es/endpoint.js +1 -5
  346. package/node_modules/@aws-sdk/types/dist-es/extensions/index.js +1 -0
  347. package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  348. package/node_modules/@aws-sdk/types/dist-es/transfer.js +1 -6
  349. package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -49
  350. package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -55
  351. package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +2 -22
  352. package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +1 -63
  353. package/node_modules/@aws-sdk/types/dist-types/client.d.ts +1 -25
  354. package/node_modules/@aws-sdk/types/dist-types/command.d.ts +1 -10
  355. package/node_modules/@aws-sdk/types/dist-types/connection.d.ts +1 -0
  356. package/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +1 -60
  357. package/node_modules/@aws-sdk/types/dist-types/encode.d.ts +1 -19
  358. package/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +1 -77
  359. package/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +1 -108
  360. package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +8 -0
  361. package/node_modules/@aws-sdk/types/dist-types/http.d.ts +2 -87
  362. package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -23
  363. package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -15
  364. package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  365. package/node_modules/@aws-sdk/types/dist-types/logger.d.ts +2 -13
  366. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +1 -475
  367. package/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +1 -26
  368. package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -22
  369. package/node_modules/@aws-sdk/types/dist-types/response.d.ts +1 -40
  370. package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -128
  371. package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +1 -104
  372. package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -72
  373. package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +1 -150
  374. package/node_modules/@aws-sdk/types/dist-types/stream.d.ts +1 -22
  375. package/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +1 -33
  376. package/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +1 -11
  377. package/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +5 -17
  378. package/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +2 -7
  379. package/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +1 -12
  380. package/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +1 -52
  381. package/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +1 -17
  382. package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +6 -0
  383. package/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +7 -14
  384. package/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +6 -19
  385. package/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +9 -43
  386. package/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +24 -77
  387. package/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +5 -0
  388. package/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +10 -26
  389. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +4 -8
  390. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +1 -6
  391. package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  392. package/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +2 -7
  393. package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +40 -211
  394. package/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +1 -8
  395. package/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +6 -7
  396. package/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +1 -11
  397. package/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +12 -43
  398. package/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +12 -46
  399. package/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +6 -24
  400. package/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +15 -59
  401. package/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +4 -16
  402. package/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +7 -26
  403. package/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +1 -11
  404. package/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +14 -50
  405. package/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +1 -9
  406. package/node_modules/@aws-sdk/types/dist-types/uri.d.ts +1 -17
  407. package/node_modules/@aws-sdk/types/dist-types/util.d.ts +1 -155
  408. package/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +1 -35
  409. package/node_modules/@aws-sdk/types/package.json +2 -1
  410. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +1 -0
  411. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +11 -1
  412. package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +1 -0
  413. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +11 -1
  414. package/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +1 -0
  415. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
  416. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  417. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  418. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  419. package/node_modules/@smithy/abort-controller/package.json +7 -9
  420. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +1 -1
  421. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
  422. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +1 -1
  423. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +1 -1
  424. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
  425. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +1 -1
  426. package/node_modules/@smithy/config-resolver/package.json +11 -12
  427. package/node_modules/@smithy/credential-provider-imds/package.json +10 -12
  428. package/node_modules/@smithy/eventstream-codec/package.json +9 -11
  429. package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +23 -9
  430. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +18 -5
  431. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +22 -2
  432. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +22 -2
  433. package/node_modules/@smithy/fetch-http-handler/package.json +11 -13
  434. package/node_modules/@smithy/hash-node/package.json +9 -11
  435. package/node_modules/@smithy/invalid-dependency/package.json +7 -9
  436. package/node_modules/@smithy/is-array-buffer/package.json +1 -1
  437. package/node_modules/@smithy/middleware-content-length/package.json +10 -10
  438. package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +0 -3
  439. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +1 -1
  440. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +0 -3
  441. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +1 -1
  442. package/node_modules/@smithy/middleware-endpoint/package.json +11 -12
  443. package/node_modules/@smithy/middleware-retry/README.md +7 -0
  444. package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +3 -0
  445. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +3 -0
  446. package/node_modules/@smithy/middleware-retry/package.json +14 -14
  447. package/node_modules/@smithy/middleware-serde/package.json +9 -9
  448. package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +97 -35
  449. package/node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js +95 -35
  450. package/node_modules/@smithy/middleware-stack/package.json +7 -9
  451. package/node_modules/@smithy/node-config-provider/package.json +9 -11
  452. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +13 -0
  453. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +13 -0
  454. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -0
  455. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +12 -0
  456. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
  457. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +4 -2
  458. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
  459. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +4 -2
  460. package/node_modules/@smithy/node-http-handler/package.json +10 -12
  461. package/node_modules/@smithy/property-provider/dist-cjs/chain.js +19 -13
  462. package/node_modules/@smithy/property-provider/dist-es/chain.js +19 -13
  463. package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +1 -1
  464. package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +1 -1
  465. package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +1 -1
  466. package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
  467. package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +1 -1
  468. package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +1 -1
  469. package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +1 -1
  470. package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +1 -1
  471. package/node_modules/@smithy/property-provider/package.json +7 -9
  472. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +27 -0
  473. package/node_modules/{@aws-sdk/client-sso-oidc/dist-cjs/models → @smithy/protocol-http/dist-cjs/extensions}/index.js +1 -1
  474. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +1 -0
  475. package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +22 -0
  476. package/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +1 -0
  477. package/node_modules/@smithy/protocol-http/dist-es/index.js +1 -0
  478. package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +37 -0
  479. package/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +1 -0
  480. package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +15 -1
  481. package/node_modules/@smithy/protocol-http/dist-types/index.d.ts +1 -0
  482. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +37 -0
  483. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +1 -0
  484. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +15 -1
  485. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +1 -0
  486. package/node_modules/@smithy/protocol-http/package.json +7 -9
  487. package/node_modules/@smithy/querystring-builder/package.json +7 -9
  488. package/node_modules/@smithy/querystring-parser/package.json +7 -9
  489. package/node_modules/@smithy/service-error-classification/package.json +9 -9
  490. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +11 -1
  491. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +11 -1
  492. package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -9
  493. package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js +1 -1
  494. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +1 -1
  495. package/node_modules/@smithy/signature-v4/package.json +14 -16
  496. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +36 -0
  497. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +20 -0
  498. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +4 -0
  499. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +21 -0
  500. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
  501. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +31 -0
  502. package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +15 -0
  503. package/node_modules/@smithy/smithy-client/dist-es/extensions/index.js +1 -0
  504. package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +16 -0
  505. package/node_modules/@smithy/smithy-client/dist-es/index.js +1 -0
  506. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +1 -1
  507. package/node_modules/@smithy/smithy-client/dist-types/defaults-mode.d.ts +1 -1
  508. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +25 -0
  509. package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +38 -0
  510. package/node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts +1 -0
  511. package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +15 -0
  512. package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +1 -0
  513. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +1 -1
  514. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts +1 -1
  515. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +25 -0
  516. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +38 -0
  517. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts +1 -0
  518. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +15 -0
  519. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +1 -0
  520. package/node_modules/@smithy/smithy-client/package.json +9 -11
  521. package/node_modules/@smithy/types/README.md +37 -0
  522. package/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +2 -0
  523. package/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +2 -0
  524. package/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +44 -0
  525. package/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +16 -0
  526. package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +2 -0
  527. package/node_modules/@smithy/types/dist-cjs/extensions/index.js +8 -0
  528. package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +2 -0
  529. package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +2 -0
  530. package/node_modules/@smithy/types/dist-cjs/index.js +7 -0
  531. package/node_modules/@smithy/types/dist-cjs/middleware.js +2 -0
  532. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +2 -0
  533. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +2 -0
  534. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +2 -0
  535. package/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +2 -0
  536. package/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +2 -0
  537. package/node_modules/@smithy/types/dist-cjs/transform/exact.js +2 -0
  538. package/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +2 -0
  539. package/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js +1 -0
  540. package/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js +1 -0
  541. package/node_modules/@smithy/types/dist-es/extensions/checksum.js +39 -0
  542. package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +11 -0
  543. package/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
  544. package/node_modules/@smithy/types/dist-es/extensions/index.js +3 -0
  545. package/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
  546. package/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
  547. package/node_modules/@smithy/types/dist-es/index.js +7 -0
  548. package/node_modules/@smithy/types/dist-es/middleware.js +1 -1
  549. package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +1 -0
  550. package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +1 -0
  551. package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +1 -0
  552. package/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +1 -0
  553. package/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +1 -0
  554. package/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
  555. package/node_modules/@smithy/types/dist-es/transform/type-transform.js +1 -0
  556. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +41 -0
  557. package/node_modules/@smithy/types/dist-types/client.d.ts +21 -2
  558. package/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +25 -0
  559. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +55 -0
  560. package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +33 -0
  561. package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
  562. package/node_modules/@smithy/types/dist-types/extensions/index.d.ts +4 -0
  563. package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
  564. package/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
  565. package/node_modules/@smithy/types/dist-types/index.d.ts +7 -0
  566. package/node_modules/@smithy/types/dist-types/middleware.d.ts +35 -0
  567. package/node_modules/@smithy/types/dist-types/pagination.d.ts +1 -1
  568. package/node_modules/@smithy/types/dist-types/response.d.ts +1 -1
  569. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +33 -0
  570. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +62 -0
  571. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +53 -0
  572. package/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +26 -0
  573. package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +59 -0
  574. package/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
  575. package/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +34 -0
  576. package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +40 -0
  577. package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +26 -2
  578. package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +41 -0
  579. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +55 -0
  580. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +33 -0
  581. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
  582. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +4 -0
  583. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
  584. package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
  585. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +7 -0
  586. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +35 -0
  587. package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +1 -1
  588. package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +1 -1
  589. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +33 -0
  590. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +61 -0
  591. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +52 -0
  592. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
  593. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +64 -0
  594. package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
  595. package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +41 -0
  596. package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +14 -0
  597. package/node_modules/@smithy/types/dist-types/util.d.ts +6 -0
  598. package/node_modules/@smithy/types/package.json +9 -10
  599. package/node_modules/@smithy/url-parser/package.json +8 -10
  600. package/node_modules/@smithy/util-base64/package.json +2 -2
  601. package/node_modules/@smithy/util-body-length-browser/package.json +1 -1
  602. package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +3 -0
  603. package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +3 -0
  604. package/node_modules/@smithy/util-body-length-node/package.json +1 -1
  605. package/node_modules/@smithy/util-buffer-from/package.json +2 -2
  606. package/node_modules/@smithy/util-config-provider/package.json +1 -1
  607. package/node_modules/@smithy/util-defaults-mode-browser/package.json +9 -11
  608. package/node_modules/@smithy/util-defaults-mode-node/package.json +12 -14
  609. package/node_modules/@smithy/util-hex-encoding/package.json +1 -1
  610. package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +6 -0
  611. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +1 -0
  612. package/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js +2 -0
  613. package/node_modules/@smithy/util-middleware/dist-es/index.js +1 -0
  614. package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +5 -0
  615. package/node_modules/@smithy/util-middleware/dist-types/index.d.ts +4 -0
  616. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts +5 -0
  617. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts +4 -0
  618. package/node_modules/@smithy/util-middleware/package.json +7 -9
  619. package/node_modules/@smithy/util-retry/README.md +2 -1
  620. package/node_modules/@smithy/util-retry/package.json +8 -10
  621. package/node_modules/@smithy/util-stream/README.md +0 -6
  622. package/node_modules/@smithy/util-stream/package.json +16 -15
  623. package/node_modules/@smithy/util-uri-escape/package.json +1 -1
  624. package/node_modules/@smithy/util-utf8/package.json +2 -2
  625. package/node_modules/@smithy/util-waiter/package.json +8 -10
  626. package/node_modules/tslib/package.json +2 -2
  627. package/node_modules/tslib/tslib.es6.js +28 -28
  628. package/node_modules/tslib/tslib.es6.mjs +1 -1
  629. package/node_modules/tslib/tslib.js +1 -1
  630. package/package.json +17 -19
  631. package/node_modules/@aws-sdk/client-sso-oidc/README.md +0 -268
  632. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDC.js +0 -17
  633. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDCClient.js +0 -38
  634. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/CreateTokenCommand.js +0 -46
  635. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/RegisterClientCommand.js +0 -46
  636. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/StartDeviceAuthorizationCommand.js +0 -46
  637. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/index.js +0 -6
  638. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/EndpointParameters.js +0 -12
  639. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +0 -12
  640. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js +0 -7
  641. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +0 -10
  642. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/SSOOIDCServiceException.js +0 -12
  643. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/models_0.js +0 -184
  644. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/protocols/Aws_restJson1.js +0 -469
  645. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +0 -38
  646. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +0 -45
  647. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.native.js +0 -15
  648. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +0 -21
  649. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +0 -13
  650. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +0 -34
  651. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +0 -42
  652. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +0 -42
  653. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +0 -42
  654. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js +0 -3
  655. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js +0 -8
  656. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +0 -8
  657. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js +0 -4
  658. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +0 -5
  659. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js +0 -8
  660. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js +0 -1
  661. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +0 -169
  662. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +0 -460
  663. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +0 -33
  664. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +0 -40
  665. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.native.js +0 -11
  666. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +0 -17
  667. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +0 -70
  668. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +0 -197
  669. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +0 -129
  670. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +0 -98
  671. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +0 -102
  672. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/index.d.ts +0 -3
  673. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/EndpointParameters.d.ts +0 -19
  674. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/endpointResolver.d.ts +0 -5
  675. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/ruleset.d.ts +0 -2
  676. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +0 -49
  677. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +0 -13
  678. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/index.d.ts +0 -1
  679. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +0 -377
  680. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +0 -29
  681. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +0 -35
  682. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +0 -35
  683. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +0 -34
  684. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +0 -18
  685. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +0 -56
  686. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +0 -122
  687. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +0 -35
  688. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +0 -38
  689. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +0 -42
  690. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/index.d.ts +0 -3
  691. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +0 -33
  692. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/endpointResolver.d.ts +0 -8
  693. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  694. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +0 -5
  695. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +0 -8
  696. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/index.d.ts +0 -1
  697. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +0 -151
  698. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -41
  699. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -65
  700. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +0 -65
  701. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -56
  702. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -18
  703. package/node_modules/@aws-sdk/client-sso-oidc/package.json +0 -97
  704. package/node_modules/@aws-sdk/types/dist-es/connection/index.js +0 -3
  705. package/node_modules/@aws-sdk/types/dist-types/connection/config.d.ts +0 -7
  706. package/node_modules/@aws-sdk/types/dist-types/connection/index.d.ts +0 -3
  707. package/node_modules/@aws-sdk/types/dist-types/connection/manager.d.ts +0 -28
  708. package/node_modules/@aws-sdk/types/dist-types/connection/pool.d.ts +0 -24
  709. package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/config.d.ts +0 -3
  710. package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/index.d.ts +0 -3
  711. package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/manager.d.ts +0 -14
  712. package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/pool.d.ts +0 -9
  713. /package/node_modules/@aws-sdk/{types/dist-cjs/connection/config.js → client-codedeploy/dist-cjs/extensionConfiguration.js} +0 -0
  714. /package/node_modules/@aws-sdk/{types/dist-es/connection/config.js → client-codedeploy/dist-es/extensionConfiguration.js} +0 -0
  715. /package/node_modules/@aws-sdk/{types/dist-cjs/connection/manager.js → client-sso/dist-cjs/extensionConfiguration.js} +0 -0
  716. /package/node_modules/@aws-sdk/{types/dist-es/connection/manager.js → client-sso/dist-es/extensionConfiguration.js} +0 -0
  717. /package/node_modules/@aws-sdk/{types/dist-cjs/connection/pool.js → client-sts/dist-cjs/extensionConfiguration.js} +0 -0
  718. /package/node_modules/@aws-sdk/{types/dist-es/connection/pool.js → client-sts/dist-es/extensionConfiguration.js} +0 -0
@@ -1,15 +1,34 @@
1
+ const getAllAliases = (name, aliases) => {
2
+ const _aliases = [];
3
+ if (name) {
4
+ _aliases.push(name);
5
+ }
6
+ if (aliases) {
7
+ for (const alias of aliases) {
8
+ _aliases.push(alias);
9
+ }
10
+ }
11
+ return _aliases;
12
+ };
13
+ const getMiddlewareNameWithAliases = (name, aliases) => {
14
+ return `${name || "anonymous"}${aliases && aliases.length > 0 ? ` (a.k.a. ${aliases.join(",")})` : ""}`;
15
+ };
1
16
  export const constructStack = () => {
2
17
  let absoluteEntries = [];
3
18
  let relativeEntries = [];
19
+ let identifyOnResolve = false;
4
20
  const entriesNameSet = new Set();
5
21
  const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] ||
6
22
  priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]);
7
23
  const removeByName = (toRemove) => {
8
24
  let isRemoved = false;
9
25
  const filterCb = (entry) => {
10
- if (entry.name && entry.name === toRemove) {
26
+ const aliases = getAllAliases(entry.name, entry.aliases);
27
+ if (aliases.includes(toRemove)) {
11
28
  isRemoved = true;
12
- entriesNameSet.delete(toRemove);
29
+ for (const alias of aliases) {
30
+ entriesNameSet.delete(alias);
31
+ }
13
32
  return false;
14
33
  }
15
34
  return true;
@@ -23,8 +42,9 @@ export const constructStack = () => {
23
42
  const filterCb = (entry) => {
24
43
  if (entry.middleware === toRemove) {
25
44
  isRemoved = true;
26
- if (entry.name)
27
- entriesNameSet.delete(entry.name);
45
+ for (const alias of getAllAliases(entry.name, entry.aliases)) {
46
+ entriesNameSet.delete(alias);
47
+ }
28
48
  return false;
29
49
  }
30
50
  return true;
@@ -40,6 +60,7 @@ export const constructStack = () => {
40
60
  relativeEntries.forEach((entry) => {
41
61
  toStack.addRelativeTo(entry.middleware, { ...entry });
42
62
  });
63
+ toStack.identifyOnResolve?.(stack.identifyOnResolve());
43
64
  return toStack;
44
65
  };
45
66
  const expandRelativeMiddlewareList = (from) => {
@@ -73,8 +94,9 @@ export const constructStack = () => {
73
94
  before: [],
74
95
  after: [],
75
96
  };
76
- if (normalizedEntry.name)
77
- normalizedEntriesNameMap[normalizedEntry.name] = normalizedEntry;
97
+ for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
98
+ normalizedEntriesNameMap[alias] = normalizedEntry;
99
+ }
78
100
  normalizedAbsoluteEntries.push(normalizedEntry);
79
101
  });
80
102
  relativeEntries.forEach((entry) => {
@@ -83,8 +105,9 @@ export const constructStack = () => {
83
105
  before: [],
84
106
  after: [],
85
107
  };
86
- if (normalizedEntry.name)
87
- normalizedEntriesNameMap[normalizedEntry.name] = normalizedEntry;
108
+ for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
109
+ normalizedEntriesNameMap[alias] = normalizedEntry;
110
+ }
88
111
  normalizedRelativeEntries.push(normalizedEntry);
89
112
  });
90
113
  normalizedRelativeEntries.forEach((entry) => {
@@ -94,7 +117,9 @@ export const constructStack = () => {
94
117
  if (debug) {
95
118
  return;
96
119
  }
97
- throw new Error(`${entry.toMiddleware} is not found when adding ${entry.name || "anonymous"} middleware ${entry.relation} ${entry.toMiddleware}`);
120
+ throw new Error(`${entry.toMiddleware} is not found when adding ` +
121
+ `${getMiddlewareNameWithAliases(entry.name, entry.aliases)} ` +
122
+ `middleware ${entry.relation} ${entry.toMiddleware}`);
98
123
  }
99
124
  if (entry.relation === "after") {
100
125
  toMiddleware.after.push(entry);
@@ -114,48 +139,68 @@ export const constructStack = () => {
114
139
  };
115
140
  const stack = {
116
141
  add: (middleware, options = {}) => {
117
- const { name, override } = options;
142
+ const { name, override, aliases: _aliases } = options;
118
143
  const entry = {
119
144
  step: "initialize",
120
145
  priority: "normal",
121
146
  middleware,
122
147
  ...options,
123
148
  };
124
- if (name) {
125
- if (entriesNameSet.has(name)) {
149
+ const aliases = getAllAliases(name, _aliases);
150
+ if (aliases.length > 0) {
151
+ if (aliases.some((alias) => entriesNameSet.has(alias))) {
126
152
  if (!override)
127
- throw new Error(`Duplicate middleware name '${name}'`);
128
- const toOverrideIndex = absoluteEntries.findIndex((entry) => entry.name === name);
129
- const toOverride = absoluteEntries[toOverrideIndex];
130
- if (toOverride.step !== entry.step || toOverride.priority !== entry.priority) {
131
- throw new Error(`"${name}" middleware with ${toOverride.priority} priority in ${toOverride.step} step cannot be ` +
132
- `overridden by same-name middleware with ${entry.priority} priority in ${entry.step} step.`);
153
+ throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
154
+ for (const alias of aliases) {
155
+ const toOverrideIndex = absoluteEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias));
156
+ if (toOverrideIndex === -1) {
157
+ continue;
158
+ }
159
+ const toOverride = absoluteEntries[toOverrideIndex];
160
+ if (toOverride.step !== entry.step || entry.priority !== toOverride.priority) {
161
+ throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware with ` +
162
+ `${toOverride.priority} priority in ${toOverride.step} step cannot ` +
163
+ `be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware with ` +
164
+ `${entry.priority} priority in ${entry.step} step.`);
165
+ }
166
+ absoluteEntries.splice(toOverrideIndex, 1);
133
167
  }
134
- absoluteEntries.splice(toOverrideIndex, 1);
135
168
  }
136
- entriesNameSet.add(name);
169
+ for (const alias of aliases) {
170
+ entriesNameSet.add(alias);
171
+ }
137
172
  }
138
173
  absoluteEntries.push(entry);
139
174
  },
140
175
  addRelativeTo: (middleware, options) => {
141
- const { name, override } = options;
176
+ const { name, override, aliases: _aliases } = options;
142
177
  const entry = {
143
178
  middleware,
144
179
  ...options,
145
180
  };
146
- if (name) {
147
- if (entriesNameSet.has(name)) {
181
+ const aliases = getAllAliases(name, _aliases);
182
+ if (aliases.length > 0) {
183
+ if (aliases.some((alias) => entriesNameSet.has(alias))) {
148
184
  if (!override)
149
- throw new Error(`Duplicate middleware name '${name}'`);
150
- const toOverrideIndex = relativeEntries.findIndex((entry) => entry.name === name);
151
- const toOverride = relativeEntries[toOverrideIndex];
152
- if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) {
153
- throw new Error(`"${name}" middleware ${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden ` +
154
- `by same-name middleware ${entry.relation} "${entry.toMiddleware}" middleware.`);
185
+ throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
186
+ for (const alias of aliases) {
187
+ const toOverrideIndex = relativeEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias));
188
+ if (toOverrideIndex === -1) {
189
+ continue;
190
+ }
191
+ const toOverride = relativeEntries[toOverrideIndex];
192
+ if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) {
193
+ throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware ` +
194
+ `${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden ` +
195
+ `by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware ${entry.relation} ` +
196
+ `"${entry.toMiddleware}" middleware.`);
197
+ }
198
+ relativeEntries.splice(toOverrideIndex, 1);
155
199
  }
156
- relativeEntries.splice(toOverrideIndex, 1);
157
200
  }
158
- entriesNameSet.add(name);
201
+ for (const alias of aliases) {
202
+ entriesNameSet.add(alias);
203
+ }
159
204
  }
160
205
  relativeEntries.push(entry);
161
206
  },
@@ -172,10 +217,12 @@ export const constructStack = () => {
172
217
  removeByTag: (toRemove) => {
173
218
  let isRemoved = false;
174
219
  const filterCb = (entry) => {
175
- const { tags, name } = entry;
220
+ const { tags, name, aliases: _aliases } = entry;
176
221
  if (tags && tags.includes(toRemove)) {
177
- if (name)
178
- entriesNameSet.delete(name);
222
+ const aliases = getAllAliases(name, _aliases);
223
+ for (const alias of aliases) {
224
+ entriesNameSet.delete(alias);
225
+ }
179
226
  isRemoved = true;
180
227
  return false;
181
228
  }
@@ -188,20 +235,33 @@ export const constructStack = () => {
188
235
  concat: (from) => {
189
236
  const cloned = cloneTo(constructStack());
190
237
  cloned.use(from);
238
+ cloned.identifyOnResolve(identifyOnResolve || cloned.identifyOnResolve() || (from.identifyOnResolve?.() ?? false));
191
239
  return cloned;
192
240
  },
193
241
  applyToStack: cloneTo,
194
242
  identify: () => {
195
243
  return getMiddlewareList(true).map((mw) => {
196
- return mw.name + ": " + (mw.tags || []).join(",");
244
+ const step = mw.step ??
245
+ mw.relation +
246
+ " " +
247
+ mw.toMiddleware;
248
+ return getMiddlewareNameWithAliases(mw.name, mw.aliases) + " - " + step;
197
249
  });
198
250
  },
251
+ identifyOnResolve(toggle) {
252
+ if (typeof toggle === "boolean")
253
+ identifyOnResolve = toggle;
254
+ return identifyOnResolve;
255
+ },
199
256
  resolve: (handler, context) => {
200
257
  for (const middleware of getMiddlewareList()
201
258
  .map((entry) => entry.middleware)
202
259
  .reverse()) {
203
260
  handler = middleware(handler, context);
204
261
  }
262
+ if (identifyOnResolve) {
263
+ console.log(stack.identify());
264
+ }
205
265
  return handler;
206
266
  },
207
267
  };
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@smithy/middleware-stack",
3
- "version": "1.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "Provides a means for composing multiple middleware functions into a single handler",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
7
- "build:cjs": "tsc -p tsconfig.cjs.json",
8
- "build:es": "tsc -p tsconfig.es.json",
9
- "build:types": "tsc -p tsconfig.types.json",
7
+ "build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
8
+ "build:es": "yarn g:tsc -p tsconfig.es.json",
9
+ "build:types": "yarn g:tsc -p tsconfig.types.json",
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
13
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
14
14
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
15
15
  "extract:docs": "api-extractor run --local",
16
- "test": "jest"
16
+ "test": "yarn g:jest"
17
17
  },
18
18
  "author": {
19
19
  "name": "AWS SDK for JavaScript Team",
@@ -25,17 +25,15 @@
25
25
  "module": "./dist-es/index.js",
26
26
  "types": "./dist-types/index.d.ts",
27
27
  "dependencies": {
28
+ "@smithy/types": "^2.3.4",
28
29
  "tslib": "^2.5.0"
29
30
  },
30
31
  "devDependencies": {
31
- "@smithy/types": "^1.1.1",
32
32
  "@tsconfig/recommended": "1.0.1",
33
33
  "concurrently": "7.0.0",
34
34
  "downlevel-dts": "0.10.1",
35
- "jest": "28.1.1",
36
35
  "rimraf": "3.0.2",
37
- "typedoc": "0.23.23",
38
- "typescript": "~4.9.5"
36
+ "typedoc": "0.23.23"
39
37
  },
40
38
  "engines": {
41
39
  "node": ">=14.0.0"
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@smithy/node-config-provider",
3
- "version": "1.0.2",
3
+ "version": "2.0.13",
4
4
  "description": "Load config default values from ini config files and environmental variable",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
7
- "build:cjs": "tsc -p tsconfig.cjs.json",
8
- "build:es": "tsc -p tsconfig.es.json",
9
- "build:types": "tsc -p tsconfig.types.json",
7
+ "build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
8
+ "build:es": "yarn g:tsc -p tsconfig.es.json",
9
+ "build:types": "yarn g:tsc -p tsconfig.types.json",
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
13
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
14
14
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
15
- "test": "jest --passWithNoTests"
15
+ "test": "yarn g:jest --passWithNoTests"
16
16
  },
17
17
  "author": {
18
18
  "name": "AWS SDK for JavaScript Team",
@@ -24,9 +24,9 @@
24
24
  "module": "./dist-es/index.js",
25
25
  "types": "./dist-types/index.d.ts",
26
26
  "dependencies": {
27
- "@smithy/property-provider": "^1.0.2",
28
- "@smithy/shared-ini-file-loader": "^1.0.2",
29
- "@smithy/types": "^1.1.1",
27
+ "@smithy/property-provider": "^2.0.11",
28
+ "@smithy/shared-ini-file-loader": "^2.0.12",
29
+ "@smithy/types": "^2.3.4",
30
30
  "tslib": "^2.5.0"
31
31
  },
32
32
  "devDependencies": {
@@ -34,10 +34,8 @@
34
34
  "@types/node": "^14.14.31",
35
35
  "concurrently": "7.0.0",
36
36
  "downlevel-dts": "0.10.1",
37
- "jest": "28.1.1",
38
37
  "rimraf": "3.0.2",
39
- "typedoc": "0.23.23",
40
- "typescript": "~4.9.5"
38
+ "typedoc": "0.23.23"
41
39
  },
42
40
  "engines": {
43
41
  "node": ">=14.0.0"
@@ -130,5 +130,18 @@ class NodeHttpHandler {
130
130
  writeRequestBodyPromise = (0, write_request_body_1.writeRequestBody)(req, request, this.config.requestTimeout).catch(_reject);
131
131
  });
132
132
  }
133
+ updateHttpClientConfig(key, value) {
134
+ this.config = undefined;
135
+ this.configProvider = this.configProvider.then((config) => {
136
+ return {
137
+ ...config,
138
+ [key]: value,
139
+ };
140
+ });
141
+ }
142
+ httpHandlerConfigs() {
143
+ var _a;
144
+ return (_a = this.config) !== null && _a !== void 0 ? _a : {};
145
+ }
133
146
  }
134
147
  exports.NodeHttpHandler = NodeHttpHandler;
@@ -137,6 +137,19 @@ class NodeHttp2Handler {
137
137
  writeRequestBodyPromise = (0, write_request_body_1.writeRequestBody)(req, request, requestTimeout);
138
138
  });
139
139
  }
140
+ updateHttpClientConfig(key, value) {
141
+ this.config = undefined;
142
+ this.configProvider = this.configProvider.then((config) => {
143
+ return {
144
+ ...config,
145
+ [key]: value,
146
+ };
147
+ });
148
+ }
149
+ httpHandlerConfigs() {
150
+ var _a;
151
+ return (_a = this.config) !== null && _a !== void 0 ? _a : {};
152
+ }
140
153
  destroySession(session) {
141
154
  if (!session.destroyed) {
142
155
  session.destroy();
@@ -125,4 +125,16 @@ export class NodeHttpHandler {
125
125
  writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch(_reject);
126
126
  });
127
127
  }
128
+ updateHttpClientConfig(key, value) {
129
+ this.config = undefined;
130
+ this.configProvider = this.configProvider.then((config) => {
131
+ return {
132
+ ...config,
133
+ [key]: value,
134
+ };
135
+ });
136
+ }
137
+ httpHandlerConfigs() {
138
+ return this.config ?? {};
139
+ }
128
140
  }
@@ -133,6 +133,18 @@ export class NodeHttp2Handler {
133
133
  writeRequestBodyPromise = writeRequestBody(req, request, requestTimeout);
134
134
  });
135
135
  }
136
+ updateHttpClientConfig(key, value) {
137
+ this.config = undefined;
138
+ this.configProvider = this.configProvider.then((config) => {
139
+ return {
140
+ ...config,
141
+ [key]: value,
142
+ };
143
+ });
144
+ }
145
+ httpHandlerConfigs() {
146
+ return this.config ?? {};
147
+ }
136
148
  destroySession(session) {
137
149
  if (!session.destroyed) {
138
150
  session.destroy();
@@ -31,9 +31,9 @@ export interface NodeHttpHandlerOptions {
31
31
  httpsAgent?: hsAgent;
32
32
  }
33
33
  export declare const DEFAULT_REQUEST_TIMEOUT = 0;
34
- export declare class NodeHttpHandler implements HttpHandler {
34
+ export declare class NodeHttpHandler implements HttpHandler<NodeHttpHandlerOptions> {
35
35
  private config?;
36
- private readonly configProvider;
36
+ private configProvider;
37
37
  readonly metadata: {
38
38
  handlerProtocol: string;
39
39
  };
@@ -43,4 +43,6 @@ export declare class NodeHttpHandler implements HttpHandler {
43
43
  handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
44
44
  response: HttpResponse;
45
45
  }>;
46
+ updateHttpClientConfig(key: keyof NodeHttpHandlerOptions, value: NodeHttpHandlerOptions[typeof key]): void;
47
+ httpHandlerConfigs(): NodeHttpHandlerOptions;
46
48
  }
@@ -30,9 +30,9 @@ export interface NodeHttp2HandlerOptions {
30
30
  */
31
31
  maxConcurrentStreams?: number;
32
32
  }
33
- export declare class NodeHttp2Handler implements HttpHandler {
33
+ export declare class NodeHttp2Handler implements HttpHandler<NodeHttp2HandlerOptions> {
34
34
  private config?;
35
- private readonly configProvider;
35
+ private configProvider;
36
36
  readonly metadata: {
37
37
  handlerProtocol: string;
38
38
  };
@@ -42,6 +42,8 @@ export declare class NodeHttp2Handler implements HttpHandler {
42
42
  handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
43
43
  response: HttpResponse;
44
44
  }>;
45
+ updateHttpClientConfig(key: keyof NodeHttp2HandlerOptions, value: NodeHttp2HandlerOptions[typeof key]): void;
46
+ httpHandlerConfigs(): NodeHttp2HandlerOptions;
45
47
  /**
46
48
  * Destroys a session.
47
49
  * @param session The session to destroy.
@@ -30,9 +30,9 @@ export interface NodeHttpHandlerOptions {
30
30
  httpsAgent?: hsAgent;
31
31
  }
32
32
  export declare const DEFAULT_REQUEST_TIMEOUT = 0;
33
- export declare class NodeHttpHandler implements HttpHandler {
33
+ export declare class NodeHttpHandler implements HttpHandler<NodeHttpHandlerOptions> {
34
34
  private config?;
35
- private readonly configProvider;
35
+ private configProvider;
36
36
  readonly metadata: {
37
37
  handlerProtocol: string;
38
38
  };
@@ -42,4 +42,6 @@ export declare class NodeHttpHandler implements HttpHandler {
42
42
  handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
43
43
  response: HttpResponse;
44
44
  }>;
45
+ updateHttpClientConfig(key: keyof NodeHttpHandlerOptions, value: NodeHttpHandlerOptions[typeof key]): void;
46
+ httpHandlerConfigs(): NodeHttpHandlerOptions;
45
47
  }
@@ -30,9 +30,9 @@ export interface NodeHttp2HandlerOptions {
30
30
  */
31
31
  maxConcurrentStreams?: number;
32
32
  }
33
- export declare class NodeHttp2Handler implements HttpHandler {
33
+ export declare class NodeHttp2Handler implements HttpHandler<NodeHttp2HandlerOptions> {
34
34
  private config?;
35
- private readonly configProvider;
35
+ private configProvider;
36
36
  readonly metadata: {
37
37
  handlerProtocol: string;
38
38
  };
@@ -42,6 +42,8 @@ export declare class NodeHttp2Handler implements HttpHandler {
42
42
  handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
43
43
  response: HttpResponse;
44
44
  }>;
45
+ updateHttpClientConfig(key: keyof NodeHttp2HandlerOptions, value: NodeHttp2HandlerOptions[typeof key]): void;
46
+ httpHandlerConfigs(): NodeHttp2HandlerOptions;
45
47
  /**
46
48
  * Destroys a session.
47
49
  * @param session The session to destroy.
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "1.0.3",
3
+ "version": "2.1.6",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
7
- "build:cjs": "tsc -p tsconfig.cjs.json",
8
- "build:es": "tsc -p tsconfig.es.json",
9
- "build:types": "tsc -p tsconfig.types.json",
7
+ "build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
8
+ "build:es": "yarn g:tsc -p tsconfig.es.json",
9
+ "build:types": "yarn g:tsc -p tsconfig.types.json",
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
13
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
14
14
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
15
15
  "extract:docs": "api-extractor run --local",
16
- "test": "jest --coverage --forceExit"
16
+ "test": "yarn g:jest --coverage --forceExit"
17
17
  },
18
18
  "author": {
19
19
  "name": "AWS SDK for JavaScript Team",
@@ -25,10 +25,10 @@
25
25
  "module": "./dist-es/index.js",
26
26
  "types": "./dist-types/index.d.ts",
27
27
  "dependencies": {
28
- "@smithy/abort-controller": "^1.0.2",
29
- "@smithy/protocol-http": "^1.1.1",
30
- "@smithy/querystring-builder": "^1.0.2",
31
- "@smithy/types": "^1.1.1",
28
+ "@smithy/abort-controller": "^2.0.10",
29
+ "@smithy/protocol-http": "^3.0.6",
30
+ "@smithy/querystring-builder": "^2.0.10",
31
+ "@smithy/types": "^2.3.4",
32
32
  "tslib": "^2.5.0"
33
33
  },
34
34
  "devDependencies": {
@@ -36,10 +36,8 @@
36
36
  "@types/node": "^14.14.31",
37
37
  "concurrently": "7.0.0",
38
38
  "downlevel-dts": "0.10.1",
39
- "jest": "28.1.1",
40
39
  "rimraf": "3.0.2",
41
- "typedoc": "0.23.23",
42
- "typescript": "~4.9.5"
40
+ "typedoc": "0.23.23"
43
41
  },
44
42
  "engines": {
45
43
  "node": ">=14.0.0"
@@ -2,18 +2,24 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.chain = void 0;
4
4
  const ProviderError_1 = require("./ProviderError");
5
- function chain(...providers) {
6
- return () => {
7
- let promise = Promise.reject(new ProviderError_1.ProviderError("No providers in chain"));
8
- for (const provider of providers) {
9
- promise = promise.catch((err) => {
10
- if (err === null || err === void 0 ? void 0 : err.tryNextLink) {
11
- return provider();
12
- }
13
- throw err;
14
- });
5
+ const chain = (...providers) => async () => {
6
+ if (providers.length === 0) {
7
+ throw new ProviderError_1.ProviderError("No providers in chain");
8
+ }
9
+ let lastProviderError;
10
+ for (const provider of providers) {
11
+ try {
12
+ const credentials = await provider();
13
+ return credentials;
15
14
  }
16
- return promise;
17
- };
18
- }
15
+ catch (err) {
16
+ lastProviderError = err;
17
+ if (err === null || err === void 0 ? void 0 : err.tryNextLink) {
18
+ continue;
19
+ }
20
+ throw err;
21
+ }
22
+ }
23
+ throw lastProviderError;
24
+ };
19
25
  exports.chain = chain;
@@ -1,15 +1,21 @@
1
1
  import { ProviderError } from "./ProviderError";
2
- export function chain(...providers) {
3
- return () => {
4
- let promise = Promise.reject(new ProviderError("No providers in chain"));
5
- for (const provider of providers) {
6
- promise = promise.catch((err) => {
7
- if (err?.tryNextLink) {
8
- return provider();
9
- }
10
- throw err;
11
- });
2
+ export const chain = (...providers) => async () => {
3
+ if (providers.length === 0) {
4
+ throw new ProviderError("No providers in chain");
5
+ }
6
+ let lastProviderError;
7
+ for (const provider of providers) {
8
+ try {
9
+ const credentials = await provider();
10
+ return credentials;
12
11
  }
13
- return promise;
14
- };
15
- }
12
+ catch (err) {
13
+ lastProviderError = err;
14
+ if (err?.tryNextLink) {
15
+ continue;
16
+ }
17
+ throw err;
18
+ }
19
+ }
20
+ throw lastProviderError;
21
+ };
@@ -1,6 +1,6 @@
1
1
  import { ProviderError } from "./ProviderError";
2
2
  /**
3
- * @internal
3
+ * @public
4
4
  *
5
5
  * An error representing a failure of an individual credential provider.
6
6
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @internal
2
+ * @public
3
3
  *
4
4
  * An error representing a failure of an individual provider.
5
5
  *
@@ -1,6 +1,6 @@
1
1
  import { ProviderError } from "./ProviderError";
2
2
  /**
3
- * @internal
3
+ * @public
4
4
  *
5
5
  * An error representing a failure of an individual token provider.
6
6
  *
@@ -10,4 +10,4 @@ import { Provider } from "@smithy/types";
10
10
  * If no providers were received or no provider resolves successfully, the
11
11
  * returned promise will be rejected.
12
12
  */
13
- export declare function chain<T>(...providers: Array<Provider<T>>): Provider<T>;
13
+ export declare const chain: <T>(...providers: Provider<T>[]) => Provider<T>;