@rio-cloud/cdk-v2-constructs 7.14.0-alpha.2 → 7.14.1

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 (308) hide show
  1. package/.jsii +7 -7
  2. package/lib/contributions/team-transport-two/datadog-synthetics/datadog-synthetics-test-custom-resource/handler.cjs +2195 -1273
  3. package/lib/datadogv2/secret-locator-custom-resource/on-create.cjs +2363 -1441
  4. package/lib/datadogv2/service-catalog-custom-resource/on-create.cjs +2234 -1312
  5. package/lib/fargate/codedeploy-custom-resources/create-deployment-is-complete.cjs +2237 -1315
  6. package/lib/fargate/codedeploy-custom-resources/create-deployment-on-create.cjs +2237 -1315
  7. package/lib/fargate/codedeploy-custom-resources/run-monitoring-test-suite-runner.cjs +2242 -1319
  8. package/lib/fargate/datadog.js +3 -1
  9. package/node_modules/@aws-sdk/client-cloudformation/README.md +26 -46
  10. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@smithy/util-retry/package.json +3 -3
  11. package/node_modules/@aws-sdk/client-cloudformation/package.json +39 -39
  12. package/node_modules/@aws-sdk/client-codedeploy/README.md +26 -46
  13. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@smithy/util-retry/package.json +3 -3
  14. package/node_modules/@aws-sdk/client-codedeploy/package.json +39 -39
  15. package/node_modules/@aws-sdk/client-ecs/README.md +26 -46
  16. package/node_modules/@aws-sdk/client-ecs/dist-cjs/schemas/schemas_0.js +5 -4
  17. package/node_modules/@aws-sdk/client-ecs/dist-es/schemas/schemas_0.js +5 -4
  18. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/CreateCapacityProviderCommand.d.ts +2 -0
  19. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteCapacityProviderCommand.d.ts +1 -0
  20. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +1 -0
  21. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateCapacityProviderCommand.d.ts +2 -0
  22. package/node_modules/@aws-sdk/client-ecs/dist-types/models/models_0.d.ts +10 -0
  23. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/models/models_0.d.ts +2 -0
  24. package/node_modules/@aws-sdk/client-ecs/node_modules/@smithy/util-retry/package.json +3 -3
  25. package/node_modules/@aws-sdk/client-ecs/package.json +39 -39
  26. package/node_modules/@aws-sdk/client-organizations/README.md +26 -46
  27. package/node_modules/@aws-sdk/client-organizations/node_modules/@smithy/util-retry/package.json +3 -3
  28. package/node_modules/@aws-sdk/client-organizations/package.json +38 -38
  29. package/node_modules/@aws-sdk/client-secrets-manager/README.md +26 -46
  30. package/node_modules/@aws-sdk/client-secrets-manager/node_modules/@smithy/util-retry/package.json +3 -3
  31. package/node_modules/@aws-sdk/client-secrets-manager/package.json +39 -39
  32. package/node_modules/@aws-sdk/client-ssm/README.md +26 -46
  33. package/node_modules/@aws-sdk/client-ssm/node_modules/@smithy/util-retry/package.json +3 -3
  34. package/node_modules/@aws-sdk/client-ssm/package.json +39 -39
  35. package/node_modules/@aws-sdk/core/dist-cjs/index.js +58 -21
  36. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +58 -21
  37. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +24 -6
  38. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +6 -5
  39. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -0
  40. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +2 -1
  41. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +2 -1
  42. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +6 -4
  43. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +6 -4
  44. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +3 -0
  45. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +4 -2
  46. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +9 -3
  47. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +13 -0
  48. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +3 -1
  49. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +2 -0
  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 +7 -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/query/QuerySerializerSettings.d.ts +3 -0
  57. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +2 -0
  58. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +6 -0
  59. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +3 -0
  60. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +2 -0
  61. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +3 -0
  62. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -0
  63. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -0
  64. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +8 -1
  65. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +4 -0
  66. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -0
  67. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +6 -1
  68. package/node_modules/@aws-sdk/core/package.json +14 -14
  69. package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
  70. package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -11
  71. package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -15
  72. package/node_modules/@aws-sdk/credential-provider-login/package.json +9 -9
  73. package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
  74. package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
  75. package/node_modules/@aws-sdk/credential-provider-sso/package.json +9 -9
  76. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
  77. package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
  78. package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
  79. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
  80. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +9 -9
  81. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +9 -9
  82. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +4 -2
  83. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +3 -3
  84. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/LICENSE +201 -0
  85. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/README.md +78 -0
  86. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-cjs/index.js +278 -0
  87. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +27 -0
  88. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +19 -0
  89. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +109 -0
  90. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +67 -0
  91. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-es/config.js +7 -0
  92. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-es/constants.js +9 -0
  93. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js +14 -0
  94. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js +11 -0
  95. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-es/index.js +7 -0
  96. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-es/types.js +1 -0
  97. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +33 -0
  98. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/ConfiguredRetryStrategy.d.ts +32 -0
  99. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +49 -0
  100. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +26 -0
  101. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/config.d.ts +20 -0
  102. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/constants.d.ts +59 -0
  103. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +5 -0
  104. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +9 -0
  105. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/index.d.ts +7 -0
  106. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +33 -0
  107. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/ts3.4/ConfiguredRetryStrategy.d.ts +32 -0
  108. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +49 -0
  109. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +26 -0
  110. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/ts3.4/config.d.ts +20 -0
  111. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/ts3.4/constants.d.ts +59 -0
  112. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryBackoffStrategy.d.ts +5 -0
  113. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts +9 -0
  114. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/ts3.4/index.d.ts +7 -0
  115. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/ts3.4/types.d.ts +19 -0
  116. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-types/types.d.ts +19 -0
  117. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/package.json +71 -0
  118. package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -8
  119. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-retry/package.json +3 -3
  120. package/node_modules/@aws-sdk/nested-clients/package.json +39 -37
  121. package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
  122. package/node_modules/@aws-sdk/token-providers/package.json +8 -8
  123. package/node_modules/@aws-sdk/types/package.json +3 -3
  124. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
  125. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  126. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +75 -19
  127. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js +15 -0
  128. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js +14 -0
  129. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +53 -7
  130. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/{getTypeScriptPackageJsonPaths.d.ts → getNodeModulesParentDirs.d.ts} +2 -2
  131. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts +8 -0
  132. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts +1 -0
  133. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts +3 -0
  134. package/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -6
  135. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +21 -11
  136. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +5 -1
  137. package/node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js +8 -1
  138. package/node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js +13 -10
  139. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +5 -1
  140. package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
  141. package/node_modules/@smithy/abort-controller/package.json +2 -2
  142. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +12 -0
  143. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +5 -0
  144. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +5 -0
  145. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
  146. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
  147. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
  148. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
  149. package/node_modules/@smithy/config-resolver/package.json +5 -5
  150. package/node_modules/@smithy/core/dist-cjs/index.js +1 -2
  151. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +7 -1
  152. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
  153. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +1 -1
  154. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +11 -1
  155. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +42 -5
  156. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -2
  157. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +7 -1
  158. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -0
  159. package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +17 -0
  160. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +1 -1
  161. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +10 -0
  162. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
  163. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -2
  164. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +31 -2
  165. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +5 -1
  166. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +1 -0
  167. package/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts +6 -0
  168. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  169. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +6 -0
  170. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +1 -0
  171. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +6 -0
  172. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  173. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +6 -0
  174. package/node_modules/@smithy/core/endpoints.d.ts +7 -0
  175. package/node_modules/@smithy/core/endpoints.js +6 -0
  176. package/node_modules/@smithy/core/package.json +16 -7
  177. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  178. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +4 -1
  179. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +4 -1
  180. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  181. package/node_modules/@smithy/hash-node/package.json +2 -2
  182. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  183. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  184. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +17 -1
  185. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +9 -0
  186. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js +8 -1
  187. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -0
  188. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +2 -2
  189. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +1 -0
  190. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +2 -2
  191. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  192. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +9 -12
  193. package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +9 -12
  194. package/node_modules/@smithy/middleware-retry/node_modules/@smithy/util-retry/package.json +3 -3
  195. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  196. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +3 -2
  197. package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +3 -2
  198. package/node_modules/@smithy/middleware-serde/package.json +4 -3
  199. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  200. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  201. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +48 -38
  202. package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +4 -1
  203. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +38 -31
  204. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  205. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +1 -1
  206. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
  207. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
  208. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
  209. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
  210. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
  211. package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +4 -3
  212. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
  213. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
  214. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
  215. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
  216. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
  217. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
  218. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
  219. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
  220. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
  221. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
  222. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
  223. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
  224. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +4 -3
  225. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
  226. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
  227. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
  228. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
  229. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
  230. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
  231. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
  232. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
  233. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
  234. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
  235. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
  236. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
  237. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
  238. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
  239. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  240. package/node_modules/@smithy/property-provider/package.json +2 -2
  241. package/node_modules/@smithy/protocol-http/package.json +2 -2
  242. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  243. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  244. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  245. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  246. package/node_modules/@smithy/signature-v4/package.json +4 -4
  247. package/node_modules/@smithy/smithy-client/package.json +7 -7
  248. package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
  249. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
  250. package/node_modules/@smithy/types/package.json +1 -1
  251. package/node_modules/@smithy/url-parser/package.json +3 -3
  252. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  253. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  254. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  255. package/node_modules/@smithy/util-middleware/package.json +2 -2
  256. package/node_modules/@smithy/util-stream/package.json +4 -4
  257. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +1 -1
  258. package/node_modules/@smithy/util-waiter/dist-es/poller.js +1 -1
  259. package/node_modules/@smithy/util-waiter/package.json +3 -3
  260. package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
  261. package/node_modules/fast-xml-builder/README.md +1 -1
  262. package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
  263. package/node_modules/fast-xml-builder/lib/fxb.d.cts +22 -9
  264. package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
  265. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
  266. package/node_modules/fast-xml-builder/package.json +7 -5
  267. package/node_modules/fast-xml-builder/src/fxb.d.ts +27 -3
  268. package/node_modules/fast-xml-builder/src/fxb.js +265 -21
  269. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +165 -18
  270. package/node_modules/fast-xml-parser/CHANGELOG.md +40 -4
  271. package/node_modules/fast-xml-parser/README.md +8 -7
  272. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  273. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
  274. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  275. package/node_modules/fast-xml-parser/lib/fxp.d.cts +82 -20
  276. package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  277. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  278. package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  279. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  280. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
  281. package/node_modules/fast-xml-parser/lib/pem.d.cts +148 -0
  282. package/node_modules/fast-xml-parser/package.json +4 -3
  283. package/node_modules/fast-xml-parser/src/fxp.d.ts +75 -19
  284. package/node_modules/fast-xml-parser/src/pem.d.ts +135 -0
  285. package/node_modules/fast-xml-parser/src/util.js +18 -0
  286. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +37 -18
  287. package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +76 -5
  288. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +298 -116
  289. package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +2 -2
  290. package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +65 -15
  291. package/node_modules/path-expression-matcher/LICENSE +21 -0
  292. package/node_modules/path-expression-matcher/README.md +720 -0
  293. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
  294. package/node_modules/path-expression-matcher/lib/pem.d.cts +523 -0
  295. package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
  296. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
  297. package/node_modules/path-expression-matcher/package.json +78 -0
  298. package/node_modules/path-expression-matcher/src/Expression.js +232 -0
  299. package/node_modules/path-expression-matcher/src/Matcher.js +498 -0
  300. package/node_modules/path-expression-matcher/src/index.d.ts +518 -0
  301. package/node_modules/path-expression-matcher/src/index.js +28 -0
  302. package/package.json +7 -7
  303. package/version.json +1 -1
  304. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptPackageJsonPaths.js +0 -17
  305. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptPackageJsonPaths.d.ts +0 -3
  306. package/node_modules/fast-xml-builder/lib/builder.cjs +0 -1
  307. package/node_modules/fast-xml-builder/lib/builder.min.js +0 -2
  308. package/node_modules/fast-xml-builder/lib/builder.min.js.map +0 -1
@@ -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 = {};
@@ -12,6 +12,9 @@ export class AwsEc2QueryProtocol extends AwsQueryProtocol {
12
12
  };
13
13
  Object.assign(this.serializer.settings, ec2Settings);
14
14
  }
15
+ getShapeId() {
16
+ return "aws.protocols#ec2Query";
17
+ }
15
18
  useNestedResult() {
16
19
  return false;
17
20
  }
@@ -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,
@@ -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 { loadRestXmlErrorCode } from "./parseXmlBody";
5
5
  import { XmlCodec } from "./XmlCodec";
@@ -22,6 +22,7 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
22
22
  this.codec = new XmlCodec(settings);
23
23
  this.serializer = new HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
24
24
  this.deserializer = new HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
25
+ this.compositeErrorRegistry;
25
26
  }
26
27
  getPayloadCodec() {
27
28
  return this.codec;
@@ -51,6 +52,7 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
51
52
  }
52
53
  async handleError(operationSchema, context, response, dataObject, metadata) {
53
54
  const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown";
55
+ this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
54
56
  if (dataObject.Error && typeof dataObject.Error === "object") {
55
57
  for (const key of Object.keys(dataObject.Error)) {
56
58
  dataObject[key] = dataObject.Error[key];
@@ -64,8 +66,12 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
64
66
  }
65
67
  const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
66
68
  const ns = NormalizedSchema.of(errorSchema);
67
- const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
68
- const ErrorCtor = TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
69
+ const message = dataObject.Error?.message ??
70
+ dataObject.Error?.Message ??
71
+ dataObject.message ??
72
+ dataObject.Message ??
73
+ "UnknownError";
74
+ const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
69
75
  const exception = new ErrorCtor(message);
70
76
  await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
71
77
  const output = {};
@@ -14,6 +14,7 @@ type ErrorMetadataBearer = MetadataBearer & {
14
14
  */
15
15
  export declare class ProtocolLib {
16
16
  private queryCompat;
17
+ private errorRegistry?;
17
18
  constructor(queryCompat?: boolean);
18
19
  /**
19
20
  * This is only for REST protocols.
@@ -34,6 +35,18 @@ export declare class ProtocolLib {
34
35
  errorSchema: StaticErrorSchema;
35
36
  errorMetadata: ErrorMetadataBearer;
36
37
  }>;
38
+ /**
39
+ * This method exists because in older clients, no `errorTypeRegistries` array is provided to the Protocol
40
+ * implementation. This means that the TypeRegistry queried by the error's namespace or the service's defaultNamespace
41
+ * must be composed into the possibly-empty local compositeErrorRegistry.
42
+ *
43
+ *
44
+ * @param composite - TypeRegistry instance local to instances of HttpProtocol. In newer clients, this instance directly
45
+ * receives the error registries exported by the client.
46
+ * @param errorIdentifier - parsed from the response, used to look up the error schema within the registry.
47
+ * @param defaultNamespace - property of the Protocol implementation pointing to a specific service.
48
+ */
49
+ compose(composite: TypeRegistry, errorIdentifier: string, defaultNamespace: string): void;
37
50
  /**
38
51
  * Assigns additions onto exception if not already present.
39
52
  */
@@ -1,4 +1,5 @@
1
1
  import { SmithyRpcV2CborProtocol } from "@smithy/core/cbor";
2
+ import type { TypeRegistry } from "@smithy/core/schema";
2
3
  import type { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types";
3
4
  /**
4
5
  * Extends the Smithy implementation to add AwsQueryCompatibility support.
@@ -8,8 +9,9 @@ import type { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse
8
9
  export declare class AwsSmithyRpcV2CborProtocol extends SmithyRpcV2CborProtocol {
9
10
  private readonly awsQueryCompatible;
10
11
  private readonly mixin;
11
- constructor({ defaultNamespace, awsQueryCompatible, }: {
12
+ constructor({ defaultNamespace, errorTypeRegistries, awsQueryCompatible, }: {
12
13
  defaultNamespace: string;
14
+ errorTypeRegistries?: TypeRegistry[];
13
15
  awsQueryCompatible?: boolean;
14
16
  });
15
17
  /**
@@ -11,6 +11,8 @@ export * from "./json/awsExpectUnion";
11
11
  export * from "./json/parseJsonBody";
12
12
  export * from "./query/AwsEc2QueryProtocol";
13
13
  export * from "./query/AwsQueryProtocol";
14
+ export * from "./query/QuerySerializerSettings";
15
+ export * from "./query/QueryShapeSerializer";
14
16
  export * from "./xml/AwsRestXmlProtocol";
15
17
  export * from "./xml/XmlCodec";
16
18
  export * from "./xml/XmlShapeDeserializer";
@@ -1,3 +1,4 @@
1
+ import type { TypeRegistry } from "@smithy/core/schema";
1
2
  import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
2
3
  import type { JsonCodec } from "./JsonCodec";
3
4
  /**
@@ -5,8 +6,9 @@ import type { JsonCodec } from "./JsonCodec";
5
6
  * @see https://smithy.io/2.0/aws/protocols/aws-json-1_1-protocol.html#differences-between-awsjson1-0-and-awsjson1-1
6
7
  */
7
8
  export declare class AwsJson1_0Protocol extends AwsJsonRpcProtocol {
8
- constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }: {
9
+ constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }: {
9
10
  defaultNamespace: string;
11
+ errorTypeRegistries?: TypeRegistry[];
10
12
  serviceTarget: string;
11
13
  awsQueryCompatible?: boolean;
12
14
  jsonCodec?: JsonCodec;
@@ -1,3 +1,4 @@
1
+ import type { TypeRegistry } from "@smithy/core/schema";
1
2
  import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
2
3
  import type { JsonCodec } from "./JsonCodec";
3
4
  /**
@@ -5,8 +6,9 @@ import type { JsonCodec } from "./JsonCodec";
5
6
  * @see https://smithy.io/2.0/aws/protocols/aws-json-1_1-protocol.html#differences-between-awsjson1-0-and-awsjson1-1
6
7
  */
7
8
  export declare class AwsJson1_1Protocol extends AwsJsonRpcProtocol {
8
- constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }: {
9
+ constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }: {
9
10
  defaultNamespace: string;
11
+ errorTypeRegistries?: TypeRegistry[];
10
12
  serviceTarget: string;
11
13
  awsQueryCompatible?: boolean;
12
14
  jsonCodec?: JsonCodec;
@@ -1,4 +1,5 @@
1
1
  import { RpcProtocol } from "@smithy/core/protocols";
2
+ import type { TypeRegistry } from "@smithy/core/schema";
2
3
  import type { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
3
4
  import { JsonCodec } from "./JsonCodec";
4
5
  /**
@@ -11,8 +12,9 @@ export declare abstract class AwsJsonRpcProtocol extends RpcProtocol {
11
12
  private readonly codec;
12
13
  private readonly mixin;
13
14
  private readonly awsQueryCompatible;
14
- protected constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }: {
15
+ protected constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }: {
15
16
  defaultNamespace: string;
17
+ errorTypeRegistries?: TypeRegistry[];
16
18
  serviceTarget: string;
17
19
  awsQueryCompatible?: boolean;
18
20
  jsonCodec?: JsonCodec;
@@ -1,4 +1,5 @@
1
1
  import { HttpBindingProtocol } from "@smithy/core/protocols";
2
+ import type { TypeRegistry } from "@smithy/core/schema";
2
3
  import type { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
3
4
  import { JsonCodec } from "./JsonCodec";
4
5
  /**
@@ -9,8 +10,9 @@ export declare class AwsRestJsonProtocol extends HttpBindingProtocol {
9
10
  protected deserializer: ShapeDeserializer<string | Uint8Array>;
10
11
  private readonly codec;
11
12
  private readonly mixin;
12
- constructor({ defaultNamespace }: {
13
+ constructor({ defaultNamespace, errorTypeRegistries, }: {
13
14
  defaultNamespace: string;
15
+ errorTypeRegistries?: TypeRegistry[];
14
16
  });
15
17
  getShapeId(): string;
16
18
  getPayloadCodec(): JsonCodec;
@@ -1,3 +1,4 @@
1
+ import type { TypeRegistry } from "@smithy/core/schema";
1
2
  import { AwsQueryProtocol } from "./AwsQueryProtocol";
2
3
  /**
3
4
  * @public
@@ -7,12 +8,18 @@ export declare class AwsEc2QueryProtocol extends AwsQueryProtocol {
7
8
  defaultNamespace: string;
8
9
  xmlNamespace: string;
9
10
  version: string;
11
+ errorTypeRegistries?: TypeRegistry[];
10
12
  };
11
13
  constructor(options: {
12
14
  defaultNamespace: string;
13
15
  xmlNamespace: string;
14
16
  version: string;
17
+ errorTypeRegistries?: TypeRegistry[];
15
18
  });
19
+ /**
20
+ * @override
21
+ */
22
+ getShapeId(): string;
16
23
  /**
17
24
  * EC2 Query reads XResponse.XResult instead of XResponse directly.
18
25
  */
@@ -1,4 +1,5 @@
1
1
  import { RpcProtocol } from "@smithy/core/protocols";
2
+ import type { TypeRegistry } from "@smithy/core/schema";
2
3
  import type { Codec, EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types";
3
4
  import { XmlShapeDeserializer } from "../xml/XmlShapeDeserializer";
4
5
  import { QueryShapeSerializer } from "./QueryShapeSerializer";
@@ -10,6 +11,7 @@ export declare class AwsQueryProtocol extends RpcProtocol {
10
11
  defaultNamespace: string;
11
12
  xmlNamespace: string;
12
13
  version: string;
14
+ errorTypeRegistries?: TypeRegistry[];
13
15
  };
14
16
  protected serializer: QueryShapeSerializer;
15
17
  protected deserializer: XmlShapeDeserializer;
@@ -18,6 +20,7 @@ export declare class AwsQueryProtocol extends RpcProtocol {
18
20
  defaultNamespace: string;
19
21
  xmlNamespace: string;
20
22
  version: string;
23
+ errorTypeRegistries?: TypeRegistry[];
21
24
  });
22
25
  getShapeId(): string;
23
26
  setSerdeContext(serdeContext: SerdeFunctions): void;
@@ -1,4 +1,7 @@
1
1
  import type { CodecSettings } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
2
5
  export type QuerySerializerSettings = CodecSettings & {
3
6
  capitalizeKeys?: boolean;
4
7
  flattenLists?: boolean;
@@ -1,4 +1,5 @@
1
1
  import { HttpBindingProtocol } from "@smithy/core/protocols";
2
+ import type { TypeRegistry } from "@smithy/core/schema";
2
3
  import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
3
4
  import { XmlCodec } from "./XmlCodec";
4
5
  /**
@@ -12,6 +13,7 @@ export declare class AwsRestXmlProtocol extends HttpBindingProtocol {
12
13
  constructor(options: {
13
14
  defaultNamespace: string;
14
15
  xmlNamespace: string;
16
+ errorTypeRegistries?: TypeRegistry[];
15
17
  });
16
18
  getPayloadCodec(): XmlCodec;
17
19
  getShapeId(): string;
@@ -11,6 +11,7 @@ type ErrorMetadataBearer = MetadataBearer & {
11
11
  };
12
12
  export declare class ProtocolLib {
13
13
  private queryCompat;
14
+ private errorRegistry?;
14
15
  constructor(queryCompat?: boolean);
15
16
  resolveRestContentType(
16
17
  defaultContentType: string,
@@ -30,6 +31,11 @@ export declare class ProtocolLib {
30
31
  errorSchema: StaticErrorSchema;
31
32
  errorMetadata: ErrorMetadataBearer;
32
33
  }>;
34
+ compose(
35
+ composite: TypeRegistry,
36
+ errorIdentifier: string,
37
+ defaultNamespace: string
38
+ ): void;
33
39
  decorateServiceException<E extends SDKBaseServiceException>(
34
40
  exception: E,
35
41
  additions?: Record<string, any>
@@ -1,4 +1,5 @@
1
1
  import { SmithyRpcV2CborProtocol } from "@smithy/core/cbor";
2
+ import { TypeRegistry } from "@smithy/core/schema";
2
3
  import {
3
4
  EndpointBearer,
4
5
  HandlerExecutionContext,
@@ -13,9 +14,11 @@ export declare class AwsSmithyRpcV2CborProtocol extends SmithyRpcV2CborProtocol
13
14
  private readonly mixin;
14
15
  constructor({
15
16
  defaultNamespace,
17
+ errorTypeRegistries,
16
18
  awsQueryCompatible,
17
19
  }: {
18
20
  defaultNamespace: string;
21
+ errorTypeRegistries?: TypeRegistry[];
19
22
  awsQueryCompatible?: boolean;
20
23
  });
21
24
  serializeRequest<Input extends object>(
@@ -11,6 +11,8 @@ export * from "./json/awsExpectUnion";
11
11
  export * from "./json/parseJsonBody";
12
12
  export * from "./query/AwsEc2QueryProtocol";
13
13
  export * from "./query/AwsQueryProtocol";
14
+ export * from "./query/QuerySerializerSettings";
15
+ export * from "./query/QueryShapeSerializer";
14
16
  export * from "./xml/AwsRestXmlProtocol";
15
17
  export * from "./xml/XmlCodec";
16
18
  export * from "./xml/XmlShapeDeserializer";
@@ -1,13 +1,16 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
2
3
  import { JsonCodec } from "./JsonCodec";
3
4
  export declare class AwsJson1_0Protocol extends AwsJsonRpcProtocol {
4
5
  constructor({
5
6
  defaultNamespace,
7
+ errorTypeRegistries,
6
8
  serviceTarget,
7
9
  awsQueryCompatible,
8
10
  jsonCodec,
9
11
  }: {
10
12
  defaultNamespace: string;
13
+ errorTypeRegistries?: TypeRegistry[];
11
14
  serviceTarget: string;
12
15
  awsQueryCompatible?: boolean;
13
16
  jsonCodec?: JsonCodec;
@@ -1,13 +1,16 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
2
3
  import { JsonCodec } from "./JsonCodec";
3
4
  export declare class AwsJson1_1Protocol extends AwsJsonRpcProtocol {
4
5
  constructor({
5
6
  defaultNamespace,
7
+ errorTypeRegistries,
6
8
  serviceTarget,
7
9
  awsQueryCompatible,
8
10
  jsonCodec,
9
11
  }: {
10
12
  defaultNamespace: string;
13
+ errorTypeRegistries?: TypeRegistry[];
11
14
  serviceTarget: string;
12
15
  awsQueryCompatible?: boolean;
13
16
  jsonCodec?: JsonCodec;
@@ -1,4 +1,5 @@
1
1
  import { RpcProtocol } from "@smithy/core/protocols";
2
+ import { TypeRegistry } from "@smithy/core/schema";
2
3
  import {
3
4
  EndpointBearer,
4
5
  HandlerExecutionContext,
@@ -20,11 +21,13 @@ export declare abstract class AwsJsonRpcProtocol extends RpcProtocol {
20
21
  private readonly awsQueryCompatible;
21
22
  protected constructor({
22
23
  defaultNamespace,
24
+ errorTypeRegistries,
23
25
  serviceTarget,
24
26
  awsQueryCompatible,
25
27
  jsonCodec,
26
28
  }: {
27
29
  defaultNamespace: string;
30
+ errorTypeRegistries?: TypeRegistry[];
28
31
  serviceTarget: string;
29
32
  awsQueryCompatible?: boolean;
30
33
  jsonCodec?: JsonCodec;
@@ -1,4 +1,5 @@
1
1
  import { HttpBindingProtocol } from "@smithy/core/protocols";
2
+ import { TypeRegistry } from "@smithy/core/schema";
2
3
  import {
3
4
  EndpointBearer,
4
5
  HandlerExecutionContext,
@@ -17,7 +18,13 @@ export declare class AwsRestJsonProtocol extends HttpBindingProtocol {
17
18
  protected deserializer: ShapeDeserializer<string | Uint8Array>;
18
19
  private readonly codec;
19
20
  private readonly mixin;
20
- constructor({ defaultNamespace }: { defaultNamespace: string });
21
+ constructor({
22
+ defaultNamespace,
23
+ errorTypeRegistries,
24
+ }: {
25
+ defaultNamespace: string;
26
+ errorTypeRegistries?: TypeRegistry[];
27
+ });
21
28
  getShapeId(): string;
22
29
  getPayloadCodec(): JsonCodec;
23
30
  setSerdeContext(serdeContext: SerdeFunctions): void;
@@ -1,14 +1,18 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import { AwsQueryProtocol } from "./AwsQueryProtocol";
2
3
  export declare class AwsEc2QueryProtocol extends AwsQueryProtocol {
3
4
  options: {
4
5
  defaultNamespace: string;
5
6
  xmlNamespace: string;
6
7
  version: string;
8
+ errorTypeRegistries?: TypeRegistry[];
7
9
  };
8
10
  constructor(options: {
9
11
  defaultNamespace: string;
10
12
  xmlNamespace: string;
11
13
  version: string;
14
+ errorTypeRegistries?: TypeRegistry[];
12
15
  });
16
+ getShapeId(): string;
13
17
  protected useNestedResult(): boolean;
14
18
  }
@@ -1,4 +1,5 @@
1
1
  import { RpcProtocol } from "@smithy/core/protocols";
2
+ import { TypeRegistry } from "@smithy/core/schema";
2
3
  import {
3
4
  Codec,
4
5
  EndpointBearer,
@@ -17,6 +18,7 @@ export declare class AwsQueryProtocol extends RpcProtocol {
17
18
  defaultNamespace: string;
18
19
  xmlNamespace: string;
19
20
  version: string;
21
+ errorTypeRegistries?: TypeRegistry[];
20
22
  };
21
23
  protected serializer: QueryShapeSerializer;
22
24
  protected deserializer: XmlShapeDeserializer;
@@ -25,6 +27,7 @@ export declare class AwsQueryProtocol extends RpcProtocol {
25
27
  defaultNamespace: string;
26
28
  xmlNamespace: string;
27
29
  version: string;
30
+ errorTypeRegistries?: TypeRegistry[];
28
31
  });
29
32
  getShapeId(): string;
30
33
  setSerdeContext(serdeContext: SerdeFunctions): void;
@@ -1,4 +1,5 @@
1
1
  import { HttpBindingProtocol } from "@smithy/core/protocols";
2
+ import { TypeRegistry } from "@smithy/core/schema";
2
3
  import {
3
4
  EndpointBearer,
4
5
  HandlerExecutionContext,
@@ -17,7 +18,11 @@ export declare class AwsRestXmlProtocol extends HttpBindingProtocol {
17
18
  protected serializer: ShapeSerializer<string | Uint8Array>;
18
19
  protected deserializer: ShapeDeserializer<string | Uint8Array>;
19
20
  private readonly mixin;
20
- constructor(options: { defaultNamespace: string; xmlNamespace: string });
21
+ constructor(options: {
22
+ defaultNamespace: string;
23
+ xmlNamespace: string;
24
+ errorTypeRegistries?: TypeRegistry[];
25
+ });
21
26
  getPayloadCodec(): XmlCodec;
22
27
  getShapeId(): string;
23
28
  serializeRequest<Input extends object>(
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.973.17",
3
+ "version": "3.973.24",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
@@ -81,18 +81,18 @@
81
81
  },
82
82
  "license": "Apache-2.0",
83
83
  "dependencies": {
84
- "@aws-sdk/types": "^3.973.4",
85
- "@aws-sdk/xml-builder": "^3.972.9",
86
- "@smithy/core": "^3.23.7",
87
- "@smithy/node-config-provider": "^4.3.10",
88
- "@smithy/property-provider": "^4.2.10",
89
- "@smithy/protocol-http": "^5.3.10",
90
- "@smithy/signature-v4": "^5.3.10",
91
- "@smithy/smithy-client": "^4.12.1",
92
- "@smithy/types": "^4.13.0",
93
- "@smithy/util-base64": "^4.3.1",
94
- "@smithy/util-middleware": "^4.2.10",
95
- "@smithy/util-utf8": "^4.2.1",
84
+ "@aws-sdk/types": "^3.973.6",
85
+ "@aws-sdk/xml-builder": "^3.972.15",
86
+ "@smithy/core": "^3.23.12",
87
+ "@smithy/node-config-provider": "^4.3.12",
88
+ "@smithy/property-provider": "^4.2.12",
89
+ "@smithy/protocol-http": "^5.3.12",
90
+ "@smithy/signature-v4": "^5.3.12",
91
+ "@smithy/smithy-client": "^4.12.7",
92
+ "@smithy/types": "^4.13.1",
93
+ "@smithy/util-base64": "^4.3.2",
94
+ "@smithy/util-middleware": "^4.2.12",
95
+ "@smithy/util-utf8": "^4.2.2",
96
96
  "tslib": "^2.6.2"
97
97
  },
98
98
  "devDependencies": {
@@ -106,7 +106,7 @@
106
106
  "node": ">=20.0.0"
107
107
  },
108
108
  "typesVersions": {
109
- "<4.0": {
109
+ "<4.5": {
110
110
  "dist-types/*": [
111
111
  "dist-types/ts3.4/*"
112
112
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.15",
3
+ "version": "3.972.22",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,10 +26,10 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.973.17",
30
- "@aws-sdk/types": "^3.973.4",
31
- "@smithy/property-provider": "^4.2.10",
32
- "@smithy/types": "^4.13.0",
29
+ "@aws-sdk/core": "^3.973.24",
30
+ "@aws-sdk/types": "^3.973.6",
31
+ "@smithy/property-provider": "^4.2.12",
32
+ "@smithy/types": "^4.13.1",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -45,7 +45,7 @@
45
45
  "node": ">=20.0.0"
46
46
  },
47
47
  "typesVersions": {
48
- "<4.0": {
48
+ "<4.5": {
49
49
  "dist-types/*": [
50
50
  "dist-types/ts3.4/*"
51
51
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.17",
3
+ "version": "3.972.24",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,15 +28,15 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.973.17",
32
- "@aws-sdk/types": "^3.973.4",
33
- "@smithy/fetch-http-handler": "^5.3.12",
34
- "@smithy/node-http-handler": "^4.4.13",
35
- "@smithy/property-provider": "^4.2.10",
36
- "@smithy/protocol-http": "^5.3.10",
37
- "@smithy/smithy-client": "^4.12.1",
38
- "@smithy/types": "^4.13.0",
39
- "@smithy/util-stream": "^4.5.16",
31
+ "@aws-sdk/core": "^3.973.24",
32
+ "@aws-sdk/types": "^3.973.6",
33
+ "@smithy/fetch-http-handler": "^5.3.15",
34
+ "@smithy/node-http-handler": "^4.5.0",
35
+ "@smithy/property-provider": "^4.2.12",
36
+ "@smithy/protocol-http": "^5.3.12",
37
+ "@smithy/smithy-client": "^4.12.7",
38
+ "@smithy/types": "^4.13.1",
39
+ "@smithy/util-stream": "^4.5.20",
40
40
  "tslib": "^2.6.2"
41
41
  },
42
42
  "devDependencies": {
@@ -52,7 +52,7 @@
52
52
  "node": ">=20.0.0"
53
53
  },
54
54
  "typesVersions": {
55
- "<4.0": {
55
+ "<4.5": {
56
56
  "dist-types/*": [
57
57
  "dist-types/ts3.4/*"
58
58
  ]