cdk-rds-sql 2.1.1 → 2.1.2

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 (661) hide show
  1. package/.gitattributes +2 -2
  2. package/.jsii +4 -4
  3. package/.projenrc.ts +1 -1
  4. package/lib/database.js +1 -1
  5. package/lib/provider.js +1 -1
  6. package/lib/role.js +1 -1
  7. package/lib/schema.js +1 -1
  8. package/lib/sql.js +1 -1
  9. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/package.json +5 -1
  10. package/node_modules/@aws-crypto/ie11-detection/package.json +5 -1
  11. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/package.json +5 -1
  12. package/node_modules/@aws-crypto/sha256-browser/package.json +5 -1
  13. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/package.json +5 -1
  14. package/node_modules/@aws-crypto/sha256-js/package.json +5 -1
  15. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/package.json +5 -1
  16. package/node_modules/@aws-crypto/supports-web-crypto/package.json +5 -1
  17. package/node_modules/@aws-crypto/util/node_modules/tslib/package.json +5 -1
  18. package/node_modules/@aws-crypto/util/package.json +5 -1
  19. package/node_modules/@aws-sdk/abort-controller/package.json +7 -3
  20. package/node_modules/@aws-sdk/client-secrets-manager/README.md +0 -5
  21. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/endpoint/ruleset.js +4 -315
  22. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/models/models_0.js +1 -0
  23. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/protocols/Aws_json1_1.js +7 -0
  24. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.browser.js +3 -3
  25. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.js +2 -1
  26. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/endpoint/ruleset.js +4 -315
  27. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/models/models_0.js +1 -0
  28. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/protocols/Aws_json1_1.js +7 -0
  29. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.browser.js +1 -1
  30. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.js +2 -1
  31. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/SecretsManager.d.ts +3 -27
  32. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/SecretsManagerClient.d.ts +0 -19
  33. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
  34. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/GetSecretValueCommand.d.ts +0 -1
  35. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/RotateSecretCommand.d.ts +0 -1
  36. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/TagResourceCommand.d.ts +2 -3
  37. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/UpdateSecretCommand.d.ts +0 -2
  38. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  39. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/models/models_0.d.ts +8 -6
  40. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +1 -1
  42. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +1 -1
  43. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  44. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/models/models_0.d.ts +4 -0
  45. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -1
  46. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +4 -1
  47. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -1
  48. package/node_modules/@aws-sdk/client-secrets-manager/package.json +36 -30
  49. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +4 -315
  50. package/node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js +3 -3
  51. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +3 -3
  52. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +2 -1
  53. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +4 -315
  54. package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +3 -3
  55. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +1 -1
  56. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +2 -1
  57. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -1
  59. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -1
  60. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -1
  61. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +4 -1
  62. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -1
  63. package/node_modules/@aws-sdk/client-sso/package.json +33 -27
  64. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js +4 -315
  65. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +3 -3
  66. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +2 -1
  67. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js +4 -315
  68. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +1 -1
  69. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +2 -1
  70. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -1
  71. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -1
  72. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +1 -1
  73. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -1
  74. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +4 -1
  75. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -1
  76. package/node_modules/@aws-sdk/client-sso-oidc/package.json +33 -27
  77. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +4 -876
  78. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +3 -3
  79. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +2 -1
  80. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +4 -876
  81. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +1 -1
  82. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +2 -1
  83. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
  84. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
  85. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -1
  86. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -1
  87. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +4 -1
  88. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -1
  89. package/node_modules/@aws-sdk/client-sts/package.json +36 -30
  90. package/node_modules/@aws-sdk/config-resolver/dist-cjs/endpointsConfig/resolveCustomEndpointsConfig.js +2 -2
  91. package/node_modules/@aws-sdk/config-resolver/dist-cjs/endpointsConfig/resolveEndpointsConfig.js +3 -3
  92. package/node_modules/@aws-sdk/config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +1 -1
  93. package/node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js +1 -1
  94. package/node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +1 -1
  95. package/node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/resolveRegionConfig.js +1 -1
  96. package/node_modules/@aws-sdk/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +4 -0
  97. package/node_modules/@aws-sdk/config-resolver/package.json +10 -6
  98. package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -4
  99. package/node_modules/@aws-sdk/credential-provider-imds/package.json +10 -6
  100. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProcessCredentials.js +13 -0
  101. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProfileData.js +4 -0
  102. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +8 -0
  103. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +4 -0
  104. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts +7 -0
  105. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProcessCredentials.d.ts +10 -0
  106. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -9
  107. package/node_modules/@aws-sdk/credential-provider-node/README.md +4 -4
  108. package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -11
  109. package/node_modules/@aws-sdk/credential-provider-process/package.json +9 -5
  110. package/node_modules/@aws-sdk/credential-provider-sso/package.json +11 -7
  111. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -4
  112. package/node_modules/@aws-sdk/fetch-http-handler/package.json +10 -6
  113. package/node_modules/@aws-sdk/hash-node/package.json +7 -3
  114. package/node_modules/@aws-sdk/invalid-dependency/package.json +7 -3
  115. package/node_modules/@aws-sdk/is-array-buffer/package.json +5 -1
  116. package/node_modules/@aws-sdk/middleware-content-length/package.json +8 -4
  117. package/node_modules/@aws-sdk/middleware-endpoint/package.json +12 -8
  118. package/node_modules/@aws-sdk/middleware-host-header/package.json +8 -4
  119. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js +4 -3
  120. package/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js +4 -3
  121. package/node_modules/@aws-sdk/middleware-logger/package.json +7 -3
  122. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +8 -4
  123. package/node_modules/@aws-sdk/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js +3 -4
  124. package/node_modules/@aws-sdk/middleware-retry/dist-cjs/StandardRetryStrategy.js +9 -18
  125. package/node_modules/@aws-sdk/middleware-retry/dist-cjs/configurations.js +10 -11
  126. package/node_modules/@aws-sdk/middleware-retry/dist-cjs/defaultRetryQuota.js +4 -4
  127. package/node_modules/@aws-sdk/middleware-retry/dist-cjs/delayDecider.js +2 -2
  128. package/node_modules/@aws-sdk/middleware-retry/dist-cjs/index.js +0 -3
  129. package/node_modules/@aws-sdk/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js +3 -3
  130. package/node_modules/@aws-sdk/middleware-retry/dist-cjs/retryMiddleware.js +92 -5
  131. package/node_modules/@aws-sdk/middleware-retry/dist-cjs/util.js +13 -0
  132. package/node_modules/@aws-sdk/middleware-retry/dist-es/AdaptiveRetryStrategy.js +1 -2
  133. package/node_modules/@aws-sdk/middleware-retry/dist-es/StandardRetryStrategy.js +2 -11
  134. package/node_modules/@aws-sdk/middleware-retry/dist-es/configurations.js +4 -5
  135. package/node_modules/@aws-sdk/middleware-retry/dist-es/defaultRetryQuota.js +1 -1
  136. package/node_modules/@aws-sdk/middleware-retry/dist-es/delayDecider.js +1 -1
  137. package/node_modules/@aws-sdk/middleware-retry/dist-es/index.js +0 -3
  138. package/node_modules/@aws-sdk/middleware-retry/dist-es/omitRetryHeadersMiddleware.js +1 -1
  139. package/node_modules/@aws-sdk/middleware-retry/dist-es/retryMiddleware.js +90 -4
  140. package/node_modules/@aws-sdk/middleware-retry/dist-es/util.js +9 -0
  141. package/node_modules/@aws-sdk/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +4 -1
  142. package/node_modules/@aws-sdk/middleware-retry/dist-types/StandardRetryStrategy.d.ts +3 -0
  143. package/node_modules/@aws-sdk/middleware-retry/dist-types/configurations.d.ts +3 -3
  144. package/node_modules/@aws-sdk/middleware-retry/dist-types/index.d.ts +0 -3
  145. package/node_modules/@aws-sdk/middleware-retry/dist-types/retryMiddleware.d.ts +1 -0
  146. package/node_modules/@aws-sdk/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +1 -1
  147. package/node_modules/@aws-sdk/middleware-retry/dist-types/ts3.4/configurations.d.ts +3 -3
  148. package/node_modules/@aws-sdk/middleware-retry/dist-types/ts3.4/index.d.ts +0 -3
  149. package/node_modules/@aws-sdk/middleware-retry/dist-types/ts3.4/retryMiddleware.d.ts +1 -0
  150. package/node_modules/@aws-sdk/middleware-retry/dist-types/ts3.4/util.d.ts +2 -0
  151. package/node_modules/@aws-sdk/middleware-retry/dist-types/util.d.ts +2 -0
  152. package/node_modules/@aws-sdk/middleware-retry/package.json +12 -7
  153. package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +11 -7
  154. package/node_modules/@aws-sdk/middleware-serde/package.json +7 -3
  155. package/node_modules/@aws-sdk/middleware-signing/package.json +11 -7
  156. package/node_modules/@aws-sdk/middleware-stack/package.json +7 -3
  157. package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -5
  158. package/node_modules/@aws-sdk/node-config-provider/package.json +9 -5
  159. package/node_modules/@aws-sdk/node-http-handler/package.json +10 -6
  160. package/node_modules/@aws-sdk/property-provider/package.json +7 -3
  161. package/node_modules/@aws-sdk/protocol-http/package.json +7 -3
  162. package/node_modules/@aws-sdk/querystring-builder/package.json +7 -3
  163. package/node_modules/@aws-sdk/querystring-parser/package.json +7 -3
  164. package/node_modules/@aws-sdk/service-error-classification/dist-cjs/index.js +13 -1
  165. package/node_modules/@aws-sdk/service-error-classification/dist-es/index.js +10 -0
  166. package/node_modules/@aws-sdk/service-error-classification/dist-types/index.d.ts +1 -0
  167. package/node_modules/@aws-sdk/service-error-classification/dist-types/ts3.4/index.d.ts +1 -0
  168. package/node_modules/@aws-sdk/service-error-classification/package.json +7 -3
  169. package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +7 -3
  170. package/node_modules/@aws-sdk/signature-v4/package.json +9 -5
  171. package/node_modules/@aws-sdk/smithy-client/dist-cjs/default-error-handler.js +2 -2
  172. package/node_modules/@aws-sdk/smithy-client/dist-es/default-error-handler.js +1 -1
  173. package/node_modules/@aws-sdk/smithy-client/package.json +8 -4
  174. package/node_modules/@aws-sdk/token-providers/package.json +10 -6
  175. package/node_modules/@aws-sdk/types/dist-cjs/checksum.js +2 -0
  176. package/node_modules/@aws-sdk/types/dist-cjs/index.js +2 -0
  177. package/node_modules/@aws-sdk/types/dist-cjs/retry.js +2 -0
  178. package/node_modules/@aws-sdk/types/dist-es/checksum.js +1 -0
  179. package/node_modules/@aws-sdk/types/dist-es/index.js +2 -0
  180. package/node_modules/@aws-sdk/types/dist-es/retry.js +1 -0
  181. package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +50 -0
  182. package/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +2 -0
  183. package/node_modules/@aws-sdk/types/dist-types/index.d.ts +2 -0
  184. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +7 -0
  185. package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +112 -0
  186. package/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +8 -0
  187. package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +2 -0
  188. package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +4 -0
  189. package/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +46 -0
  190. package/node_modules/@aws-sdk/types/package.json +9 -2
  191. package/node_modules/@aws-sdk/url-parser/package.json +8 -4
  192. package/node_modules/@aws-sdk/util-base64/package.json +5 -1
  193. package/node_modules/@aws-sdk/util-body-length-browser/package.json +5 -1
  194. package/node_modules/@aws-sdk/util-body-length-node/package.json +5 -1
  195. package/node_modules/@aws-sdk/util-buffer-from/package.json +5 -1
  196. package/node_modules/@aws-sdk/util-config-provider/package.json +5 -1
  197. package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +9 -5
  198. package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +12 -8
  199. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +1 -1
  200. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +1 -1
  201. package/node_modules/@aws-sdk/util-endpoints/package.json +7 -3
  202. package/node_modules/@aws-sdk/util-hex-encoding/package.json +5 -1
  203. package/node_modules/@aws-sdk/util-locate-window/package.json +5 -1
  204. package/node_modules/@aws-sdk/util-middleware/package.json +7 -3
  205. package/node_modules/{@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js → @aws-sdk/util-retry}/LICENSE +1 -1
  206. package/node_modules/@aws-sdk/util-retry/README.md +12 -0
  207. package/node_modules/@aws-sdk/util-retry/dist-cjs/AdaptiveRetryStrategy.js +28 -0
  208. package/node_modules/@aws-sdk/{middleware-retry → util-retry}/dist-cjs/DefaultRateLimiter.js +0 -0
  209. package/node_modules/@aws-sdk/util-retry/dist-cjs/StandardRetryStrategy.js +48 -0
  210. package/node_modules/@aws-sdk/{middleware-retry → util-retry}/dist-cjs/config.js +1 -1
  211. package/node_modules/@aws-sdk/{middleware-retry → util-retry}/dist-cjs/constants.js +0 -0
  212. package/node_modules/@aws-sdk/util-retry/dist-cjs/defaultRetryBackoffStrategy.js +18 -0
  213. package/node_modules/@aws-sdk/util-retry/dist-cjs/defaultRetryToken.js +55 -0
  214. package/node_modules/@aws-sdk/util-retry/dist-cjs/index.js +9 -0
  215. package/node_modules/@aws-sdk/util-retry/dist-cjs/types.js +2 -0
  216. package/node_modules/@aws-sdk/util-retry/dist-es/AdaptiveRetryStrategy.js +24 -0
  217. package/node_modules/@aws-sdk/{middleware-retry → util-retry}/dist-es/DefaultRateLimiter.js +0 -0
  218. package/node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js +44 -0
  219. package/node_modules/@aws-sdk/{middleware-retry → util-retry}/dist-es/config.js +1 -1
  220. package/node_modules/@aws-sdk/{middleware-retry → util-retry}/dist-es/constants.js +0 -0
  221. package/node_modules/@aws-sdk/util-retry/dist-es/defaultRetryBackoffStrategy.js +14 -0
  222. package/node_modules/@aws-sdk/util-retry/dist-es/defaultRetryToken.js +50 -0
  223. package/node_modules/@aws-sdk/util-retry/dist-es/index.js +6 -0
  224. package/node_modules/@aws-sdk/util-retry/dist-es/types.js +1 -0
  225. package/node_modules/@aws-sdk/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +29 -0
  226. package/node_modules/@aws-sdk/{middleware-retry → util-retry}/dist-types/DefaultRateLimiter.d.ts +0 -0
  227. package/node_modules/@aws-sdk/util-retry/dist-types/StandardRetryStrategy.d.ts +13 -0
  228. package/node_modules/@aws-sdk/{middleware-retry → util-retry}/dist-types/config.d.ts +1 -1
  229. package/node_modules/@aws-sdk/{middleware-retry → util-retry}/dist-types/constants.d.ts +0 -0
  230. package/node_modules/@aws-sdk/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +2 -0
  231. package/node_modules/@aws-sdk/util-retry/dist-types/defaultRetryToken.d.ts +17 -0
  232. package/node_modules/@aws-sdk/util-retry/dist-types/index.d.ts +6 -0
  233. package/node_modules/@aws-sdk/util-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +27 -0
  234. package/node_modules/@aws-sdk/{middleware-retry → util-retry}/dist-types/ts3.4/DefaultRateLimiter.d.ts +0 -0
  235. package/node_modules/@aws-sdk/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +23 -0
  236. package/node_modules/@aws-sdk/{middleware-retry → util-retry}/dist-types/ts3.4/config.d.ts +1 -1
  237. package/node_modules/@aws-sdk/{middleware-retry → util-retry}/dist-types/ts3.4/constants.d.ts +0 -0
  238. package/node_modules/@aws-sdk/util-retry/dist-types/ts3.4/defaultRetryBackoffStrategy.d.ts +2 -0
  239. package/node_modules/@aws-sdk/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts +15 -0
  240. package/node_modules/@aws-sdk/util-retry/dist-types/ts3.4/index.d.ts +6 -0
  241. package/node_modules/@aws-sdk/util-retry/dist-types/ts3.4/types.d.ts +4 -0
  242. package/node_modules/@aws-sdk/util-retry/dist-types/types.d.ts +16 -0
  243. package/node_modules/@aws-sdk/util-retry/package.json +64 -0
  244. package/node_modules/@aws-sdk/util-uri-escape/package.json +5 -1
  245. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +8 -4
  246. package/node_modules/@aws-sdk/util-user-agent-node/package.json +9 -5
  247. package/node_modules/@aws-sdk/util-utf8-browser/package.json +5 -1
  248. package/node_modules/@aws-sdk/util-utf8-node/package.json +5 -1
  249. package/node_modules/argparse/package.json +5 -1
  250. package/node_modules/available-typed-arrays/package.json +5 -1
  251. package/node_modules/aws-lambda/package.json +5 -1
  252. package/node_modules/aws-sdk/CHANGELOG.md +205 -1
  253. package/node_modules/aws-sdk/README.md +30 -2
  254. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +2 -1
  255. package/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +7 -2
  256. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.examples.json +5 -0
  257. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.min.json +284 -0
  258. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.paginators.json +16 -0
  259. package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +763 -45
  260. package/node_modules/aws-sdk/apis/athena-2017-05-18.paginators.json +20 -0
  261. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +255 -137
  262. package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +441 -110
  263. package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +12 -0
  264. package/node_modules/aws-sdk/apis/backup-gateway-2021-01-01.min.json +211 -9
  265. package/node_modules/aws-sdk/apis/batch-2016-08-10.min.json +6 -0
  266. package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.min.json +81 -19
  267. package/node_modules/aws-sdk/apis/ce-2017-10-25.min.json +72 -4
  268. package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.min.json +100 -29
  269. package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.examples.json +5 -0
  270. package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.min.json +1268 -0
  271. package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.paginators.json +45 -0
  272. package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.waiters2.json +5 -0
  273. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +332 -157
  274. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.paginators.json +35 -23
  275. package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +328 -41
  276. package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.paginators.json +30 -0
  277. package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +282 -134
  278. package/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json +6 -0
  279. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +635 -192
  280. package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +6 -0
  281. package/node_modules/aws-sdk/apis/connectparticipant-2018-09-07.min.json +17 -1
  282. package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +6 -2
  283. package/node_modules/aws-sdk/apis/dataexchange-2017-07-25.min.json +230 -14
  284. package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +3 -0
  285. package/node_modules/aws-sdk/apis/docdb-elastic-2022-11-28.examples.json +5 -0
  286. package/node_modules/aws-sdk/apis/docdb-elastic-2022-11-28.min.json +586 -0
  287. package/node_modules/aws-sdk/apis/docdb-elastic-2022-11-28.paginators.json +16 -0
  288. package/node_modules/aws-sdk/apis/drs-2020-02-26.min.json +124 -45
  289. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +2807 -1286
  290. package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +45 -0
  291. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +354 -216
  292. package/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json +6 -0
  293. package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +124 -55
  294. package/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +160 -145
  295. package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +54 -19
  296. package/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +128 -27
  297. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +159 -132
  298. package/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json +423 -164
  299. package/node_modules/aws-sdk/apis/gamelift-2015-10-01.paginators.json +12 -0
  300. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +1229 -497
  301. package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +20 -0
  302. package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +205 -28
  303. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +252 -214
  304. package/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json +26 -0
  305. package/node_modules/aws-sdk/apis/iotdeviceadvisor-2020-09-18.min.json +17 -3
  306. package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +8 -2
  307. package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.min.json +353 -74
  308. package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.paginators.json +10 -0
  309. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +686 -105
  310. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +43 -8
  311. package/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json +304 -51
  312. package/node_modules/aws-sdk/apis/kinesis-2013-12-02.paginators.json +6 -3
  313. package/node_modules/aws-sdk/apis/kinesis-video-webrtc-storage-2018-05-10.examples.json +5 -0
  314. package/node_modules/aws-sdk/apis/kinesis-video-webrtc-storage-2018-05-10.min.json +32 -0
  315. package/node_modules/aws-sdk/apis/kinesis-video-webrtc-storage-2018-05-10.paginators.json +4 -0
  316. package/node_modules/aws-sdk/apis/kinesisvideo-2017-09-30.min.json +244 -15
  317. package/node_modules/aws-sdk/apis/kinesisvideo-2017-09-30.paginators.json +6 -0
  318. package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +393 -56
  319. package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +127 -72
  320. package/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json +0 -7
  321. package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +69 -50
  322. package/node_modules/aws-sdk/apis/lambda-2015-03-31.waiters2.json +26 -0
  323. package/node_modules/aws-sdk/apis/license-manager-linux-subscriptions-2018-05-10.examples.json +5 -0
  324. package/node_modules/aws-sdk/apis/license-manager-linux-subscriptions-2018-05-10.min.json +203 -0
  325. package/node_modules/aws-sdk/apis/license-manager-linux-subscriptions-2018-05-10.paginators.json +16 -0
  326. package/node_modules/aws-sdk/apis/license-manager-user-subscriptions-2018-05-10.min.json +82 -9
  327. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +97 -16
  328. package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.min.json +2 -1
  329. package/node_modules/aws-sdk/apis/m2-2021-04-28.min.json +4 -0
  330. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +793 -112
  331. package/node_modules/aws-sdk/apis/macie2-2020-01-01.paginators.json +33 -0
  332. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +123 -87
  333. package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +259 -201
  334. package/node_modules/aws-sdk/apis/mediapackage-vod-2018-11-07.min.json +12 -0
  335. package/node_modules/aws-sdk/apis/memorydb-2021-01-01.min.json +136 -3
  336. package/node_modules/aws-sdk/apis/memorydb-2021-01-01.paginators.json +73 -1
  337. package/node_modules/aws-sdk/apis/metadata.json +45 -0
  338. package/node_modules/aws-sdk/apis/mgn-2020-02-26.min.json +931 -118
  339. package/node_modules/aws-sdk/apis/mgn-2020-02-26.paginators.json +24 -0
  340. package/node_modules/aws-sdk/apis/migrationhubstrategy-2020-02-19.min.json +177 -36
  341. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +45 -30
  342. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json +4 -1
  343. package/node_modules/aws-sdk/apis/network-firewall-2020-11-12.min.json +50 -49
  344. package/node_modules/aws-sdk/apis/networkmanager-2019-07-05.min.json +3 -0
  345. package/node_modules/aws-sdk/apis/nimble-2020-08-01.min.json +283 -140
  346. package/node_modules/aws-sdk/apis/nimble-2020-08-01.paginators.json +5 -0
  347. package/node_modules/aws-sdk/apis/oam-2022-06-10.examples.json +5 -0
  348. package/node_modules/aws-sdk/apis/oam-2022-06-10.min.json +482 -0
  349. package/node_modules/aws-sdk/apis/oam-2022-06-10.paginators.json +22 -0
  350. package/node_modules/aws-sdk/apis/omics-2022-11-28.examples.json +5 -0
  351. package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +3722 -0
  352. package/node_modules/aws-sdk/apis/omics-2022-11-28.paginators.json +100 -0
  353. package/node_modules/aws-sdk/apis/omics-2022-11-28.waiters2.json +498 -0
  354. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.examples.json +5 -0
  355. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.min.json +1082 -0
  356. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.paginators.json +29 -0
  357. package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +62 -16
  358. package/node_modules/aws-sdk/apis/pipes-2015-10-07.examples.json +5 -0
  359. package/node_modules/aws-sdk/apis/pipes-2015-10-07.min.json +1329 -0
  360. package/node_modules/aws-sdk/apis/pipes-2015-10-07.paginators.json +10 -0
  361. package/node_modules/aws-sdk/apis/proton-2020-07-20.min.json +1 -2
  362. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +5991 -325
  363. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +459 -251
  364. package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +6 -0
  365. package/node_modules/aws-sdk/apis/redshift-data-2019-12-20.min.json +13 -7
  366. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +194 -72
  367. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.paginators.json +6 -0
  368. package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +60 -35
  369. package/node_modules/aws-sdk/apis/route53-recovery-control-config-2020-11-02.paginators.json +10 -5
  370. package/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json +159 -91
  371. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +144 -31
  372. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +2813 -959
  373. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.paginators.json +48 -0
  374. package/node_modules/aws-sdk/apis/sagemaker-featurestore-runtime-2020-07-01.min.json +12 -0
  375. package/node_modules/aws-sdk/apis/sagemaker-geospatial-2020-05-27.examples.json +5 -0
  376. package/node_modules/aws-sdk/apis/sagemaker-geospatial-2020-05-27.min.json +1516 -0
  377. package/node_modules/aws-sdk/apis/sagemaker-geospatial-2020-05-27.paginators.json +26 -0
  378. package/node_modules/aws-sdk/apis/sagemaker-metrics-2022-09-30.examples.json +5 -0
  379. package/node_modules/aws-sdk/apis/sagemaker-metrics-2022-09-30.min.json +73 -0
  380. package/node_modules/aws-sdk/apis/sagemaker-metrics-2022-09-30.paginators.json +4 -0
  381. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +18 -9
  382. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +803 -160
  383. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.examples.json +5 -0
  384. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.min.json +1041 -0
  385. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.paginators.json +28 -0
  386. package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.examples.json +5 -0
  387. package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.min.json +578 -0
  388. package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.paginators.json +14 -0
  389. package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +285 -62
  390. package/node_modules/aws-sdk/apis/states-2016-11-23.paginators.json +6 -0
  391. package/node_modules/aws-sdk/apis/textract-2018-06-27.min.json +310 -62
  392. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +98 -95
  393. package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +52 -33
  394. package/node_modules/aws-sdk/apis/wisdom-2020-10-19.min.json +48 -48
  395. package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +5 -1
  396. package/node_modules/aws-sdk/clients/all.d.ts +13 -0
  397. package/node_modules/aws-sdk/clients/all.js +14 -1
  398. package/node_modules/aws-sdk/clients/apigateway.d.ts +3 -3
  399. package/node_modules/aws-sdk/clients/appflow.d.ts +13 -0
  400. package/node_modules/aws-sdk/clients/arczonalshift.d.ts +309 -0
  401. package/node_modules/aws-sdk/clients/arczonalshift.js +18 -0
  402. package/node_modules/aws-sdk/clients/athena.d.ts +1045 -44
  403. package/node_modules/aws-sdk/clients/autoscaling.d.ts +156 -16
  404. package/node_modules/aws-sdk/clients/backup.d.ts +405 -15
  405. package/node_modules/aws-sdk/clients/backupgateway.d.ts +258 -0
  406. package/node_modules/aws-sdk/clients/batch.d.ts +13 -5
  407. package/node_modules/aws-sdk/clients/billingconductor.d.ts +55 -2
  408. package/node_modules/aws-sdk/clients/cloudfront.d.ts +344 -282
  409. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +2 -1
  410. package/node_modules/aws-sdk/clients/cloudwatch.d.ts +42 -19
  411. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +197 -66
  412. package/node_modules/aws-sdk/clients/codecatalyst.d.ts +1403 -0
  413. package/node_modules/aws-sdk/clients/codecatalyst.js +19 -0
  414. package/node_modules/aws-sdk/clients/comprehend.d.ts +238 -18
  415. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +378 -9
  416. package/node_modules/aws-sdk/clients/configservice.d.ts +233 -6
  417. package/node_modules/aws-sdk/clients/connect.d.ts +486 -13
  418. package/node_modules/aws-sdk/clients/connectparticipant.d.ts +57 -28
  419. package/node_modules/aws-sdk/clients/costexplorer.d.ts +125 -15
  420. package/node_modules/aws-sdk/clients/customerprofiles.d.ts +16 -0
  421. package/node_modules/aws-sdk/clients/dataexchange.d.ts +269 -26
  422. package/node_modules/aws-sdk/clients/datasync.d.ts +64 -60
  423. package/node_modules/aws-sdk/clients/docdbelastic.d.ts +565 -0
  424. package/node_modules/aws-sdk/clients/docdbelastic.js +18 -0
  425. package/node_modules/aws-sdk/clients/drs.d.ts +104 -5
  426. package/node_modules/aws-sdk/clients/ec2.d.ts +1926 -58
  427. package/node_modules/aws-sdk/clients/ecs.d.ts +191 -19
  428. package/node_modules/aws-sdk/clients/efs.d.ts +7 -7
  429. package/node_modules/aws-sdk/clients/eks.d.ts +118 -24
  430. package/node_modules/aws-sdk/clients/elasticache.d.ts +46 -9
  431. package/node_modules/aws-sdk/clients/emr.d.ts +67 -23
  432. package/node_modules/aws-sdk/clients/firehose.d.ts +263 -48
  433. package/node_modules/aws-sdk/clients/fms.d.ts +1 -1
  434. package/node_modules/aws-sdk/clients/fsx.d.ts +70 -16
  435. package/node_modules/aws-sdk/clients/gamelift.d.ts +712 -323
  436. package/node_modules/aws-sdk/clients/glue.d.ts +1088 -75
  437. package/node_modules/aws-sdk/clients/guardduty.d.ts +4 -4
  438. package/node_modules/aws-sdk/clients/inspector2.d.ts +289 -15
  439. package/node_modules/aws-sdk/clients/iot.d.ts +76 -4
  440. package/node_modules/aws-sdk/clients/iotdata.d.ts +31 -1
  441. package/node_modules/aws-sdk/clients/iotdeviceadvisor.d.ts +28 -24
  442. package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +1 -1
  443. package/node_modules/aws-sdk/clients/iottwinmaker.d.ts +317 -2
  444. package/node_modules/aws-sdk/clients/iotwireless.d.ts +599 -14
  445. package/node_modules/aws-sdk/clients/ivschat.d.ts +3 -3
  446. package/node_modules/aws-sdk/clients/kendra.d.ts +84 -39
  447. package/node_modules/aws-sdk/clients/kinesis.d.ts +180 -60
  448. package/node_modules/aws-sdk/clients/kinesisvideo.d.ts +296 -3
  449. package/node_modules/aws-sdk/clients/kinesisvideowebrtcstorage.d.ts +47 -0
  450. package/node_modules/aws-sdk/clients/kinesisvideowebrtcstorage.js +18 -0
  451. package/node_modules/aws-sdk/clients/kms.d.ts +198 -92
  452. package/node_modules/aws-sdk/clients/lambda.d.ts +132 -94
  453. package/node_modules/aws-sdk/clients/licensemanagerlinuxsubscriptions.d.ts +269 -0
  454. package/node_modules/aws-sdk/clients/licensemanagerlinuxsubscriptions.js +18 -0
  455. package/node_modules/aws-sdk/clients/licensemanagerusersubscriptions.d.ts +62 -4
  456. package/node_modules/aws-sdk/clients/location.d.ts +2 -2
  457. package/node_modules/aws-sdk/clients/lookoutequipment.d.ts +4 -0
  458. package/node_modules/aws-sdk/clients/lookoutvision.d.ts +2 -2
  459. package/node_modules/aws-sdk/clients/m2.d.ts +81 -65
  460. package/node_modules/aws-sdk/clients/macie2.d.ts +638 -55
  461. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +67 -4
  462. package/node_modules/aws-sdk/clients/medialive.d.ts +61 -6
  463. package/node_modules/aws-sdk/clients/mediapackagevod.d.ts +13 -1
  464. package/node_modules/aws-sdk/clients/memorydb.d.ts +209 -0
  465. package/node_modules/aws-sdk/clients/mgn.d.ts +1046 -68
  466. package/node_modules/aws-sdk/clients/migrationhubrefactorspaces.d.ts +4 -4
  467. package/node_modules/aws-sdk/clients/migrationhubstrategy.d.ts +223 -7
  468. package/node_modules/aws-sdk/clients/networkfirewall.d.ts +6 -1
  469. package/node_modules/aws-sdk/clients/networkmanager.d.ts +6 -2
  470. package/node_modules/aws-sdk/clients/nimble.d.ts +319 -123
  471. package/node_modules/aws-sdk/clients/oam.d.ts +559 -0
  472. package/node_modules/aws-sdk/clients/oam.js +18 -0
  473. package/node_modules/aws-sdk/clients/omics.d.ts +4175 -0
  474. package/node_modules/aws-sdk/clients/omics.js +19 -0
  475. package/node_modules/aws-sdk/clients/opensearchserverless.d.ts +1508 -0
  476. package/node_modules/aws-sdk/clients/opensearchserverless.js +18 -0
  477. package/node_modules/aws-sdk/clients/organizations.d.ts +69 -8
  478. package/node_modules/aws-sdk/clients/pipes.d.ts +1612 -0
  479. package/node_modules/aws-sdk/clients/pipes.js +18 -0
  480. package/node_modules/aws-sdk/clients/polly.d.ts +1 -1
  481. package/node_modules/aws-sdk/clients/proton.d.ts +1 -1
  482. package/node_modules/aws-sdk/clients/quicksight.d.ts +9833 -2835
  483. package/node_modules/aws-sdk/clients/rds.d.ts +348 -18
  484. package/node_modules/aws-sdk/clients/redshiftdata.d.ts +31 -22
  485. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +220 -16
  486. package/node_modules/aws-sdk/clients/rekognition.d.ts +37 -7
  487. package/node_modules/aws-sdk/clients/resourceexplorer2.d.ts +6 -6
  488. package/node_modules/aws-sdk/clients/route53domains.d.ts +227 -37
  489. package/node_modules/aws-sdk/clients/route53recoverycontrolconfig.d.ts +10 -10
  490. package/node_modules/aws-sdk/clients/s3control.d.ts +87 -6
  491. package/node_modules/aws-sdk/clients/sagemaker.d.ts +2739 -183
  492. package/node_modules/aws-sdk/clients/sagemakerfeaturestoreruntime.d.ts +15 -5
  493. package/node_modules/aws-sdk/clients/sagemakergeospatial.d.ts +1610 -0
  494. package/node_modules/aws-sdk/clients/sagemakergeospatial.js +18 -0
  495. package/node_modules/aws-sdk/clients/sagemakermetrics.d.ts +93 -0
  496. package/node_modules/aws-sdk/clients/sagemakermetrics.js +18 -0
  497. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +5 -1
  498. package/node_modules/aws-sdk/clients/securityhub.d.ts +985 -0
  499. package/node_modules/aws-sdk/clients/securitylake.d.ts +1049 -0
  500. package/node_modules/aws-sdk/clients/securitylake.js +18 -0
  501. package/node_modules/aws-sdk/clients/simspaceweaver.d.ts +647 -0
  502. package/node_modules/aws-sdk/clients/simspaceweaver.js +18 -0
  503. package/node_modules/aws-sdk/clients/sns.d.ts +14 -14
  504. package/node_modules/aws-sdk/clients/ssm.d.ts +3 -3
  505. package/node_modules/aws-sdk/clients/stepfunctions.d.ts +290 -17
  506. package/node_modules/aws-sdk/clients/support.d.ts +35 -35
  507. package/node_modules/aws-sdk/clients/textract.d.ts +264 -0
  508. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +212 -193
  509. package/node_modules/aws-sdk/clients/transfer.d.ts +16 -7
  510. package/node_modules/aws-sdk/clients/translate.d.ts +10 -9
  511. package/node_modules/aws-sdk/clients/wafv2.d.ts +4 -4
  512. package/node_modules/aws-sdk/clients/wisdom.d.ts +4 -3
  513. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +65 -20
  514. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +674 -123
  515. package/node_modules/aws-sdk/dist/aws-sdk.js +8530 -3449
  516. package/node_modules/aws-sdk/dist/aws-sdk.min.js +96 -95
  517. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +26 -0
  518. package/node_modules/aws-sdk/lib/core.d.ts +4 -0
  519. package/node_modules/aws-sdk/lib/core.js +1 -1
  520. package/node_modules/aws-sdk/lib/event_listeners.js +48 -14
  521. package/node_modules/aws-sdk/lib/region_config.js +13 -2
  522. package/node_modules/aws-sdk/lib/region_config_data.json +14 -2
  523. package/node_modules/aws-sdk/lib/signers/bearer.js +1 -1
  524. package/node_modules/aws-sdk/node_modules/uuid/package.json +5 -1
  525. package/node_modules/aws-sdk/package.json +5 -1
  526. package/node_modules/base64-js/package.json +5 -1
  527. package/node_modules/bowser/package.json +5 -1
  528. package/node_modules/buffer/package.json +5 -1
  529. package/node_modules/buffer-from/package.json +5 -1
  530. package/node_modules/buffer-writer/package.json +5 -1
  531. package/node_modules/call-bind/package.json +5 -1
  532. package/node_modules/commander/package.json +5 -1
  533. package/node_modules/esprima/package.json +5 -1
  534. package/node_modules/events/package.json +4 -0
  535. package/node_modules/fast-xml-parser/package.json +5 -1
  536. package/node_modules/for-each/package.json +5 -1
  537. package/node_modules/function-bind/package.json +5 -1
  538. package/node_modules/get-intrinsic/package.json +5 -1
  539. package/node_modules/glob-to-regexp/package.json +5 -1
  540. package/node_modules/gopd/package.json +5 -1
  541. package/node_modules/graceful-fs/package.json +5 -1
  542. package/node_modules/has/package.json +5 -1
  543. package/node_modules/has-symbols/package.json +5 -1
  544. package/node_modules/has-tostringtag/package.json +5 -1
  545. package/node_modules/ieee754/README.md +2 -0
  546. package/node_modules/ieee754/index.js +0 -1
  547. package/node_modules/ieee754/package.json +10 -21
  548. package/node_modules/inherits/package.json +5 -1
  549. package/node_modules/is-arguments/package.json +5 -1
  550. package/node_modules/is-callable/package.json +5 -1
  551. package/node_modules/is-generator-function/package.json +5 -1
  552. package/node_modules/is-typed-array/package.json +5 -1
  553. package/node_modules/isarray/package.json +5 -1
  554. package/node_modules/jmespath/package.json +5 -1
  555. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/CHANGELOG.md +0 -0
  556. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/LICENSE +0 -0
  557. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/README.md +0 -0
  558. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/bin/js-yaml.js +0 -0
  559. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/dist/js-yaml.js +0 -0
  560. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/dist/js-yaml.min.js +0 -0
  561. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/index.js +0 -0
  562. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/common.js +0 -0
  563. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/dumper.js +0 -0
  564. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/exception.js +0 -0
  565. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/loader.js +0 -0
  566. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/mark.js +0 -0
  567. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/schema/core.js +0 -0
  568. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/schema/default_full.js +0 -0
  569. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/schema/default_safe.js +0 -0
  570. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/schema/failsafe.js +0 -0
  571. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/schema/json.js +0 -0
  572. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/schema.js +0 -0
  573. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/binary.js +0 -0
  574. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/bool.js +0 -0
  575. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/float.js +0 -0
  576. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/int.js +0 -0
  577. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/js/function.js +0 -0
  578. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/js/regexp.js +0 -0
  579. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/js/undefined.js +0 -0
  580. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/map.js +0 -0
  581. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/merge.js +0 -0
  582. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/null.js +0 -0
  583. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/omap.js +0 -0
  584. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/pairs.js +0 -0
  585. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/seq.js +0 -0
  586. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/set.js +0 -0
  587. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/str.js +0 -0
  588. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type/timestamp.js +0 -0
  589. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml/type.js +0 -0
  590. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/lib/js-yaml.js +0 -0
  591. package/node_modules/{aws-lambda/node_modules/js-yaml → js-yaml}/package.json +5 -1
  592. package/node_modules/ms/package.json +5 -1
  593. package/node_modules/node-pg-format/package.json +5 -1
  594. package/node_modules/packet-reader/package.json +5 -1
  595. package/node_modules/pg/package.json +5 -1
  596. package/node_modules/pg-connection-string/package.json +5 -1
  597. package/node_modules/pg-int8/package.json +5 -1
  598. package/node_modules/pg-pool/package.json +5 -1
  599. package/node_modules/pg-protocol/package.json +5 -1
  600. package/node_modules/pg-types/package.json +5 -1
  601. package/node_modules/pgpass/package.json +5 -1
  602. package/node_modules/postgres-array/package.json +5 -1
  603. package/node_modules/postgres-bytea/package.json +5 -1
  604. package/node_modules/postgres-date/package.json +5 -1
  605. package/node_modules/postgres-interval/package.json +5 -1
  606. package/node_modules/querystring/package.json +5 -1
  607. package/node_modules/sax/package.json +5 -1
  608. package/node_modules/source-map/package.json +5 -1
  609. package/node_modules/source-map-support/package.json +5 -1
  610. package/node_modules/{pgpass/node_modules/split2 → split2}/LICENSE +0 -0
  611. package/node_modules/{pgpass/node_modules/split2 → split2}/README.md +0 -0
  612. package/node_modules/{pgpass/node_modules/split2 → split2}/bench.js +0 -0
  613. package/node_modules/{pgpass/node_modules/split2 → split2}/index.js +0 -0
  614. package/node_modules/{pgpass/node_modules/split2 → split2}/package.json +5 -1
  615. package/node_modules/{pgpass/node_modules/split2 → split2}/test.js +0 -0
  616. package/node_modules/sprintf-js/package.json +5 -1
  617. package/node_modules/strnum/package.json +5 -1
  618. package/node_modules/tslib/package.json +5 -1
  619. package/node_modules/url/node_modules/punycode/package.json +5 -1
  620. package/node_modules/url/package.json +5 -1
  621. package/node_modules/util/package.json +5 -1
  622. package/node_modules/uuid/package.json +5 -1
  623. package/node_modules/watchpack/package.json +5 -1
  624. package/node_modules/which-typed-array/package.json +5 -1
  625. package/node_modules/xml2js/node_modules/xmlbuilder/package.json +5 -1
  626. package/node_modules/xml2js/package.json +5 -1
  627. package/node_modules/xtend/package.json +5 -1
  628. package/package.json +13 -12
  629. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +0 -125
  630. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/README.md +0 -18
  631. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/RawSha256.d.ts +0 -17
  632. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/RawSha256.js +0 -124
  633. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/RawSha256.js.map +0 -1
  634. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.d.ts +0 -20
  635. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.js +0 -98
  636. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.js.map +0 -1
  637. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.d.ts +0 -1
  638. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.js +0 -5
  639. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.js.map +0 -1
  640. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.d.ts +0 -10
  641. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.js +0 -80
  642. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.js.map +0 -1
  643. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.d.ts +0 -5
  644. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.js +0 -322
  645. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.js.map +0 -1
  646. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/package.json +0 -28
  647. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/src/RawSha256.ts +0 -164
  648. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/src/constants.ts +0 -98
  649. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/src/index.ts +0 -1
  650. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts +0 -86
  651. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/src/knownHashes.fixture.ts +0 -401
  652. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/tsconfig.json +0 -17
  653. package/node_modules/aws-sdk/node_modules/ieee754/LICENSE +0 -11
  654. package/node_modules/aws-sdk/node_modules/ieee754/README.md +0 -53
  655. package/node_modules/aws-sdk/node_modules/ieee754/index.js +0 -84
  656. package/node_modules/aws-sdk/node_modules/ieee754/package.json +0 -37
  657. package/node_modules/ieee754/index.d.ts +0 -10
  658. package/node_modules/xml2js/node_modules/sax/LICENSE +0 -41
  659. package/node_modules/xml2js/node_modules/sax/README.md +0 -225
  660. package/node_modules/xml2js/node_modules/sax/lib/sax.js +0 -1565
  661. package/node_modules/xml2js/node_modules/sax/package.json +0 -25
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getDefaultRetryToken = void 0;
4
+ const constants_1 = require("./constants");
5
+ const defaultRetryBackoffStrategy_1 = require("./defaultRetryBackoffStrategy");
6
+ const getDefaultRetryToken = (initialRetryTokens, initialRetryDelay, initialRetryCount, options) => {
7
+ var _a, _b, _c;
8
+ const MAX_CAPACITY = initialRetryTokens;
9
+ const retryCost = (_a = options === null || options === void 0 ? void 0 : options.retryCost) !== null && _a !== void 0 ? _a : constants_1.RETRY_COST;
10
+ const timeoutRetryCost = (_b = options === null || options === void 0 ? void 0 : options.timeoutRetryCost) !== null && _b !== void 0 ? _b : constants_1.TIMEOUT_RETRY_COST;
11
+ const retryBackoffStrategy = (_c = options === null || options === void 0 ? void 0 : options.retryBackoffStrategy) !== null && _c !== void 0 ? _c : (0, defaultRetryBackoffStrategy_1.getDefaultRetryBackoffStrategy)();
12
+ let availableCapacity = initialRetryTokens;
13
+ let retryDelay = Math.min(constants_1.MAXIMUM_RETRY_DELAY, initialRetryDelay);
14
+ let lastRetryCost = undefined;
15
+ let retryCount = initialRetryCount !== null && initialRetryCount !== void 0 ? initialRetryCount : 0;
16
+ const getCapacityAmount = (errorType) => (errorType === "TRANSIENT" ? timeoutRetryCost : retryCost);
17
+ const getRetryCount = () => retryCount;
18
+ const getRetryDelay = () => retryDelay;
19
+ const getLastRetryCost = () => lastRetryCost;
20
+ const hasRetryTokens = (errorType) => getCapacityAmount(errorType) <= availableCapacity;
21
+ const getRetryTokenCount = (errorInfo) => {
22
+ const errorType = errorInfo.errorType;
23
+ if (!hasRetryTokens(errorType)) {
24
+ throw new Error("No retry token available");
25
+ }
26
+ const capacityAmount = getCapacityAmount(errorType);
27
+ const delayBase = errorType === "THROTTLING" ? constants_1.THROTTLING_RETRY_DELAY_BASE : constants_1.DEFAULT_RETRY_DELAY_BASE;
28
+ retryBackoffStrategy.setDelayBase(delayBase);
29
+ const delayFromErrorType = retryBackoffStrategy.computeNextBackoffDelay(retryCount);
30
+ if (errorInfo.retryAfterHint) {
31
+ const delayFromRetryAfterHint = errorInfo.retryAfterHint.getTime() - Date.now();
32
+ retryDelay = Math.max(delayFromRetryAfterHint || 0, delayFromErrorType);
33
+ }
34
+ else {
35
+ retryDelay = delayFromErrorType;
36
+ }
37
+ retryCount++;
38
+ lastRetryCost = capacityAmount;
39
+ availableCapacity -= capacityAmount;
40
+ return capacityAmount;
41
+ };
42
+ const releaseRetryTokens = (releaseAmount) => {
43
+ availableCapacity += releaseAmount !== null && releaseAmount !== void 0 ? releaseAmount : constants_1.NO_RETRY_INCREMENT;
44
+ availableCapacity = Math.min(availableCapacity, MAX_CAPACITY);
45
+ };
46
+ return {
47
+ getRetryCount,
48
+ getRetryDelay,
49
+ getLastRetryCost,
50
+ hasRetryTokens,
51
+ getRetryTokenCount,
52
+ releaseRetryTokens,
53
+ };
54
+ };
55
+ exports.getDefaultRetryToken = getDefaultRetryToken;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AdaptiveRetryStrategy"), exports);
5
+ tslib_1.__exportStar(require("./DefaultRateLimiter"), exports);
6
+ tslib_1.__exportStar(require("./StandardRetryStrategy"), exports);
7
+ tslib_1.__exportStar(require("./config"), exports);
8
+ tslib_1.__exportStar(require("./constants"), exports);
9
+ tslib_1.__exportStar(require("./types"), exports);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
1
+ import { RETRY_MODES } from "./config";
2
+ import { DefaultRateLimiter } from "./DefaultRateLimiter";
3
+ import { StandardRetryStrategy } from "./StandardRetryStrategy";
4
+ export class AdaptiveRetryStrategy {
5
+ constructor(maxAttemptsProvider, options) {
6
+ this.maxAttemptsProvider = maxAttemptsProvider;
7
+ this.mode = RETRY_MODES.ADAPTIVE;
8
+ const { rateLimiter } = options ?? {};
9
+ this.rateLimiter = rateLimiter ?? new DefaultRateLimiter();
10
+ this.standardRetryStrategy = new StandardRetryStrategy(maxAttemptsProvider);
11
+ }
12
+ async acquireInitialRetryToken(retryTokenScope) {
13
+ await this.rateLimiter.getSendToken();
14
+ return this.standardRetryStrategy.acquireInitialRetryToken(retryTokenScope);
15
+ }
16
+ async refreshRetryTokenForRetry(tokenToRenew, errorInfo) {
17
+ this.rateLimiter.updateClientSendingRate(errorInfo);
18
+ return this.standardRetryStrategy.refreshRetryTokenForRetry(tokenToRenew, errorInfo);
19
+ }
20
+ recordSuccess(token) {
21
+ this.rateLimiter.updateClientSendingRate({});
22
+ this.standardRetryStrategy.recordSuccess(token);
23
+ }
24
+ }
@@ -0,0 +1,44 @@
1
+ import { DEFAULT_MAX_ATTEMPTS, RETRY_MODES } from "./config";
2
+ import { DEFAULT_RETRY_DELAY_BASE, INITIAL_RETRY_TOKENS } from "./constants";
3
+ import { getDefaultRetryToken } from "./defaultRetryToken";
4
+ export class StandardRetryStrategy {
5
+ constructor(maxAttemptsProvider) {
6
+ this.maxAttemptsProvider = maxAttemptsProvider;
7
+ this.mode = RETRY_MODES.STANDARD;
8
+ this.retryToken = getDefaultRetryToken(INITIAL_RETRY_TOKENS, DEFAULT_RETRY_DELAY_BASE);
9
+ this.maxAttemptsProvider = maxAttemptsProvider;
10
+ }
11
+ async acquireInitialRetryToken(retryTokenScope) {
12
+ return this.retryToken;
13
+ }
14
+ async refreshRetryTokenForRetry(tokenToRenew, errorInfo) {
15
+ const maxAttempts = await this.getMaxAttempts();
16
+ if (this.shouldRetry(tokenToRenew, errorInfo, maxAttempts)) {
17
+ tokenToRenew.getRetryTokenCount(errorInfo);
18
+ return tokenToRenew;
19
+ }
20
+ throw new Error("No retry token available");
21
+ }
22
+ recordSuccess(token) {
23
+ this.retryToken.releaseRetryTokens(token.getLastRetryCost());
24
+ }
25
+ async getMaxAttempts() {
26
+ let maxAttempts;
27
+ try {
28
+ return await this.maxAttemptsProvider();
29
+ }
30
+ catch (error) {
31
+ console.warn(`Max attempts provider could not resolve. Using default of ${DEFAULT_MAX_ATTEMPTS}`);
32
+ return DEFAULT_MAX_ATTEMPTS;
33
+ }
34
+ }
35
+ shouldRetry(tokenToRenew, errorInfo, maxAttempts) {
36
+ const attempts = tokenToRenew.getRetryCount();
37
+ return (attempts < maxAttempts &&
38
+ tokenToRenew.hasRetryTokens(errorInfo.errorType) &&
39
+ this.isRetryableError(errorInfo.errorType));
40
+ }
41
+ isRetryableError(errorType) {
42
+ return errorType === "THROTTLING" || errorType === "TRANSIENT";
43
+ }
44
+ }
@@ -4,4 +4,4 @@ export var RETRY_MODES;
4
4
  RETRY_MODES["ADAPTIVE"] = "adaptive";
5
5
  })(RETRY_MODES || (RETRY_MODES = {}));
6
6
  export const DEFAULT_MAX_ATTEMPTS = 3;
7
- export const DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;
7
+ export const DEFAULT_RETRY_MODE = "STANDARD";
@@ -0,0 +1,14 @@
1
+ import { DEFAULT_RETRY_DELAY_BASE, MAXIMUM_RETRY_DELAY } from "./constants";
2
+ export const getDefaultRetryBackoffStrategy = () => {
3
+ let delayBase = DEFAULT_RETRY_DELAY_BASE;
4
+ const computeNextBackoffDelay = (attempts) => {
5
+ return Math.floor(Math.min(MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase));
6
+ };
7
+ const setDelayBase = (delay) => {
8
+ delayBase = delay;
9
+ };
10
+ return {
11
+ computeNextBackoffDelay,
12
+ setDelayBase,
13
+ };
14
+ };
@@ -0,0 +1,50 @@
1
+ import { DEFAULT_RETRY_DELAY_BASE, MAXIMUM_RETRY_DELAY, NO_RETRY_INCREMENT, RETRY_COST, THROTTLING_RETRY_DELAY_BASE, TIMEOUT_RETRY_COST, } from "./constants";
2
+ import { getDefaultRetryBackoffStrategy } from "./defaultRetryBackoffStrategy";
3
+ export const getDefaultRetryToken = (initialRetryTokens, initialRetryDelay, initialRetryCount, options) => {
4
+ const MAX_CAPACITY = initialRetryTokens;
5
+ const retryCost = options?.retryCost ?? RETRY_COST;
6
+ const timeoutRetryCost = options?.timeoutRetryCost ?? TIMEOUT_RETRY_COST;
7
+ const retryBackoffStrategy = options?.retryBackoffStrategy ?? getDefaultRetryBackoffStrategy();
8
+ let availableCapacity = initialRetryTokens;
9
+ let retryDelay = Math.min(MAXIMUM_RETRY_DELAY, initialRetryDelay);
10
+ let lastRetryCost = undefined;
11
+ let retryCount = initialRetryCount ?? 0;
12
+ const getCapacityAmount = (errorType) => (errorType === "TRANSIENT" ? timeoutRetryCost : retryCost);
13
+ const getRetryCount = () => retryCount;
14
+ const getRetryDelay = () => retryDelay;
15
+ const getLastRetryCost = () => lastRetryCost;
16
+ const hasRetryTokens = (errorType) => getCapacityAmount(errorType) <= availableCapacity;
17
+ const getRetryTokenCount = (errorInfo) => {
18
+ const errorType = errorInfo.errorType;
19
+ if (!hasRetryTokens(errorType)) {
20
+ throw new Error("No retry token available");
21
+ }
22
+ const capacityAmount = getCapacityAmount(errorType);
23
+ const delayBase = errorType === "THROTTLING" ? THROTTLING_RETRY_DELAY_BASE : DEFAULT_RETRY_DELAY_BASE;
24
+ retryBackoffStrategy.setDelayBase(delayBase);
25
+ const delayFromErrorType = retryBackoffStrategy.computeNextBackoffDelay(retryCount);
26
+ if (errorInfo.retryAfterHint) {
27
+ const delayFromRetryAfterHint = errorInfo.retryAfterHint.getTime() - Date.now();
28
+ retryDelay = Math.max(delayFromRetryAfterHint || 0, delayFromErrorType);
29
+ }
30
+ else {
31
+ retryDelay = delayFromErrorType;
32
+ }
33
+ retryCount++;
34
+ lastRetryCost = capacityAmount;
35
+ availableCapacity -= capacityAmount;
36
+ return capacityAmount;
37
+ };
38
+ const releaseRetryTokens = (releaseAmount) => {
39
+ availableCapacity += releaseAmount ?? NO_RETRY_INCREMENT;
40
+ availableCapacity = Math.min(availableCapacity, MAX_CAPACITY);
41
+ };
42
+ return {
43
+ getRetryCount,
44
+ getRetryDelay,
45
+ getLastRetryCost,
46
+ hasRetryTokens,
47
+ getRetryTokenCount,
48
+ releaseRetryTokens,
49
+ };
50
+ };
@@ -0,0 +1,6 @@
1
+ export * from "./AdaptiveRetryStrategy";
2
+ export * from "./DefaultRateLimiter";
3
+ export * from "./StandardRetryStrategy";
4
+ export * from "./config";
5
+ export * from "./constants";
6
+ export * from "./types";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,29 @@
1
+ import { Provider, RetryErrorInfo, RetryStrategyV2, RetryToken, StandardRetryToken } from "@aws-sdk/types";
2
+ import { RateLimiter } from "./types";
3
+ /**
4
+ * Strategy options to be passed to AdaptiveRetryStrategy
5
+ */
6
+ export interface AdaptiveRetryStrategyOptions {
7
+ rateLimiter?: RateLimiter;
8
+ }
9
+ /**
10
+ * The AdaptiveRetryStrategy is a retry strategy for executing against a very
11
+ * resource constrained set of resources. Care should be taken when using this
12
+ * retry strategy. By default, it uses a dynamic backoff delay based on load
13
+ * currently perceived against the downstream resource and performs circuit
14
+ * breaking to disable retries in the event of high downstream failures using
15
+ * the DefaultRateLimiter.
16
+ *
17
+ * @see {@link StandardRetryStrategy}
18
+ * @see {@link DefaultRateLimiter }
19
+ */
20
+ export declare class AdaptiveRetryStrategy implements RetryStrategyV2 {
21
+ private readonly maxAttemptsProvider;
22
+ private rateLimiter;
23
+ private standardRetryStrategy;
24
+ readonly mode: string;
25
+ constructor(maxAttemptsProvider: Provider<number>, options?: AdaptiveRetryStrategyOptions);
26
+ acquireInitialRetryToken(retryTokenScope: string): Promise<RetryToken>;
27
+ refreshRetryTokenForRetry(tokenToRenew: StandardRetryToken, errorInfo: RetryErrorInfo): Promise<RetryToken>;
28
+ recordSuccess(token: StandardRetryToken): void;
29
+ }
@@ -0,0 +1,13 @@
1
+ import { Provider, RetryErrorInfo, RetryStrategyV2, StandardRetryToken } from "@aws-sdk/types";
2
+ export declare class StandardRetryStrategy implements RetryStrategyV2 {
3
+ private readonly maxAttemptsProvider;
4
+ private retryToken;
5
+ readonly mode: string;
6
+ constructor(maxAttemptsProvider: Provider<number>);
7
+ acquireInitialRetryToken(retryTokenScope: string): Promise<StandardRetryToken>;
8
+ refreshRetryTokenForRetry(tokenToRenew: StandardRetryToken, errorInfo: RetryErrorInfo): Promise<StandardRetryToken>;
9
+ recordSuccess(token: StandardRetryToken): void;
10
+ private getMaxAttempts;
11
+ private shouldRetry;
12
+ private isRetryableError;
13
+ }
@@ -10,4 +10,4 @@ export declare const DEFAULT_MAX_ATTEMPTS = 3;
10
10
  /**
11
11
  * The default retry algorithm to use.
12
12
  */
13
- export declare const DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;
13
+ export declare const DEFAULT_RETRY_MODE: RETRY_MODES;
@@ -0,0 +1,2 @@
1
+ import { StandardRetryBackoffStrategy } from "@aws-sdk/types";
2
+ export declare const getDefaultRetryBackoffStrategy: () => StandardRetryBackoffStrategy;
@@ -0,0 +1,17 @@
1
+ import { StandardRetryBackoffStrategy, StandardRetryToken } from "@aws-sdk/types";
2
+ export interface DefaultRetryTokenOptions {
3
+ /**
4
+ * The total amount of retry tokens to be decremented from retry token balance.
5
+ */
6
+ retryCost?: number;
7
+ /**
8
+ * The total amount of retry tokens to be decremented from retry token balance
9
+ * when a throttling error is encountered.
10
+ */
11
+ timeoutRetryCost?: number;
12
+ /**
13
+ *
14
+ */
15
+ retryBackoffStrategy?: StandardRetryBackoffStrategy;
16
+ }
17
+ export declare const getDefaultRetryToken: (initialRetryTokens: number, initialRetryDelay: number, initialRetryCount?: number | undefined, options?: DefaultRetryTokenOptions | undefined) => StandardRetryToken;
@@ -0,0 +1,6 @@
1
+ export * from "./AdaptiveRetryStrategy";
2
+ export * from "./DefaultRateLimiter";
3
+ export * from "./StandardRetryStrategy";
4
+ export * from "./config";
5
+ export * from "./constants";
6
+ export * from "./types";
@@ -0,0 +1,27 @@
1
+ import {
2
+ Provider,
3
+ RetryErrorInfo,
4
+ RetryStrategyV2,
5
+ RetryToken,
6
+ StandardRetryToken,
7
+ } from "@aws-sdk/types";
8
+ import { RateLimiter } from "./types";
9
+ export interface AdaptiveRetryStrategyOptions {
10
+ rateLimiter?: RateLimiter;
11
+ }
12
+ export declare class AdaptiveRetryStrategy implements RetryStrategyV2 {
13
+ private readonly maxAttemptsProvider;
14
+ private rateLimiter;
15
+ private standardRetryStrategy;
16
+ readonly mode: string;
17
+ constructor(
18
+ maxAttemptsProvider: Provider<number>,
19
+ options?: AdaptiveRetryStrategyOptions
20
+ );
21
+ acquireInitialRetryToken(retryTokenScope: string): Promise<RetryToken>;
22
+ refreshRetryTokenForRetry(
23
+ tokenToRenew: StandardRetryToken,
24
+ errorInfo: RetryErrorInfo
25
+ ): Promise<RetryToken>;
26
+ recordSuccess(token: StandardRetryToken): void;
27
+ }
@@ -0,0 +1,23 @@
1
+ import {
2
+ Provider,
3
+ RetryErrorInfo,
4
+ RetryStrategyV2,
5
+ StandardRetryToken,
6
+ } from "@aws-sdk/types";
7
+ export declare class StandardRetryStrategy implements RetryStrategyV2 {
8
+ private readonly maxAttemptsProvider;
9
+ private retryToken;
10
+ readonly mode: string;
11
+ constructor(maxAttemptsProvider: Provider<number>);
12
+ acquireInitialRetryToken(
13
+ retryTokenScope: string
14
+ ): Promise<StandardRetryToken>;
15
+ refreshRetryTokenForRetry(
16
+ tokenToRenew: StandardRetryToken,
17
+ errorInfo: RetryErrorInfo
18
+ ): Promise<StandardRetryToken>;
19
+ recordSuccess(token: StandardRetryToken): void;
20
+ private getMaxAttempts;
21
+ private shouldRetry;
22
+ private isRetryableError;
23
+ }
@@ -3,4 +3,4 @@ export declare enum RETRY_MODES {
3
3
  ADAPTIVE = "adaptive",
4
4
  }
5
5
  export declare const DEFAULT_MAX_ATTEMPTS = 3;
6
- export declare const DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;
6
+ export declare const DEFAULT_RETRY_MODE: RETRY_MODES;
@@ -0,0 +1,2 @@
1
+ import { StandardRetryBackoffStrategy } from "@aws-sdk/types";
2
+ export declare const getDefaultRetryBackoffStrategy: () => StandardRetryBackoffStrategy;
@@ -0,0 +1,15 @@
1
+ import {
2
+ StandardRetryBackoffStrategy,
3
+ StandardRetryToken,
4
+ } from "@aws-sdk/types";
5
+ export interface DefaultRetryTokenOptions {
6
+ retryCost?: number;
7
+ timeoutRetryCost?: number;
8
+ retryBackoffStrategy?: StandardRetryBackoffStrategy;
9
+ }
10
+ export declare const getDefaultRetryToken: (
11
+ initialRetryTokens: number,
12
+ initialRetryDelay: number,
13
+ initialRetryCount?: number | undefined,
14
+ options?: DefaultRetryTokenOptions | undefined
15
+ ) => StandardRetryToken;
@@ -0,0 +1,6 @@
1
+ export * from "./AdaptiveRetryStrategy";
2
+ export * from "./DefaultRateLimiter";
3
+ export * from "./StandardRetryStrategy";
4
+ export * from "./config";
5
+ export * from "./constants";
6
+ export * from "./types";
@@ -0,0 +1,4 @@
1
+ export interface RateLimiter {
2
+ getSendToken: () => Promise<void>;
3
+ updateClientSendingRate: (response: any) => void;
4
+ }
@@ -0,0 +1,16 @@
1
+ export interface RateLimiter {
2
+ /**
3
+ * If there is sufficient capacity (tokens) available, it immediately returns.
4
+ * If there is not sufficient capacity, it will either sleep a certain amount
5
+ * of time until the rate limiter can retrieve a token from its token bucket
6
+ * or raise an exception indicating there is insufficient capacity.
7
+ */
8
+ getSendToken: () => Promise<void>;
9
+ /**
10
+ * Updates the client sending rate based on response.
11
+ * If the response was successful, the capacity and fill rate are increased.
12
+ * If the response was a throttling response, the capacity and fill rate are
13
+ * decreased. Transient errors do not affect the rate limiter.
14
+ */
15
+ updateClientSendingRate: (response: any) => void;
16
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@aws-sdk/util-retry",
3
+ "version": "3.229.0",
4
+ "description": "Shared retry utilities to be used in middleware packages.",
5
+ "main": "./dist-cjs/index.js",
6
+ "module": "./dist-es/index.js",
7
+ "scripts": {
8
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
9
+ "build:cjs": "tsc -p tsconfig.cjs.json",
10
+ "build:es": "tsc -p tsconfig.es.json",
11
+ "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
12
+ "build:types": "tsc -p tsconfig.types.json",
13
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
14
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
15
+ "test": "jest"
16
+ },
17
+ "keywords": [
18
+ "aws",
19
+ "retry"
20
+ ],
21
+ "author": {
22
+ "name": "AWS SDK for JavaScript Team",
23
+ "url": "https://aws.amazon.com/javascript/"
24
+ },
25
+ "license": "Apache-2.0",
26
+ "dependencies": {
27
+ "@aws-sdk/service-error-classification": "3.229.0",
28
+ "tslib": "^2.3.1"
29
+ },
30
+ "devDependencies": {
31
+ "@aws-sdk/types": "3.226.0",
32
+ "@tsconfig/recommended": "1.0.1",
33
+ "@types/node": "^14.14.31",
34
+ "concurrently": "7.0.0",
35
+ "downlevel-dts": "0.10.1",
36
+ "rimraf": "3.0.2",
37
+ "typedoc": "0.19.2",
38
+ "typescript": "~4.6.2"
39
+ },
40
+ "types": "./dist-types/index.d.ts",
41
+ "engines": {
42
+ "node": ">= 14.0.0"
43
+ },
44
+ "typesVersions": {
45
+ "<4.0": {
46
+ "types/*": [
47
+ "types/ts3.4/*"
48
+ ]
49
+ }
50
+ },
51
+ "files": [
52
+ "dist-*"
53
+ ],
54
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-retry",
55
+ "repository": {
56
+ "type": "git",
57
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
58
+ "directory": "packages/util-retry"
59
+ }
60
+
61
+ ,"_resolved": "https://registry.npmjs.org/@aws-sdk/util-retry/-/util-retry-3.229.0.tgz"
62
+ ,"_integrity": "sha512-0zKTqi0P1inD0LzIMuXRIYYQ/8c1lWMg/cfiqUcIAF1TpatlpZuN7umU0ierpBFud7S+zDgg0oemh+Nj8xliJw=="
63
+ ,"_from": "@aws-sdk/util-retry@3.229.0"
64
+ }
@@ -49,4 +49,8 @@
49
49
  "typedoc": "0.19.2",
50
50
  "typescript": "~4.6.2"
51
51
  }
52
- }
52
+
53
+ ,"_resolved": "https://registry.npmjs.org/@aws-sdk/util-uri-escape/-/util-uri-escape-3.201.0.tgz"
54
+ ,"_integrity": "sha512-TeTWbGx4LU2c5rx0obHeDFeO9HvwYwQtMh1yniBz00pQb6Qt6YVOETVQikRZ+XRQwEyCg/dA375UplIpiy54mA=="
55
+ ,"_from": "@aws-sdk/util-uri-escape@3.201.0"
56
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-browser",
3
- "version": "3.215.0",
3
+ "version": "3.226.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,12 +21,12 @@
21
21
  "license": "Apache-2.0",
22
22
  "react-native": "dist-es/index.native.js",
23
23
  "dependencies": {
24
- "@aws-sdk/types": "3.215.0",
24
+ "@aws-sdk/types": "3.226.0",
25
25
  "bowser": "^2.11.0",
26
26
  "tslib": "^2.3.1"
27
27
  },
28
28
  "devDependencies": {
29
- "@aws-sdk/protocol-http": "3.215.0",
29
+ "@aws-sdk/protocol-http": "3.226.0",
30
30
  "@tsconfig/recommended": "1.0.1",
31
31
  "concurrently": "7.0.0",
32
32
  "downlevel-dts": "0.10.1",
@@ -50,4 +50,8 @@
50
50
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
51
51
  "directory": "packages/util-user-agent-browser"
52
52
  }
53
- }
53
+
54
+ ,"_resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.226.0.tgz"
55
+ ,"_integrity": "sha512-PhBIu2h6sPJPcv2I7ELfFizdl5pNiL4LfxrasMCYXQkJvVnoXztHA1x+CQbXIdtZOIlpjC+6BjDcE0uhnpvfcA=="
56
+ ,"_from": "@aws-sdk/util-user-agent-browser@3.226.0"
57
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.215.0",
3
+ "version": "3.226.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,12 +20,12 @@
20
20
  },
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@aws-sdk/node-config-provider": "3.215.0",
24
- "@aws-sdk/types": "3.215.0",
23
+ "@aws-sdk/node-config-provider": "3.226.0",
24
+ "@aws-sdk/types": "3.226.0",
25
25
  "tslib": "^2.3.1"
26
26
  },
27
27
  "devDependencies": {
28
- "@aws-sdk/protocol-http": "3.215.0",
28
+ "@aws-sdk/protocol-http": "3.226.0",
29
29
  "@tsconfig/recommended": "1.0.1",
30
30
  "@types/node": "^14.14.31",
31
31
  "concurrently": "7.0.0",
@@ -61,4 +61,8 @@
61
61
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
62
62
  "directory": "packages/util-user-agent-node"
63
63
  }
64
- }
64
+
65
+ ,"_resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.226.0.tgz"
66
+ ,"_integrity": "sha512-othPc5Dz/pkYkxH+nZPhc1Al0HndQT8zHD4e9h+EZ+8lkd8n+IsnLfTS/mSJWrfiC6UlNRVw55cItstmJyMe/A=="
67
+ ,"_from": "@aws-sdk/util-user-agent-node@3.226.0"
68
+ }
@@ -47,4 +47,8 @@
47
47
  "typedoc": "0.19.2",
48
48
  "typescript": "~4.6.2"
49
49
  }
50
- }
50
+
51
+ ,"_resolved": "https://registry.npmjs.org/@aws-sdk/util-utf8-browser/-/util-utf8-browser-3.188.0.tgz"
52
+ ,"_integrity": "sha512-jt627x0+jE+Ydr9NwkFstg3cUvgWh56qdaqAMDsqgRlKD21md/6G226z/Qxl7lb1VEW2LlmCx43ai/37Qwcj2Q=="
53
+ ,"_from": "@aws-sdk/util-utf8-browser@3.188.0"
54
+ }
@@ -52,4 +52,8 @@
52
52
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
53
53
  "directory": "packages/util-utf8-node"
54
54
  }
55
- }
55
+
56
+ ,"_resolved": "https://registry.npmjs.org/@aws-sdk/util-utf8-node/-/util-utf8-node-3.208.0.tgz"
57
+ ,"_integrity": "sha512-jKY87Acv0yWBdFxx6bveagy5FYjz+dtV8IPT7ay1E2WPWH1czoIdMAkc8tSInK31T6CRnHWkLZ1qYwCbgRfERQ=="
58
+ ,"_from": "@aws-sdk/util-utf8-node@3.208.0"
59
+ }
@@ -31,4 +31,8 @@
31
31
  "mocha": "^3.1.0",
32
32
  "ndoc": "^5.0.1"
33
33
  }
34
- }
34
+
35
+ ,"_resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz"
36
+ ,"_integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg=="
37
+ ,"_from": "argparse@1.0.10"
38
+ }
@@ -79,4 +79,8 @@
79
79
  "backfillLimit": false,
80
80
  "hideCredit": true
81
81
  }
82
- }
82
+
83
+ ,"_resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz"
84
+ ,"_integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw=="
85
+ ,"_from": "available-typed-arrays@1.0.5"
86
+ }
@@ -38,4 +38,8 @@
38
38
  "test": "mocha --timeout 100000 -S -R spec --exit",
39
39
  "lint": "eslint lib"
40
40
  }
41
- }
41
+
42
+ ,"_resolved": "https://registry.npmjs.org/aws-lambda/-/aws-lambda-1.0.7.tgz"
43
+ ,"_integrity": "sha512-9GNFMRrEMG5y3Jvv+V4azWvc+qNWdWLTjDdhf/zgMlz8haaaLWv0xeAIWxz9PuWUBawsVxy0zZotjCdR3Xq+2w=="
44
+ ,"_from": "aws-lambda@1.0.7"
45
+ }