@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
@@ -0,0 +1,117 @@
1
+ 'use strict';
2
+
3
+ class ProviderError extends Error {
4
+ name = "ProviderError";
5
+ tryNextLink;
6
+ constructor(message, options = true) {
7
+ let logger;
8
+ let tryNextLink = true;
9
+ if (typeof options === "boolean") {
10
+ logger = undefined;
11
+ tryNextLink = options;
12
+ }
13
+ else if (options != null && typeof options === "object") {
14
+ logger = options.logger;
15
+ tryNextLink = options.tryNextLink ?? true;
16
+ }
17
+ super(message);
18
+ this.tryNextLink = tryNextLink;
19
+ Object.setPrototypeOf(this, ProviderError.prototype);
20
+ logger?.debug?.(`@smithy/property-provider ${tryNextLink ? "->" : "(!)"} ${message}`);
21
+ }
22
+ static from(error, options = true) {
23
+ return Object.assign(new this(error.message, options), error);
24
+ }
25
+ }
26
+
27
+ class CredentialsProviderError extends ProviderError {
28
+ name = "CredentialsProviderError";
29
+ constructor(message, options = true) {
30
+ super(message, options);
31
+ Object.setPrototypeOf(this, CredentialsProviderError.prototype);
32
+ }
33
+ }
34
+
35
+ class TokenProviderError extends ProviderError {
36
+ name = "TokenProviderError";
37
+ constructor(message, options = true) {
38
+ super(message, options);
39
+ Object.setPrototypeOf(this, TokenProviderError.prototype);
40
+ }
41
+ }
42
+
43
+ const chain = (...providers) => async () => {
44
+ if (providers.length === 0) {
45
+ throw new ProviderError("No providers in chain");
46
+ }
47
+ let lastProviderError;
48
+ for (const provider of providers) {
49
+ try {
50
+ const credentials = await provider();
51
+ return credentials;
52
+ }
53
+ catch (err) {
54
+ lastProviderError = err;
55
+ if (err?.tryNextLink) {
56
+ continue;
57
+ }
58
+ throw err;
59
+ }
60
+ }
61
+ throw lastProviderError;
62
+ };
63
+
64
+ const fromStatic = (staticValue) => () => Promise.resolve(staticValue);
65
+
66
+ const memoize = (provider, isExpired, requiresRefresh) => {
67
+ let resolved;
68
+ let pending;
69
+ let hasResult;
70
+ let isConstant = false;
71
+ const coalesceProvider = async () => {
72
+ if (!pending) {
73
+ pending = provider();
74
+ }
75
+ try {
76
+ resolved = await pending;
77
+ hasResult = true;
78
+ isConstant = false;
79
+ }
80
+ finally {
81
+ pending = undefined;
82
+ }
83
+ return resolved;
84
+ };
85
+ if (isExpired === undefined) {
86
+ return async (options) => {
87
+ if (!hasResult || options?.forceRefresh) {
88
+ resolved = await coalesceProvider();
89
+ }
90
+ return resolved;
91
+ };
92
+ }
93
+ return async (options) => {
94
+ if (!hasResult || options?.forceRefresh) {
95
+ resolved = await coalesceProvider();
96
+ }
97
+ if (isConstant) {
98
+ return resolved;
99
+ }
100
+ if (requiresRefresh && !requiresRefresh(resolved)) {
101
+ isConstant = true;
102
+ return resolved;
103
+ }
104
+ if (isExpired(resolved)) {
105
+ await coalesceProvider();
106
+ return resolved;
107
+ }
108
+ return resolved;
109
+ };
110
+ };
111
+
112
+ exports.CredentialsProviderError = CredentialsProviderError;
113
+ exports.ProviderError = ProviderError;
114
+ exports.TokenProviderError = TokenProviderError;
115
+ exports.chain = chain;
116
+ exports.fromStatic = fromStatic;
117
+ exports.memoize = memoize;
@@ -0,0 +1,8 @@
1
+ import { ProviderError } from "./ProviderError";
2
+ export class CredentialsProviderError extends ProviderError {
3
+ name = "CredentialsProviderError";
4
+ constructor(message, options = true) {
5
+ super(message, options);
6
+ Object.setPrototypeOf(this, CredentialsProviderError.prototype);
7
+ }
8
+ }
@@ -0,0 +1,23 @@
1
+ export class ProviderError extends Error {
2
+ name = "ProviderError";
3
+ tryNextLink;
4
+ constructor(message, options = true) {
5
+ let logger;
6
+ let tryNextLink = true;
7
+ if (typeof options === "boolean") {
8
+ logger = undefined;
9
+ tryNextLink = options;
10
+ }
11
+ else if (options != null && typeof options === "object") {
12
+ logger = options.logger;
13
+ tryNextLink = options.tryNextLink ?? true;
14
+ }
15
+ super(message);
16
+ this.tryNextLink = tryNextLink;
17
+ Object.setPrototypeOf(this, ProviderError.prototype);
18
+ logger?.debug?.(`@smithy/property-provider ${tryNextLink ? "->" : "(!)"} ${message}`);
19
+ }
20
+ static from(error, options = true) {
21
+ return Object.assign(new this(error.message, options), error);
22
+ }
23
+ }
@@ -0,0 +1,8 @@
1
+ import { ProviderError } from "./ProviderError";
2
+ export class TokenProviderError extends ProviderError {
3
+ name = "TokenProviderError";
4
+ constructor(message, options = true) {
5
+ super(message, options);
6
+ Object.setPrototypeOf(this, TokenProviderError.prototype);
7
+ }
8
+ }
@@ -0,0 +1,21 @@
1
+ import { ProviderError } from "./ProviderError";
2
+ export const chain = (...providers) => async () => {
3
+ if (providers.length === 0) {
4
+ throw new ProviderError("No providers in chain");
5
+ }
6
+ let lastProviderError;
7
+ for (const provider of providers) {
8
+ try {
9
+ const credentials = await provider();
10
+ return credentials;
11
+ }
12
+ catch (err) {
13
+ lastProviderError = err;
14
+ if (err?.tryNextLink) {
15
+ continue;
16
+ }
17
+ throw err;
18
+ }
19
+ }
20
+ throw lastProviderError;
21
+ };
@@ -0,0 +1 @@
1
+ export const fromStatic = (staticValue) => () => Promise.resolve(staticValue);
@@ -0,0 +1,6 @@
1
+ export * from "./CredentialsProviderError";
2
+ export * from "./ProviderError";
3
+ export * from "./TokenProviderError";
4
+ export * from "./chain";
5
+ export * from "./fromStatic";
6
+ export * from "./memoize";
@@ -0,0 +1,45 @@
1
+ export const memoize = (provider, isExpired, requiresRefresh) => {
2
+ let resolved;
3
+ let pending;
4
+ let hasResult;
5
+ let isConstant = false;
6
+ const coalesceProvider = async () => {
7
+ if (!pending) {
8
+ pending = provider();
9
+ }
10
+ try {
11
+ resolved = await pending;
12
+ hasResult = true;
13
+ isConstant = false;
14
+ }
15
+ finally {
16
+ pending = undefined;
17
+ }
18
+ return resolved;
19
+ };
20
+ if (isExpired === undefined) {
21
+ return async (options) => {
22
+ if (!hasResult || options?.forceRefresh) {
23
+ resolved = await coalesceProvider();
24
+ }
25
+ return resolved;
26
+ };
27
+ }
28
+ return async (options) => {
29
+ if (!hasResult || options?.forceRefresh) {
30
+ resolved = await coalesceProvider();
31
+ }
32
+ if (isConstant) {
33
+ return resolved;
34
+ }
35
+ if (requiresRefresh && !requiresRefresh(resolved)) {
36
+ isConstant = true;
37
+ return resolved;
38
+ }
39
+ if (isExpired(resolved)) {
40
+ await coalesceProvider();
41
+ return resolved;
42
+ }
43
+ return resolved;
44
+ };
45
+ };
@@ -0,0 +1,31 @@
1
+ import type { ProviderErrorOptionsType } from "./ProviderError";
2
+ import { ProviderError } from "./ProviderError";
3
+ /**
4
+ * @public
5
+ *
6
+ * An error representing a failure of an individual credential provider.
7
+ *
8
+ * This error class has special meaning to the {@link chain} method. If a
9
+ * provider in the chain is rejected with an error, the chain will only proceed
10
+ * to the next provider if the value of the `tryNextLink` property on the error
11
+ * is truthy. This allows individual providers to halt the chain and also
12
+ * ensures the chain will stop if an entirely unexpected error is encountered.
13
+ */
14
+ export declare class CredentialsProviderError extends ProviderError {
15
+ name: string;
16
+ /**
17
+ * @override
18
+ * @deprecated constructor should be given a logger.
19
+ */
20
+ constructor(message: string);
21
+ /**
22
+ * @override
23
+ * @deprecated constructor should be given a logger.
24
+ */
25
+ constructor(message: string, tryNextLink: boolean | undefined);
26
+ /**
27
+ * @override
28
+ * This signature is preferred for logging capability.
29
+ */
30
+ constructor(message: string, options: ProviderErrorOptionsType);
31
+ }
@@ -0,0 +1,39 @@
1
+ import type { Logger } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export type ProviderErrorOptionsType = {
6
+ tryNextLink?: boolean | undefined;
7
+ logger?: Logger;
8
+ };
9
+ /**
10
+ * @public
11
+ *
12
+ * An error representing a failure of an individual provider.
13
+ *
14
+ * This error class has special meaning to the {@link chain} method. If a
15
+ * provider in the chain is rejected with an error, the chain will only proceed
16
+ * to the next provider if the value of the `tryNextLink` property on the error
17
+ * is truthy. This allows individual providers to halt the chain and also
18
+ * ensures the chain will stop if an entirely unexpected error is encountered.
19
+ */
20
+ export declare class ProviderError extends Error {
21
+ name: string;
22
+ readonly tryNextLink: boolean;
23
+ /**
24
+ * @deprecated constructor should be given a logger.
25
+ */
26
+ constructor(message: string);
27
+ /**
28
+ * @deprecated constructor should be given a logger.
29
+ */
30
+ constructor(message: string, tryNextLink: boolean | undefined);
31
+ /**
32
+ * This signature is preferred for logging capability.
33
+ */
34
+ constructor(message: string, options: ProviderErrorOptionsType);
35
+ /**
36
+ * @deprecated use new operator.
37
+ */
38
+ static from(error: Error, options?: boolean | ProviderErrorOptionsType): ProviderError;
39
+ }
@@ -0,0 +1,31 @@
1
+ import type { ProviderErrorOptionsType } from "./ProviderError";
2
+ import { ProviderError } from "./ProviderError";
3
+ /**
4
+ * @public
5
+ *
6
+ * An error representing a failure of an individual token provider.
7
+ *
8
+ * This error class has special meaning to the {@link chain} method. If a
9
+ * provider in the chain is rejected with an error, the chain will only proceed
10
+ * to the next provider if the value of the `tryNextLink` property on the error
11
+ * is truthy. This allows individual providers to halt the chain and also
12
+ * ensures the chain will stop if an entirely unexpected error is encountered.
13
+ */
14
+ export declare class TokenProviderError extends ProviderError {
15
+ name: string;
16
+ /**
17
+ * @override
18
+ * @deprecated constructor should be given a logger.
19
+ */
20
+ constructor(message: string);
21
+ /**
22
+ * @override
23
+ * @deprecated constructor should be given a logger.
24
+ */
25
+ constructor(message: string, tryNextLink: boolean | undefined);
26
+ /**
27
+ * @override
28
+ * This signature is preferred for logging capability.
29
+ */
30
+ constructor(message: string, options: ProviderErrorOptionsType);
31
+ }
@@ -0,0 +1,13 @@
1
+ import type { Provider } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ *
5
+ * Compose a single credential provider function from multiple credential
6
+ * providers. The first provider in the argument list will always be invoked;
7
+ * subsequent providers in the list will be invoked in the order in which the
8
+ * were received if the preceding provider did not successfully resolve.
9
+ *
10
+ * If no providers were received or no provider resolves successfully, the
11
+ * returned promise will be rejected.
12
+ */
13
+ export declare const chain: <T>(...providers: Array<Provider<T>>) => Provider<T>;
@@ -0,0 +1,5 @@
1
+ import type { Provider } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const fromStatic: <T>(staticValue: T) => Provider<T>;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export * from "./CredentialsProviderError";
5
+ /**
6
+ * @internal
7
+ */
8
+ export * from "./ProviderError";
9
+ /**
10
+ * @internal
11
+ */
12
+ export * from "./TokenProviderError";
13
+ /**
14
+ * @internal
15
+ */
16
+ export * from "./chain";
17
+ /**
18
+ * @internal
19
+ */
20
+ export * from "./fromStatic";
21
+ /**
22
+ * @internal
23
+ */
24
+ export * from "./memoize";
@@ -0,0 +1,40 @@
1
+ import type { MemoizedProvider, Provider } from "@smithy/types";
2
+ interface MemoizeOverload {
3
+ /**
4
+ *
5
+ * Decorates a provider function with either static memoization.
6
+ *
7
+ * To create a statically memoized provider, supply a provider as the only
8
+ * argument to this function. The provider will be invoked once, and all
9
+ * invocations of the provider returned by `memoize` will return the same
10
+ * promise object.
11
+ *
12
+ * @param provider The provider whose result should be cached indefinitely.
13
+ */
14
+ <T>(provider: Provider<T>): MemoizedProvider<T>;
15
+ /**
16
+ * Decorates a provider function with refreshing memoization.
17
+ *
18
+ * @param provider The provider whose result should be cached.
19
+ * @param isExpired A function that will evaluate the resolved value and
20
+ * determine if it is expired. For example, when
21
+ * memoizing AWS credential providers, this function
22
+ * should return `true` when the credential's
23
+ * expiration is in the past (or very near future) and
24
+ * `false` otherwise.
25
+ * @param requiresRefresh A function that will evaluate the resolved value and
26
+ * determine if it represents static value or one that
27
+ * will eventually need to be refreshed. For example,
28
+ * AWS credentials that have no defined expiration will
29
+ * never need to be refreshed, so this function would
30
+ * return `true` if the credentials resolved by the
31
+ * underlying provider had an expiration and `false`
32
+ * otherwise.
33
+ */
34
+ <T>(provider: Provider<T>, isExpired: (resolved: T) => boolean, requiresRefresh?: (resolved: T) => boolean): MemoizedProvider<T>;
35
+ }
36
+ /**
37
+ * @internal
38
+ */
39
+ export declare const memoize: MemoizeOverload;
40
+ export {};
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "@smithy/property-provider",
3
+ "version": "4.2.13",
4
+ "scripts": {
5
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
6
+ "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline property-provider",
7
+ "build:types": "yarn g:tsc -p tsconfig.types.json",
8
+ "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
9
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
10
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
11
+ "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
12
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
13
+ "test": "yarn g:vitest run",
14
+ "test:watch": "yarn g:vitest watch"
15
+ },
16
+ "main": "./dist-cjs/index.js",
17
+ "module": "./dist-es/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "author": {
20
+ "name": "AWS SDK for JavaScript Team",
21
+ "url": "https://aws.amazon.com/javascript/"
22
+ },
23
+ "license": "Apache-2.0",
24
+ "sideEffects": false,
25
+ "dependencies": {
26
+ "@smithy/types": "^4.14.0",
27
+ "tslib": "^2.6.2"
28
+ },
29
+ "engines": {
30
+ "node": ">=18.0.0"
31
+ },
32
+ "typesVersions": {
33
+ "<4.5": {
34
+ "dist-types/*": [
35
+ "dist-types/ts3.4/*"
36
+ ]
37
+ }
38
+ },
39
+ "files": [
40
+ "dist-*/**"
41
+ ],
42
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/property-provider",
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
46
+ "directory": "packages/property-provider"
47
+ },
48
+ "devDependencies": {
49
+ "concurrently": "7.0.0",
50
+ "downlevel-dts": "0.10.1",
51
+ "premove": "4.0.0",
52
+ "typedoc": "0.23.23"
53
+ },
54
+ "typedoc": {
55
+ "entryPoint": "src/index.ts"
56
+ },
57
+ "publishConfig": {
58
+ "directory": ".release/package"
59
+ }
60
+ }