@cdk8s/awscdk-resolver 0.0.353 → 0.0.354

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 (374) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +31 -0
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +31 -0
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +1 -0
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateTypeCommand.d.ts +12 -4
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/BatchDescribeTypeConfigurationsCommand.d.ts +1 -1
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +11 -9
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackInstancesCommand.d.ts +3 -3
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackSetCommand.d.ts +1 -1
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeactivateTypeCommand.d.ts +5 -2
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackInstancesCommand.d.ts +3 -3
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackSetCommand.d.ts +5 -5
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeregisterTypeCommand.d.ts +3 -0
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackEventsCommand.d.ts +1 -0
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackInstanceCommand.d.ts +1 -1
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetCommand.d.ts +1 -1
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetOperationCommand.d.ts +1 -1
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeTypeCommand.d.ts +2 -1
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackSetDriftCommand.d.ts +11 -11
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetTemplateSummaryCommand.d.ts +3 -3
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ImportStacksToStackSetCommand.d.ts +5 -5
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListExportsCommand.d.ts +1 -2
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListHookResultsCommand.d.ts +33 -5
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListImportsCommand.d.ts +1 -1
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstanceResourceDriftsCommand.d.ts +1 -1
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstancesCommand.d.ts +3 -3
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetAutoDeploymentTargetsCommand.d.ts +2 -2
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +2 -2
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationsCommand.d.ts +2 -2
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetsCommand.d.ts +5 -5
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypesCommand.d.ts +3 -2
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StopStackSetOperationCommand.d.ts +2 -2
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackInstancesCommand.d.ts +10 -10
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +8 -8
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +485 -389
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +97 -103
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +1 -0
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListHookResultsCommand.d.ts +1 -1
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +11 -2
  41. package/node_modules/@aws-sdk/client-cloudformation/package.json +11 -11
  42. package/node_modules/@aws-sdk/client-sso/package.json +10 -10
  43. package/node_modules/@aws-sdk/core/package.json +3 -3
  44. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  45. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +3 -1
  46. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +3 -1
  47. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  48. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  49. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +1 -1
  50. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +3 -1
  51. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  52. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  53. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  54. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  55. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  56. package/node_modules/@aws-sdk/nested-clients/package.json +10 -10
  57. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  58. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  59. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +3 -3
  60. package/node_modules/@smithy/abort-controller/package.json +3 -2
  61. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +15 -15
  62. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +1 -1
  63. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +1 -1
  64. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +2 -2
  65. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
  66. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/utils/getEndpointFromRegion.d.ts +1 -1
  67. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts +1 -1
  68. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +1 -1
  69. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts +1 -1
  70. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts +1 -1
  71. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts +1 -1
  72. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts +1 -1
  73. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts +3 -3
  74. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts +1 -1
  75. package/node_modules/@smithy/config-resolver/package.json +6 -5
  76. package/node_modules/@smithy/core/dist-cjs/index.js +10 -11
  77. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +3 -3
  78. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +3 -3
  79. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +8 -3
  80. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +3 -3
  81. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +3 -3
  82. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -1
  83. package/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js +0 -1
  84. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
  85. package/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts +1 -1
  86. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +2 -2
  87. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +2 -2
  88. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +1 -1
  89. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts +1 -1
  90. package/node_modules/@smithy/core/dist-types/middleware-http-signing/getHttpSigningMiddleware.d.ts +1 -1
  91. package/node_modules/@smithy/core/dist-types/middleware-http-signing/httpSigningMiddleware.d.ts +1 -1
  92. package/node_modules/@smithy/core/dist-types/normalizeProvider.d.ts +1 -1
  93. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -1
  94. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +1 -1
  95. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +1 -1
  96. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +1 -1
  97. package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +1 -1
  98. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts +1 -1
  99. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  100. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +1 -1
  101. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +1 -1
  102. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +2 -2
  103. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +1 -1
  104. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +1 -1
  105. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +1 -1
  106. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +1 -1
  107. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts +1 -1
  108. package/node_modules/@smithy/core/package.json +10 -10
  109. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +12 -13
  110. package/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +1 -1
  111. package/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +1 -1
  112. package/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +2 -2
  113. package/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +3 -3
  114. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +1 -1
  115. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +1 -1
  116. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
  117. package/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +1 -1
  118. package/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +2 -2
  119. package/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +1 -1
  120. package/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +2 -2
  121. package/node_modules/@smithy/credential-provider-imds/package.json +6 -5
  122. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +3 -3
  123. package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +1 -1
  124. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +3 -2
  125. package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +1 -1
  126. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +2 -1
  127. package/node_modules/@smithy/fetch-http-handler/package.json +9 -8
  128. package/node_modules/@smithy/hash-node/dist-cjs/index.js +3 -3
  129. package/node_modules/@smithy/hash-node/dist-types/index.d.ts +1 -1
  130. package/node_modules/@smithy/hash-node/package.json +5 -4
  131. package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +3 -3
  132. package/node_modules/@smithy/invalid-dependency/dist-types/invalidProvider.d.ts +1 -1
  133. package/node_modules/@smithy/invalid-dependency/package.json +3 -2
  134. package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +3 -3
  135. package/node_modules/@smithy/is-array-buffer/package.json +5 -4
  136. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +5 -5
  137. package/node_modules/@smithy/middleware-content-length/dist-types/index.d.ts +1 -1
  138. package/node_modules/@smithy/middleware-content-length/package.json +6 -5
  139. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +5 -5
  140. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts +3 -3
  141. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts +1 -1
  142. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -1
  143. package/node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts +3 -3
  144. package/node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts +3 -3
  145. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +1 -1
  146. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +1 -1
  147. package/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/s3.d.ts +1 -1
  148. package/node_modules/@smithy/middleware-endpoint/package.json +9 -8
  149. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +33 -47
  150. package/node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +4 -3
  151. package/node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts +2 -2
  152. package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +2 -2
  153. package/node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts +1 -1
  154. package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +1 -1
  155. package/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +1 -1
  156. package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +2 -2
  157. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +2 -1
  158. package/node_modules/@smithy/middleware-retry/dist-types/types.d.ts +1 -1
  159. package/node_modules/@smithy/middleware-retry/dist-types/util.d.ts +1 -1
  160. package/node_modules/@smithy/middleware-retry/package.json +9 -8
  161. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +5 -5
  162. package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +1 -1
  163. package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +1 -1
  164. package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -1
  165. package/node_modules/@smithy/middleware-serde/package.json +6 -5
  166. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +25 -30
  167. package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +1 -1
  168. package/node_modules/@smithy/middleware-stack/dist-types/types.d.ts +1 -1
  169. package/node_modules/@smithy/middleware-stack/package.json +3 -2
  170. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +3 -3
  171. package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +4 -4
  172. package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +1 -1
  173. package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +2 -2
  174. package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +1 -1
  175. package/node_modules/@smithy/node-config-provider/package.json +5 -4
  176. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +5 -5
  177. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +2 -2
  178. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +3 -2
  179. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +4 -4
  180. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +2 -2
  181. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +3 -2
  182. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -1
  183. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +4 -4
  184. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
  185. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
  186. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
  187. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +1 -1
  188. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -1
  189. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +2 -1
  190. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +2 -1
  191. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -1
  192. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -1
  193. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +3 -3
  194. package/node_modules/@smithy/node-http-handler/package.json +6 -5
  195. package/node_modules/@smithy/property-provider/dist-cjs/index.js +3 -3
  196. package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +2 -1
  197. package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +1 -1
  198. package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +2 -1
  199. package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
  200. package/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +1 -1
  201. package/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +1 -1
  202. package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +2 -1
  203. package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +2 -1
  204. package/node_modules/@smithy/property-provider/package.json +3 -2
  205. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +4 -5
  206. package/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +2 -1
  207. package/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +2 -2
  208. package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +1 -1
  209. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +2 -1
  210. package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +1 -1
  211. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +2 -1
  212. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +2 -1
  213. package/node_modules/@smithy/protocol-http/dist-types/types.d.ts +1 -1
  214. package/node_modules/@smithy/protocol-http/package.json +3 -2
  215. package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +3 -3
  216. package/node_modules/@smithy/querystring-builder/dist-types/index.d.ts +1 -1
  217. package/node_modules/@smithy/querystring-builder/package.json +4 -3
  218. package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +3 -3
  219. package/node_modules/@smithy/querystring-parser/dist-types/index.d.ts +1 -1
  220. package/node_modules/@smithy/querystring-parser/package.json +3 -2
  221. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +3 -3
  222. package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +1 -1
  223. package/node_modules/@smithy/service-error-classification/package.json +3 -2
  224. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +6 -6
  225. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +1 -1
  226. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +1 -1
  227. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +1 -1
  228. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +1 -1
  229. package/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +1 -1
  230. package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +1 -1
  231. package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +2 -2
  232. package/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +1 -1
  233. package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -2
  234. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +6 -9
  235. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -2
  236. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4Base.d.ts +1 -1
  237. package/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts +1 -1
  238. package/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts +1 -1
  239. package/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts +1 -1
  240. package/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts +1 -1
  241. package/node_modules/@smithy/signature-v4/dist-types/headerUtil.d.ts +1 -1
  242. package/node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts +1 -1
  243. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +2 -1
  244. package/node_modules/@smithy/signature-v4/package.json +9 -8
  245. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +12 -15
  246. package/node_modules/@smithy/smithy-client/dist-types/NoOpLogger.d.ts +1 -1
  247. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +1 -1
  248. package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +1 -1
  249. package/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts +1 -1
  250. package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
  251. package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +1 -1
  252. package/node_modules/@smithy/smithy-client/package.json +8 -7
  253. package/node_modules/@smithy/types/dist-cjs/index.js +7 -7
  254. package/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +4 -4
  255. package/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +2 -2
  256. package/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +2 -2
  257. package/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +2 -2
  258. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +1 -1
  259. package/node_modules/@smithy/types/dist-types/checksum.d.ts +1 -1
  260. package/node_modules/@smithy/types/dist-types/client.d.ts +4 -4
  261. package/node_modules/@smithy/types/dist-types/command.d.ts +2 -2
  262. package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +2 -2
  263. package/node_modules/@smithy/types/dist-types/encode.d.ts +1 -1
  264. package/node_modules/@smithy/types/dist-types/endpoint.d.ts +1 -1
  265. package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +2 -2
  266. package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +1 -1
  267. package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +1 -1
  268. package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +3 -3
  269. package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +1 -1
  270. package/node_modules/@smithy/types/dist-types/eventStream.d.ts +3 -3
  271. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +2 -2
  272. package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +1 -1
  273. package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
  274. package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +2 -2
  275. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +2 -2
  276. package/node_modules/@smithy/types/dist-types/http.d.ts +2 -2
  277. package/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +1 -1
  278. package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +1 -1
  279. package/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +1 -1
  280. package/node_modules/@smithy/types/dist-types/retry.d.ts +1 -1
  281. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -0
  282. package/node_modules/@smithy/types/dist-types/serde.d.ts +4 -4
  283. package/node_modules/@smithy/types/dist-types/shapes.d.ts +2 -2
  284. package/node_modules/@smithy/types/dist-types/signature.d.ts +2 -2
  285. package/node_modules/@smithy/types/dist-types/stream.d.ts +3 -3
  286. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -0
  287. package/node_modules/@smithy/types/dist-types/uri.d.ts +1 -1
  288. package/node_modules/@smithy/types/dist-types/util.d.ts +3 -3
  289. package/node_modules/@smithy/types/dist-types/waiter.d.ts +1 -1
  290. package/node_modules/@smithy/types/package.json +2 -1
  291. package/node_modules/@smithy/url-parser/dist-cjs/index.js +3 -3
  292. package/node_modules/@smithy/url-parser/dist-types/index.d.ts +1 -1
  293. package/node_modules/@smithy/url-parser/package.json +4 -3
  294. package/node_modules/@smithy/util-base64/dist-cjs/index.js +4 -4
  295. package/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +1 -2
  296. package/node_modules/@smithy/util-base64/package.json +7 -6
  297. package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +6 -9
  298. package/node_modules/@smithy/util-body-length-browser/package.json +5 -4
  299. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +3 -3
  300. package/node_modules/@smithy/util-body-length-node/package.json +5 -4
  301. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +3 -3
  302. package/node_modules/@smithy/util-buffer-from/package.json +6 -5
  303. package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +7 -11
  304. package/node_modules/@smithy/util-config-provider/dist-types/booleanSelector.d.ts +1 -1
  305. package/node_modules/@smithy/util-config-provider/dist-types/numberSelector.d.ts +1 -1
  306. package/node_modules/@smithy/util-config-provider/package.json +5 -4
  307. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +3 -3
  308. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -4
  309. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +7 -7
  310. package/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts +1 -1
  311. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -7
  312. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +3 -3
  313. package/node_modules/@smithy/util-endpoints/dist-types/debug/toDebugString.d.ts +3 -3
  314. package/node_modules/@smithy/util-endpoints/dist-types/getEndpointUrlConfig.d.ts +1 -1
  315. package/node_modules/@smithy/util-endpoints/dist-types/lib/parseURL.d.ts +1 -1
  316. package/node_modules/@smithy/util-endpoints/dist-types/resolveEndpoint.d.ts +2 -2
  317. package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointFunctions.d.ts +1 -1
  318. package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -1
  319. package/node_modules/@smithy/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -1
  320. package/node_modules/@smithy/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -1
  321. package/node_modules/@smithy/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -1
  322. package/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts +1 -1
  323. package/node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts +1 -1
  324. package/node_modules/@smithy/util-endpoints/dist-types/utils/customEndpointFunctions.d.ts +1 -1
  325. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts +1 -1
  326. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts +1 -1
  327. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateEndpointRule.d.ts +2 -2
  328. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateErrorRule.d.ts +1 -1
  329. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts +1 -1
  330. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +2 -2
  331. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTemplate.d.ts +1 -1
  332. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts +2 -2
  333. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts +1 -1
  334. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +1 -1
  335. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts +2 -2
  336. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointUrl.d.ts +1 -1
  337. package/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts +1 -1
  338. package/node_modules/@smithy/util-endpoints/package.json +6 -5
  339. package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +3 -3
  340. package/node_modules/@smithy/util-hex-encoding/package.json +5 -4
  341. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +4 -5
  342. package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +1 -1
  343. package/node_modules/@smithy/util-middleware/dist-types/normalizeProvider.d.ts +1 -1
  344. package/node_modules/@smithy/util-middleware/package.json +3 -2
  345. package/node_modules/@smithy/util-retry/dist-cjs/index.js +3 -3
  346. package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +2 -2
  347. package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +1 -1
  348. package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +1 -1
  349. package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +1 -1
  350. package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +1 -1
  351. package/node_modules/@smithy/util-retry/package.json +4 -3
  352. package/node_modules/@smithy/util-stream/dist-cjs/index.js +11 -11
  353. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts +1 -1
  354. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +3 -2
  355. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +1 -1
  356. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +3 -3
  357. package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.browser.d.ts +1 -1
  358. package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +1 -1
  359. package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +1 -1
  360. package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.browser.d.ts +1 -1
  361. package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
  362. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +2 -1
  363. package/node_modules/@smithy/util-stream/package.json +13 -12
  364. package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +3 -3
  365. package/node_modules/@smithy/util-uri-escape/package.json +5 -4
  366. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +3 -3
  367. package/node_modules/@smithy/util-utf8/package.json +6 -5
  368. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +4 -5
  369. package/node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts +1 -1
  370. package/node_modules/@smithy/util-waiter/dist-types/poller.d.ts +1 -1
  371. package/node_modules/@smithy/util-waiter/dist-types/utils/validate.d.ts +1 -1
  372. package/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts +1 -1
  373. package/node_modules/@smithy/util-waiter/package.json +4 -3
  374. package/package.json +4 -4
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  AdaptiveRetryStrategy: () => AdaptiveRetryStrategy,
24
24
  CONFIG_MAX_ATTEMPTS: () => CONFIG_MAX_ATTEMPTS,
25
25
  CONFIG_RETRY_MODE: () => CONFIG_RETRY_MODE,
@@ -39,7 +39,7 @@ __export(src_exports, {
39
39
  retryMiddleware: () => retryMiddleware,
40
40
  retryMiddlewareOptions: () => retryMiddlewareOptions
41
41
  });
42
- module.exports = __toCommonJS(src_exports);
42
+ module.exports = __toCommonJS(index_exports);
43
43
 
44
44
  // src/AdaptiveRetryStrategy.ts
45
45
 
@@ -94,12 +94,9 @@ var defaultRetryDecider = /* @__PURE__ */ __name((error) => {
94
94
 
95
95
  // src/util.ts
96
96
  var asSdkError = /* @__PURE__ */ __name((error) => {
97
- if (error instanceof Error)
98
- return error;
99
- if (error instanceof Object)
100
- return Object.assign(new Error(), error);
101
- if (typeof error === "string")
102
- return new Error(error);
97
+ if (error instanceof Error) return error;
98
+ if (error instanceof Object) return Object.assign(new Error(), error);
99
+ if (typeof error === "string") return new Error(error);
103
100
  return new Error(`AWS SDK error wrapper for ${error}`);
104
101
  }, "asSdkError");
105
102
 
@@ -178,15 +175,12 @@ var StandardRetryStrategy = class {
178
175
  }
179
176
  };
180
177
  var getDelayFromRetryAfterHeader = /* @__PURE__ */ __name((response) => {
181
- if (!import_protocol_http.HttpResponse.isInstance(response))
182
- return;
178
+ if (!import_protocol_http.HttpResponse.isInstance(response)) return;
183
179
  const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
184
- if (!retryAfterHeaderName)
185
- return;
180
+ if (!retryAfterHeaderName) return;
186
181
  const retryAfter = response.headers[retryAfterHeaderName];
187
182
  const retryAfterSeconds = Number(retryAfter);
188
- if (!Number.isNaN(retryAfterSeconds))
189
- return retryAfterSeconds * 1e3;
183
+ if (!Number.isNaN(retryAfterSeconds)) return retryAfterSeconds * 1e3;
190
184
  const retryAfterDate = new Date(retryAfter);
191
185
  return retryAfterDate.getTime() - Date.now();
192
186
  }, "getDelayFromRetryAfterHeader");
@@ -204,12 +198,12 @@ var AdaptiveRetryStrategy = class extends StandardRetryStrategy {
204
198
  }
205
199
  async retry(next, args) {
206
200
  return super.retry(next, args, {
207
- beforeRequest: async () => {
201
+ beforeRequest: /* @__PURE__ */ __name(async () => {
208
202
  return this.rateLimiter.getSendToken();
209
- },
210
- afterRequest: (response) => {
203
+ }, "beforeRequest"),
204
+ afterRequest: /* @__PURE__ */ __name((response) => {
211
205
  this.rateLimiter.updateClientSendingRate(response);
212
- }
206
+ }, "afterRequest")
213
207
  });
214
208
  }
215
209
  };
@@ -220,26 +214,24 @@ var import_util_middleware = require("@smithy/util-middleware");
220
214
  var ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS";
221
215
  var CONFIG_MAX_ATTEMPTS = "max_attempts";
222
216
  var NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
223
- environmentVariableSelector: (env) => {
217
+ environmentVariableSelector: /* @__PURE__ */ __name((env) => {
224
218
  const value = env[ENV_MAX_ATTEMPTS];
225
- if (!value)
226
- return void 0;
219
+ if (!value) return void 0;
227
220
  const maxAttempt = parseInt(value);
228
221
  if (Number.isNaN(maxAttempt)) {
229
222
  throw new Error(`Environment variable ${ENV_MAX_ATTEMPTS} mast be a number, got "${value}"`);
230
223
  }
231
224
  return maxAttempt;
232
- },
233
- configFileSelector: (profile) => {
225
+ }, "environmentVariableSelector"),
226
+ configFileSelector: /* @__PURE__ */ __name((profile) => {
234
227
  const value = profile[CONFIG_MAX_ATTEMPTS];
235
- if (!value)
236
- return void 0;
228
+ if (!value) return void 0;
237
229
  const maxAttempt = parseInt(value);
238
230
  if (Number.isNaN(maxAttempt)) {
239
231
  throw new Error(`Shared config file entry ${CONFIG_MAX_ATTEMPTS} mast be a number, got "${value}"`);
240
232
  }
241
233
  return maxAttempt;
242
- },
234
+ }, "configFileSelector"),
243
235
  default: import_util_retry.DEFAULT_MAX_ATTEMPTS
244
236
  };
245
237
  var resolveRetryConfig = /* @__PURE__ */ __name((input) => {
@@ -247,7 +239,7 @@ var resolveRetryConfig = /* @__PURE__ */ __name((input) => {
247
239
  const maxAttempts = (0, import_util_middleware.normalizeProvider)(_maxAttempts ?? import_util_retry.DEFAULT_MAX_ATTEMPTS);
248
240
  return Object.assign(input, {
249
241
  maxAttempts,
250
- retryStrategy: async () => {
242
+ retryStrategy: /* @__PURE__ */ __name(async () => {
251
243
  if (retryStrategy) {
252
244
  return retryStrategy;
253
245
  }
@@ -256,14 +248,14 @@ var resolveRetryConfig = /* @__PURE__ */ __name((input) => {
256
248
  return new import_util_retry.AdaptiveRetryStrategy(maxAttempts);
257
249
  }
258
250
  return new import_util_retry.StandardRetryStrategy(maxAttempts);
259
- }
251
+ }, "retryStrategy")
260
252
  });
261
253
  }, "resolveRetryConfig");
262
254
  var ENV_RETRY_MODE = "AWS_RETRY_MODE";
263
255
  var CONFIG_RETRY_MODE = "retry_mode";
264
256
  var NODE_RETRY_MODE_CONFIG_OPTIONS = {
265
- environmentVariableSelector: (env) => env[ENV_RETRY_MODE],
266
- configFileSelector: (profile) => profile[CONFIG_RETRY_MODE],
257
+ environmentVariableSelector: /* @__PURE__ */ __name((env) => env[ENV_RETRY_MODE], "environmentVariableSelector"),
258
+ configFileSelector: /* @__PURE__ */ __name((profile) => profile[CONFIG_RETRY_MODE], "configFileSelector"),
267
259
  default: import_util_retry.DEFAULT_RETRY_MODE
268
260
  };
269
261
 
@@ -286,9 +278,9 @@ var omitRetryHeadersMiddlewareOptions = {
286
278
  override: true
287
279
  };
288
280
  var getOmitRetryHeadersPlugin = /* @__PURE__ */ __name((options) => ({
289
- applyToStack: (clientStack) => {
281
+ applyToStack: /* @__PURE__ */ __name((clientStack) => {
290
282
  clientStack.addRelativeTo(omitRetryHeadersMiddleware(), omitRetryHeadersMiddlewareOptions);
291
- }
283
+ }, "applyToStack")
292
284
  }), "getOmitRetryHeadersPlugin");
293
285
 
294
286
  // src/retryMiddleware.ts
@@ -367,12 +359,9 @@ var getRetryErrorInfo = /* @__PURE__ */ __name((error) => {
367
359
  return errorInfo;
368
360
  }, "getRetryErrorInfo");
369
361
  var getRetryErrorType = /* @__PURE__ */ __name((error) => {
370
- if ((0, import_service_error_classification.isThrottlingError)(error))
371
- return "THROTTLING";
372
- if ((0, import_service_error_classification.isTransientError)(error))
373
- return "TRANSIENT";
374
- if ((0, import_service_error_classification.isServerError)(error))
375
- return "SERVER_ERROR";
362
+ if ((0, import_service_error_classification.isThrottlingError)(error)) return "THROTTLING";
363
+ if ((0, import_service_error_classification.isTransientError)(error)) return "TRANSIENT";
364
+ if ((0, import_service_error_classification.isServerError)(error)) return "SERVER_ERROR";
376
365
  return "CLIENT_ERROR";
377
366
  }, "getRetryErrorType");
378
367
  var retryMiddlewareOptions = {
@@ -383,20 +372,17 @@ var retryMiddlewareOptions = {
383
372
  override: true
384
373
  };
385
374
  var getRetryPlugin = /* @__PURE__ */ __name((options) => ({
386
- applyToStack: (clientStack) => {
375
+ applyToStack: /* @__PURE__ */ __name((clientStack) => {
387
376
  clientStack.add(retryMiddleware(options), retryMiddlewareOptions);
388
- }
377
+ }, "applyToStack")
389
378
  }), "getRetryPlugin");
390
379
  var getRetryAfterHint = /* @__PURE__ */ __name((response) => {
391
- if (!import_protocol_http.HttpResponse.isInstance(response))
392
- return;
380
+ if (!import_protocol_http.HttpResponse.isInstance(response)) return;
393
381
  const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
394
- if (!retryAfterHeaderName)
395
- return;
382
+ if (!retryAfterHeaderName) return;
396
383
  const retryAfter = response.headers[retryAfterHeaderName];
397
384
  const retryAfterSeconds = Number(retryAfter);
398
- if (!Number.isNaN(retryAfterSeconds))
399
- return new Date(retryAfterSeconds * 1e3);
385
+ if (!Number.isNaN(retryAfterSeconds)) return new Date(retryAfterSeconds * 1e3);
400
386
  const retryAfterDate = new Date(retryAfter);
401
387
  return retryAfterDate;
402
388
  }, "getRetryAfterHint");
@@ -1,6 +1,7 @@
1
- import { FinalizeHandler, FinalizeHandlerArguments, MetadataBearer, Provider } from "@smithy/types";
2
- import { RateLimiter } from "@smithy/util-retry";
3
- import { StandardRetryStrategy, StandardRetryStrategyOptions } from "./StandardRetryStrategy";
1
+ import type { FinalizeHandler, FinalizeHandlerArguments, MetadataBearer, Provider } from "@smithy/types";
2
+ import type { RateLimiter } from "@smithy/util-retry";
3
+ import type { StandardRetryStrategyOptions } from "./StandardRetryStrategy";
4
+ import { StandardRetryStrategy } from "./StandardRetryStrategy";
4
5
  /**
5
6
  * @public
6
7
  * Strategy options to be passed to AdaptiveRetryStrategy
@@ -1,5 +1,5 @@
1
- import { FinalizeHandler, FinalizeHandlerArguments, MetadataBearer, Provider, RetryStrategy } from "@smithy/types";
2
- import { DelayDecider, RetryDecider, RetryQuota } from "./types";
1
+ import type { FinalizeHandler, FinalizeHandlerArguments, MetadataBearer, Provider, RetryStrategy } from "@smithy/types";
2
+ import type { DelayDecider, RetryDecider, RetryQuota } from "./types";
3
3
  /**
4
4
  * Strategy options to be passed to StandardRetryStrategy
5
5
  * @public
@@ -1,5 +1,5 @@
1
- import { LoadedConfigSelectors } from "@smithy/node-config-provider";
2
- import { Provider, RetryStrategy, RetryStrategyV2 } from "@smithy/types";
1
+ import type { LoadedConfigSelectors } from "@smithy/node-config-provider";
2
+ import type { Provider, RetryStrategy, RetryStrategyV2 } from "@smithy/types";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,4 +1,4 @@
1
- import { RetryQuota } from "./types";
1
+ import type { RetryQuota } from "./types";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { FinalizeHandler, MetadataBearer, Pluggable, RelativeMiddlewareOptions } from "@smithy/types";
1
+ import type { FinalizeHandler, MetadataBearer, Pluggable, RelativeMiddlewareOptions } from "@smithy/types";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { SdkError } from "@smithy/types";
1
+ import type { SdkError } from "@smithy/types";
2
2
  /**
3
3
  * @internal
4
4
  * @deprecated this is only used in the deprecated StandardRetryStrategy. Do not use in new code.
@@ -1,5 +1,5 @@
1
- import { AbsoluteLocation, FinalizeHandler, FinalizeRequestHandlerOptions, HandlerExecutionContext, MetadataBearer, Pluggable } from "@smithy/types";
2
- import { RetryResolvedConfig } from "./configurations";
1
+ import type { AbsoluteLocation, FinalizeHandler, FinalizeRequestHandlerOptions, HandlerExecutionContext, MetadataBearer, Pluggable } from "@smithy/types";
2
+ import type { RetryResolvedConfig } from "./configurations";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,6 +1,7 @@
1
1
  import { FinalizeHandler, FinalizeHandlerArguments, MetadataBearer, Provider } from "@smithy/types";
2
2
  import { RateLimiter } from "@smithy/util-retry";
3
- import { StandardRetryStrategy, StandardRetryStrategyOptions } from "./StandardRetryStrategy";
3
+ import { StandardRetryStrategyOptions } from "./StandardRetryStrategy";
4
+ import { StandardRetryStrategy } from "./StandardRetryStrategy";
4
5
  /**
5
6
  * @public
6
7
  * Strategy options to be passed to AdaptiveRetryStrategy
@@ -1,4 +1,4 @@
1
- import { SdkError } from "@smithy/types";
1
+ import type { SdkError } from "@smithy/types";
2
2
  /**
3
3
  * Determines whether an error is retryable based on the number of retries
4
4
  * already attempted, the HTTP status code, and the error received (if any).
@@ -1,2 +1,2 @@
1
- import { SdkError } from "@smithy/types";
1
+ import type { SdkError } from "@smithy/types";
2
2
  export declare const asSdkError: (error: unknown) => SdkError;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-retry",
3
- "version": "4.1.22",
3
+ "version": "4.2.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-retry",
@@ -32,14 +32,15 @@
32
32
  "url": "https://aws.amazon.com/javascript/"
33
33
  },
34
34
  "license": "Apache-2.0",
35
+ "sideEffects": false,
35
36
  "dependencies": {
36
- "@smithy/node-config-provider": "^4.1.4",
37
- "@smithy/protocol-http": "^5.1.3",
38
- "@smithy/service-error-classification": "^4.0.7",
39
- "@smithy/smithy-client": "^4.5.2",
40
- "@smithy/types": "^4.3.2",
41
- "@smithy/util-middleware": "^4.0.5",
42
- "@smithy/util-retry": "^4.0.7",
37
+ "@smithy/node-config-provider": "^4.2.0",
38
+ "@smithy/protocol-http": "^5.2.0",
39
+ "@smithy/service-error-classification": "^4.1.0",
40
+ "@smithy/smithy-client": "^4.6.0",
41
+ "@smithy/types": "^4.4.0",
42
+ "@smithy/util-middleware": "^4.1.0",
43
+ "@smithy/util-retry": "^4.1.0",
43
44
  "@types/uuid": "^9.0.1",
44
45
  "tslib": "^2.6.2",
45
46
  "uuid": "^9.0.1"
@@ -18,15 +18,15 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  deserializerMiddleware: () => deserializerMiddleware,
24
24
  deserializerMiddlewareOption: () => deserializerMiddlewareOption,
25
25
  getSerdePlugin: () => getSerdePlugin,
26
26
  serializerMiddleware: () => serializerMiddleware,
27
27
  serializerMiddlewareOption: () => serializerMiddlewareOption
28
28
  });
29
- module.exports = __toCommonJS(src_exports);
29
+ module.exports = __toCommonJS(index_exports);
30
30
 
31
31
  // src/deserializerMiddleware.ts
32
32
  var import_protocol_http = require("@smithy/protocol-http");
@@ -110,10 +110,10 @@ var serializerMiddlewareOption = {
110
110
  };
111
111
  function getSerdePlugin(config, serializer, deserializer) {
112
112
  return {
113
- applyToStack: (commandStack) => {
113
+ applyToStack: /* @__PURE__ */ __name((commandStack) => {
114
114
  commandStack.add(deserializerMiddleware(config, deserializer), deserializerMiddlewareOption);
115
115
  commandStack.add(serializerMiddleware(config, serializer), serializerMiddlewareOption);
116
- }
116
+ }, "applyToStack")
117
117
  };
118
118
  }
119
119
  __name(getSerdePlugin, "getSerdePlugin");
@@ -1,4 +1,4 @@
1
- import { DeserializeMiddleware, ResponseDeserializer, SerdeContext, SerdeFunctions } from "@smithy/types";
1
+ import type { DeserializeMiddleware, ResponseDeserializer, SerdeContext, SerdeFunctions } from "@smithy/types";
2
2
  /**
3
3
  * @internal
4
4
  * @deprecated will be replaced by schemaSerdePlugin from core/schema.
@@ -1,4 +1,4 @@
1
- import { DeserializeHandlerOptions, Endpoint, MetadataBearer, Pluggable, Provider, RequestSerializer, ResponseDeserializer, SerdeContext, SerdeFunctions, SerializeHandlerOptions, UrlParser } from "@smithy/types";
1
+ import type { DeserializeHandlerOptions, Endpoint, MetadataBearer, Pluggable, Provider, RequestSerializer, ResponseDeserializer, SerdeContext, SerdeFunctions, SerializeHandlerOptions, UrlParser } from "@smithy/types";
2
2
  /**
3
3
  * @deprecated will be replaced by schemaSerdePlugin from core/schema.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { RequestSerializer, SerdeContext, SerdeFunctions, SerializeMiddleware } from "@smithy/types";
1
+ import type { RequestSerializer, SerdeContext, SerdeFunctions, SerializeMiddleware } from "@smithy/types";
2
2
  /**
3
3
  * @internal
4
4
  * @deprecated will be replaced by schemaSerdePlugin from core/schema.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-serde",
3
- "version": "4.0.9",
3
+ "version": "4.1.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-serde",
@@ -12,9 +12,9 @@
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
14
14
  "test": "yarn g:vitest run",
15
- "test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
15
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
16
16
  "test:watch": "yarn g:vitest watch",
17
- "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.ts"
17
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
18
18
  },
19
19
  "main": "./dist-cjs/index.js",
20
20
  "module": "./dist-es/index.js",
@@ -24,9 +24,10 @@
24
24
  "url": "https://aws.amazon.com/javascript/"
25
25
  },
26
26
  "license": "Apache-2.0",
27
+ "sideEffects": false,
27
28
  "dependencies": {
28
- "@smithy/protocol-http": "^5.1.3",
29
- "@smithy/types": "^4.3.2",
29
+ "@smithy/protocol-http": "^5.2.0",
30
+ "@smithy/types": "^4.4.0",
30
31
  "tslib": "^2.6.2"
31
32
  },
32
33
  "engines": {
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  constructStack: () => constructStack
24
24
  });
25
- module.exports = __toCommonJS(src_exports);
25
+ module.exports = __toCommonJS(index_exports);
26
26
 
27
27
  // src/MiddlewareStack.ts
28
28
  var getAllAliases = /* @__PURE__ */ __name((name, aliases) => {
@@ -165,7 +165,7 @@ var constructStack = /* @__PURE__ */ __name(() => {
165
165
  return mainChain;
166
166
  }, "getMiddlewareList");
167
167
  const stack = {
168
- add: (middleware, options = {}) => {
168
+ add: /* @__PURE__ */ __name((middleware, options = {}) => {
169
169
  const { name, override, aliases: _aliases } = options;
170
170
  const entry = {
171
171
  step: "initialize",
@@ -176,8 +176,7 @@ var constructStack = /* @__PURE__ */ __name(() => {
176
176
  const aliases = getAllAliases(name, _aliases);
177
177
  if (aliases.length > 0) {
178
178
  if (aliases.some((alias) => entriesNameSet.has(alias))) {
179
- if (!override)
180
- throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
179
+ if (!override) throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
181
180
  for (const alias of aliases) {
182
181
  const toOverrideIndex = absoluteEntries.findIndex(
183
182
  (entry2) => entry2.name === alias || entry2.aliases?.some((a) => a === alias)
@@ -199,8 +198,8 @@ var constructStack = /* @__PURE__ */ __name(() => {
199
198
  }
200
199
  }
201
200
  absoluteEntries.push(entry);
202
- },
203
- addRelativeTo: (middleware, options) => {
201
+ }, "add"),
202
+ addRelativeTo: /* @__PURE__ */ __name((middleware, options) => {
204
203
  const { name, override, aliases: _aliases } = options;
205
204
  const entry = {
206
205
  middleware,
@@ -209,8 +208,7 @@ var constructStack = /* @__PURE__ */ __name(() => {
209
208
  const aliases = getAllAliases(name, _aliases);
210
209
  if (aliases.length > 0) {
211
210
  if (aliases.some((alias) => entriesNameSet.has(alias))) {
212
- if (!override)
213
- throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
211
+ if (!override) throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
214
212
  for (const alias of aliases) {
215
213
  const toOverrideIndex = relativeEntries.findIndex(
216
214
  (entry2) => entry2.name === alias || entry2.aliases?.some((a) => a === alias)
@@ -232,18 +230,16 @@ var constructStack = /* @__PURE__ */ __name(() => {
232
230
  }
233
231
  }
234
232
  relativeEntries.push(entry);
235
- },
236
- clone: () => cloneTo(constructStack()),
237
- use: (plugin) => {
233
+ }, "addRelativeTo"),
234
+ clone: /* @__PURE__ */ __name(() => cloneTo(constructStack()), "clone"),
235
+ use: /* @__PURE__ */ __name((plugin) => {
238
236
  plugin.applyToStack(stack);
239
- },
240
- remove: (toRemove) => {
241
- if (typeof toRemove === "string")
242
- return removeByName(toRemove);
243
- else
244
- return removeByReference(toRemove);
245
- },
246
- removeByTag: (toRemove) => {
237
+ }, "use"),
238
+ remove: /* @__PURE__ */ __name((toRemove) => {
239
+ if (typeof toRemove === "string") return removeByName(toRemove);
240
+ else return removeByReference(toRemove);
241
+ }, "remove"),
242
+ removeByTag: /* @__PURE__ */ __name((toRemove) => {
247
243
  let isRemoved = false;
248
244
  const filterCb = /* @__PURE__ */ __name((entry) => {
249
245
  const { tags, name, aliases: _aliases } = entry;
@@ -260,28 +256,27 @@ var constructStack = /* @__PURE__ */ __name(() => {
260
256
  absoluteEntries = absoluteEntries.filter(filterCb);
261
257
  relativeEntries = relativeEntries.filter(filterCb);
262
258
  return isRemoved;
263
- },
264
- concat: (from) => {
259
+ }, "removeByTag"),
260
+ concat: /* @__PURE__ */ __name((from) => {
265
261
  const cloned = cloneTo(constructStack());
266
262
  cloned.use(from);
267
263
  cloned.identifyOnResolve(
268
264
  identifyOnResolve || cloned.identifyOnResolve() || (from.identifyOnResolve?.() ?? false)
269
265
  );
270
266
  return cloned;
271
- },
267
+ }, "concat"),
272
268
  applyToStack: cloneTo,
273
- identify: () => {
269
+ identify: /* @__PURE__ */ __name(() => {
274
270
  return getMiddlewareList(true).map((mw) => {
275
271
  const step = mw.step ?? mw.relation + " " + mw.toMiddleware;
276
272
  return getMiddlewareNameWithAliases(mw.name, mw.aliases) + " - " + step;
277
273
  });
278
- },
274
+ }, "identify"),
279
275
  identifyOnResolve(toggle) {
280
- if (typeof toggle === "boolean")
281
- identifyOnResolve = toggle;
276
+ if (typeof toggle === "boolean") identifyOnResolve = toggle;
282
277
  return identifyOnResolve;
283
278
  },
284
- resolve: (handler, context) => {
279
+ resolve: /* @__PURE__ */ __name((handler, context) => {
285
280
  for (const middleware of getMiddlewareList().map((entry) => entry.middleware).reverse()) {
286
281
  handler = middleware(handler, context);
287
282
  }
@@ -289,7 +284,7 @@ var constructStack = /* @__PURE__ */ __name(() => {
289
284
  console.log(stack.identify());
290
285
  }
291
286
  return handler;
292
- }
287
+ }, "resolve")
293
288
  };
294
289
  return stack;
295
290
  }, "constructStack");
@@ -1,4 +1,4 @@
1
- import { MiddlewareStack } from "@smithy/types";
1
+ import type { MiddlewareStack } from "@smithy/types";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { AbsoluteLocation, HandlerOptions, MiddlewareType, Priority, RelativeLocation, Step } from "@smithy/types";
1
+ import type { AbsoluteLocation, HandlerOptions, MiddlewareType, Priority, RelativeLocation, Step } from "@smithy/types";
2
2
  export interface MiddlewareEntry<Input extends object, Output extends object> extends HandlerOptions {
3
3
  middleware: MiddlewareType<Input, Output>;
4
4
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-stack",
3
- "version": "4.0.5",
3
+ "version": "4.1.0",
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'",
@@ -22,11 +22,12 @@
22
22
  "url": "https://aws.amazon.com/javascript/"
23
23
  },
24
24
  "license": "Apache-2.0",
25
+ "sideEffects": false,
25
26
  "main": "./dist-cjs/index.js",
26
27
  "module": "./dist-es/index.js",
27
28
  "types": "./dist-types/index.d.ts",
28
29
  "dependencies": {
29
- "@smithy/types": "^4.3.2",
30
+ "@smithy/types": "^4.4.0",
30
31
  "tslib": "^2.6.2"
31
32
  },
32
33
  "devDependencies": {
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  loadConfig: () => loadConfig
24
24
  });
25
- module.exports = __toCommonJS(src_exports);
25
+ module.exports = __toCommonJS(index_exports);
26
26
 
27
27
  // src/configLoader.ts
28
28
 
@@ -1,7 +1,7 @@
1
- import { Provider } from "@smithy/types";
2
- import { EnvOptions, GetterFromEnv } from "./fromEnv";
3
- import { GetterFromConfig, SharedConfigInit } from "./fromSharedConfigFiles";
4
- import { FromStaticConfig } from "./fromStatic";
1
+ import type { Provider } from "@smithy/types";
2
+ import type { EnvOptions, GetterFromEnv } from "./fromEnv";
3
+ import type { GetterFromConfig, SharedConfigInit } from "./fromSharedConfigFiles";
4
+ import type { FromStaticConfig } from "./fromStatic";
5
5
  /**
6
6
  * @internal
7
7
  */
@@ -1,4 +1,4 @@
1
- import { Logger, Provider } from "@smithy/types";
1
+ import type { Logger, Provider } from "@smithy/types";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,5 +1,5 @@
1
- import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
2
- import { ParsedIniData, Profile, Provider } from "@smithy/types";
1
+ import type { SourceProfileInit } from "@smithy/shared-ini-file-loader";
2
+ import type { ParsedIniData, Profile, Provider } from "@smithy/types";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,4 +1,4 @@
1
- import { Provider } from "@smithy/types";
1
+ import type { Provider } from "@smithy/types";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-config-provider",
3
- "version": "4.1.4",
3
+ "version": "4.2.0",
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'",
@@ -21,13 +21,14 @@
21
21
  "url": "https://aws.amazon.com/javascript/"
22
22
  },
23
23
  "license": "Apache-2.0",
24
+ "sideEffects": false,
24
25
  "main": "./dist-cjs/index.js",
25
26
  "module": "./dist-es/index.js",
26
27
  "types": "./dist-types/index.d.ts",
27
28
  "dependencies": {
28
- "@smithy/property-provider": "^4.0.5",
29
- "@smithy/shared-ini-file-loader": "^4.0.5",
30
- "@smithy/types": "^4.3.2",
29
+ "@smithy/property-provider": "^4.1.0",
30
+ "@smithy/shared-ini-file-loader": "^4.1.0",
31
+ "@smithy/types": "^4.4.0",
31
32
  "tslib": "^2.6.2"
32
33
  },
33
34
  "devDependencies": {