@cdklabs/cdk-ecs-codedeploy 0.0.434 → 0.0.436

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 (801) hide show
  1. package/.jsii +3 -3
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/api-canary/index.js +1 -1
  4. package/lib/ecs-appspec/index.js +1 -1
  5. package/lib/ecs-deployment/index.js +1 -1
  6. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.js +4 -3
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +2 -2
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeploy.js +1 -1
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.js +2 -1
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +1 -1
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-es/waiters/waitForDeploymentSuccessful.js +1 -1
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeploy.d.ts +47 -47
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +50 -50
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-types/index.d.ts +1 -1
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/models_0.d.ts +1 -1
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListApplicationRevisionsPaginator.d.ts +1 -1
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentConfigsPaginator.d.ts +1 -1
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentGroupsPaginator.d.ts +1 -1
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentInstancesPaginator.d.ts +1 -1
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentsPaginator.d.ts +1 -1
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +1 -1
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +1 -1
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +1 -1
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeployClient.d.ts +2 -3
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-types/waiters/waitForDeploymentSuccessful.d.ts +3 -3
  37. package/node_modules/@aws-sdk/client-codedeploy/package.json +17 -17
  38. package/node_modules/@aws-sdk/core/dist-cjs/index.js +54 -21
  39. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +54 -21
  40. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +24 -6
  41. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +6 -5
  42. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +2 -1
  43. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +2 -1
  44. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +6 -4
  45. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +6 -4
  46. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +4 -2
  47. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +9 -3
  48. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +13 -0
  49. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +3 -1
  50. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +3 -1
  51. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -1
  52. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -1
  53. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +3 -1
  54. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +3 -0
  55. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -0
  56. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +2 -0
  57. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +6 -0
  58. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +3 -0
  59. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +3 -0
  60. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -0
  61. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -0
  62. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +8 -1
  63. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +3 -0
  64. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -0
  65. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +6 -1
  66. package/node_modules/@aws-sdk/core/package.json +4 -4
  67. package/node_modules/@aws-sdk/credential-provider-env/README.md +12 -3
  68. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  69. package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
  70. package/node_modules/@aws-sdk/credential-provider-ini/README.md +12 -3
  71. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  72. package/node_modules/@aws-sdk/credential-provider-login/README.md +12 -3
  73. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  74. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  75. package/node_modules/@aws-sdk/credential-provider-process/README.md +12 -3
  76. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  77. package/node_modules/@aws-sdk/credential-provider-sso/README.md +12 -3
  78. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  79. package/node_modules/@aws-sdk/credential-provider-web-identity/README.md +12 -3
  80. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  81. package/node_modules/@aws-sdk/middleware-recursion-detection/README.md +10 -3
  82. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +1 -1
  83. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +10 -10
  84. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +1 -1
  85. package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
  86. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +2 -2
  87. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.js +4 -3
  88. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +4 -4
  89. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +2 -2
  90. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +4 -3
  91. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +4 -4
  92. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +2 -2
  93. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +4 -3
  94. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +4 -4
  95. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +2 -2
  96. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +4 -3
  97. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +4 -4
  98. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +2 -2
  99. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +7 -6
  100. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +4 -4
  101. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +1 -1
  102. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +1 -1
  103. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +1 -1
  104. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -1
  105. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +1 -1
  106. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
  107. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
  108. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
  109. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -1
  110. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +1 -1
  111. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +1 -1
  112. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js +1 -1
  113. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +1 -1
  114. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -1
  115. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +1 -1
  116. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js +1 -1
  117. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
  118. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
  119. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
  120. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +1 -1
  121. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +2 -2
  122. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
  123. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
  124. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
  125. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +1 -1
  126. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +2 -2
  127. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +3 -4
  128. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +1 -2
  129. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +1 -1
  130. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +1 -1
  131. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -2
  132. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +2 -2
  133. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -2
  134. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -1
  135. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -1
  136. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +3 -4
  137. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -2
  138. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
  139. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -1
  140. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +2 -2
  141. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +2 -2
  142. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +2 -2
  143. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +1 -1
  144. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +1 -1
  145. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +3 -4
  146. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +1 -2
  147. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts +1 -1
  148. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts +1 -1
  149. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +2 -2
  150. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +2 -2
  151. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +2 -2
  152. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +1 -1
  153. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
  154. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +3 -4
  155. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -2
  156. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
  157. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +1 -1
  158. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -2
  159. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +2 -2
  160. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
  161. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -1
  162. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
  163. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +3 -4
  164. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -2
  165. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +2 -3
  166. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +1 -1
  167. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +2 -2
  168. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
  169. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +2 -2
  170. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -1
  171. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +2 -2
  172. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  173. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +1 -1
  174. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -2
  175. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +2 -2
  176. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -2
  177. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -1
  178. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +2 -5
  179. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  180. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
  181. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +2 -2
  182. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +2 -2
  183. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +2 -2
  184. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +1 -1
  185. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +2 -2
  186. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  187. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts +1 -1
  188. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +2 -2
  189. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +2 -2
  190. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +2 -2
  191. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +1 -1
  192. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -2
  193. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  194. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
  195. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -2
  196. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +2 -2
  197. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
  198. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -1
  199. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +2 -5
  200. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  201. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +2 -2
  202. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +2 -2
  203. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -1
  204. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +2 -2
  205. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +1 -1
  206. package/node_modules/@aws-sdk/nested-clients/package.json +15 -15
  207. package/node_modules/@aws-sdk/region-config-resolver/README.md +11 -4
  208. package/node_modules/@aws-sdk/region-config-resolver/package.json +1 -1
  209. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  210. package/node_modules/@aws-sdk/util-user-agent-node/README.md +10 -3
  211. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  212. package/node_modules/@aws-sdk/xml-builder/README.md +10 -3
  213. package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
  214. package/node_modules/@smithy/config-resolver/README.md +10 -3
  215. package/node_modules/@smithy/config-resolver/package.json +10 -11
  216. package/node_modules/@smithy/core/README.md +12 -1
  217. package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +6 -0
  218. package/node_modules/@smithy/core/dist-cjs/index.js +1 -1
  219. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +21 -0
  220. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +21 -0
  221. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +46 -0
  222. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +6 -0
  223. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +24 -0
  224. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +19 -0
  225. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +27 -0
  226. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +5 -0
  227. package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +10 -0
  228. package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +44 -0
  229. package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +5 -0
  230. package/node_modules/@smithy/core/dist-cjs/setFeature.js +14 -0
  231. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +8 -17
  232. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +17 -0
  233. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +38 -0
  234. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +15 -0
  235. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +6 -0
  236. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +9 -0
  237. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +6 -0
  238. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +61 -0
  239. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -8
  240. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +7 -9
  241. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +1 -1
  242. package/node_modules/@smithy/core/package.json +15 -16
  243. package/node_modules/@smithy/credential-provider-imds/README.md +12 -3
  244. package/node_modules/@smithy/credential-provider-imds/package.json +9 -10
  245. package/node_modules/@smithy/fetch-http-handler/package.json +12 -13
  246. package/node_modules/@smithy/hash-node/README.md +10 -3
  247. package/node_modules/@smithy/hash-node/package.json +6 -7
  248. package/node_modules/@smithy/invalid-dependency/README.md +10 -3
  249. package/node_modules/@smithy/invalid-dependency/package.json +6 -7
  250. package/node_modules/@smithy/middleware-content-length/README.md +13 -0
  251. package/node_modules/@smithy/middleware-content-length/package.json +7 -8
  252. package/node_modules/@smithy/middleware-endpoint/README.md +10 -3
  253. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +2 -2
  254. package/node_modules/@smithy/middleware-endpoint/package.json +13 -14
  255. package/node_modules/@smithy/middleware-retry/README.md +13 -0
  256. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +70 -29
  257. package/node_modules/@smithy/middleware-retry/dist-es/index.js +5 -4
  258. package/node_modules/@smithy/middleware-retry/dist-es/longPollMiddleware.js +15 -0
  259. package/node_modules/@smithy/middleware-retry/dist-es/parseRetryAfterHeader.js +49 -0
  260. package/node_modules/@smithy/middleware-retry/dist-es/{StandardRetryStrategy.js → retry-pre-sra-deprecated/StandardRetryStrategy.js} +1 -1
  261. package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +13 -20
  262. package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +3 -1
  263. package/node_modules/@smithy/middleware-retry/dist-types/index.d.ts +5 -4
  264. package/node_modules/@smithy/middleware-retry/dist-types/longPollMiddleware.d.ts +15 -0
  265. package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +2 -0
  266. package/node_modules/@smithy/middleware-retry/dist-types/parseRetryAfterHeader.d.ts +10 -0
  267. package/node_modules/@smithy/middleware-retry/dist-types/{AdaptiveRetryStrategy.d.ts → retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts} +2 -1
  268. package/node_modules/@smithy/middleware-retry/dist-types/{defaultRetryQuota.d.ts → retry-pre-sra-deprecated/defaultRetryQuota.d.ts} +2 -0
  269. package/node_modules/@smithy/middleware-retry/dist-types/{delayDecider.d.ts → retry-pre-sra-deprecated/delayDecider.d.ts} +2 -1
  270. package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +0 -4
  271. package/node_modules/@smithy/middleware-retry/package.json +16 -16
  272. package/node_modules/@smithy/middleware-serde/README.md +13 -0
  273. package/node_modules/@smithy/middleware-serde/package.json +10 -11
  274. package/node_modules/@smithy/middleware-stack/README.md +13 -0
  275. package/node_modules/@smithy/middleware-stack/package.json +7 -8
  276. package/node_modules/@smithy/node-config-provider/README.md +10 -3
  277. package/node_modules/@smithy/node-config-provider/package.json +8 -9
  278. package/node_modules/@smithy/node-http-handler/package.json +10 -11
  279. package/node_modules/@smithy/property-provider/README.md +10 -3
  280. package/node_modules/@smithy/property-provider/package.json +6 -7
  281. package/node_modules/@smithy/protocol-http/README.md +13 -0
  282. package/node_modules/@smithy/protocol-http/package.json +6 -7
  283. package/node_modules/@smithy/querystring-builder/README.md +10 -3
  284. package/node_modules/@smithy/querystring-builder/package.json +6 -7
  285. package/node_modules/@smithy/querystring-parser/README.md +10 -3
  286. package/node_modules/@smithy/querystring-parser/package.json +6 -7
  287. package/node_modules/@smithy/service-error-classification/README.md +13 -0
  288. package/node_modules/@smithy/service-error-classification/package.json +6 -7
  289. package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -8
  290. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +13 -0
  291. package/node_modules/@smithy/signature-v4/package.json +9 -10
  292. package/node_modules/@smithy/smithy-client/README.md +10 -3
  293. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -1
  294. package/node_modules/@smithy/smithy-client/package.json +14 -15
  295. package/node_modules/@smithy/types/dist-types/middleware.d.ts +6 -0
  296. package/node_modules/@smithy/types/dist-types/retry.d.ts +4 -0
  297. package/node_modules/@smithy/types/package.json +7 -8
  298. package/node_modules/@smithy/url-parser/README.md +10 -3
  299. package/node_modules/@smithy/url-parser/package.json +7 -8
  300. package/node_modules/@smithy/util-defaults-mode-browser/README.md +10 -3
  301. package/node_modules/@smithy/util-defaults-mode-browser/package.json +8 -9
  302. package/node_modules/@smithy/util-defaults-mode-node/README.md +10 -3
  303. package/node_modules/@smithy/util-defaults-mode-node/package.json +11 -12
  304. package/node_modules/@smithy/util-endpoints/README.md +10 -3
  305. package/node_modules/@smithy/util-endpoints/package.json +9 -10
  306. package/node_modules/@smithy/util-middleware/README.md +9 -4
  307. package/node_modules/@smithy/util-middleware/package.json +6 -7
  308. package/node_modules/@smithy/util-retry/dist-cjs/index.js +129 -80
  309. package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +7 -4
  310. package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +2 -2
  311. package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +30 -29
  312. package/node_modules/@smithy/util-retry/dist-es/DefaultRetryBackoffStrategy.js +14 -0
  313. package/node_modules/@smithy/util-retry/dist-es/DefaultRetryToken.js +25 -0
  314. package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +39 -26
  315. package/node_modules/@smithy/util-retry/dist-es/index.js +1 -0
  316. package/node_modules/@smithy/util-retry/dist-es/retries-2026-config.js +18 -0
  317. package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +8 -8
  318. package/node_modules/@smithy/util-retry/dist-types/ConfiguredRetryStrategy.d.ts +2 -2
  319. package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +78 -8
  320. package/node_modules/@smithy/util-retry/dist-types/DefaultRetryBackoffStrategy.d.ts +12 -0
  321. package/node_modules/@smithy/util-retry/dist-types/DefaultRetryToken.d.ts +15 -0
  322. package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +21 -4
  323. package/node_modules/@smithy/util-retry/dist-types/config.d.ts +4 -4
  324. package/node_modules/@smithy/util-retry/dist-types/constants.d.ts +15 -14
  325. package/node_modules/@smithy/util-retry/dist-types/index.d.ts +1 -0
  326. package/node_modules/@smithy/util-retry/dist-types/retries-2026-config.d.ts +11 -0
  327. package/node_modules/@smithy/util-retry/dist-types/types.d.ts +1 -1
  328. package/node_modules/@smithy/util-retry/package.json +10 -11
  329. package/node_modules/@smithy/util-stream/package.json +12 -13
  330. package/node_modules/@smithy/util-waiter/README.md +10 -3
  331. package/node_modules/@smithy/util-waiter/package.json +7 -8
  332. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
  333. package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
  334. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
  335. package/node_modules/path-expression-matcher/package.json +1 -1
  336. package/node_modules/path-expression-matcher/src/Matcher.js +20 -6
  337. package/package.json +3 -3
  338. package/node_modules/@smithy/abort-controller/LICENSE +0 -201
  339. package/node_modules/@smithy/abort-controller/README.md +0 -4
  340. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -32
  341. package/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -7
  342. package/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -20
  343. package/node_modules/@smithy/abort-controller/dist-es/index.js +0 -2
  344. package/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -16
  345. package/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +0 -21
  346. package/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -9
  347. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -16
  348. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +0 -21
  349. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -9
  350. package/node_modules/@smithy/abort-controller/package.json +0 -63
  351. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +0 -23
  352. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +0 -23
  353. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/index.d.ts +0 -16
  354. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +0 -37
  355. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +0 -57
  356. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/utils/getEndpointFromRegion.d.ts +0 -11
  357. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/index.d.ts +0 -12
  358. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/checkRegion.d.ts +0 -9
  359. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +0 -17
  360. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +0 -4
  361. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +0 -8
  362. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +0 -4
  363. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +0 -34
  364. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts +0 -11
  365. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts +0 -10
  366. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts +0 -15
  367. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts +0 -13
  368. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts +0 -14
  369. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts +0 -19
  370. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts +0 -13
  371. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts +0 -13
  372. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts +0 -14
  373. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/index.d.ts +0 -12
  374. package/node_modules/@smithy/core/dist-types/ts3.4/getSmithyContext.d.ts +0 -5
  375. package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +0 -8
  376. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +0 -18
  377. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +0 -18
  378. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +0 -33
  379. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/index.d.ts +0 -3
  380. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts +0 -10
  381. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/getHttpSigningMiddleware.d.ts +0 -9
  382. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/httpSigningMiddleware.d.ts +0 -5
  383. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/index.d.ts +0 -2
  384. package/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts +0 -7
  385. package/node_modules/@smithy/core/dist-types/ts3.4/pagination/createPaginator.d.ts +0 -7
  386. package/node_modules/@smithy/core/dist-types/ts3.4/request-builder/requestBuilder.d.ts +0 -5
  387. package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +0 -12
  388. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +0 -33
  389. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +0 -28
  390. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +0 -6
  391. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +0 -17
  392. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +0 -9
  393. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +0 -65
  394. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +0 -26
  395. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +0 -5
  396. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +0 -31
  397. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +0 -1
  398. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +0 -6
  399. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +0 -60
  400. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +0 -1
  401. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +0 -31
  402. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +0 -89
  403. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +0 -16
  404. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +0 -16
  405. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +0 -10
  406. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +0 -7
  407. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +0 -13
  408. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +0 -51
  409. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +0 -4
  410. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +0 -13
  411. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +0 -21
  412. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +0 -23
  413. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +0 -14
  414. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +0 -9
  415. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +0 -71
  416. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +0 -6
  417. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +0 -14
  418. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +0 -14
  419. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +0 -11
  420. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +0 -9
  421. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +0 -6
  422. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +0 -37
  423. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +0 -23
  424. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +0 -24
  425. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +0 -146
  426. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +0 -23
  427. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +0 -16
  428. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +0 -28
  429. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +0 -23
  430. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +0 -7
  431. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +0 -23
  432. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +0 -13
  433. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +0 -6
  434. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts +0 -73
  435. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +0 -2
  436. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +0 -10
  437. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts +0 -45
  438. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +0 -270
  439. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts +0 -6
  440. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +0 -47
  441. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts +0 -11
  442. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts +0 -5
  443. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +0 -33
  444. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +0 -15
  445. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +0 -8
  446. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +0 -8
  447. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/index.d.ts +0 -3
  448. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +0 -8
  449. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/index.d.ts +0 -3
  450. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/memoizeIdentityProvider.d.ts +0 -30
  451. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +0 -7
  452. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +0 -13
  453. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +0 -7
  454. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +0 -13
  455. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +0 -12
  456. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +0 -21
  457. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +0 -10
  458. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +0 -28
  459. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +0 -19
  460. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +0 -40
  461. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -6
  462. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +0 -8
  463. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +0 -10
  464. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +0 -7
  465. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
  466. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +0 -21
  467. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +0 -16
  468. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +0 -6
  469. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +0 -42
  470. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +0 -2
  471. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +0 -1
  472. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +0 -2
  473. package/node_modules/@smithy/hash-node/dist-types/ts3.4/index.d.ts +0 -13
  474. package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/index.d.ts +0 -8
  475. package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidFunction.d.ts +0 -4
  476. package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidProvider.d.ts +0 -5
  477. package/node_modules/@smithy/middleware-content-length/dist-types/ts3.4/index.d.ts +0 -6
  478. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts +0 -14
  479. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.browser.d.ts +0 -1
  480. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts +0 -4
  481. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromInstructions.d.ts +0 -28
  482. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointUrlConfig.d.ts +0 -2
  483. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/index.d.ts +0 -8
  484. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +0 -6
  485. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/endpointMiddleware.d.ts +0 -10
  486. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/getEndpointPlugin.d.ts +0 -11
  487. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +0 -18
  488. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +0 -109
  489. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +0 -32
  490. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/index.d.ts +0 -4
  491. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/s3.d.ts +0 -26
  492. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/types.d.ts +0 -41
  493. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +0 -23
  494. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +0 -33
  495. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +0 -66
  496. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/defaultRetryQuota.d.ts +0 -24
  497. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/delayDecider.d.ts +0 -5
  498. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/index.d.ts +0 -7
  499. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.browser.d.ts +0 -5
  500. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.d.ts +0 -5
  501. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/omitRetryHeadersMiddleware.d.ts +0 -13
  502. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts +0 -6
  503. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryMiddleware.d.ts +0 -18
  504. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/types.d.ts +0 -65
  505. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/util.d.ts +0 -2
  506. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +0 -6
  507. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/index.d.ts +0 -3
  508. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +0 -24
  509. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +0 -6
  510. package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +0 -5
  511. package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/index.d.ts +0 -1
  512. package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/types.d.ts +0 -22
  513. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +0 -31
  514. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +0 -20
  515. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +0 -22
  516. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +0 -9
  517. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts +0 -9
  518. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/index.d.ts +0 -4
  519. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +0 -10
  520. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
  521. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -4
  522. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
  523. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -46
  524. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -24
  525. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -12
  526. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -63
  527. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -13
  528. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -12
  529. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
  530. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +0 -6
  531. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
  532. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
  533. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -5
  534. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -6
  535. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -13
  536. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -8
  537. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -12
  538. package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -31
  539. package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
  540. package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -31
  541. package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
  542. package/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
  543. package/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
  544. package/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
  545. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +0 -50
  546. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -44
  547. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -33
  548. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -1
  549. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -35
  550. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -56
  551. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -29
  552. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +0 -8
  553. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -1
  554. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +0 -21
  555. package/node_modules/@smithy/querystring-builder/dist-types/ts3.4/index.d.ts +0 -5
  556. package/node_modules/@smithy/querystring-parser/dist-types/ts3.4/index.d.ts +0 -5
  557. package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +0 -30
  558. package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +0 -24
  559. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts +0 -4
  560. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +0 -9
  561. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
  562. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
  563. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
  564. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
  565. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -15
  566. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -5
  567. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -52
  568. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
  569. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -10
  570. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -33
  571. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -17
  572. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
  573. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
  574. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -18
  575. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts +0 -21
  576. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -16
  577. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +0 -24
  578. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +0 -21
  579. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +0 -69
  580. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts +0 -43
  581. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +0 -30
  582. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +0 -5
  583. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +0 -5
  584. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +0 -5
  585. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts +0 -4
  586. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +0 -11
  587. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +0 -10
  588. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +0 -5
  589. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +0 -24
  590. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/suite.fixture.d.ts +0 -14
  591. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts +0 -2
  592. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/NoOpLogger.d.ts +0 -11
  593. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +0 -87
  594. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts +0 -5
  595. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +0 -119
  596. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/constants.d.ts +0 -4
  597. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +0 -18
  598. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/default-error-handler.d.ts +0 -15
  599. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts +0 -28
  600. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/emitWarningIfUnsupportedVersion.d.ts +0 -8
  601. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/exceptions.d.ts +0 -42
  602. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts +0 -5
  603. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +0 -26
  604. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -38
  605. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts +0 -1
  606. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +0 -18
  607. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-array-if-single-item.d.ts +0 -7
  608. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-value-from-text-node.d.ts +0 -7
  609. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +0 -21
  610. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/is-serializable-header-value.d.ts +0 -5
  611. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/object-mapping.d.ts +0 -178
  612. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts +0 -5
  613. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts +0 -9
  614. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts +0 -15
  615. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts +0 -12
  616. package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +0 -7
  617. package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +0 -50
  618. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -7
  619. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -49
  620. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -20
  621. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -41
  622. package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -14
  623. package/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +0 -57
  624. package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +0 -6
  625. package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -40
  626. package/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +0 -63
  627. package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +0 -57
  628. package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +0 -28
  629. package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +0 -10
  630. package/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +0 -3
  631. package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +0 -34
  632. package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +0 -32
  633. package/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +0 -60
  634. package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -41
  635. package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +0 -31
  636. package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +0 -77
  637. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -27
  638. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -10
  639. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -28
  640. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -16
  641. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +0 -5
  642. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +0 -55
  643. package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +0 -137
  644. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +0 -58
  645. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -33
  646. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -9
  647. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +0 -4
  648. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +0 -18
  649. package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -35
  650. package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +0 -16
  651. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -128
  652. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +0 -113
  653. package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -14
  654. package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -31
  655. package/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +0 -15
  656. package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +0 -4
  657. package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -14
  658. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +0 -43
  659. package/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +0 -13
  660. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +0 -534
  661. package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +0 -33
  662. package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +0 -30
  663. package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +0 -40
  664. package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +0 -133
  665. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +0 -149
  666. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +0 -251
  667. package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +0 -65
  668. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +0 -118
  669. package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +0 -46
  670. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +0 -114
  671. package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +0 -82
  672. package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +0 -155
  673. package/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +0 -22
  674. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -32
  675. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -60
  676. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -51
  677. package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +0 -41
  678. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -26
  679. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -81
  680. package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +0 -14
  681. package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +0 -6
  682. package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +0 -88
  683. package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +0 -41
  684. package/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +0 -17
  685. package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +0 -192
  686. package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +0 -35
  687. package/node_modules/@smithy/url-parser/dist-types/ts3.4/index.d.ts +0 -5
  688. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/constants.d.ts +0 -12
  689. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/index.d.ts +0 -4
  690. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts +0 -17
  691. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.native.d.ts +0 -16
  692. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/constants.d.ts +0 -24
  693. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/defaultsModeConfig.d.ts +0 -6
  694. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/index.d.ts +0 -4
  695. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts +0 -17
  696. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts +0 -34
  697. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/debugId.d.ts +0 -1
  698. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/index.d.ts +0 -2
  699. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/toDebugString.d.ts +0 -9
  700. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/getEndpointUrlConfig.d.ts +0 -2
  701. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
  702. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts +0 -5
  703. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts +0 -7
  704. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts +0 -4
  705. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/index.d.ts +0 -9
  706. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -4
  707. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts +0 -5
  708. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts +0 -7
  709. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/not.d.ts +0 -5
  710. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts +0 -5
  711. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts +0 -5
  712. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/substring.d.ts +0 -7
  713. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts +0 -4
  714. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -6
  715. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -3
  716. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointFunctions.d.ts +0 -2
  717. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -5
  718. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -2
  719. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -4
  720. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -3
  721. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -7
  722. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -25
  723. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +0 -1
  724. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/customEndpointFunctions.d.ts +0 -4
  725. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts +0 -11
  726. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts +0 -8
  727. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts +0 -8
  728. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts +0 -3
  729. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts +0 -2
  730. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +0 -7
  731. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +0 -8
  732. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts +0 -2
  733. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +0 -1
  734. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts +0 -2
  735. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +0 -8
  736. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +0 -1
  737. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts +0 -2
  738. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts +0 -2
  739. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/index.d.ts +0 -2
  740. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts +0 -5
  741. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts +0 -8
  742. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/normalizeProvider.d.ts +0 -7
  743. package/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js +0 -14
  744. package/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js +0 -11
  745. package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +0 -5
  746. package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +0 -9
  747. package/node_modules/@smithy/util-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +0 -33
  748. package/node_modules/@smithy/util-retry/dist-types/ts3.4/ConfiguredRetryStrategy.d.ts +0 -32
  749. package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +0 -49
  750. package/node_modules/@smithy/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +0 -26
  751. package/node_modules/@smithy/util-retry/dist-types/ts3.4/config.d.ts +0 -20
  752. package/node_modules/@smithy/util-retry/dist-types/ts3.4/constants.d.ts +0 -59
  753. package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryBackoffStrategy.d.ts +0 -5
  754. package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts +0 -9
  755. package/node_modules/@smithy/util-retry/dist-types/ts3.4/index.d.ts +0 -7
  756. package/node_modules/@smithy/util-retry/dist-types/ts3.4/types.d.ts +0 -19
  757. package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +0 -13
  758. package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts +0 -22
  759. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts +0 -37
  760. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +0 -61
  761. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +0 -14
  762. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +0 -13
  763. package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +0 -15
  764. package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts +0 -54
  765. package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.browser.d.ts +0 -5
  766. package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +0 -10
  767. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +0 -7
  768. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +0 -9
  769. package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +0 -12
  770. package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.browser.d.ts +0 -7
  771. package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts +0 -8
  772. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts +0 -8
  773. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +0 -17
  774. package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +0 -17
  775. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts +0 -6
  776. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/createWaiter.d.ts +0 -11
  777. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/index.d.ts +0 -2
  778. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts +0 -10
  779. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/index.d.ts +0 -8
  780. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/sleep.d.ts +0 -4
  781. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/validate.d.ts +0 -8
  782. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/waiter.d.ts +0 -49
  783. /package/node_modules/@smithy/middleware-retry/dist-es/{AdaptiveRetryStrategy.js → retry-pre-sra-deprecated/AdaptiveRetryStrategy.js} +0 -0
  784. /package/node_modules/@smithy/middleware-retry/dist-es/{defaultRetryQuota.js → retry-pre-sra-deprecated/defaultRetryQuota.js} +0 -0
  785. /package/node_modules/@smithy/middleware-retry/dist-es/{delayDecider.js → retry-pre-sra-deprecated/delayDecider.js} +0 -0
  786. /package/node_modules/@smithy/middleware-retry/dist-es/{retryDecider.js → retry-pre-sra-deprecated/retryDecider.js} +0 -0
  787. /package/node_modules/@smithy/middleware-retry/dist-es/{types.js → retry-pre-sra-deprecated/types.js} +0 -0
  788. /package/node_modules/@smithy/middleware-retry/dist-types/{StandardRetryStrategy.d.ts → retry-pre-sra-deprecated/StandardRetryStrategy.d.ts} +0 -0
  789. /package/node_modules/@smithy/middleware-retry/dist-types/{retryDecider.d.ts → retry-pre-sra-deprecated/retryDecider.d.ts} +0 -0
  790. /package/node_modules/@smithy/middleware-retry/dist-types/{types.d.ts → retry-pre-sra-deprecated/types.d.ts} +0 -0
  791. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/.github/SECURITY.md +0 -0
  792. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/.vscode/launch.json +0 -0
  793. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/CHANGELOG.md +0 -0
  794. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/LICENSE +0 -0
  795. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/README.md +0 -0
  796. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/algo.stflow +0 -0
  797. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/package.json +0 -0
  798. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/strnum.js +0 -0
  799. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/tests/infinity_test.js +0 -0
  800. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/tests/strnum_test.js +0 -0
  801. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/tests/temp.js +0 -0
@@ -349,6 +349,7 @@ function bindCallerConfig(config, credentialsProvider) {
349
349
 
350
350
  class ProtocolLib {
351
351
  queryCompat;
352
+ errorRegistry;
352
353
  constructor(queryCompat = false) {
353
354
  this.queryCompat = queryCompat;
354
355
  }
@@ -384,30 +385,47 @@ class ProtocolLib {
384
385
  }
385
386
  }
386
387
  async getErrorSchemaOrThrowBaseException(errorIdentifier, defaultNamespace, response, dataObject, metadata, getErrorSchema) {
387
- let namespace = defaultNamespace;
388
388
  let errorName = errorIdentifier;
389
389
  if (errorIdentifier.includes("#")) {
390
- [namespace, errorName] = errorIdentifier.split("#");
390
+ [, errorName] = errorIdentifier.split("#");
391
391
  }
392
392
  const errorMetadata = {
393
393
  $metadata: metadata,
394
394
  $fault: response.statusCode < 500 ? "client" : "server",
395
395
  };
396
- const registry = schema.TypeRegistry.for(namespace);
396
+ if (!this.errorRegistry) {
397
+ throw new Error("@aws-sdk/core/protocols - error handler not initialized.");
398
+ }
397
399
  try {
398
- const errorSchema = getErrorSchema?.(registry, errorName) ?? registry.getSchema(errorIdentifier);
400
+ const errorSchema = getErrorSchema?.(this.errorRegistry, errorName) ??
401
+ this.errorRegistry.getSchema(errorIdentifier);
399
402
  return { errorSchema, errorMetadata };
400
403
  }
401
404
  catch (e) {
402
405
  dataObject.message = dataObject.message ?? dataObject.Message ?? "UnknownError";
403
- const synthetic = schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
406
+ const synthetic = this.errorRegistry;
404
407
  const baseExceptionSchema = synthetic.getBaseException();
405
408
  if (baseExceptionSchema) {
406
409
  const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error;
407
410
  throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject);
408
411
  }
409
- throw this.decorateServiceException(Object.assign(new Error(errorName), errorMetadata), dataObject);
412
+ const d = dataObject;
413
+ const message = d?.message ?? d?.Message ?? d?.Error?.Message ?? d?.Error?.message;
414
+ throw this.decorateServiceException(Object.assign(new Error(message), {
415
+ name: errorName,
416
+ }, errorMetadata), dataObject);
417
+ }
418
+ }
419
+ compose(composite, errorIdentifier, defaultNamespace) {
420
+ let namespace = defaultNamespace;
421
+ if (errorIdentifier.includes("#")) {
422
+ [namespace] = errorIdentifier.split("#");
410
423
  }
424
+ const staticRegistry = schema.TypeRegistry.for(namespace);
425
+ const defaultSyntheticRegistry = schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + defaultNamespace);
426
+ composite.copyFrom(staticRegistry);
427
+ composite.copyFrom(defaultSyntheticRegistry);
428
+ this.errorRegistry = composite;
411
429
  }
412
430
  decorateServiceException(exception, additions = {}) {
413
431
  if (this.queryCompat) {
@@ -471,8 +489,8 @@ class ProtocolLib {
471
489
  class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {
472
490
  awsQueryCompatible;
473
491
  mixin;
474
- constructor({ defaultNamespace, awsQueryCompatible, }) {
475
- super({ defaultNamespace });
492
+ constructor({ defaultNamespace, errorTypeRegistries, awsQueryCompatible, }) {
493
+ super({ defaultNamespace, errorTypeRegistries });
476
494
  this.awsQueryCompatible = !!awsQueryCompatible;
477
495
  this.mixin = new ProtocolLib(this.awsQueryCompatible);
478
496
  }
@@ -494,10 +512,11 @@ class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {
494
512
  }
495
513
  return cbor.loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
496
514
  })();
515
+ this.mixin.compose(this.compositeErrorRegistry, errorName, this.options.defaultNamespace);
497
516
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
498
517
  const ns = schema.NormalizedSchema.of(errorSchema);
499
- const message = dataObject.message ?? dataObject.Message ?? "Unknown";
500
- const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
518
+ const message = dataObject.message ?? dataObject.Message ?? "UnknownError";
519
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
501
520
  const exception = new ErrorCtor(message);
502
521
  const output = {};
503
522
  for (const [name, member] of ns.structIterator()) {
@@ -1054,9 +1073,10 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
1054
1073
  codec;
1055
1074
  mixin;
1056
1075
  awsQueryCompatible;
1057
- constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {
1076
+ constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) {
1058
1077
  super({
1059
1078
  defaultNamespace,
1079
+ errorTypeRegistries,
1060
1080
  });
1061
1081
  this.serviceTarget = serviceTarget;
1062
1082
  this.codec =
@@ -1098,10 +1118,11 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
1098
1118
  this.mixin.setQueryCompatError(dataObject, response);
1099
1119
  }
1100
1120
  const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
1121
+ this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
1101
1122
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
1102
1123
  const ns = schema.NormalizedSchema.of(errorSchema);
1103
- const message = dataObject.message ?? dataObject.Message ?? "Unknown";
1104
- const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
1124
+ const message = dataObject.message ?? dataObject.Message ?? "UnknownError";
1125
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
1105
1126
  const exception = new ErrorCtor(message);
1106
1127
  const output = {};
1107
1128
  for (const [name, member] of ns.structIterator()) {
@@ -1120,9 +1141,10 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
1120
1141
  }
1121
1142
 
1122
1143
  class AwsJson1_0Protocol extends AwsJsonRpcProtocol {
1123
- constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {
1144
+ constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) {
1124
1145
  super({
1125
1146
  defaultNamespace,
1147
+ errorTypeRegistries,
1126
1148
  serviceTarget,
1127
1149
  awsQueryCompatible,
1128
1150
  jsonCodec,
@@ -1140,9 +1162,10 @@ class AwsJson1_0Protocol extends AwsJsonRpcProtocol {
1140
1162
  }
1141
1163
 
1142
1164
  class AwsJson1_1Protocol extends AwsJsonRpcProtocol {
1143
- constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {
1165
+ constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) {
1144
1166
  super({
1145
1167
  defaultNamespace,
1168
+ errorTypeRegistries,
1146
1169
  serviceTarget,
1147
1170
  awsQueryCompatible,
1148
1171
  jsonCodec,
@@ -1164,9 +1187,10 @@ class AwsRestJsonProtocol extends protocols.HttpBindingProtocol {
1164
1187
  deserializer;
1165
1188
  codec;
1166
1189
  mixin = new ProtocolLib();
1167
- constructor({ defaultNamespace }) {
1190
+ constructor({ defaultNamespace, errorTypeRegistries, }) {
1168
1191
  super({
1169
1192
  defaultNamespace,
1193
+ errorTypeRegistries,
1170
1194
  });
1171
1195
  const settings = {
1172
1196
  timestampFormat: {
@@ -1216,10 +1240,11 @@ class AwsRestJsonProtocol extends protocols.HttpBindingProtocol {
1216
1240
  }
1217
1241
  async handleError(operationSchema, context, response, dataObject, metadata) {
1218
1242
  const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
1243
+ this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
1219
1244
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
1220
1245
  const ns = schema.NormalizedSchema.of(errorSchema);
1221
- const message = dataObject.message ?? dataObject.Message ?? "Unknown";
1222
- const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
1246
+ const message = dataObject.message ?? dataObject.Message ?? "UnknownError";
1247
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
1223
1248
  const exception = new ErrorCtor(message);
1224
1249
  await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
1225
1250
  const output = {};
@@ -1585,6 +1610,7 @@ class AwsQueryProtocol extends protocols.RpcProtocol {
1585
1610
  constructor(options) {
1586
1611
  super({
1587
1612
  defaultNamespace: options.defaultNamespace,
1613
+ errorTypeRegistries: options.errorTypeRegistries,
1588
1614
  });
1589
1615
  this.options = options;
1590
1616
  const settings = {
@@ -1661,6 +1687,7 @@ class AwsQueryProtocol extends protocols.RpcProtocol {
1661
1687
  }
1662
1688
  async handleError(operationSchema, context, response, dataObject, metadata) {
1663
1689
  const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown";
1690
+ this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
1664
1691
  const errorData = this.loadQueryError(dataObject) ?? {};
1665
1692
  const message = this.loadQueryErrorMessage(dataObject);
1666
1693
  errorData.message = message;
@@ -1671,7 +1698,7 @@ class AwsQueryProtocol extends protocols.RpcProtocol {
1671
1698
  };
1672
1699
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, this.mixin.findQueryCompatibleError);
1673
1700
  const ns = schema.NormalizedSchema.of(errorSchema);
1674
- const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
1701
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
1675
1702
  const exception = new ErrorCtor(message);
1676
1703
  const output = {
1677
1704
  Type: errorData.Error.Type,
@@ -2100,6 +2127,7 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
2100
2127
  this.codec = new XmlCodec(settings);
2101
2128
  this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
2102
2129
  this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
2130
+ this.compositeErrorRegistry;
2103
2131
  }
2104
2132
  getPayloadCodec() {
2105
2133
  return this.codec;
@@ -2129,6 +2157,7 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
2129
2157
  }
2130
2158
  async handleError(operationSchema, context, response, dataObject, metadata) {
2131
2159
  const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown";
2160
+ this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
2132
2161
  if (dataObject.Error && typeof dataObject.Error === "object") {
2133
2162
  for (const key of Object.keys(dataObject.Error)) {
2134
2163
  dataObject[key] = dataObject.Error[key];
@@ -2142,8 +2171,12 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
2142
2171
  }
2143
2172
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
2144
2173
  const ns = schema.NormalizedSchema.of(errorSchema);
2145
- const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
2146
- const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
2174
+ const message = dataObject.Error?.message ??
2175
+ dataObject.Error?.Message ??
2176
+ dataObject.message ??
2177
+ dataObject.Message ??
2178
+ "UnknownError";
2179
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
2147
2180
  const exception = new ErrorCtor(message);
2148
2181
  await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
2149
2182
  const output = {};
@@ -11,6 +11,7 @@ var xmlBuilder = require('@aws-sdk/xml-builder');
11
11
 
12
12
  class ProtocolLib {
13
13
  queryCompat;
14
+ errorRegistry;
14
15
  constructor(queryCompat = false) {
15
16
  this.queryCompat = queryCompat;
16
17
  }
@@ -46,30 +47,47 @@ class ProtocolLib {
46
47
  }
47
48
  }
48
49
  async getErrorSchemaOrThrowBaseException(errorIdentifier, defaultNamespace, response, dataObject, metadata, getErrorSchema) {
49
- let namespace = defaultNamespace;
50
50
  let errorName = errorIdentifier;
51
51
  if (errorIdentifier.includes("#")) {
52
- [namespace, errorName] = errorIdentifier.split("#");
52
+ [, errorName] = errorIdentifier.split("#");
53
53
  }
54
54
  const errorMetadata = {
55
55
  $metadata: metadata,
56
56
  $fault: response.statusCode < 500 ? "client" : "server",
57
57
  };
58
- const registry = schema.TypeRegistry.for(namespace);
58
+ if (!this.errorRegistry) {
59
+ throw new Error("@aws-sdk/core/protocols - error handler not initialized.");
60
+ }
59
61
  try {
60
- const errorSchema = getErrorSchema?.(registry, errorName) ?? registry.getSchema(errorIdentifier);
62
+ const errorSchema = getErrorSchema?.(this.errorRegistry, errorName) ??
63
+ this.errorRegistry.getSchema(errorIdentifier);
61
64
  return { errorSchema, errorMetadata };
62
65
  }
63
66
  catch (e) {
64
67
  dataObject.message = dataObject.message ?? dataObject.Message ?? "UnknownError";
65
- const synthetic = schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
68
+ const synthetic = this.errorRegistry;
66
69
  const baseExceptionSchema = synthetic.getBaseException();
67
70
  if (baseExceptionSchema) {
68
71
  const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error;
69
72
  throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject);
70
73
  }
71
- throw this.decorateServiceException(Object.assign(new Error(errorName), errorMetadata), dataObject);
74
+ const d = dataObject;
75
+ const message = d?.message ?? d?.Message ?? d?.Error?.Message ?? d?.Error?.message;
76
+ throw this.decorateServiceException(Object.assign(new Error(message), {
77
+ name: errorName,
78
+ }, errorMetadata), dataObject);
79
+ }
80
+ }
81
+ compose(composite, errorIdentifier, defaultNamespace) {
82
+ let namespace = defaultNamespace;
83
+ if (errorIdentifier.includes("#")) {
84
+ [namespace] = errorIdentifier.split("#");
72
85
  }
86
+ const staticRegistry = schema.TypeRegistry.for(namespace);
87
+ const defaultSyntheticRegistry = schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + defaultNamespace);
88
+ composite.copyFrom(staticRegistry);
89
+ composite.copyFrom(defaultSyntheticRegistry);
90
+ this.errorRegistry = composite;
73
91
  }
74
92
  decorateServiceException(exception, additions = {}) {
75
93
  if (this.queryCompat) {
@@ -133,8 +151,8 @@ class ProtocolLib {
133
151
  class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {
134
152
  awsQueryCompatible;
135
153
  mixin;
136
- constructor({ defaultNamespace, awsQueryCompatible, }) {
137
- super({ defaultNamespace });
154
+ constructor({ defaultNamespace, errorTypeRegistries, awsQueryCompatible, }) {
155
+ super({ defaultNamespace, errorTypeRegistries });
138
156
  this.awsQueryCompatible = !!awsQueryCompatible;
139
157
  this.mixin = new ProtocolLib(this.awsQueryCompatible);
140
158
  }
@@ -156,10 +174,11 @@ class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {
156
174
  }
157
175
  return cbor.loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
158
176
  })();
177
+ this.mixin.compose(this.compositeErrorRegistry, errorName, this.options.defaultNamespace);
159
178
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
160
179
  const ns = schema.NormalizedSchema.of(errorSchema);
161
- const message = dataObject.message ?? dataObject.Message ?? "Unknown";
162
- const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
180
+ const message = dataObject.message ?? dataObject.Message ?? "UnknownError";
181
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
163
182
  const exception = new ErrorCtor(message);
164
183
  const output = {};
165
184
  for (const [name, member] of ns.structIterator()) {
@@ -716,9 +735,10 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
716
735
  codec;
717
736
  mixin;
718
737
  awsQueryCompatible;
719
- constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {
738
+ constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) {
720
739
  super({
721
740
  defaultNamespace,
741
+ errorTypeRegistries,
722
742
  });
723
743
  this.serviceTarget = serviceTarget;
724
744
  this.codec =
@@ -760,10 +780,11 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
760
780
  this.mixin.setQueryCompatError(dataObject, response);
761
781
  }
762
782
  const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
783
+ this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
763
784
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
764
785
  const ns = schema.NormalizedSchema.of(errorSchema);
765
- const message = dataObject.message ?? dataObject.Message ?? "Unknown";
766
- const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
786
+ const message = dataObject.message ?? dataObject.Message ?? "UnknownError";
787
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
767
788
  const exception = new ErrorCtor(message);
768
789
  const output = {};
769
790
  for (const [name, member] of ns.structIterator()) {
@@ -782,9 +803,10 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
782
803
  }
783
804
 
784
805
  class AwsJson1_0Protocol extends AwsJsonRpcProtocol {
785
- constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {
806
+ constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) {
786
807
  super({
787
808
  defaultNamespace,
809
+ errorTypeRegistries,
788
810
  serviceTarget,
789
811
  awsQueryCompatible,
790
812
  jsonCodec,
@@ -802,9 +824,10 @@ class AwsJson1_0Protocol extends AwsJsonRpcProtocol {
802
824
  }
803
825
 
804
826
  class AwsJson1_1Protocol extends AwsJsonRpcProtocol {
805
- constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {
827
+ constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) {
806
828
  super({
807
829
  defaultNamespace,
830
+ errorTypeRegistries,
808
831
  serviceTarget,
809
832
  awsQueryCompatible,
810
833
  jsonCodec,
@@ -826,9 +849,10 @@ class AwsRestJsonProtocol extends protocols.HttpBindingProtocol {
826
849
  deserializer;
827
850
  codec;
828
851
  mixin = new ProtocolLib();
829
- constructor({ defaultNamespace }) {
852
+ constructor({ defaultNamespace, errorTypeRegistries, }) {
830
853
  super({
831
854
  defaultNamespace,
855
+ errorTypeRegistries,
832
856
  });
833
857
  const settings = {
834
858
  timestampFormat: {
@@ -878,10 +902,11 @@ class AwsRestJsonProtocol extends protocols.HttpBindingProtocol {
878
902
  }
879
903
  async handleError(operationSchema, context, response, dataObject, metadata) {
880
904
  const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
905
+ this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
881
906
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
882
907
  const ns = schema.NormalizedSchema.of(errorSchema);
883
- const message = dataObject.message ?? dataObject.Message ?? "Unknown";
884
- const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
908
+ const message = dataObject.message ?? dataObject.Message ?? "UnknownError";
909
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
885
910
  const exception = new ErrorCtor(message);
886
911
  await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
887
912
  const output = {};
@@ -1247,6 +1272,7 @@ class AwsQueryProtocol extends protocols.RpcProtocol {
1247
1272
  constructor(options) {
1248
1273
  super({
1249
1274
  defaultNamespace: options.defaultNamespace,
1275
+ errorTypeRegistries: options.errorTypeRegistries,
1250
1276
  });
1251
1277
  this.options = options;
1252
1278
  const settings = {
@@ -1323,6 +1349,7 @@ class AwsQueryProtocol extends protocols.RpcProtocol {
1323
1349
  }
1324
1350
  async handleError(operationSchema, context, response, dataObject, metadata) {
1325
1351
  const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown";
1352
+ this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
1326
1353
  const errorData = this.loadQueryError(dataObject) ?? {};
1327
1354
  const message = this.loadQueryErrorMessage(dataObject);
1328
1355
  errorData.message = message;
@@ -1333,7 +1360,7 @@ class AwsQueryProtocol extends protocols.RpcProtocol {
1333
1360
  };
1334
1361
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, this.mixin.findQueryCompatibleError);
1335
1362
  const ns = schema.NormalizedSchema.of(errorSchema);
1336
- const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
1363
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
1337
1364
  const exception = new ErrorCtor(message);
1338
1365
  const output = {
1339
1366
  Type: errorData.Error.Type,
@@ -1762,6 +1789,7 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
1762
1789
  this.codec = new XmlCodec(settings);
1763
1790
  this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
1764
1791
  this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
1792
+ this.compositeErrorRegistry;
1765
1793
  }
1766
1794
  getPayloadCodec() {
1767
1795
  return this.codec;
@@ -1791,6 +1819,7 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
1791
1819
  }
1792
1820
  async handleError(operationSchema, context, response, dataObject, metadata) {
1793
1821
  const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown";
1822
+ this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
1794
1823
  if (dataObject.Error && typeof dataObject.Error === "object") {
1795
1824
  for (const key of Object.keys(dataObject.Error)) {
1796
1825
  dataObject[key] = dataObject.Error[key];
@@ -1804,8 +1833,12 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
1804
1833
  }
1805
1834
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
1806
1835
  const ns = schema.NormalizedSchema.of(errorSchema);
1807
- const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
1808
- const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
1836
+ const message = dataObject.Error?.message ??
1837
+ dataObject.Error?.Message ??
1838
+ dataObject.message ??
1839
+ dataObject.Message ??
1840
+ "UnknownError";
1841
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
1809
1842
  const exception = new ErrorCtor(message);
1810
1843
  await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
1811
1844
  const output = {};
@@ -2,6 +2,7 @@ import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
2
2
  import { decorateServiceException } from "@smithy/smithy-client";
3
3
  export class ProtocolLib {
4
4
  queryCompat;
5
+ errorRegistry;
5
6
  constructor(queryCompat = false) {
6
7
  this.queryCompat = queryCompat;
7
8
  }
@@ -37,30 +38,47 @@ export class ProtocolLib {
37
38
  }
38
39
  }
39
40
  async getErrorSchemaOrThrowBaseException(errorIdentifier, defaultNamespace, response, dataObject, metadata, getErrorSchema) {
40
- let namespace = defaultNamespace;
41
41
  let errorName = errorIdentifier;
42
42
  if (errorIdentifier.includes("#")) {
43
- [namespace, errorName] = errorIdentifier.split("#");
43
+ [, errorName] = errorIdentifier.split("#");
44
44
  }
45
45
  const errorMetadata = {
46
46
  $metadata: metadata,
47
47
  $fault: response.statusCode < 500 ? "client" : "server",
48
48
  };
49
- const registry = TypeRegistry.for(namespace);
49
+ if (!this.errorRegistry) {
50
+ throw new Error("@aws-sdk/core/protocols - error handler not initialized.");
51
+ }
50
52
  try {
51
- const errorSchema = getErrorSchema?.(registry, errorName) ?? registry.getSchema(errorIdentifier);
53
+ const errorSchema = getErrorSchema?.(this.errorRegistry, errorName) ??
54
+ this.errorRegistry.getSchema(errorIdentifier);
52
55
  return { errorSchema, errorMetadata };
53
56
  }
54
57
  catch (e) {
55
58
  dataObject.message = dataObject.message ?? dataObject.Message ?? "UnknownError";
56
- const synthetic = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
59
+ const synthetic = this.errorRegistry;
57
60
  const baseExceptionSchema = synthetic.getBaseException();
58
61
  if (baseExceptionSchema) {
59
62
  const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error;
60
63
  throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject);
61
64
  }
62
- throw this.decorateServiceException(Object.assign(new Error(errorName), errorMetadata), dataObject);
65
+ const d = dataObject;
66
+ const message = d?.message ?? d?.Message ?? d?.Error?.Message ?? d?.Error?.message;
67
+ throw this.decorateServiceException(Object.assign(new Error(message), {
68
+ name: errorName,
69
+ }, errorMetadata), dataObject);
70
+ }
71
+ }
72
+ compose(composite, errorIdentifier, defaultNamespace) {
73
+ let namespace = defaultNamespace;
74
+ if (errorIdentifier.includes("#")) {
75
+ [namespace] = errorIdentifier.split("#");
63
76
  }
77
+ const staticRegistry = TypeRegistry.for(namespace);
78
+ const defaultSyntheticRegistry = TypeRegistry.for("smithy.ts.sdk.synthetic." + defaultNamespace);
79
+ composite.copyFrom(staticRegistry);
80
+ composite.copyFrom(defaultSyntheticRegistry);
81
+ this.errorRegistry = composite;
64
82
  }
65
83
  decorateServiceException(exception, additions = {}) {
66
84
  if (this.queryCompat) {
@@ -1,11 +1,11 @@
1
1
  import { loadSmithyRpcV2CborErrorCode, SmithyRpcV2CborProtocol } from "@smithy/core/cbor";
2
- import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
2
+ import { NormalizedSchema } from "@smithy/core/schema";
3
3
  import { ProtocolLib } from "../ProtocolLib";
4
4
  export class AwsSmithyRpcV2CborProtocol extends SmithyRpcV2CborProtocol {
5
5
  awsQueryCompatible;
6
6
  mixin;
7
- constructor({ defaultNamespace, awsQueryCompatible, }) {
8
- super({ defaultNamespace });
7
+ constructor({ defaultNamespace, errorTypeRegistries, awsQueryCompatible, }) {
8
+ super({ defaultNamespace, errorTypeRegistries });
9
9
  this.awsQueryCompatible = !!awsQueryCompatible;
10
10
  this.mixin = new ProtocolLib(this.awsQueryCompatible);
11
11
  }
@@ -27,10 +27,11 @@ export class AwsSmithyRpcV2CborProtocol extends SmithyRpcV2CborProtocol {
27
27
  }
28
28
  return loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
29
29
  })();
30
+ this.mixin.compose(this.compositeErrorRegistry, errorName, this.options.defaultNamespace);
30
31
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
31
32
  const ns = NormalizedSchema.of(errorSchema);
32
- const message = dataObject.message ?? dataObject.Message ?? "Unknown";
33
- const ErrorCtor = TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
33
+ const message = dataObject.message ?? dataObject.Message ?? "UnknownError";
34
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
34
35
  const exception = new ErrorCtor(message);
35
36
  const output = {};
36
37
  for (const [name, member] of ns.structIterator()) {
@@ -1,8 +1,9 @@
1
1
  import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
2
2
  export class AwsJson1_0Protocol extends AwsJsonRpcProtocol {
3
- constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {
3
+ constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) {
4
4
  super({
5
5
  defaultNamespace,
6
+ errorTypeRegistries,
6
7
  serviceTarget,
7
8
  awsQueryCompatible,
8
9
  jsonCodec,
@@ -1,8 +1,9 @@
1
1
  import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
2
2
  export class AwsJson1_1Protocol extends AwsJsonRpcProtocol {
3
- constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {
3
+ constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) {
4
4
  super({
5
5
  defaultNamespace,
6
+ errorTypeRegistries,
6
7
  serviceTarget,
7
8
  awsQueryCompatible,
8
9
  jsonCodec,
@@ -1,5 +1,5 @@
1
1
  import { RpcProtocol } from "@smithy/core/protocols";
2
- import { deref, NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
2
+ import { deref, NormalizedSchema } from "@smithy/core/schema";
3
3
  import { ProtocolLib } from "../ProtocolLib";
4
4
  import { JsonCodec } from "./JsonCodec";
5
5
  import { loadRestJsonErrorCode } from "./parseJsonBody";
@@ -10,9 +10,10 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
10
10
  codec;
11
11
  mixin;
12
12
  awsQueryCompatible;
13
- constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {
13
+ constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) {
14
14
  super({
15
15
  defaultNamespace,
16
+ errorTypeRegistries,
16
17
  });
17
18
  this.serviceTarget = serviceTarget;
18
19
  this.codec =
@@ -54,10 +55,11 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
54
55
  this.mixin.setQueryCompatError(dataObject, response);
55
56
  }
56
57
  const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
58
+ this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
57
59
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
58
60
  const ns = NormalizedSchema.of(errorSchema);
59
- const message = dataObject.message ?? dataObject.Message ?? "Unknown";
60
- const ErrorCtor = TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
61
+ const message = dataObject.message ?? dataObject.Message ?? "UnknownError";
62
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
61
63
  const exception = new ErrorCtor(message);
62
64
  const output = {};
63
65
  for (const [name, member] of ns.structIterator()) {
@@ -1,5 +1,5 @@
1
1
  import { HttpBindingProtocol, HttpInterceptingShapeDeserializer, HttpInterceptingShapeSerializer, } from "@smithy/core/protocols";
2
- import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
2
+ import { NormalizedSchema } from "@smithy/core/schema";
3
3
  import { ProtocolLib } from "../ProtocolLib";
4
4
  import { JsonCodec } from "./JsonCodec";
5
5
  import { loadRestJsonErrorCode } from "./parseJsonBody";
@@ -8,9 +8,10 @@ export class AwsRestJsonProtocol extends HttpBindingProtocol {
8
8
  deserializer;
9
9
  codec;
10
10
  mixin = new ProtocolLib();
11
- constructor({ defaultNamespace }) {
11
+ constructor({ defaultNamespace, errorTypeRegistries, }) {
12
12
  super({
13
13
  defaultNamespace,
14
+ errorTypeRegistries,
14
15
  });
15
16
  const settings = {
16
17
  timestampFormat: {
@@ -60,10 +61,11 @@ export class AwsRestJsonProtocol extends HttpBindingProtocol {
60
61
  }
61
62
  async handleError(operationSchema, context, response, dataObject, metadata) {
62
63
  const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
64
+ this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
63
65
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
64
66
  const ns = NormalizedSchema.of(errorSchema);
65
- const message = dataObject.message ?? dataObject.Message ?? "Unknown";
66
- const ErrorCtor = TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
67
+ const message = dataObject.message ?? dataObject.Message ?? "UnknownError";
68
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
67
69
  const exception = new ErrorCtor(message);
68
70
  await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
69
71
  const output = {};
@@ -1,5 +1,5 @@
1
1
  import { collectBody, RpcProtocol } from "@smithy/core/protocols";
2
- import { deref, NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
2
+ import { deref, NormalizedSchema } from "@smithy/core/schema";
3
3
  import { ProtocolLib } from "../ProtocolLib";
4
4
  import { XmlShapeDeserializer } from "../xml/XmlShapeDeserializer";
5
5
  import { QueryShapeSerializer } from "./QueryShapeSerializer";
@@ -11,6 +11,7 @@ export class AwsQueryProtocol extends RpcProtocol {
11
11
  constructor(options) {
12
12
  super({
13
13
  defaultNamespace: options.defaultNamespace,
14
+ errorTypeRegistries: options.errorTypeRegistries,
14
15
  });
15
16
  this.options = options;
16
17
  const settings = {
@@ -87,6 +88,7 @@ export class AwsQueryProtocol extends RpcProtocol {
87
88
  }
88
89
  async handleError(operationSchema, context, response, dataObject, metadata) {
89
90
  const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown";
91
+ this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
90
92
  const errorData = this.loadQueryError(dataObject) ?? {};
91
93
  const message = this.loadQueryErrorMessage(dataObject);
92
94
  errorData.message = message;
@@ -97,7 +99,7 @@ export class AwsQueryProtocol extends RpcProtocol {
97
99
  };
98
100
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, this.mixin.findQueryCompatibleError);
99
101
  const ns = NormalizedSchema.of(errorSchema);
100
- const ErrorCtor = TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
102
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
101
103
  const exception = new ErrorCtor(message);
102
104
  const output = {
103
105
  Type: errorData.Error.Type,