@mavogel/awscdk-rootmail 0.0.332 → 0.0.333

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 (521) hide show
  1. package/.jsii +3 -3
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/schemas/schemas_0.js +6 -4
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/schemas/schemas_0.js +6 -4
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeQueriesCommand.d.ts +3 -0
  7. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetTransformerCommand.d.ts +1 -0
  8. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutTransformerCommand.d.ts +1 -0
  9. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TestTransformerCommand.d.ts +1 -0
  10. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +34 -2
  11. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +4 -0
  12. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +6 -6
  13. package/node_modules/@aws-sdk/client-route-53/package.json +6 -6
  14. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -0
  15. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +1 -0
  16. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -0
  17. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +39 -8
  18. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +39 -8
  19. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +39 -8
  20. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +39 -8
  21. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +51 -0
  22. package/node_modules/@aws-sdk/client-s3/package.json +7 -7
  23. package/node_modules/@aws-sdk/client-ses/package.json +6 -6
  24. package/node_modules/@aws-sdk/client-ssm/package.json +6 -6
  25. package/node_modules/@aws-sdk/credential-provider-ini/package.json +5 -5
  26. package/node_modules/@aws-sdk/credential-provider-login/package.json +2 -2
  27. package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
  28. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  29. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +2 -2
  30. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  31. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  32. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  33. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  34. package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +6 -0
  35. package/node_modules/@smithy/core/dist-cjs/index.js +1 -1
  36. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +21 -0
  37. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +21 -0
  38. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +46 -0
  39. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +6 -0
  40. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +24 -0
  41. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +19 -0
  42. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +27 -0
  43. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +5 -0
  44. package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +10 -0
  45. package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +44 -0
  46. package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +5 -0
  47. package/node_modules/@smithy/core/dist-cjs/setFeature.js +14 -0
  48. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +17 -0
  49. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +38 -0
  50. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +15 -0
  51. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +6 -0
  52. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +9 -0
  53. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +6 -0
  54. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +61 -0
  55. package/node_modules/@smithy/core/package.json +15 -16
  56. package/node_modules/@smithy/fetch-http-handler/package.json +12 -13
  57. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +2 -2
  58. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
  59. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
  60. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  61. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  62. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +15 -0
  63. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +196 -0
  64. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
  65. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +1 -0
  66. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
  67. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
  68. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
  69. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
  70. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
  71. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
  72. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
  73. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +11 -0
  74. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
  75. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +10 -0
  76. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
  77. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
  78. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  79. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
  80. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
  81. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js +12 -0
  82. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts +4 -0
  83. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
  84. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
  85. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
  86. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
  87. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
  88. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
  89. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
  90. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +52 -0
  91. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
  92. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +10 -0
  93. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +33 -0
  94. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
  95. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  96. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
  97. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
  98. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts +21 -0
  99. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
  100. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +72 -0
  101. package/node_modules/@smithy/middleware-endpoint/package.json +13 -14
  102. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +70 -29
  103. package/node_modules/@smithy/middleware-retry/dist-es/index.js +5 -4
  104. package/node_modules/@smithy/middleware-retry/dist-es/longPollMiddleware.js +15 -0
  105. package/node_modules/@smithy/middleware-retry/dist-es/parseRetryAfterHeader.js +49 -0
  106. package/node_modules/@smithy/middleware-retry/dist-es/{StandardRetryStrategy.js → retry-pre-sra-deprecated/StandardRetryStrategy.js} +1 -1
  107. package/node_modules/@smithy/middleware-retry/dist-es/retry-pre-sra-deprecated/types.js +1 -0
  108. package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +13 -20
  109. package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +3 -1
  110. package/node_modules/@smithy/middleware-retry/dist-types/index.d.ts +5 -4
  111. package/node_modules/@smithy/middleware-retry/dist-types/longPollMiddleware.d.ts +15 -0
  112. package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +2 -0
  113. package/node_modules/@smithy/middleware-retry/dist-types/parseRetryAfterHeader.d.ts +10 -0
  114. package/node_modules/@smithy/middleware-retry/dist-types/{AdaptiveRetryStrategy.d.ts → retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts} +2 -1
  115. package/node_modules/@smithy/middleware-retry/dist-types/{defaultRetryQuota.d.ts → retry-pre-sra-deprecated/defaultRetryQuota.d.ts} +2 -0
  116. package/node_modules/@smithy/middleware-retry/dist-types/{delayDecider.d.ts → retry-pre-sra-deprecated/delayDecider.d.ts} +2 -1
  117. package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +0 -4
  118. package/node_modules/@smithy/middleware-retry/package.json +16 -16
  119. package/node_modules/@smithy/middleware-serde/package.json +10 -11
  120. package/node_modules/@smithy/middleware-stack/README.md +13 -0
  121. package/node_modules/@smithy/middleware-stack/package.json +7 -8
  122. package/node_modules/@smithy/node-config-provider/README.md +10 -3
  123. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +201 -0
  124. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +17 -0
  125. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  126. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  127. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
  128. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  129. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  130. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  131. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  132. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  133. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  134. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  135. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  136. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  137. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  138. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  139. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  140. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +60 -0
  141. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
  142. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
  143. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  144. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  145. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +15 -0
  146. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +196 -0
  147. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
  148. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +1 -0
  149. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
  150. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
  151. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
  152. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
  153. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
  154. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
  155. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
  156. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +11 -0
  157. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
  158. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +10 -0
  159. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
  160. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
  161. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  162. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
  163. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
  164. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js +12 -0
  165. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
  166. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts +4 -0
  167. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
  168. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
  169. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
  170. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
  171. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
  172. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
  173. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
  174. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +52 -0
  175. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
  176. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +10 -0
  177. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +33 -0
  178. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
  179. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  180. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
  181. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
  182. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts +21 -0
  183. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
  184. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +72 -0
  185. package/node_modules/@smithy/node-config-provider/package.json +8 -9
  186. package/node_modules/@smithy/node-http-handler/package.json +10 -11
  187. package/node_modules/@smithy/protocol-http/README.md +13 -0
  188. package/node_modules/@smithy/protocol-http/package.json +6 -7
  189. package/node_modules/@smithy/querystring-builder/README.md +10 -3
  190. package/node_modules/@smithy/querystring-builder/package.json +6 -7
  191. package/node_modules/@smithy/querystring-parser/README.md +10 -3
  192. package/node_modules/@smithy/querystring-parser/package.json +6 -7
  193. package/node_modules/@smithy/service-error-classification/README.md +13 -0
  194. package/node_modules/@smithy/service-error-classification/package.json +6 -7
  195. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -1
  196. package/node_modules/@smithy/smithy-client/package.json +14 -15
  197. package/node_modules/@smithy/types/dist-types/middleware.d.ts +6 -0
  198. package/node_modules/@smithy/types/dist-types/retry.d.ts +4 -0
  199. package/node_modules/@smithy/types/package.json +7 -8
  200. package/node_modules/@smithy/url-parser/README.md +10 -3
  201. package/node_modules/@smithy/url-parser/package.json +7 -8
  202. package/node_modules/@smithy/util-middleware/README.md +9 -4
  203. package/node_modules/@smithy/util-middleware/package.json +6 -7
  204. package/node_modules/@smithy/util-retry/dist-cjs/index.js +129 -80
  205. package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +7 -4
  206. package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +2 -2
  207. package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +30 -29
  208. package/node_modules/@smithy/util-retry/dist-es/DefaultRetryBackoffStrategy.js +14 -0
  209. package/node_modules/@smithy/util-retry/dist-es/DefaultRetryToken.js +25 -0
  210. package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +39 -26
  211. package/node_modules/@smithy/util-retry/dist-es/index.js +1 -0
  212. package/node_modules/@smithy/util-retry/dist-es/retries-2026-config.js +18 -0
  213. package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +8 -8
  214. package/node_modules/@smithy/util-retry/dist-types/ConfiguredRetryStrategy.d.ts +2 -2
  215. package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +78 -8
  216. package/node_modules/@smithy/util-retry/dist-types/DefaultRetryBackoffStrategy.d.ts +12 -0
  217. package/node_modules/@smithy/util-retry/dist-types/DefaultRetryToken.d.ts +15 -0
  218. package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +21 -4
  219. package/node_modules/@smithy/util-retry/dist-types/config.d.ts +4 -4
  220. package/node_modules/@smithy/util-retry/dist-types/constants.d.ts +15 -14
  221. package/node_modules/@smithy/util-retry/dist-types/index.d.ts +1 -0
  222. package/node_modules/@smithy/util-retry/dist-types/retries-2026-config.d.ts +11 -0
  223. package/node_modules/@smithy/util-retry/dist-types/types.d.ts +1 -1
  224. package/node_modules/@smithy/util-retry/package.json +10 -11
  225. package/node_modules/@smithy/util-stream/package.json +12 -13
  226. package/package.json +1 -1
  227. package/node_modules/@smithy/core/dist-types/ts3.4/getSmithyContext.d.ts +0 -5
  228. package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +0 -8
  229. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +0 -18
  230. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +0 -18
  231. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +0 -33
  232. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/index.d.ts +0 -3
  233. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts +0 -10
  234. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/getHttpSigningMiddleware.d.ts +0 -9
  235. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/httpSigningMiddleware.d.ts +0 -5
  236. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/index.d.ts +0 -2
  237. package/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts +0 -7
  238. package/node_modules/@smithy/core/dist-types/ts3.4/pagination/createPaginator.d.ts +0 -7
  239. package/node_modules/@smithy/core/dist-types/ts3.4/request-builder/requestBuilder.d.ts +0 -5
  240. package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +0 -12
  241. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +0 -33
  242. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +0 -28
  243. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +0 -6
  244. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +0 -17
  245. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +0 -9
  246. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +0 -65
  247. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +0 -26
  248. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +0 -5
  249. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +0 -31
  250. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +0 -1
  251. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +0 -6
  252. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +0 -60
  253. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +0 -1
  254. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +0 -31
  255. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +0 -89
  256. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +0 -16
  257. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +0 -16
  258. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +0 -10
  259. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +0 -7
  260. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +0 -13
  261. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +0 -51
  262. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +0 -4
  263. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +0 -13
  264. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +0 -21
  265. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +0 -23
  266. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +0 -14
  267. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +0 -9
  268. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +0 -71
  269. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +0 -6
  270. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +0 -14
  271. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +0 -14
  272. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +0 -11
  273. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +0 -9
  274. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +0 -6
  275. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +0 -37
  276. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +0 -23
  277. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +0 -24
  278. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +0 -146
  279. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +0 -23
  280. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +0 -16
  281. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +0 -28
  282. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +0 -23
  283. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +0 -7
  284. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +0 -23
  285. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +0 -13
  286. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +0 -6
  287. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts +0 -73
  288. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +0 -2
  289. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +0 -10
  290. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts +0 -45
  291. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +0 -270
  292. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts +0 -6
  293. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +0 -47
  294. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts +0 -11
  295. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts +0 -5
  296. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +0 -33
  297. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +0 -15
  298. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +0 -8
  299. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +0 -8
  300. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/index.d.ts +0 -3
  301. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +0 -8
  302. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/index.d.ts +0 -3
  303. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/memoizeIdentityProvider.d.ts +0 -30
  304. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +0 -6
  305. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +0 -42
  306. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +0 -2
  307. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +0 -1
  308. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +0 -2
  309. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts +0 -14
  310. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.browser.d.ts +0 -1
  311. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts +0 -4
  312. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromInstructions.d.ts +0 -28
  313. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointUrlConfig.d.ts +0 -2
  314. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/index.d.ts +0 -8
  315. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +0 -6
  316. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/endpointMiddleware.d.ts +0 -10
  317. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/getEndpointPlugin.d.ts +0 -11
  318. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +0 -18
  319. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +0 -109
  320. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +0 -32
  321. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/index.d.ts +0 -4
  322. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/s3.d.ts +0 -26
  323. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/types.d.ts +0 -41
  324. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +0 -23
  325. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +0 -33
  326. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +0 -66
  327. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/defaultRetryQuota.d.ts +0 -24
  328. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/delayDecider.d.ts +0 -5
  329. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/index.d.ts +0 -7
  330. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.browser.d.ts +0 -5
  331. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.d.ts +0 -5
  332. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/omitRetryHeadersMiddleware.d.ts +0 -13
  333. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts +0 -6
  334. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryMiddleware.d.ts +0 -18
  335. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/types.d.ts +0 -65
  336. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/util.d.ts +0 -2
  337. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +0 -6
  338. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/index.d.ts +0 -3
  339. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +0 -24
  340. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +0 -6
  341. package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +0 -5
  342. package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/index.d.ts +0 -1
  343. package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/types.d.ts +0 -22
  344. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +0 -31
  345. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +0 -20
  346. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +0 -22
  347. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +0 -9
  348. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts +0 -9
  349. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/index.d.ts +0 -4
  350. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +0 -10
  351. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
  352. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -4
  353. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
  354. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -46
  355. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -24
  356. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -12
  357. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -63
  358. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -13
  359. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -12
  360. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
  361. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +0 -6
  362. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
  363. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
  364. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -5
  365. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -6
  366. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -13
  367. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -8
  368. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -12
  369. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +0 -50
  370. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -44
  371. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -33
  372. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -1
  373. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -35
  374. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -56
  375. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -29
  376. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +0 -8
  377. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -1
  378. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +0 -21
  379. package/node_modules/@smithy/querystring-builder/dist-types/ts3.4/index.d.ts +0 -5
  380. package/node_modules/@smithy/querystring-parser/dist-types/ts3.4/index.d.ts +0 -5
  381. package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +0 -30
  382. package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +0 -24
  383. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/NoOpLogger.d.ts +0 -11
  384. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +0 -87
  385. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts +0 -5
  386. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +0 -119
  387. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/constants.d.ts +0 -4
  388. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +0 -18
  389. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/default-error-handler.d.ts +0 -15
  390. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts +0 -28
  391. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/emitWarningIfUnsupportedVersion.d.ts +0 -8
  392. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/exceptions.d.ts +0 -42
  393. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts +0 -5
  394. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +0 -26
  395. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -38
  396. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts +0 -1
  397. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +0 -18
  398. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-array-if-single-item.d.ts +0 -7
  399. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-value-from-text-node.d.ts +0 -7
  400. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +0 -21
  401. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/is-serializable-header-value.d.ts +0 -5
  402. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/object-mapping.d.ts +0 -178
  403. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts +0 -5
  404. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts +0 -9
  405. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts +0 -15
  406. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts +0 -12
  407. package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +0 -7
  408. package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +0 -50
  409. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -7
  410. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -49
  411. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -20
  412. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -41
  413. package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -14
  414. package/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +0 -57
  415. package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +0 -6
  416. package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -40
  417. package/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +0 -63
  418. package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +0 -57
  419. package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +0 -28
  420. package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +0 -10
  421. package/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +0 -3
  422. package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +0 -34
  423. package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +0 -32
  424. package/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +0 -60
  425. package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -41
  426. package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +0 -31
  427. package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +0 -77
  428. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -27
  429. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -10
  430. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -28
  431. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -16
  432. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +0 -5
  433. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +0 -55
  434. package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +0 -137
  435. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +0 -58
  436. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -33
  437. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -9
  438. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +0 -4
  439. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +0 -18
  440. package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -35
  441. package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +0 -16
  442. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -128
  443. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +0 -113
  444. package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -14
  445. package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -31
  446. package/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +0 -15
  447. package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +0 -4
  448. package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -14
  449. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +0 -43
  450. package/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +0 -13
  451. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +0 -534
  452. package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +0 -33
  453. package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +0 -30
  454. package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +0 -40
  455. package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +0 -133
  456. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +0 -149
  457. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +0 -251
  458. package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +0 -65
  459. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +0 -118
  460. package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +0 -46
  461. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +0 -114
  462. package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +0 -82
  463. package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +0 -155
  464. package/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +0 -22
  465. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -32
  466. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -60
  467. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -51
  468. package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +0 -41
  469. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -26
  470. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -81
  471. package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +0 -14
  472. package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +0 -6
  473. package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +0 -88
  474. package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +0 -41
  475. package/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +0 -17
  476. package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +0 -192
  477. package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +0 -35
  478. package/node_modules/@smithy/url-parser/dist-types/ts3.4/index.d.ts +0 -5
  479. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts +0 -5
  480. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts +0 -8
  481. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/normalizeProvider.d.ts +0 -7
  482. package/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js +0 -14
  483. package/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js +0 -11
  484. package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +0 -5
  485. package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +0 -9
  486. package/node_modules/@smithy/util-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +0 -33
  487. package/node_modules/@smithy/util-retry/dist-types/ts3.4/ConfiguredRetryStrategy.d.ts +0 -32
  488. package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +0 -49
  489. package/node_modules/@smithy/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +0 -26
  490. package/node_modules/@smithy/util-retry/dist-types/ts3.4/config.d.ts +0 -20
  491. package/node_modules/@smithy/util-retry/dist-types/ts3.4/constants.d.ts +0 -59
  492. package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryBackoffStrategy.d.ts +0 -5
  493. package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts +0 -9
  494. package/node_modules/@smithy/util-retry/dist-types/ts3.4/index.d.ts +0 -7
  495. package/node_modules/@smithy/util-retry/dist-types/ts3.4/types.d.ts +0 -19
  496. package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +0 -13
  497. package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts +0 -22
  498. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts +0 -37
  499. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +0 -61
  500. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +0 -14
  501. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +0 -13
  502. package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +0 -15
  503. package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts +0 -54
  504. package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.browser.d.ts +0 -5
  505. package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +0 -10
  506. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +0 -7
  507. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +0 -9
  508. package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +0 -12
  509. package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.browser.d.ts +0 -7
  510. package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts +0 -8
  511. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts +0 -8
  512. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +0 -17
  513. package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +0 -17
  514. /package/node_modules/@smithy/{middleware-retry → middleware-endpoint/node_modules/@smithy/shared-ini-file-loader}/dist-es/types.js +0 -0
  515. /package/node_modules/@smithy/middleware-retry/dist-es/{AdaptiveRetryStrategy.js → retry-pre-sra-deprecated/AdaptiveRetryStrategy.js} +0 -0
  516. /package/node_modules/@smithy/middleware-retry/dist-es/{defaultRetryQuota.js → retry-pre-sra-deprecated/defaultRetryQuota.js} +0 -0
  517. /package/node_modules/@smithy/middleware-retry/dist-es/{delayDecider.js → retry-pre-sra-deprecated/delayDecider.js} +0 -0
  518. /package/node_modules/@smithy/middleware-retry/dist-es/{retryDecider.js → retry-pre-sra-deprecated/retryDecider.js} +0 -0
  519. /package/node_modules/@smithy/middleware-retry/dist-types/{StandardRetryStrategy.d.ts → retry-pre-sra-deprecated/StandardRetryStrategy.d.ts} +0 -0
  520. /package/node_modules/@smithy/middleware-retry/dist-types/{retryDecider.d.ts → retry-pre-sra-deprecated/retryDecider.d.ts} +0 -0
  521. /package/node_modules/@smithy/middleware-retry/dist-types/{types.d.ts → retry-pre-sra-deprecated/types.d.ts} +0 -0
@@ -3,10 +3,30 @@ import type { RateLimiter } from "./types";
3
3
  * @public
4
4
  */
5
5
  export interface DefaultRateLimiterOptions {
6
+ /**
7
+ * Coefficient for controlling how aggressively the rate decreases on throttle.
8
+ * @defaultValue 0.7
9
+ */
6
10
  beta?: number;
11
+ /**
12
+ * Minimum token bucket capacity in adaptive-tokens.
13
+ * @defaultValue 1
14
+ */
7
15
  minCapacity?: number;
16
+ /**
17
+ * Minimum fill rate in adaptive-tokens per second.
18
+ * @defaultValue 0.5
19
+ */
8
20
  minFillRate?: number;
21
+ /**
22
+ * Scale constant used in the cubic rate calculation.
23
+ * @defaultValue 0.4
24
+ */
9
25
  scaleConstant?: number;
26
+ /**
27
+ * Smoothing factor for the exponential moving average of the measured send rate.
28
+ * @defaultValue 0.8
29
+ */
10
30
  smooth?: number;
11
31
  }
12
32
  /**
@@ -17,32 +37,82 @@ export declare class DefaultRateLimiter implements RateLimiter {
17
37
  * Only used in testing.
18
38
  */
19
39
  private static setTimeoutFn;
20
- private beta;
21
- private minCapacity;
22
- private minFillRate;
23
- private scaleConstant;
24
- private smooth;
25
- private currentCapacity;
40
+ private readonly beta;
41
+ private readonly minCapacity;
42
+ private readonly minFillRate;
43
+ private readonly scaleConstant;
44
+ private readonly smooth;
45
+ /**
46
+ * Whether adaptive retry rate limiting is active.
47
+ * Remains `false` until a throttling error is detected.
48
+ */
26
49
  private enabled;
50
+ /**
51
+ * Current number of available adaptive-tokens. When exhausted, requests wait based on fill rate.
52
+ */
53
+ private availableTokens;
54
+ /**
55
+ * The most recent maximum fill rate in adaptive-tokens per second, recorded at the last throttle event.
56
+ */
27
57
  private lastMaxRate;
58
+ /**
59
+ * Smoothed measured send rate in requests per second.
60
+ */
28
61
  private measuredTxRate;
62
+ /**
63
+ * Number of requests observed in the current measurement time bucket.
64
+ */
29
65
  private requestCount;
66
+ /**
67
+ * Current token bucket fill rate in adaptive-tokens per second. Defaults to {@link minFillRate}.
68
+ */
30
69
  private fillRate;
70
+ /**
71
+ * Timestamp in seconds of the most recent throttle event.
72
+ */
31
73
  private lastThrottleTime;
74
+ /**
75
+ * Timestamp in seconds of the last token bucket refill.
76
+ */
32
77
  private lastTimestamp;
78
+ /**
79
+ * The time bucket (in seconds) used for measuring the send rate.
80
+ */
33
81
  private lastTxRateBucket;
82
+ /**
83
+ * Maximum token bucket capacity in adaptive-tokens. Defaults to {@link minCapacity}.
84
+ * Updated in {@link updateTokenBucketRate} to match the new fill rate, floored by {@link minCapacity}.
85
+ */
34
86
  private maxCapacity;
87
+ /**
88
+ * Calculated time window in seconds used in the cubic rate recovery function.
89
+ */
35
90
  private timeWindow;
36
91
  constructor(options?: DefaultRateLimiterOptions);
37
- private getCurrentTimeInSeconds;
38
92
  getSendToken(): Promise<void>;
93
+ updateClientSendingRate(response: any): void;
94
+ private getCurrentTimeInSeconds;
39
95
  private acquireTokenBucket;
40
96
  private refillTokenBucket;
41
- updateClientSendingRate(response: any): void;
42
97
  private calculateTimeWindow;
98
+ /**
99
+ * Returns a new fill rate in adaptive-tokens per second by reducing
100
+ * the given rate by a factor of {@link beta}.
101
+ */
43
102
  private cubicThrottle;
103
+ /**
104
+ * Returns a new fill rate in adaptive-tokens per second using a CUBIC
105
+ * congestion control curve. The rate recovers toward {@link lastMaxRate},
106
+ * then continues growing beyond it. The caller caps the result at
107
+ * `2 * measuredTxRate`.
108
+ */
44
109
  private cubicSuccess;
45
110
  private enableTokenBucket;
111
+ /**
112
+ * Set a new fill rate for adaptive-tokens.
113
+ * The max capacity is updated to allow for one second of time to approximately
114
+ * refill the adaptive-token capacity.
115
+ */
46
116
  private updateTokenBucketRate;
47
117
  private updateMeasuredRate;
48
118
  private getPrecise;
@@ -0,0 +1,12 @@
1
+ import type { StandardRetryBackoffStrategy } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class DefaultRetryBackoffStrategy implements StandardRetryBackoffStrategy {
6
+ protected x: number;
7
+ /**
8
+ * @param i - attempt count starting from zero.
9
+ */
10
+ computeNextBackoffDelay(i: number): number;
11
+ setDelayBase(delay: number): void;
12
+ }
@@ -0,0 +1,15 @@
1
+ import type { StandardRetryToken } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class DefaultRetryToken implements StandardRetryToken {
6
+ private readonly delay;
7
+ private readonly count;
8
+ private readonly cost;
9
+ private readonly longPoll;
10
+ constructor(delay: number, count: number, cost: number | undefined, longPoll: boolean);
11
+ getRetryCount(): number;
12
+ getRetryDelay(): number;
13
+ getRetryCost(): number | undefined;
14
+ isLongPoll(): boolean;
15
+ }
@@ -1,22 +1,39 @@
1
- import type { Provider, RetryErrorInfo, RetryStrategyV2, StandardRetryToken } from "@smithy/types";
1
+ import type { Provider, RetryErrorInfo, RetryStrategyV2, StandardRetryBackoffStrategy, StandardRetryToken } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export type StandardRetryStrategyOptions = {
6
+ /**
7
+ * Maximum number of attempts. If set to 1, no retries will be made.
8
+ */
9
+ maxAttempts: number;
10
+ /**
11
+ * When present, overrides the base delay for non-throttling retries.
12
+ */
13
+ baseDelay?: number;
14
+ /**
15
+ * Backoff calculator.
16
+ */
17
+ backoff?: StandardRetryBackoffStrategy;
18
+ };
2
19
  /**
3
20
  * @public
4
21
  */
5
22
  export declare class StandardRetryStrategy implements RetryStrategyV2 {
6
- private readonly maxAttempts;
7
23
  readonly mode: string;
8
24
  private capacity;
9
25
  private readonly retryBackoffStrategy;
10
26
  private readonly maxAttemptsProvider;
27
+ private readonly baseDelay;
11
28
  constructor(maxAttempts: number);
12
29
  constructor(maxAttemptsProvider: Provider<number>);
30
+ constructor(options: StandardRetryStrategyOptions);
13
31
  acquireInitialRetryToken(retryTokenScope: string): Promise<StandardRetryToken>;
14
32
  refreshRetryTokenForRetry(token: StandardRetryToken, errorInfo: RetryErrorInfo): Promise<StandardRetryToken>;
15
33
  recordSuccess(token: StandardRetryToken): void;
16
34
  /**
17
- * @returns the current available retry capacity.
18
- *
19
35
  * This number decreases when retries are executed and refills when requests or retries succeed.
36
+ * @returns the current available retry capacity.
20
37
  */
21
38
  getCapacity(): number;
22
39
  private getMaxAttempts;
@@ -6,15 +6,15 @@ export declare enum RETRY_MODES {
6
6
  ADAPTIVE = "adaptive"
7
7
  }
8
8
  /**
9
- * @public
10
- *
11
9
  * The default value for how many HTTP requests an SDK should make for a
12
10
  * single SDK operation invocation before giving up
11
+ *
12
+ * @public
13
13
  */
14
14
  export declare const DEFAULT_MAX_ATTEMPTS = 3;
15
15
  /**
16
- * @public
17
- *
18
16
  * The default retry algorithm to use.
17
+ *
18
+ * @public
19
19
  */
20
20
  export declare const DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;
@@ -13,47 +13,48 @@ export declare const DEFAULT_RETRY_DELAY_BASE = 100;
13
13
  */
14
14
  export declare const MAXIMUM_RETRY_DELAY: number;
15
15
  /**
16
- * @public
17
- *
18
16
  * The retry delay base (in milliseconds) to use when a throttling error is
19
17
  * encountered.
18
+ *
19
+ * @public
20
20
  */
21
21
  export declare const THROTTLING_RETRY_DELAY_BASE = 500;
22
22
  /**
23
- * @public
24
- *
25
23
  * Initial number of retry tokens in Retry Quota
24
+ *
25
+ * @public
26
26
  */
27
27
  export declare const INITIAL_RETRY_TOKENS = 500;
28
28
  /**
29
- * @public
30
- *
31
29
  * The total amount of retry tokens to be decremented from retry token balance.
30
+ *
31
+ * @public
32
32
  */
33
33
  export declare const RETRY_COST = 5;
34
34
  /**
35
- * @public
36
- *
37
35
  * The total amount of retry tokens to be decremented from retry token balance
38
36
  * when a throttling error is encountered.
37
+ *
38
+ * @public
39
39
  */
40
40
  export declare const TIMEOUT_RETRY_COST = 10;
41
41
  /**
42
- * @public
43
- *
44
42
  * The total amount of retry token to be incremented from retry token balance
45
43
  * if an SDK operation invocation succeeds without requiring a retry request.
44
+ *
45
+ * @public
46
+ *
46
47
  */
47
48
  export declare const NO_RETRY_INCREMENT = 1;
48
49
  /**
49
- * @public
50
- *
51
50
  * Header name for SDK invocation ID
51
+ *
52
+ * @public
52
53
  */
53
54
  export declare const INVOCATION_ID_HEADER = "amz-sdk-invocation-id";
54
55
  /**
55
- * @public
56
- *
57
56
  * Header name for request retry information.
57
+ *
58
+ * @public
58
59
  */
59
60
  export declare const REQUEST_HEADER = "amz-sdk-request";
@@ -5,3 +5,4 @@ export * from "./StandardRetryStrategy";
5
5
  export * from "./config";
6
6
  export * from "./constants";
7
7
  export * from "./types";
8
+ export { Retry } from "./retries-2026-config";
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare abstract class Retry {
5
+ static v2026: boolean;
6
+ static delay(): 100 | 50;
7
+ static throttlingDelay(): 1000 | 500;
8
+ static cost(): 5 | 14;
9
+ static throttlingCost(): 5 | 10;
10
+ static modifiedCostType(): "TRANSIENT" | "THROTTLING";
11
+ }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @internal
2
+ * @public
3
3
  */
4
4
  export interface RateLimiter {
5
5
  /**
@@ -1,24 +1,23 @@
1
1
  {
2
2
  "name": "@smithy/util-retry",
3
- "version": "4.2.12",
3
+ "version": "4.3.0",
4
4
  "description": "Shared retry utilities to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
7
7
  "scripts": {
8
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
9
- "build:cjs": "node ../../scripts/inline util-retry",
10
- "build:es": "yarn g:tsc -p tsconfig.es.json",
8
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
9
+ "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline util-retry",
11
10
  "build:types": "yarn g:tsc -p tsconfig.types.json",
12
11
  "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
13
- "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
14
12
  "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
15
- "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
16
- "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
17
13
  "extract:docs": "api-extractor run --local",
14
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
15
+ "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
16
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
18
17
  "test": "yarn g:vitest run",
19
- "test:watch": "yarn g:vitest watch",
20
18
  "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
21
- "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
19
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts",
20
+ "test:watch": "yarn g:vitest watch"
22
21
  },
23
22
  "keywords": [
24
23
  "aws",
@@ -31,8 +30,8 @@
31
30
  "license": "Apache-2.0",
32
31
  "sideEffects": false,
33
32
  "dependencies": {
34
- "@smithy/service-error-classification": "^4.2.12",
35
- "@smithy/types": "^4.13.1",
33
+ "@smithy/service-error-classification": "^4.2.13",
34
+ "@smithy/types": "^4.14.0",
36
35
  "tslib": "^2.6.2"
37
36
  },
38
37
  "devDependencies": {
@@ -1,23 +1,22 @@
1
1
  {
2
2
  "name": "@smithy/util-stream",
3
- "version": "4.5.21",
3
+ "version": "4.5.22",
4
4
  "scripts": {
5
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
- "build:cjs": "node ../../scripts/inline util-stream",
7
- "build:es": "yarn g:tsc -p tsconfig.es.json",
5
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
6
+ "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline util-stream",
8
7
  "build:types": "yarn g:tsc -p tsconfig.types.json",
9
8
  "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
10
- "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
11
9
  "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
- "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
- "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
14
10
  "extract:docs": "api-extractor run --local",
11
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
12
+ "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
15
14
  "test": "yarn g:vitest run && yarn test:browser",
15
+ "test:browser": "yarn g:vitest run -c vitest.config.browser.mts",
16
+ "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts",
16
17
  "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
17
- "test:watch": "yarn g:vitest watch",
18
18
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts",
19
- "test:browser": "yarn g:vitest run -c vitest.config.browser.mts",
20
- "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts"
19
+ "test:watch": "yarn g:vitest watch"
21
20
  },
22
21
  "main": "./dist-cjs/index.js",
23
22
  "module": "./dist-es/index.js",
@@ -29,9 +28,9 @@
29
28
  "license": "Apache-2.0",
30
29
  "sideEffects": false,
31
30
  "dependencies": {
32
- "@smithy/fetch-http-handler": "^5.3.15",
33
- "@smithy/node-http-handler": "^4.5.1",
34
- "@smithy/types": "^4.13.1",
31
+ "@smithy/fetch-http-handler": "^5.3.16",
32
+ "@smithy/node-http-handler": "^4.5.2",
33
+ "@smithy/types": "^4.14.0",
35
34
  "@smithy/util-base64": "^4.3.2",
36
35
  "@smithy/util-buffer-from": "^4.2.2",
37
36
  "@smithy/util-hex-encoding": "^4.2.2",
package/package.json CHANGED
@@ -120,7 +120,7 @@
120
120
  "publishConfig": {
121
121
  "access": "public"
122
122
  },
123
- "version": "0.0.332",
123
+ "version": "0.0.333",
124
124
  "jest": {
125
125
  "coverageProvider": "v8",
126
126
  "testMatch": [
@@ -1,5 +0,0 @@
1
- import { HandlerExecutionContext } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export declare const getSmithyContext: (context: HandlerExecutionContext) => Record<string, unknown>;
@@ -1,8 +0,0 @@
1
- export * from "./getSmithyContext";
2
- export * from "./middleware-http-auth-scheme";
3
- export * from "./middleware-http-signing";
4
- export * from "./normalizeProvider";
5
- export { createPaginator } from "./pagination/createPaginator";
6
- export * from "./request-builder/requestBuilder";
7
- export * from "./setFeature";
8
- export * from "./util-identity-and-auth";
@@ -1,18 +0,0 @@
1
- import { HandlerExecutionContext, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, IdentityProviderConfig, Pluggable, RelativeMiddlewareOptions, SerializeHandlerOptions } from "@smithy/types";
2
- import { PreviouslyResolved } from "./httpAuthSchemeMiddleware";
3
- /**
4
- * @internal
5
- */
6
- export declare const httpAuthSchemeEndpointRuleSetMiddlewareOptions: SerializeHandlerOptions & RelativeMiddlewareOptions;
7
- /**
8
- * @internal
9
- */
10
- interface HttpAuthSchemeEndpointRuleSetPluginOptions<TConfig extends object, TContext extends HandlerExecutionContext, TParameters extends HttpAuthSchemeParameters, TInput extends object> {
11
- httpAuthSchemeParametersProvider: HttpAuthSchemeParametersProvider<TConfig, TContext, TParameters, TInput>;
12
- identityProviderConfigProvider: (config: TConfig) => Promise<IdentityProviderConfig>;
13
- }
14
- /**
15
- * @internal
16
- */
17
- export declare const getHttpAuthSchemeEndpointRuleSetPlugin: <TConfig extends object, TContext extends HandlerExecutionContext, TParameters extends HttpAuthSchemeParameters, TInput extends object>(config: TConfig & PreviouslyResolved<TParameters>, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }: HttpAuthSchemeEndpointRuleSetPluginOptions<TConfig, TContext, TParameters, TInput>) => Pluggable<any, any>;
18
- export {};
@@ -1,18 +0,0 @@
1
- import { HandlerExecutionContext, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, IdentityProviderConfig, Pluggable, RelativeMiddlewareOptions, SerializeHandlerOptions } from "@smithy/types";
2
- import { PreviouslyResolved } from "./httpAuthSchemeMiddleware";
3
- /**
4
- * @internal
5
- */
6
- export declare const httpAuthSchemeMiddlewareOptions: SerializeHandlerOptions & RelativeMiddlewareOptions;
7
- /**
8
- * @internal
9
- */
10
- interface HttpAuthSchemePluginOptions<TConfig extends object, TContext extends HandlerExecutionContext, TParameters extends HttpAuthSchemeParameters, TInput extends object> {
11
- httpAuthSchemeParametersProvider: HttpAuthSchemeParametersProvider<TConfig, TContext, TParameters, TInput>;
12
- identityProviderConfigProvider: (config: TConfig) => Promise<IdentityProviderConfig>;
13
- }
14
- /**
15
- * @internal
16
- */
17
- export declare const getHttpAuthSchemePlugin: <TConfig extends object, TContext extends HandlerExecutionContext, TParameters extends HttpAuthSchemeParameters, TInput extends object>(config: TConfig & PreviouslyResolved<TParameters>, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }: HttpAuthSchemePluginOptions<TConfig, TContext, TParameters, TInput>) => Pluggable<any, any>;
18
- export {};
@@ -1,33 +0,0 @@
1
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, IdentityProviderConfig, Provider, SelectedHttpAuthScheme, SerializeMiddleware, SMITHY_CONTEXT_KEY } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export interface PreviouslyResolved<TParameters extends HttpAuthSchemeParameters> {
6
- authSchemePreference?: Provider<string[]>;
7
- httpAuthSchemes: HttpAuthScheme[];
8
- httpAuthSchemeProvider: HttpAuthSchemeProvider<TParameters>;
9
- }
10
- /**
11
- * @internal
12
- */
13
- interface HttpAuthSchemeMiddlewareOptions<TConfig extends object, TContext extends HandlerExecutionContext, TParameters extends HttpAuthSchemeParameters, TInput extends object> {
14
- httpAuthSchemeParametersProvider: HttpAuthSchemeParametersProvider<TConfig, TContext, TParameters, TInput>;
15
- identityProviderConfigProvider: (config: TConfig) => Promise<IdentityProviderConfig>;
16
- }
17
- /**
18
- * @internal
19
- */
20
- interface HttpAuthSchemeMiddlewareSmithyContext extends Record<string, unknown> {
21
- selectedHttpAuthScheme?: SelectedHttpAuthScheme;
22
- }
23
- /**
24
- * @internal
25
- */
26
- interface HttpAuthSchemeMiddlewareHandlerExecutionContext extends HandlerExecutionContext {
27
- [SMITHY_CONTEXT_KEY]?: HttpAuthSchemeMiddlewareSmithyContext;
28
- }
29
- /**
30
- * @internal
31
- */
32
- export declare const httpAuthSchemeMiddleware: <TInput extends object, Output extends object, TConfig extends object, TContext extends HttpAuthSchemeMiddlewareHandlerExecutionContext, TParameters extends HttpAuthSchemeParameters>(config: TConfig & PreviouslyResolved<TParameters>, mwOptions: HttpAuthSchemeMiddlewareOptions<TConfig, TContext, TParameters, TInput>) => SerializeMiddleware<TInput, Output>;
33
- export {};
@@ -1,3 +0,0 @@
1
- export * from "./httpAuthSchemeMiddleware";
2
- export * from "./getHttpAuthSchemeEndpointRuleSetPlugin";
3
- export * from "./getHttpAuthSchemePlugin";
@@ -1,10 +0,0 @@
1
- import { HttpAuthOption } from "@smithy/types";
2
- /**
3
- * Resolves list of auth options based on the supported ones, vs the preference list.
4
- *
5
- * @param candidateAuthOptions list of supported auth options selected by the standard
6
- * resolution process (model-based, endpoints 2.0, etc.)
7
- * @param authSchemePreference list of auth schemes preferred by user.
8
- * @returns
9
- */
10
- export declare const resolveAuthOptions: (candidateAuthOptions: HttpAuthOption[], authSchemePreference: string[]) => HttpAuthOption[];
@@ -1,9 +0,0 @@
1
- import { FinalizeRequestHandlerOptions, Pluggable, RelativeMiddlewareOptions } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export declare const httpSigningMiddlewareOptions: FinalizeRequestHandlerOptions & RelativeMiddlewareOptions;
6
- /**
7
- * @internal
8
- */
9
- export declare const getHttpSigningPlugin: <Input extends object, Output extends object>(config: object) => Pluggable<Input, Output>;
@@ -1,5 +0,0 @@
1
- import { FinalizeRequestMiddleware } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export declare const httpSigningMiddleware: <Input extends object, Output extends object>(config: object) => FinalizeRequestMiddleware<Input, Output>;
@@ -1,2 +0,0 @@
1
- export * from "./httpSigningMiddleware";
2
- export * from "./getHttpSigningMiddleware";
@@ -1,7 +0,0 @@
1
- import { Provider } from "@smithy/types";
2
- /**
3
- * @internal
4
- *
5
- * @returns a provider function for the input value if it isn't already one.
6
- */
7
- export declare const normalizeProvider: <T>(input: T | Provider<T>) => Provider<T>;
@@ -1,7 +0,0 @@
1
- import { PaginationConfiguration, Paginator } from "@smithy/types";
2
- /**
3
- * @internal
4
- *
5
- * Creates a paginator.
6
- */
7
- export declare function createPaginator<PaginationConfigType extends PaginationConfiguration, InputType extends object, OutputType extends object>(ClientCtor: any, CommandCtor: any, inputTokenName: string, outputTokenName: string, pageSizeTokenName?: string): (config: PaginationConfigType, input: InputType, ...additionalArguments: any[]) => Paginator<OutputType>;
@@ -1,5 +0,0 @@
1
- /**
2
- * @internal
3
- * Backwards compatibility re-export.
4
- */
5
- export { requestBuilder } from "@smithy/core/protocols";
@@ -1,12 +0,0 @@
1
- import { HandlerExecutionContext, SmithyFeatures } from "@smithy/types";
2
- /**
3
- * @internal
4
- * Indicates to the request context that a given feature is active.
5
- *
6
- * @param context - handler execution context.
7
- * @param feature - readable name of feature.
8
- * @param value - encoding value of feature. This is required because the
9
- * specification asks the library not to include a runtime lookup of all
10
- * the feature identifiers.
11
- */
12
- export declare function setFeature<F extends keyof SmithyFeatures>(context: HandlerExecutionContext, feature: F, value: SmithyFeatures[F]): void;
@@ -1,33 +0,0 @@
1
- import { SerdeContext } from "@smithy/core/protocols";
2
- import { Codec, Schema, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
3
- /**
4
- * @public
5
- */
6
- export declare class CborCodec extends SerdeContext implements Codec<Uint8Array, Uint8Array> {
7
- createSerializer(): CborShapeSerializer;
8
- createDeserializer(): CborShapeDeserializer;
9
- }
10
- /**
11
- * @public
12
- */
13
- export declare class CborShapeSerializer extends SerdeContext implements ShapeSerializer {
14
- private value;
15
- write(schema: Schema, value: unknown): void;
16
- /**
17
- * Recursive serializer transform that copies and prepares the user input object
18
- * for CBOR serialization.
19
- */
20
- serialize(schema: Schema, source: unknown): any;
21
- flush(): Uint8Array;
22
- }
23
- /**
24
- * @public
25
- */
26
- export declare class CborShapeDeserializer extends SerdeContext implements ShapeDeserializer {
27
- read(schema: Schema, bytes: Uint8Array): any;
28
- /**
29
- * Public because it's called by the protocol implementation to deserialize errors.
30
- * @internal
31
- */
32
- readValue(_schema: Schema, value: any): any;
33
- }
@@ -1,28 +0,0 @@
1
- import { RpcProtocol } from "@smithy/core/protocols";
2
- import { TypeRegistry } from "@smithy/core/schema";
3
- import { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types";
4
- import { CborCodec } from "./CborCodec";
5
- /**
6
- * Client protocol for Smithy RPCv2 CBOR.
7
- *
8
- * @public
9
- */
10
- export declare class SmithyRpcV2CborProtocol extends RpcProtocol {
11
- /**
12
- * @override
13
- */
14
- protected compositeErrorRegistry: TypeRegistry;
15
- private codec;
16
- protected serializer: import("./CborCodec").CborShapeSerializer;
17
- protected deserializer: import("./CborCodec").CborShapeDeserializer;
18
- constructor({ defaultNamespace, errorTypeRegistries, }: {
19
- defaultNamespace: string;
20
- errorTypeRegistries?: TypeRegistry[];
21
- });
22
- getShapeId(): string;
23
- getPayloadCodec(): CborCodec;
24
- serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
25
- deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise<Output>;
26
- protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
27
- protected getDefaultContentType(): string;
28
- }
@@ -1,6 +0,0 @@
1
- /**
2
- * Prints bytes as binary string with numbers.
3
- * @param bytes - to print.
4
- * @deprecated for testing only, do not use in runtime.
5
- */
6
- export declare function printBytes(bytes: Uint8Array): string[];