@cdklabs/cdk-ecs-codedeploy 0.0.235 → 0.0.237

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 (664) hide show
  1. package/.jsii +3 -3
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/api-canary/index.js +1 -1
  4. package/lib/ecs-appspec/index.js +1 -1
  5. package/lib/ecs-deployment/index.js +1 -1
  6. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/CodeDeploy.js +1 -105
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/CodeDeployClient.js +1 -43
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/AddTagsToOnPremisesInstancesCommand.js +1 -28
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js +1 -28
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationsCommand.js +1 -28
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js +1 -28
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js +1 -28
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +1 -28
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentsCommand.js +1 -28
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js +1 -28
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ContinueDeploymentCommand.js +1 -28
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateApplicationCommand.js +1 -28
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentCommand.js +1 -28
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentConfigCommand.js +1 -28
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentGroupCommand.js +1 -28
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteApplicationCommand.js +1 -28
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentConfigCommand.js +1 -28
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentGroupCommand.js +1 -28
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js +1 -28
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js +1 -28
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js +1 -28
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationCommand.js +1 -28
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationRevisionCommand.js +1 -28
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentCommand.js +1 -28
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentConfigCommand.js +1 -28
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentGroupCommand.js +1 -28
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentInstanceCommand.js +1 -28
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentTargetCommand.js +1 -28
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetOnPremisesInstanceCommand.js +1 -28
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationRevisionsCommand.js +1 -28
  37. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationsCommand.js +1 -28
  38. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentConfigsCommand.js +1 -28
  39. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentGroupsCommand.js +1 -28
  40. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentInstancesCommand.js +1 -28
  41. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentTargetsCommand.js +1 -28
  42. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentsCommand.js +1 -28
  43. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js +1 -28
  44. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListOnPremisesInstancesCommand.js +1 -28
  45. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  46. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +1 -28
  47. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterApplicationRevisionCommand.js +1 -28
  48. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js +1 -28
  49. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +1 -28
  50. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +1 -28
  51. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/StopDeploymentCommand.js +1 -28
  52. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/TagResourceCommand.js +1 -28
  53. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UntagResourceCommand.js +1 -28
  54. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateApplicationCommand.js +1 -28
  55. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateDeploymentGroupCommand.js +1 -28
  56. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/index.js +1 -50
  57. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/EndpointParameters.js +1 -18
  58. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/extensionConfiguration.js +1 -2
  59. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +7607 -12
  60. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/CodeDeployServiceException.js +1 -12
  61. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/index.js +1 -4
  62. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/models_0.js +1 -1657
  63. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/Interfaces.js +1 -2
  64. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListApplicationRevisionsPaginator.js +1 -7
  65. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListApplicationsPaginator.js +1 -7
  66. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentConfigsPaginator.js +1 -7
  67. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentGroupsPaginator.js +1 -7
  68. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentInstancesPaginator.js +1 -7
  69. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentsPaginator.js +1 -7
  70. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/index.js +1 -10
  71. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/protocols/Aws_json1_1.js +1 -4159
  72. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeExtensions.js +1 -22
  73. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/waiters/index.js +1 -4
  74. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/waiters/waitForDeploymentSuccessful.js +1 -54
  75. package/node_modules/@aws-sdk/client-codedeploy/package.json +41 -41
  76. package/node_modules/@aws-sdk/client-sso/dist-cjs/SSO.js +1 -19
  77. package/node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js +1 -40
  78. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +1 -29
  79. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +1 -29
  80. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +1 -29
  81. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +1 -29
  82. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/index.js +1 -7
  83. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/EndpointParameters.js +1 -18
  84. package/node_modules/@aws-sdk/client-sso/dist-cjs/extensionConfiguration.js +1 -2
  85. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +689 -11
  86. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js +1 -12
  87. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/index.js +1 -4
  88. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/models_0.js +1 -88
  89. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/Interfaces.js +1 -2
  90. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js +1 -7
  91. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js +1 -7
  92. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/index.js +1 -6
  93. package/node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js +1 -346
  94. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js +1 -22
  95. package/node_modules/@aws-sdk/client-sso/package.json +37 -37
  96. package/node_modules/@aws-sdk/client-sts/dist-cjs/STS.js +1 -27
  97. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +1 -29
  98. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +1 -28
  99. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +1 -28
  100. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +1 -28
  101. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +1 -29
  102. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +1 -29
  103. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/index.js +1 -11
  104. package/node_modules/@aws-sdk/client-sts/dist-cjs/defaultRoleAssumers.js +1 -28
  105. package/node_modules/@aws-sdk/client-sts/dist-cjs/extensionConfiguration.js +1 -2
  106. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +254 -11
  107. package/node_modules/@aws-sdk/client-sts/dist-cjs/models/index.js +1 -4
  108. package/node_modules/@aws-sdk/client-sts/package.json +39 -39
  109. package/node_modules/@aws-sdk/core/CHANGELOG.md +11 -0
  110. package/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +1 -17
  111. package/node_modules/@aws-sdk/core/dist-cjs/client/index.js +1 -4
  112. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +1 -61
  113. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +1 -5
  114. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +1 -82
  115. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +1 -4
  116. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +1 -6
  117. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -5
  118. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -12
  119. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +1 -6
  120. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +1 -6
  121. package/node_modules/@aws-sdk/core/dist-cjs/index.js +314 -6
  122. package/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +1 -59
  123. package/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +1 -5
  124. package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +1 -14
  125. package/node_modules/@aws-sdk/core/package.json +7 -7
  126. package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
  127. package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
  128. package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
  129. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/fromEnv.js +1 -27
  130. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +64 -4
  131. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  132. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/fromIni.js +1 -10
  133. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +173 -4
  134. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js +1 -52
  135. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveCredentialSource.js +1 -21
  136. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProcessCredentials.js +1 -11
  137. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProfileData.js +1 -32
  138. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveSsoCredentials.js +1 -17
  139. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveStaticCredentials.js +1 -16
  140. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveWebIdentityCredentials.js +1 -17
  141. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  142. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/defaultProvider.js +1 -15
  143. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +71 -4
  144. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/remoteProvider.js +1 -18
  145. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  146. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/ProcessCredentials.js +1 -2
  147. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js +1 -10
  148. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js +1 -26
  149. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +94 -4
  150. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js +1 -37
  151. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  152. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/fromSSO.js +1 -61
  153. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +175 -7
  154. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/isSsoProfile.js +1 -10
  155. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +1 -56
  156. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js +1 -2
  157. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/validateSsoProfile.js +1 -13
  158. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  159. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +25 -5
  160. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  161. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +63 -34
  162. package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
  163. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +77 -4
  164. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js +1 -48
  165. package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
  166. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +62 -36
  167. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
  168. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthConfiguration.js +1 -108
  169. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthMiddleware.js +1 -62
  170. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js +225 -5
  171. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/getSkewCorrectedDate.js +1 -5
  172. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/getUpdatedSystemClockOffset.js +1 -12
  173. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/isClockSkewed.js +1 -6
  174. package/node_modules/@aws-sdk/middleware-signing/package.json +8 -8
  175. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/configurations.js +1 -10
  176. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/constants.js +1 -10
  177. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +120 -5
  178. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/user-agent-middleware.js +1 -79
  179. package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -6
  180. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js +1 -30
  181. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +113 -5
  182. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +1 -15
  183. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +1 -10
  184. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js +1 -5
  185. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +1 -5
  186. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +1 -29
  187. package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -7
  188. package/node_modules/@aws-sdk/token-providers/dist-cjs/constants.js +1 -5
  189. package/node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js +1 -82
  190. package/node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js +1 -11
  191. package/node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +1 -15
  192. package/node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +1 -14
  193. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +198 -7
  194. package/node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js +1 -9
  195. package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js +1 -11
  196. package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js +1 -11
  197. package/node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js +1 -12
  198. package/node_modules/@aws-sdk/token-providers/package.json +36 -36
  199. package/node_modules/@aws-sdk/types/dist-cjs/abort.js +1 -2
  200. package/node_modules/@aws-sdk/types/dist-cjs/auth.js +1 -5
  201. package/node_modules/@aws-sdk/types/dist-cjs/blob/blob-types.js +1 -2
  202. package/node_modules/@aws-sdk/types/dist-cjs/checksum.js +1 -2
  203. package/node_modules/@aws-sdk/types/dist-cjs/client.js +1 -2
  204. package/node_modules/@aws-sdk/types/dist-cjs/command.js +1 -2
  205. package/node_modules/@aws-sdk/types/dist-cjs/connection.js +1 -2
  206. package/node_modules/@aws-sdk/types/dist-cjs/credentials.js +1 -2
  207. package/node_modules/@aws-sdk/types/dist-cjs/crypto.js +1 -2
  208. package/node_modules/@aws-sdk/types/dist-cjs/dns.js +1 -8
  209. package/node_modules/@aws-sdk/types/dist-cjs/encode.js +1 -2
  210. package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +1 -5
  211. package/node_modules/@aws-sdk/types/dist-cjs/eventStream.js +1 -2
  212. package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +1 -2
  213. package/node_modules/@aws-sdk/types/dist-cjs/http.js +1 -2
  214. package/node_modules/@aws-sdk/types/dist-cjs/identity/AnonymousIdentity.js +1 -2
  215. package/node_modules/@aws-sdk/types/dist-cjs/identity/AwsCredentialIdentity.js +1 -2
  216. package/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +1 -2
  217. package/node_modules/@aws-sdk/types/dist-cjs/identity/LoginIdentity.js +1 -2
  218. package/node_modules/@aws-sdk/types/dist-cjs/identity/TokenIdentity.js +1 -2
  219. package/node_modules/@aws-sdk/types/dist-cjs/identity/index.js +1 -8
  220. package/node_modules/@aws-sdk/types/dist-cjs/index.js +464 -35
  221. package/node_modules/@aws-sdk/types/dist-cjs/logger.js +1 -2
  222. package/node_modules/@aws-sdk/types/dist-cjs/middleware.js +1 -2
  223. package/node_modules/@aws-sdk/types/dist-cjs/pagination.js +1 -2
  224. package/node_modules/@aws-sdk/types/dist-cjs/profile.js +1 -2
  225. package/node_modules/@aws-sdk/types/dist-cjs/request.js +1 -2
  226. package/node_modules/@aws-sdk/types/dist-cjs/response.js +1 -2
  227. package/node_modules/@aws-sdk/types/dist-cjs/retry.js +1 -2
  228. package/node_modules/@aws-sdk/types/dist-cjs/serde.js +1 -2
  229. package/node_modules/@aws-sdk/types/dist-cjs/shapes.js +1 -2
  230. package/node_modules/@aws-sdk/types/dist-cjs/signature.js +1 -2
  231. package/node_modules/@aws-sdk/types/dist-cjs/stream.js +1 -2
  232. package/node_modules/@aws-sdk/types/dist-cjs/token.js +1 -2
  233. package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +1 -5
  234. package/node_modules/@aws-sdk/types/dist-cjs/uri.js +1 -2
  235. package/node_modules/@aws-sdk/types/dist-cjs/util.js +1 -2
  236. package/node_modules/@aws-sdk/types/dist-cjs/waiter.js +1 -2
  237. package/node_modules/@aws-sdk/types/package.json +3 -3
  238. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/aws.js +1 -12
  239. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +422 -8
  240. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/index.js +1 -6
  241. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/isVirtualHostableS3Bucket.js +1 -29
  242. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/parseArn.js +1 -19
  243. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js +1 -49
  244. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isIpAddress.js +1 -5
  245. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/resolveEndpoint.js +1 -5
  246. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointError.js +1 -5
  247. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointRuleObject.js +1 -2
  248. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/ErrorRuleObject.js +1 -2
  249. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/RuleSetObject.js +1 -2
  250. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/TreeRuleObject.js +1 -2
  251. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/index.js +1 -9
  252. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/shared.js +1 -2
  253. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  254. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +37 -11
  255. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
  256. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  257. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/crt-availability.js +1 -6
  258. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +91 -43
  259. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js +1 -11
  260. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  261. package/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +1 -13
  262. package/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +1 -24
  263. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +85 -5
  264. package/node_modules/@smithy/abort-controller/package.json +3 -3
  265. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +1 -12
  266. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +1 -12
  267. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/index.js +1 -7
  268. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveCustomEndpointsConfig.js +1 -16
  269. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveEndpointsConfig.js +1 -20
  270. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/utils/getEndpointFromRegion.js +1 -20
  271. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +235 -6
  272. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/config.js +1 -15
  273. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/getRealRegion.js +1 -10
  274. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/index.js +1 -5
  275. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/isFipsRegion.js +1 -5
  276. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +1 -29
  277. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariant.js +1 -2
  278. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariantTag.js +1 -2
  279. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/PartitionHash.js +1 -2
  280. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/RegionHash.js +1 -2
  281. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getHostnameFromVariants.js +1 -8
  282. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getRegionInfo.js +1 -34
  283. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedHostname.js +1 -9
  284. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedPartition.js +1 -5
  285. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedSigningRegion.js +1 -16
  286. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/index.js +1 -6
  287. package/node_modules/@smithy/config-resolver/package.json +6 -6
  288. package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +1 -6
  289. package/node_modules/@smithy/core/dist-cjs/index.js +482 -12
  290. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +1 -22
  291. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -22
  292. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -45
  293. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +1 -6
  294. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +1 -20
  295. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +1 -28
  296. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +1 -5
  297. package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +1 -10
  298. package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +1 -32
  299. package/node_modules/@smithy/core/dist-cjs/protocols/requestBuilder.js +1 -72
  300. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +1 -17
  301. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +1 -37
  302. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +1 -14
  303. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +1 -6
  304. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +1 -9
  305. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +1 -6
  306. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +1 -59
  307. package/node_modules/@smithy/core/package.json +9 -9
  308. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +1 -8
  309. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +1 -10
  310. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +1 -8
  311. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +1 -11
  312. package/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +1 -13
  313. package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +1 -70
  314. package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +1 -137
  315. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +427 -12
  316. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +1 -17
  317. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +1 -7
  318. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +1 -41
  319. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +1 -5
  320. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +1 -11
  321. package/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +1 -2
  322. package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +1 -22
  323. package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +1 -23
  324. package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +1 -29
  325. package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
  326. package/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js +1 -66
  327. package/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js +1 -186
  328. package/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js +1 -47
  329. package/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js +1 -2
  330. package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js +1 -18
  331. package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js +1 -21
  332. package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js +1 -20
  333. package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js +1 -18
  334. package/node_modules/@smithy/eventstream-codec/dist-cjs/TestVectors.fixture.js +1 -693
  335. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +468 -11
  336. package/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js +1 -34
  337. package/node_modules/@smithy/eventstream-codec/dist-cjs/vectorTypes.fixture.js +1 -2
  338. package/node_modules/@smithy/eventstream-codec/package.json +5 -5
  339. package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +1 -117
  340. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +220 -5
  341. package/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +1 -15
  342. package/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +1 -50
  343. package/node_modules/@smithy/fetch-http-handler/package.json +7 -7
  344. package/node_modules/@smithy/hash-node/dist-cjs/index.js +64 -36
  345. package/node_modules/@smithy/hash-node/package.json +5 -5
  346. package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +41 -5
  347. package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidFunction.js +1 -7
  348. package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidProvider.js +1 -5
  349. package/node_modules/@smithy/invalid-dependency/package.json +3 -3
  350. package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -6
  351. package/node_modules/@smithy/is-array-buffer/package.json +7 -9
  352. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +66 -39
  353. package/node_modules/@smithy/middleware-content-length/package.json +5 -5
  354. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/createConfigValueProvider.js +1 -38
  355. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromInstructions.js +1 -51
  356. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/index.js +1 -5
  357. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/toEndpointV1.js +1 -14
  358. package/node_modules/@smithy/middleware-endpoint/dist-cjs/endpointMiddleware.js +1 -37
  359. package/node_modules/@smithy/middleware-endpoint/dist-cjs/getEndpointPlugin.js +1 -22
  360. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +254 -8
  361. package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointConfig.js +1 -21
  362. package/node_modules/@smithy/middleware-endpoint/dist-cjs/service-customizations/index.js +1 -4
  363. package/node_modules/@smithy/middleware-endpoint/dist-cjs/service-customizations/s3.js +1 -43
  364. package/node_modules/@smithy/middleware-endpoint/dist-cjs/types.js +1 -2
  365. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  366. package/node_modules/@smithy/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js +1 -24
  367. package/node_modules/@smithy/middleware-retry/dist-cjs/StandardRetryStrategy.js +1 -95
  368. package/node_modules/@smithy/middleware-retry/dist-cjs/configurations.js +1 -57
  369. package/node_modules/@smithy/middleware-retry/dist-cjs/defaultRetryQuota.js +1 -32
  370. package/node_modules/@smithy/middleware-retry/dist-cjs/delayDecider.js +1 -6
  371. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +424 -10
  372. package/node_modules/@smithy/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js +1 -27
  373. package/node_modules/@smithy/middleware-retry/dist-cjs/retryDecider.js +1 -11
  374. package/node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js +1 -118
  375. package/node_modules/@smithy/middleware-retry/dist-cjs/types.js +1 -2
  376. package/node_modules/@smithy/middleware-retry/dist-cjs/util.js +1 -13
  377. package/node_modules/@smithy/middleware-retry/package.json +10 -10
  378. package/node_modules/@smithy/middleware-serde/dist-cjs/deserializerMiddleware.js +1 -24
  379. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +97 -6
  380. package/node_modules/@smithy/middleware-serde/dist-cjs/serdePlugin.js +1 -26
  381. package/node_modules/@smithy/middleware-serde/dist-cjs/serializerMiddleware.js +1 -18
  382. package/node_modules/@smithy/middleware-serde/package.json +4 -4
  383. package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +1 -287
  384. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +318 -4
  385. package/node_modules/@smithy/middleware-stack/dist-cjs/types.js +1 -2
  386. package/node_modules/@smithy/middleware-stack/package.json +3 -3
  387. package/node_modules/@smithy/node-config-provider/dist-cjs/configLoader.js +1 -9
  388. package/node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js +1 -17
  389. package/node_modules/@smithy/node-config-provider/dist-cjs/fromSharedConfigFiles.js +1 -26
  390. package/node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js +1 -7
  391. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +87 -4
  392. package/node_modules/@smithy/node-config-provider/package.json +5 -5
  393. package/node_modules/@smithy/node-http-handler/dist-cjs/constants.js +1 -4
  394. package/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js +1 -12
  395. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +626 -6
  396. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +1 -153
  397. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js +1 -92
  398. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js +1 -36
  399. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +1 -165
  400. package/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js +1 -23
  401. package/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js +1 -60
  402. package/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js +1 -25
  403. package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js +1 -12
  404. package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js +1 -10
  405. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js +1 -15
  406. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js +1 -18
  407. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +1 -23
  408. package/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js +1 -45
  409. package/node_modules/@smithy/node-http-handler/package.json +6 -6
  410. package/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -13
  411. package/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -15
  412. package/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -13
  413. package/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -25
  414. package/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -5
  415. package/node_modules/@smithy/property-provider/dist-cjs/index.js +150 -9
  416. package/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -49
  417. package/node_modules/@smithy/property-provider/package.json +3 -3
  418. package/node_modules/@smithy/protocol-http/dist-cjs/Field.js +1 -27
  419. package/node_modules/@smithy/protocol-http/dist-cjs/Fields.js +1 -23
  420. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +1 -27
  421. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +1 -4
  422. package/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js +1 -2
  423. package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +1 -52
  424. package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +1 -18
  425. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +237 -11
  426. package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +1 -8
  427. package/node_modules/@smithy/protocol-http/dist-cjs/types.js +1 -2
  428. package/node_modules/@smithy/protocol-http/package.json +3 -3
  429. package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +49 -22
  430. package/node_modules/@smithy/querystring-builder/package.json +4 -4
  431. package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +50 -24
  432. package/node_modules/@smithy/querystring-parser/package.json +3 -3
  433. package/node_modules/@smithy/service-error-classification/dist-cjs/constants.js +1 -30
  434. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +88 -30
  435. package/node_modules/@smithy/service-error-classification/package.json +3 -3
  436. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +1 -22
  437. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +1 -8
  438. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +1 -8
  439. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +1 -7
  440. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +1 -9
  441. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +190 -11
  442. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +1 -31
  443. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -16
  444. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -18
  445. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -56
  446. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -10
  447. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -2
  448. package/node_modules/@smithy/shared-ini-file-loader/package.json +13 -3
  449. package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js +1 -194
  450. package/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js +1 -17
  451. package/node_modules/@smithy/signature-v4/dist-cjs/constants.js +1 -46
  452. package/node_modules/@smithy/signature-v4/dist-cjs/credentialDerivation.js +1 -39
  453. package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalHeaders.js +1 -24
  454. package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js +1 -31
  455. package/node_modules/@smithy/signature-v4/dist-cjs/getPayloadHash.js +1 -24
  456. package/node_modules/@smithy/signature-v4/dist-cjs/headerUtil.js +1 -32
  457. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +467 -16
  458. package/node_modules/@smithy/signature-v4/dist-cjs/moveHeadersToQuery.js +1 -21
  459. package/node_modules/@smithy/signature-v4/dist-cjs/prepareRequest.js +1 -15
  460. package/node_modules/@smithy/signature-v4/dist-cjs/suite.fixture.js +1 -402
  461. package/node_modules/@smithy/signature-v4/dist-cjs/utilDate.js +1 -20
  462. package/node_modules/@smithy/signature-v4/package.json +10 -10
  463. package/node_modules/@smithy/smithy-client/dist-cjs/NoOpLogger.js +1 -11
  464. package/node_modules/@smithy/smithy-client/dist-cjs/client.js +1 -28
  465. package/node_modules/@smithy/smithy-client/dist-cjs/collect-stream-body.js +1 -15
  466. package/node_modules/@smithy/smithy-client/dist-cjs/command.js +1 -118
  467. package/node_modules/@smithy/smithy-client/dist-cjs/constants.js +1 -4
  468. package/node_modules/@smithy/smithy-client/dist-cjs/create-aggregated-client.js +1 -25
  469. package/node_modules/@smithy/smithy-client/dist-cjs/date-utils.js +1 -195
  470. package/node_modules/@smithy/smithy-client/dist-cjs/default-error-handler.js +1 -30
  471. package/node_modules/@smithy/smithy-client/dist-cjs/defaults-mode.js +1 -30
  472. package/node_modules/@smithy/smithy-client/dist-cjs/emitWarningIfUnsupportedVersion.js +1 -10
  473. package/node_modules/@smithy/smithy-client/dist-cjs/exceptions.js +1 -27
  474. package/node_modules/@smithy/smithy-client/dist-cjs/extended-encode-uri-component.js +1 -9
  475. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +1 -36
  476. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -20
  477. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +1 -4
  478. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +1 -21
  479. package/node_modules/@smithy/smithy-client/dist-cjs/get-array-if-single-item.js +1 -5
  480. package/node_modules/@smithy/smithy-client/dist-cjs/get-value-from-text-node.js +1 -16
  481. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1256 -25
  482. package/node_modules/@smithy/smithy-client/dist-cjs/lazy-json.js +1 -38
  483. package/node_modules/@smithy/smithy-client/dist-cjs/object-mapping.js +1 -98
  484. package/node_modules/@smithy/smithy-client/dist-cjs/parse-utils.js +1 -253
  485. package/node_modules/@smithy/smithy-client/dist-cjs/resolve-path.js +1 -23
  486. package/node_modules/@smithy/smithy-client/dist-cjs/ser-utils.js +1 -17
  487. package/node_modules/@smithy/smithy-client/dist-cjs/serde-json.js +1 -23
  488. package/node_modules/@smithy/smithy-client/dist-cjs/split-every.js +1 -31
  489. package/node_modules/@smithy/smithy-client/package.json +7 -7
  490. package/node_modules/@smithy/types/dist-cjs/abort.js +1 -2
  491. package/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +1 -8
  492. package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +1 -2
  493. package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +1 -2
  494. package/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +1 -2
  495. package/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +1 -2
  496. package/node_modules/@smithy/types/dist-cjs/auth/auth.js +1 -8
  497. package/node_modules/@smithy/types/dist-cjs/auth/index.js +1 -9
  498. package/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +1 -2
  499. package/node_modules/@smithy/types/dist-cjs/checksum.js +1 -2
  500. package/node_modules/@smithy/types/dist-cjs/client.js +1 -2
  501. package/node_modules/@smithy/types/dist-cjs/command.js +1 -2
  502. package/node_modules/@smithy/types/dist-cjs/connection/config.js +1 -2
  503. package/node_modules/@smithy/types/dist-cjs/connection/index.js +1 -6
  504. package/node_modules/@smithy/types/dist-cjs/connection/manager.js +1 -2
  505. package/node_modules/@smithy/types/dist-cjs/connection/pool.js +1 -2
  506. package/node_modules/@smithy/types/dist-cjs/crypto.js +1 -2
  507. package/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +1 -2
  508. package/node_modules/@smithy/types/dist-cjs/encode.js +1 -2
  509. package/node_modules/@smithy/types/dist-cjs/endpoint.js +1 -8
  510. package/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +1 -2
  511. package/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +1 -2
  512. package/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +1 -2
  513. package/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +1 -2
  514. package/node_modules/@smithy/types/dist-cjs/endpoints/index.js +1 -8
  515. package/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +1 -2
  516. package/node_modules/@smithy/types/dist-cjs/eventStream.js +1 -2
  517. package/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +1 -44
  518. package/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +1 -16
  519. package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -2
  520. package/node_modules/@smithy/types/dist-cjs/extensions/index.js +1 -8
  521. package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +1 -2
  522. package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +1 -2
  523. package/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +1 -2
  524. package/node_modules/@smithy/types/dist-cjs/http.js +1 -8
  525. package/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +1 -2
  526. package/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +1 -2
  527. package/node_modules/@smithy/types/dist-cjs/identity/identity.js +1 -2
  528. package/node_modules/@smithy/types/dist-cjs/identity/index.js +1 -7
  529. package/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +1 -2
  530. package/node_modules/@smithy/types/dist-cjs/index.js +149 -39
  531. package/node_modules/@smithy/types/dist-cjs/logger.js +1 -2
  532. package/node_modules/@smithy/types/dist-cjs/middleware.js +1 -4
  533. package/node_modules/@smithy/types/dist-cjs/pagination.js +1 -2
  534. package/node_modules/@smithy/types/dist-cjs/profile.js +1 -9
  535. package/node_modules/@smithy/types/dist-cjs/response.js +1 -2
  536. package/node_modules/@smithy/types/dist-cjs/retry.js +1 -2
  537. package/node_modules/@smithy/types/dist-cjs/serde.js +1 -2
  538. package/node_modules/@smithy/types/dist-cjs/shapes.js +1 -2
  539. package/node_modules/@smithy/types/dist-cjs/signature.js +1 -2
  540. package/node_modules/@smithy/types/dist-cjs/stream.js +1 -2
  541. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +1 -2
  542. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +1 -2
  543. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +1 -2
  544. package/node_modules/@smithy/types/dist-cjs/transfer.js +1 -9
  545. package/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +1 -2
  546. package/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +1 -2
  547. package/node_modules/@smithy/types/dist-cjs/transform/exact.js +1 -2
  548. package/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +1 -2
  549. package/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +1 -2
  550. package/node_modules/@smithy/types/dist-cjs/uri.js +1 -2
  551. package/node_modules/@smithy/types/dist-cjs/util.js +1 -2
  552. package/node_modules/@smithy/types/dist-cjs/waiter.js +1 -2
  553. package/node_modules/@smithy/types/package.json +2 -2
  554. package/node_modules/@smithy/url-parser/dist-cjs/index.js +48 -21
  555. package/node_modules/@smithy/url-parser/package.json +4 -4
  556. package/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -5
  557. package/node_modules/@smithy/util-base64/package.json +4 -4
  558. package/node_modules/@smithy/util-body-length-browser/dist-cjs/calculateBodyLength.js +1 -30
  559. package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +57 -4
  560. package/node_modules/@smithy/util-body-length-browser/package.json +2 -2
  561. package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +1 -29
  562. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +53 -4
  563. package/node_modules/@smithy/util-body-length-node/package.json +7 -9
  564. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +45 -17
  565. package/node_modules/@smithy/util-buffer-from/package.json +8 -10
  566. package/node_modules/@smithy/util-config-provider/dist-cjs/booleanSelector.js +1 -13
  567. package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +64 -6
  568. package/node_modules/@smithy/util-config-provider/dist-cjs/numberSelector.js +1 -13
  569. package/node_modules/@smithy/util-config-provider/dist-cjs/types.js +1 -8
  570. package/node_modules/@smithy/util-config-provider/package.json +2 -2
  571. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +25 -4
  572. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
  573. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/constants.js +1 -9
  574. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/defaultsModeConfig.js +1 -14
  575. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +109 -4
  576. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/resolveDefaultsModeConfig.js +1 -57
  577. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
  578. package/node_modules/@smithy/util-endpoints/dist-cjs/debug/debugId.js +1 -4
  579. package/node_modules/@smithy/util-endpoints/dist-cjs/debug/index.js +1 -5
  580. package/node_modules/@smithy/util-endpoints/dist-cjs/debug/toDebugString.js +1 -16
  581. package/node_modules/@smithy/util-endpoints/dist-cjs/getEndpointUrlConfig.js +1 -25
  582. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +484 -8
  583. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/booleanEquals.js +1 -5
  584. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttr.js +1 -15
  585. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttrPathList.js +1 -29
  586. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/index.js +1 -12
  587. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isIpAddress.js +1 -6
  588. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isSet.js +1 -5
  589. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isValidHostLabel.js +1 -17
  590. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/not.js +1 -5
  591. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/parseURL.js +1 -55
  592. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/stringEquals.js +1 -5
  593. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/substring.js +1 -13
  594. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/uriEncode.js +1 -5
  595. package/node_modules/@smithy/util-endpoints/dist-cjs/resolveEndpoint.js +1 -42
  596. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointError.js +1 -10
  597. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointFunctions.js +1 -2
  598. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointRuleObject.js +1 -2
  599. package/node_modules/@smithy/util-endpoints/dist-cjs/types/ErrorRuleObject.js +1 -2
  600. package/node_modules/@smithy/util-endpoints/dist-cjs/types/RuleSetObject.js +1 -2
  601. package/node_modules/@smithy/util-endpoints/dist-cjs/types/TreeRuleObject.js +1 -2
  602. package/node_modules/@smithy/util-endpoints/dist-cjs/types/index.js +1 -10
  603. package/node_modules/@smithy/util-endpoints/dist-cjs/types/shared.js +1 -2
  604. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/callFunction.js +1 -15
  605. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/customEndpointFunctions.js +1 -4
  606. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/endpointFunctions.js +1 -15
  607. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateCondition.js +1 -19
  608. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateConditions.js +1 -27
  609. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateEndpointRule.js +1 -32
  610. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateErrorRule.js +1 -18
  611. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateExpression.js +1 -20
  612. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateRules.js +1 -31
  613. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTemplate.js +1 -40
  614. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTreeRule.js +1 -17
  615. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointHeaders.js +1 -16
  616. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperties.js +1 -9
  617. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperty.js +1 -25
  618. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointUrl.js +1 -19
  619. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getReferenceValue.js +1 -11
  620. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/index.js +1 -5
  621. package/node_modules/@smithy/util-endpoints/package.json +4 -4
  622. package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +60 -31
  623. package/node_modules/@smithy/util-hex-encoding/package.json +7 -9
  624. package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +1 -6
  625. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +45 -5
  626. package/node_modules/@smithy/util-middleware/dist-cjs/normalizeProvider.js +1 -10
  627. package/node_modules/@smithy/util-middleware/package.json +3 -3
  628. package/node_modules/@smithy/util-retry/dist-cjs/AdaptiveRetryStrategy.js +1 -28
  629. package/node_modules/@smithy/util-retry/dist-cjs/ConfiguredRetryStrategy.js +1 -22
  630. package/node_modules/@smithy/util-retry/dist-cjs/DefaultRateLimiter.js +1 -104
  631. package/node_modules/@smithy/util-retry/dist-cjs/StandardRetryStrategy.js +1 -70
  632. package/node_modules/@smithy/util-retry/dist-cjs/config.js +1 -10
  633. package/node_modules/@smithy/util-retry/dist-cjs/constants.js +1 -12
  634. package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryBackoffStrategy.js +1 -18
  635. package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryToken.js +1 -15
  636. package/node_modules/@smithy/util-retry/dist-cjs/index.js +347 -10
  637. package/node_modules/@smithy/util-retry/dist-cjs/types.js +1 -2
  638. package/node_modules/@smithy/util-retry/package.json +4 -4
  639. package/node_modules/@smithy/util-stream/dist-cjs/blob/Uint8ArrayBlobAdapter.js +1 -22
  640. package/node_modules/@smithy/util-stream/dist-cjs/blob/transforms.js +1 -20
  641. package/node_modules/@smithy/util-stream/dist-cjs/index.js +89 -6
  642. package/node_modules/@smithy/util-stream/package.json +10 -10
  643. package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri-path.js +1 -6
  644. package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri.js +1 -6
  645. package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +43 -5
  646. package/node_modules/@smithy/util-uri-escape/package.json +7 -9
  647. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +1 -5
  648. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +1 -9
  649. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +57 -6
  650. package/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +1 -14
  651. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +1 -5
  652. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +1 -6
  653. package/node_modules/@smithy/util-utf8/package.json +4 -4
  654. package/node_modules/@smithy/util-waiter/dist-cjs/createWaiter.js +1 -27
  655. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +155 -5
  656. package/node_modules/@smithy/util-waiter/dist-cjs/poller.js +1 -38
  657. package/node_modules/@smithy/util-waiter/dist-cjs/utils/index.js +1 -5
  658. package/node_modules/@smithy/util-waiter/dist-cjs/utils/sleep.js +1 -7
  659. package/node_modules/@smithy/util-waiter/dist-cjs/utils/validate.js +1 -21
  660. package/node_modules/@smithy/util-waiter/dist-cjs/waiter.js +1 -38
  661. package/node_modules/@smithy/util-waiter/package.json +4 -4
  662. package/package.json +6 -6
  663. package/.gitattributes +0 -27
  664. package/.projenrc.ts +0 -113
@@ -1,5 +1,220 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./fetch-http-handler"), exports);
5
- tslib_1.__exportStar(require("./stream-collector"), exports);
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ FetchHttpHandler: () => FetchHttpHandler,
24
+ keepAliveSupport: () => keepAliveSupport,
25
+ streamCollector: () => streamCollector
26
+ });
27
+ module.exports = __toCommonJS(src_exports);
28
+
29
+ // src/fetch-http-handler.ts
30
+ var import_protocol_http = require("@smithy/protocol-http");
31
+ var import_querystring_builder = require("@smithy/querystring-builder");
32
+
33
+ // src/request-timeout.ts
34
+ function requestTimeout(timeoutInMs = 0) {
35
+ return new Promise((resolve, reject) => {
36
+ if (timeoutInMs) {
37
+ setTimeout(() => {
38
+ const timeoutError = new Error(`Request did not complete within ${timeoutInMs} ms`);
39
+ timeoutError.name = "TimeoutError";
40
+ reject(timeoutError);
41
+ }, timeoutInMs);
42
+ }
43
+ });
44
+ }
45
+ __name(requestTimeout, "requestTimeout");
46
+
47
+ // src/fetch-http-handler.ts
48
+ var keepAliveSupport = {
49
+ supported: Boolean(typeof Request !== "undefined" && "keepalive" in new Request("https://[::1]"))
50
+ };
51
+ var _FetchHttpHandler = class _FetchHttpHandler {
52
+ /**
53
+ * @returns the input if it is an HttpHandler of any class,
54
+ * or instantiates a new instance of this handler.
55
+ */
56
+ static create(instanceOrOptions) {
57
+ if (typeof (instanceOrOptions == null ? void 0 : instanceOrOptions.handle) === "function") {
58
+ return instanceOrOptions;
59
+ }
60
+ return new _FetchHttpHandler(instanceOrOptions);
61
+ }
62
+ constructor(options) {
63
+ if (typeof options === "function") {
64
+ this.configProvider = options().then((opts) => opts || {});
65
+ } else {
66
+ this.config = options ?? {};
67
+ this.configProvider = Promise.resolve(this.config);
68
+ }
69
+ }
70
+ destroy() {
71
+ }
72
+ async handle(request, { abortSignal } = {}) {
73
+ if (!this.config) {
74
+ this.config = await this.configProvider;
75
+ }
76
+ const requestTimeoutInMs = this.config.requestTimeout;
77
+ const keepAlive = this.config.keepAlive === true;
78
+ if (abortSignal == null ? void 0 : abortSignal.aborted) {
79
+ const abortError = new Error("Request aborted");
80
+ abortError.name = "AbortError";
81
+ return Promise.reject(abortError);
82
+ }
83
+ let path = request.path;
84
+ const queryString = (0, import_querystring_builder.buildQueryString)(request.query || {});
85
+ if (queryString) {
86
+ path += `?${queryString}`;
87
+ }
88
+ if (request.fragment) {
89
+ path += `#${request.fragment}`;
90
+ }
91
+ let auth = "";
92
+ if (request.username != null || request.password != null) {
93
+ const username = request.username ?? "";
94
+ const password = request.password ?? "";
95
+ auth = `${username}:${password}@`;
96
+ }
97
+ const { port, method } = request;
98
+ const url = `${request.protocol}//${auth}${request.hostname}${port ? `:${port}` : ""}${path}`;
99
+ const body = method === "GET" || method === "HEAD" ? void 0 : request.body;
100
+ const requestOptions = { body, headers: new Headers(request.headers), method };
101
+ if (typeof AbortController !== "undefined") {
102
+ requestOptions["signal"] = abortSignal;
103
+ }
104
+ if (keepAliveSupport.supported) {
105
+ requestOptions["keepalive"] = keepAlive;
106
+ }
107
+ const fetchRequest = new Request(url, requestOptions);
108
+ const raceOfPromises = [
109
+ fetch(fetchRequest).then((response) => {
110
+ const fetchHeaders = response.headers;
111
+ const transformedHeaders = {};
112
+ for (const pair of fetchHeaders.entries()) {
113
+ transformedHeaders[pair[0]] = pair[1];
114
+ }
115
+ const hasReadableStream = response.body != void 0;
116
+ if (!hasReadableStream) {
117
+ return response.blob().then((body2) => ({
118
+ response: new import_protocol_http.HttpResponse({
119
+ headers: transformedHeaders,
120
+ reason: response.statusText,
121
+ statusCode: response.status,
122
+ body: body2
123
+ })
124
+ }));
125
+ }
126
+ return {
127
+ response: new import_protocol_http.HttpResponse({
128
+ headers: transformedHeaders,
129
+ reason: response.statusText,
130
+ statusCode: response.status,
131
+ body: response.body
132
+ })
133
+ };
134
+ }),
135
+ requestTimeout(requestTimeoutInMs)
136
+ ];
137
+ if (abortSignal) {
138
+ raceOfPromises.push(
139
+ new Promise((resolve, reject) => {
140
+ abortSignal.onabort = () => {
141
+ const abortError = new Error("Request aborted");
142
+ abortError.name = "AbortError";
143
+ reject(abortError);
144
+ };
145
+ })
146
+ );
147
+ }
148
+ return Promise.race(raceOfPromises);
149
+ }
150
+ updateHttpClientConfig(key, value) {
151
+ this.config = void 0;
152
+ this.configProvider = this.configProvider.then((config) => {
153
+ config[key] = value;
154
+ return config;
155
+ });
156
+ }
157
+ httpHandlerConfigs() {
158
+ return this.config ?? {};
159
+ }
160
+ };
161
+ __name(_FetchHttpHandler, "FetchHttpHandler");
162
+ var FetchHttpHandler = _FetchHttpHandler;
163
+
164
+ // src/stream-collector.ts
165
+ var import_util_base64 = require("@smithy/util-base64");
166
+ var streamCollector = /* @__PURE__ */ __name((stream) => {
167
+ if (typeof Blob === "function" && stream instanceof Blob) {
168
+ return collectBlob(stream);
169
+ }
170
+ return collectStream(stream);
171
+ }, "streamCollector");
172
+ async function collectBlob(blob) {
173
+ const base64 = await readToBase64(blob);
174
+ const arrayBuffer = (0, import_util_base64.fromBase64)(base64);
175
+ return new Uint8Array(arrayBuffer);
176
+ }
177
+ __name(collectBlob, "collectBlob");
178
+ async function collectStream(stream) {
179
+ let res = new Uint8Array(0);
180
+ const reader = stream.getReader();
181
+ let isDone = false;
182
+ while (!isDone) {
183
+ const { done, value } = await reader.read();
184
+ if (value) {
185
+ const prior = res;
186
+ res = new Uint8Array(prior.length + value.length);
187
+ res.set(prior);
188
+ res.set(value, prior.length);
189
+ }
190
+ isDone = done;
191
+ }
192
+ return res;
193
+ }
194
+ __name(collectStream, "collectStream");
195
+ function readToBase64(blob) {
196
+ return new Promise((resolve, reject) => {
197
+ const reader = new FileReader();
198
+ reader.onloadend = () => {
199
+ if (reader.readyState !== 2) {
200
+ return reject(new Error("Reader aborted too early"));
201
+ }
202
+ const result = reader.result ?? "";
203
+ const commaIndex = result.indexOf(",");
204
+ const dataOffset = commaIndex > -1 ? commaIndex + 1 : result.length;
205
+ resolve(result.substring(dataOffset));
206
+ };
207
+ reader.onabort = () => reject(new Error("Read aborted"));
208
+ reader.onerror = () => reject(reader.error);
209
+ reader.readAsDataURL(blob);
210
+ });
211
+ }
212
+ __name(readToBase64, "readToBase64");
213
+ // Annotate the CommonJS export names for ESM import in node:
214
+
215
+ 0 && (module.exports = {
216
+ FetchHttpHandler,
217
+ keepAliveSupport,
218
+ streamCollector
219
+ });
220
+
@@ -1,15 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.requestTimeout = void 0;
4
- function requestTimeout(timeoutInMs = 0) {
5
- return new Promise((resolve, reject) => {
6
- if (timeoutInMs) {
7
- setTimeout(() => {
8
- const timeoutError = new Error(`Request did not complete within ${timeoutInMs} ms`);
9
- timeoutError.name = "TimeoutError";
10
- reject(timeoutError);
11
- }, timeoutInMs);
12
- }
13
- });
14
- }
15
- exports.requestTimeout = requestTimeout;
1
+ module.exports = require("./index.js");
@@ -1,50 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.streamCollector = void 0;
4
- const util_base64_1 = require("@smithy/util-base64");
5
- const streamCollector = (stream) => {
6
- if (typeof Blob === "function" && stream instanceof Blob) {
7
- return collectBlob(stream);
8
- }
9
- return collectStream(stream);
10
- };
11
- exports.streamCollector = streamCollector;
12
- async function collectBlob(blob) {
13
- const base64 = await readToBase64(blob);
14
- const arrayBuffer = (0, util_base64_1.fromBase64)(base64);
15
- return new Uint8Array(arrayBuffer);
16
- }
17
- async function collectStream(stream) {
18
- let res = new Uint8Array(0);
19
- const reader = stream.getReader();
20
- let isDone = false;
21
- while (!isDone) {
22
- const { done, value } = await reader.read();
23
- if (value) {
24
- const prior = res;
25
- res = new Uint8Array(prior.length + value.length);
26
- res.set(prior);
27
- res.set(value, prior.length);
28
- }
29
- isDone = done;
30
- }
31
- return res;
32
- }
33
- function readToBase64(blob) {
34
- return new Promise((resolve, reject) => {
35
- const reader = new FileReader();
36
- reader.onloadend = () => {
37
- var _a;
38
- if (reader.readyState !== 2) {
39
- return reject(new Error("Reader aborted too early"));
40
- }
41
- const result = ((_a = reader.result) !== null && _a !== void 0 ? _a : "");
42
- const commaIndex = result.indexOf(",");
43
- const dataOffset = commaIndex > -1 ? commaIndex + 1 : result.length;
44
- resolve(result.substring(dataOffset));
45
- };
46
- reader.onabort = () => reject(new Error("Read aborted"));
47
- reader.onerror = () => reject(reader.error);
48
- reader.readAsDataURL(blob);
49
- });
50
- }
1
+ module.exports = require("./index.js");
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@smithy/fetch-http-handler",
3
- "version": "2.3.2",
3
+ "version": "2.4.1",
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": "yarn g:tsc -p tsconfig.cjs.json",
7
+ "build:cjs": "node ../../scripts/inline fetch-http-handler",
8
8
  "build:es": "yarn g:tsc -p tsconfig.es.json",
9
9
  "build:types": "yarn g:tsc -p tsconfig.types.json",
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
@@ -24,14 +24,14 @@
24
24
  "module": "./dist-es/index.js",
25
25
  "types": "./dist-types/index.d.ts",
26
26
  "dependencies": {
27
- "@smithy/protocol-http": "^3.0.12",
28
- "@smithy/querystring-builder": "^2.0.16",
29
- "@smithy/types": "^2.8.0",
30
- "@smithy/util-base64": "^2.0.1",
27
+ "@smithy/protocol-http": "^3.1.1",
28
+ "@smithy/querystring-builder": "^2.1.1",
29
+ "@smithy/types": "^2.9.1",
30
+ "@smithy/util-base64": "^2.1.1",
31
31
  "tslib": "^2.5.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@smithy/abort-controller": "^2.0.16",
34
+ "@smithy/abort-controller": "^2.1.1",
35
35
  "@tsconfig/recommended": "1.0.1",
36
36
  "@types/chai-as-promised": "^7.1.2",
37
37
  "chai": "^4.2.0",
@@ -1,38 +1,66 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Hash = void 0;
4
- const util_buffer_from_1 = require("@smithy/util-buffer-from");
5
- const util_utf8_1 = require("@smithy/util-utf8");
6
- const buffer_1 = require("buffer");
7
- const crypto_1 = require("crypto");
8
- class Hash {
9
- constructor(algorithmIdentifier, secret) {
10
- this.algorithmIdentifier = algorithmIdentifier;
11
- this.secret = secret;
12
- this.reset();
13
- }
14
- update(toHash, encoding) {
15
- this.hash.update((0, util_utf8_1.toUint8Array)(castSourceData(toHash, encoding)));
16
- }
17
- digest() {
18
- return Promise.resolve(this.hash.digest());
19
- }
20
- reset() {
21
- this.hash = this.secret
22
- ? (0, crypto_1.createHmac)(this.algorithmIdentifier, castSourceData(this.secret))
23
- : (0, crypto_1.createHash)(this.algorithmIdentifier);
24
- }
25
- }
26
- exports.Hash = Hash;
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ Hash: () => Hash
24
+ });
25
+ module.exports = __toCommonJS(src_exports);
26
+ var import_util_buffer_from = require("@smithy/util-buffer-from");
27
+ var import_util_utf8 = require("@smithy/util-utf8");
28
+ var import_buffer = require("buffer");
29
+ var import_crypto = require("crypto");
30
+ var _Hash = class _Hash {
31
+ constructor(algorithmIdentifier, secret) {
32
+ this.algorithmIdentifier = algorithmIdentifier;
33
+ this.secret = secret;
34
+ this.reset();
35
+ }
36
+ update(toHash, encoding) {
37
+ this.hash.update((0, import_util_utf8.toUint8Array)(castSourceData(toHash, encoding)));
38
+ }
39
+ digest() {
40
+ return Promise.resolve(this.hash.digest());
41
+ }
42
+ reset() {
43
+ this.hash = this.secret ? (0, import_crypto.createHmac)(this.algorithmIdentifier, castSourceData(this.secret)) : (0, import_crypto.createHash)(this.algorithmIdentifier);
44
+ }
45
+ };
46
+ __name(_Hash, "Hash");
47
+ var Hash = _Hash;
27
48
  function castSourceData(toCast, encoding) {
28
- if (buffer_1.Buffer.isBuffer(toCast)) {
29
- return toCast;
30
- }
31
- if (typeof toCast === "string") {
32
- return (0, util_buffer_from_1.fromString)(toCast, encoding);
33
- }
34
- if (ArrayBuffer.isView(toCast)) {
35
- return (0, util_buffer_from_1.fromArrayBuffer)(toCast.buffer, toCast.byteOffset, toCast.byteLength);
36
- }
37
- return (0, util_buffer_from_1.fromArrayBuffer)(toCast);
49
+ if (import_buffer.Buffer.isBuffer(toCast)) {
50
+ return toCast;
51
+ }
52
+ if (typeof toCast === "string") {
53
+ return (0, import_util_buffer_from.fromString)(toCast, encoding);
54
+ }
55
+ if (ArrayBuffer.isView(toCast)) {
56
+ return (0, import_util_buffer_from.fromArrayBuffer)(toCast.buffer, toCast.byteOffset, toCast.byteLength);
57
+ }
58
+ return (0, import_util_buffer_from.fromArrayBuffer)(toCast);
38
59
  }
60
+ __name(castSourceData, "castSourceData");
61
+ // Annotate the CommonJS export names for ESM import in node:
62
+
63
+ 0 && (module.exports = {
64
+ Hash
65
+ });
66
+
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@smithy/hash-node",
3
- "version": "2.0.18",
3
+ "version": "2.1.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
- "build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
6
+ "build:cjs": "node ../../scripts/inline hash-node",
7
7
  "build:es": "yarn g:tsc -p tsconfig.es.json",
8
8
  "build:types": "yarn g:tsc -p tsconfig.types.json",
9
9
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
@@ -31,9 +31,9 @@
31
31
  "typedoc": "0.23.23"
32
32
  },
33
33
  "dependencies": {
34
- "@smithy/types": "^2.8.0",
35
- "@smithy/util-buffer-from": "^2.0.0",
36
- "@smithy/util-utf8": "^2.0.2",
34
+ "@smithy/types": "^2.9.1",
35
+ "@smithy/util-buffer-from": "^2.1.1",
36
+ "@smithy/util-utf8": "^2.1.1",
37
37
  "tslib": "^2.5.0"
38
38
  },
39
39
  "engines": {
@@ -1,5 +1,41 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./invalidFunction"), exports);
5
- tslib_1.__exportStar(require("./invalidProvider"), exports);
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ invalidFunction: () => invalidFunction,
24
+ invalidProvider: () => invalidProvider
25
+ });
26
+ module.exports = __toCommonJS(src_exports);
27
+
28
+ // src/invalidFunction.ts
29
+ var invalidFunction = /* @__PURE__ */ __name((message) => () => {
30
+ throw new Error(message);
31
+ }, "invalidFunction");
32
+
33
+ // src/invalidProvider.ts
34
+ var invalidProvider = /* @__PURE__ */ __name((message) => () => Promise.reject(message), "invalidProvider");
35
+ // Annotate the CommonJS export names for ESM import in node:
36
+
37
+ 0 && (module.exports = {
38
+ invalidFunction,
39
+ invalidProvider
40
+ });
41
+
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.invalidFunction = void 0;
4
- const invalidFunction = (message) => () => {
5
- throw new Error(message);
6
- };
7
- exports.invalidFunction = invalidFunction;
1
+ module.exports = require("./index.js");
@@ -1,5 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.invalidProvider = void 0;
4
- const invalidProvider = (message) => () => Promise.reject(message);
5
- exports.invalidProvider = invalidProvider;
1
+ module.exports = require("./index.js");
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@smithy/invalid-dependency",
3
- "version": "2.0.16",
3
+ "version": "2.1.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
- "build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
6
+ "build:cjs": "node ../../scripts/inline invalid-dependency",
7
7
  "build:es": "yarn g:tsc -p tsconfig.es.json",
8
8
  "build:types": "yarn g:tsc -p tsconfig.types.json",
9
9
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/types": "^2.8.0",
25
+ "@smithy/types": "^2.9.1",
26
26
  "tslib": "^2.5.0"
27
27
  },
28
28
  "typesVersions": {
@@ -1,6 +1,32 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isArrayBuffer = void 0;
4
- const isArrayBuffer = (arg) => (typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) ||
5
- Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
6
- exports.isArrayBuffer = isArrayBuffer;
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ isArrayBuffer: () => isArrayBuffer
24
+ });
25
+ module.exports = __toCommonJS(src_exports);
26
+ var isArrayBuffer = /* @__PURE__ */ __name((arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]", "isArrayBuffer");
27
+ // Annotate the CommonJS export names for ESM import in node:
28
+
29
+ 0 && (module.exports = {
30
+ isArrayBuffer
31
+ });
32
+
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@smithy/is-array-buffer",
3
- "version": "2.0.0",
3
+ "version": "2.1.1",
4
4
  "description": "Provides a function for detecting if an argument is an ArrayBuffer",
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": "node ../../scripts/inline is-array-buffer",
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
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
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"
15
+ "test": "yarn g:jest"
16
16
  },
17
17
  "author": {
18
18
  "name": "AWS SDK for JavaScript Team",
@@ -48,10 +48,8 @@
48
48
  "@tsconfig/recommended": "1.0.1",
49
49
  "concurrently": "7.0.0",
50
50
  "downlevel-dts": "0.10.1",
51
- "jest": "28.1.1",
52
51
  "rimraf": "3.0.2",
53
- "typedoc": "0.23.23",
54
- "typescript": "~4.9.5"
52
+ "typedoc": "0.23.23"
55
53
  },
56
54
  "typedoc": {
57
55
  "entryPoint": "src/index.ts"