@mavogel/awscdk-rootmail 0.0.329 → 0.0.331

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 (325) hide show
  1. package/.jsii +3 -3
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/README.md +26 -46
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +37 -37
  6. package/node_modules/@aws-sdk/client-route-53/README.md +26 -46
  7. package/node_modules/@aws-sdk/client-route-53/package.json +36 -36
  8. package/node_modules/@aws-sdk/client-s3/README.md +26 -46
  9. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +5 -0
  10. package/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +6 -4
  11. package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +4 -0
  12. package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +6 -4
  13. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +5 -4
  14. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +9 -0
  15. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +0 -1
  16. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +0 -1
  17. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +5 -4
  18. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +5 -4
  19. package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +12 -0
  20. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +24 -2
  21. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +6 -0
  22. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +2 -0
  23. package/node_modules/@aws-sdk/client-s3/package.json +50 -50
  24. package/node_modules/@aws-sdk/client-ses/README.md +26 -46
  25. package/node_modules/@aws-sdk/client-ses/package.json +34 -34
  26. package/node_modules/@aws-sdk/client-ssm/README.md +26 -46
  27. package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
  28. package/node_modules/@aws-sdk/core/dist-cjs/index.js +54 -21
  29. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +54 -21
  30. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +24 -6
  31. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +6 -5
  32. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +2 -1
  33. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +2 -1
  34. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +6 -4
  35. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +6 -4
  36. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +4 -2
  37. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +9 -3
  38. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +13 -0
  39. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +3 -1
  40. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +3 -1
  41. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -1
  42. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -1
  43. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +3 -1
  44. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +3 -0
  45. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -0
  46. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +2 -0
  47. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +6 -0
  48. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +3 -0
  49. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +3 -0
  50. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -0
  51. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -0
  52. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +8 -1
  53. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +3 -0
  54. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -0
  55. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +6 -1
  56. package/node_modules/@aws-sdk/core/package.json +11 -11
  57. package/node_modules/@aws-sdk/crc64-nvme/package.json +2 -2
  58. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  59. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  60. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
  61. package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
  62. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  63. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  64. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  65. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  66. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  67. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  68. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +19 -7
  69. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsResponseMiddleware.js +10 -2
  70. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmListForResponse.js +10 -6
  71. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +10 -10
  72. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  73. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  74. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  75. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  76. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
  77. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
  78. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  79. package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -8
  80. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  81. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  82. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  83. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  84. package/node_modules/@aws-sdk/types/package.json +2 -2
  85. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  86. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  87. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +75 -19
  88. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js +15 -0
  89. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js +14 -0
  90. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +53 -7
  91. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/{getTypeScriptPackageJsonPaths.d.ts → getNodeModulesParentDirs.d.ts} +2 -2
  92. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts +8 -0
  93. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts +1 -0
  94. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts +3 -0
  95. package/node_modules/@aws-sdk/util-user-agent-node/package.json +6 -5
  96. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +21 -11
  97. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +5 -1
  98. package/node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js +8 -1
  99. package/node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js +13 -10
  100. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +5 -1
  101. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +40 -4
  102. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +8 -7
  103. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  104. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
  105. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  106. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +82 -20
  107. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  108. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  109. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  110. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  111. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
  112. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/pem.d.cts +148 -0
  113. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +4 -3
  114. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +75 -19
  115. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/pem.d.ts +135 -0
  116. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +18 -0
  117. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +37 -18
  118. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +76 -5
  119. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +298 -116
  120. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +2 -2
  121. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +65 -15
  122. package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
  123. package/node_modules/@smithy/abort-controller/package.json +2 -2
  124. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +12 -0
  125. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +5 -0
  126. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +5 -0
  127. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
  128. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
  129. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
  130. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
  131. package/node_modules/@smithy/config-resolver/package.json +5 -5
  132. package/node_modules/@smithy/core/dist-cjs/index.js +1 -2
  133. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +7 -1
  134. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
  135. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +11 -1
  136. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +41 -4
  137. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -2
  138. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +7 -1
  139. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -0
  140. package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +17 -0
  141. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +10 -0
  142. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
  143. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -2
  144. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +30 -1
  145. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +5 -1
  146. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +1 -0
  147. package/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts +6 -0
  148. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  149. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +6 -0
  150. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +1 -0
  151. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +6 -0
  152. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  153. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +6 -0
  154. package/node_modules/@smithy/core/endpoints.d.ts +7 -0
  155. package/node_modules/@smithy/core/endpoints.js +6 -0
  156. package/node_modules/@smithy/core/package.json +16 -7
  157. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  158. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  159. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  160. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  161. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  162. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  163. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +4 -1
  164. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +4 -1
  165. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  166. package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
  167. package/node_modules/@smithy/hash-node/package.json +2 -2
  168. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  169. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  170. package/node_modules/@smithy/md5-js/package.json +2 -2
  171. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  172. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +17 -1
  173. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +9 -0
  174. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js +8 -1
  175. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -0
  176. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +2 -2
  177. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +1 -0
  178. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +2 -2
  179. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  180. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +9 -12
  181. package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +9 -12
  182. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  183. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +3 -2
  184. package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +3 -2
  185. package/node_modules/@smithy/middleware-serde/package.json +4 -3
  186. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  187. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  188. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +48 -38
  189. package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +4 -1
  190. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +38 -31
  191. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  192. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +1 -1
  193. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
  194. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
  195. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
  196. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
  197. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
  198. package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +4 -3
  199. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
  200. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
  201. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
  202. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
  203. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
  204. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
  205. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
  206. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
  207. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
  208. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
  209. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
  210. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
  211. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +4 -3
  212. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
  213. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
  214. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
  215. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
  216. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
  217. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
  218. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
  219. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
  220. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
  221. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
  222. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
  223. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
  224. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
  225. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
  226. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  227. package/node_modules/@smithy/property-provider/package.json +2 -2
  228. package/node_modules/@smithy/protocol-http/package.json +2 -2
  229. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  230. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  231. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  232. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  233. package/node_modules/@smithy/signature-v4/package.json +4 -4
  234. package/node_modules/@smithy/smithy-client/package.json +7 -7
  235. package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
  236. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
  237. package/node_modules/@smithy/types/package.json +1 -1
  238. package/node_modules/@smithy/url-parser/package.json +3 -3
  239. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  240. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  241. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  242. package/node_modules/@smithy/util-middleware/package.json +2 -2
  243. package/node_modules/@smithy/util-retry/package.json +3 -3
  244. package/node_modules/@smithy/util-stream/package.json +4 -4
  245. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +1 -1
  246. package/node_modules/@smithy/util-waiter/dist-es/poller.js +1 -1
  247. package/node_modules/@smithy/util-waiter/package.json +3 -3
  248. package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
  249. package/node_modules/fast-xml-builder/README.md +1 -1
  250. package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
  251. package/node_modules/fast-xml-builder/lib/fxb.d.cts +22 -9
  252. package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
  253. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
  254. package/node_modules/fast-xml-builder/package.json +7 -5
  255. package/node_modules/fast-xml-builder/src/fxb.d.ts +27 -3
  256. package/node_modules/fast-xml-builder/src/fxb.js +265 -21
  257. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +165 -18
  258. package/node_modules/mailparser/.release-please-manifest.json +1 -1
  259. package/node_modules/mailparser/CHANGELOG.md +7 -0
  260. package/node_modules/mailparser/package.json +3 -3
  261. package/node_modules/nodemailer/CHANGELOG.md +10 -0
  262. package/node_modules/nodemailer/lib/addressparser/index.js +68 -83
  263. package/node_modules/nodemailer/lib/base64/index.js +6 -5
  264. package/node_modules/nodemailer/lib/dkim/index.js +8 -16
  265. package/node_modules/nodemailer/lib/dkim/message-parser.js +12 -13
  266. package/node_modules/nodemailer/lib/dkim/relaxed-body.js +2 -2
  267. package/node_modules/nodemailer/lib/dkim/sign.js +13 -14
  268. package/node_modules/nodemailer/lib/errors.js +4 -7
  269. package/node_modules/nodemailer/lib/fetch/cookies.js +13 -18
  270. package/node_modules/nodemailer/lib/fetch/index.js +12 -15
  271. package/node_modules/nodemailer/lib/json-transport/index.js +4 -4
  272. package/node_modules/nodemailer/lib/mail-composer/index.js +86 -116
  273. package/node_modules/nodemailer/lib/mailer/index.js +26 -26
  274. package/node_modules/nodemailer/lib/mailer/mail-message.js +17 -21
  275. package/node_modules/nodemailer/lib/mime-funcs/index.js +25 -40
  276. package/node_modules/nodemailer/lib/mime-funcs/mime-types.js +7 -11
  277. package/node_modules/nodemailer/lib/mime-node/index.js +81 -72
  278. package/node_modules/nodemailer/lib/mime-node/last-newline.js +1 -1
  279. package/node_modules/nodemailer/lib/mime-node/le-unix.js +4 -7
  280. package/node_modules/nodemailer/lib/mime-node/le-windows.js +1 -4
  281. package/node_modules/nodemailer/lib/nodemailer.js +11 -18
  282. package/node_modules/nodemailer/lib/qp/index.js +24 -21
  283. package/node_modules/nodemailer/lib/sendmail-transport/index.js +30 -41
  284. package/node_modules/nodemailer/lib/ses-transport/index.js +23 -34
  285. package/node_modules/nodemailer/lib/shared/index.js +94 -140
  286. package/node_modules/nodemailer/lib/smtp-connection/data-stream.js +3 -6
  287. package/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js +11 -13
  288. package/node_modules/nodemailer/lib/smtp-connection/index.js +114 -181
  289. package/node_modules/nodemailer/lib/smtp-pool/index.js +20 -32
  290. package/node_modules/nodemailer/lib/smtp-pool/pool-resource.js +8 -12
  291. package/node_modules/nodemailer/lib/smtp-transport/index.js +22 -42
  292. package/node_modules/nodemailer/lib/stream-transport/index.js +7 -7
  293. package/node_modules/nodemailer/lib/well-known/index.js +7 -7
  294. package/node_modules/nodemailer/lib/xoauth2/index.js +22 -28
  295. package/node_modules/nodemailer/package.json +4 -3
  296. package/node_modules/path-expression-matcher/LICENSE +21 -0
  297. package/node_modules/path-expression-matcher/README.md +720 -0
  298. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
  299. package/node_modules/path-expression-matcher/lib/pem.d.cts +523 -0
  300. package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
  301. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
  302. package/node_modules/path-expression-matcher/package.json +78 -0
  303. package/node_modules/path-expression-matcher/src/Expression.js +232 -0
  304. package/node_modules/path-expression-matcher/src/Matcher.js +498 -0
  305. package/node_modules/path-expression-matcher/src/index.d.ts +518 -0
  306. package/node_modules/path-expression-matcher/src/index.js +28 -0
  307. package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/CHANGELOG.md +9 -2
  308. package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/README.md +1 -0
  309. package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/package.json +3 -3
  310. package/node_modules/strnum/strnum.js +161 -0
  311. package/node_modules/strnum/tests/infinity_test.js +18 -0
  312. package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum/strnum.test.js → strnum/tests/strnum_test.js} +70 -68
  313. package/node_modules/strnum/tests/temp.js +8 -0
  314. package/package.json +1 -1
  315. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptPackageJsonPaths.js +0 -17
  316. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptPackageJsonPaths.d.ts +0 -3
  317. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/strnum.js +0 -129
  318. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/test.js +0 -9
  319. package/node_modules/fast-xml-builder/lib/builder.cjs +0 -1
  320. package/node_modules/fast-xml-builder/lib/builder.min.js +0 -2
  321. package/node_modules/fast-xml-builder/lib/builder.min.js.map +0 -1
  322. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/.github/SECURITY.md +0 -0
  323. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/.vscode/launch.json +0 -0
  324. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/LICENSE +0 -0
  325. /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/algo.stflow +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ses",
3
3
  "description": "AWS SDK for JavaScript Ses Client for Node.js, Browser and React Native",
4
- "version": "3.1005.0",
4
+ "version": "3.1015.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ses",
@@ -23,43 +23,43 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.19",
27
- "@aws-sdk/credential-provider-node": "^3.972.19",
28
- "@aws-sdk/middleware-host-header": "^3.972.7",
29
- "@aws-sdk/middleware-logger": "^3.972.7",
30
- "@aws-sdk/middleware-recursion-detection": "^3.972.7",
31
- "@aws-sdk/middleware-user-agent": "^3.972.20",
32
- "@aws-sdk/region-config-resolver": "^3.972.7",
33
- "@aws-sdk/types": "^3.973.5",
34
- "@aws-sdk/util-endpoints": "^3.996.4",
35
- "@aws-sdk/util-user-agent-browser": "^3.972.7",
36
- "@aws-sdk/util-user-agent-node": "^3.973.5",
37
- "@smithy/config-resolver": "^4.4.10",
38
- "@smithy/core": "^3.23.9",
39
- "@smithy/fetch-http-handler": "^5.3.13",
40
- "@smithy/hash-node": "^4.2.11",
41
- "@smithy/invalid-dependency": "^4.2.11",
42
- "@smithy/middleware-content-length": "^4.2.11",
43
- "@smithy/middleware-endpoint": "^4.4.23",
44
- "@smithy/middleware-retry": "^4.4.40",
45
- "@smithy/middleware-serde": "^4.2.12",
46
- "@smithy/middleware-stack": "^4.2.11",
47
- "@smithy/node-config-provider": "^4.3.11",
48
- "@smithy/node-http-handler": "^4.4.14",
49
- "@smithy/protocol-http": "^5.3.11",
50
- "@smithy/smithy-client": "^4.12.3",
51
- "@smithy/types": "^4.13.0",
52
- "@smithy/url-parser": "^4.2.11",
26
+ "@aws-sdk/core": "^3.973.24",
27
+ "@aws-sdk/credential-provider-node": "^3.972.25",
28
+ "@aws-sdk/middleware-host-header": "^3.972.8",
29
+ "@aws-sdk/middleware-logger": "^3.972.8",
30
+ "@aws-sdk/middleware-recursion-detection": "^3.972.8",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.25",
32
+ "@aws-sdk/region-config-resolver": "^3.972.9",
33
+ "@aws-sdk/types": "^3.973.6",
34
+ "@aws-sdk/util-endpoints": "^3.996.5",
35
+ "@aws-sdk/util-user-agent-browser": "^3.972.8",
36
+ "@aws-sdk/util-user-agent-node": "^3.973.11",
37
+ "@smithy/config-resolver": "^4.4.13",
38
+ "@smithy/core": "^3.23.12",
39
+ "@smithy/fetch-http-handler": "^5.3.15",
40
+ "@smithy/hash-node": "^4.2.12",
41
+ "@smithy/invalid-dependency": "^4.2.12",
42
+ "@smithy/middleware-content-length": "^4.2.12",
43
+ "@smithy/middleware-endpoint": "^4.4.27",
44
+ "@smithy/middleware-retry": "^4.4.44",
45
+ "@smithy/middleware-serde": "^4.2.15",
46
+ "@smithy/middleware-stack": "^4.2.12",
47
+ "@smithy/node-config-provider": "^4.3.12",
48
+ "@smithy/node-http-handler": "^4.5.0",
49
+ "@smithy/protocol-http": "^5.3.12",
50
+ "@smithy/smithy-client": "^4.12.7",
51
+ "@smithy/types": "^4.13.1",
52
+ "@smithy/url-parser": "^4.2.12",
53
53
  "@smithy/util-base64": "^4.3.2",
54
54
  "@smithy/util-body-length-browser": "^4.2.2",
55
55
  "@smithy/util-body-length-node": "^4.2.3",
56
- "@smithy/util-defaults-mode-browser": "^4.3.39",
57
- "@smithy/util-defaults-mode-node": "^4.2.42",
58
- "@smithy/util-endpoints": "^3.3.2",
59
- "@smithy/util-middleware": "^4.2.11",
60
- "@smithy/util-retry": "^4.2.11",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.43",
57
+ "@smithy/util-defaults-mode-node": "^4.2.47",
58
+ "@smithy/util-endpoints": "^3.3.3",
59
+ "@smithy/util-middleware": "^4.2.12",
60
+ "@smithy/util-retry": "^4.2.12",
61
61
  "@smithy/util-utf8": "^4.2.2",
62
- "@smithy/util-waiter": "^4.2.11",
62
+ "@smithy/util-waiter": "^4.2.13",
63
63
  "tslib": "^2.6.2"
64
64
  },
65
65
  "devDependencies": {
@@ -46,8 +46,9 @@ Reference</a>
46
46
  </ul>
47
47
 
48
48
  ## Installing
49
- To install this package, simply type add or install @aws-sdk/client-ssm
50
- using your favorite package manager:
49
+
50
+ To install this package, use the CLI of your favorite package manager:
51
+
51
52
  - `npm install @aws-sdk/client-ssm`
52
53
  - `yarn add @aws-sdk/client-ssm`
53
54
  - `pnpm add @aws-sdk/client-ssm`
@@ -72,15 +73,15 @@ import { SSMClient, ListNodesCommand } from "@aws-sdk/client-ssm";
72
73
 
73
74
  ### Usage
74
75
 
75
- To send a request, you:
76
+ To send a request:
76
77
 
77
- - Initiate client with configuration (e.g. credentials, region).
78
- - Initiate command with input parameters.
79
- - Call `send` operation on client with command object as input.
80
- - If you are using a custom http handler, you may call `destroy()` to close open connections.
78
+ - Instantiate a client with configuration (e.g. credentials, region).
79
+ - See [docs/CLIENTS](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md) for configuration details.
80
+ - See [@aws-sdk/config](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/config/README.md) for additional options.
81
+ - Instantiate a command with input parameters.
82
+ - Call the `send` operation on the client, providing the command object as input.
81
83
 
82
84
  ```js
83
- // a client can be shared by different commands.
84
85
  const client = new SSMClient({ region: "REGION" });
85
86
 
86
87
  const params = { /** input parameters */ };
@@ -89,7 +90,7 @@ const command = new ListNodesCommand(params);
89
90
 
90
91
  #### Async/await
91
92
 
92
- We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
93
+ We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
93
94
  operator to wait for the promise returned by send operation as follows:
94
95
 
95
96
  ```js
@@ -104,26 +105,9 @@ try {
104
105
  }
105
106
  ```
106
107
 
107
- Async-await is clean, concise, intuitive, easy to debug and has better error handling
108
- as compared to using Promise chains or callbacks.
109
-
110
108
  #### Promises
111
109
 
112
- You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining)
113
- to execute send operation.
114
-
115
- ```js
116
- client.send(command).then(
117
- (data) => {
118
- // process data.
119
- },
120
- (error) => {
121
- // error handling.
122
- }
123
- );
124
- ```
125
-
126
- Promises can also be called using `.catch()` and `.finally()` as follows:
110
+ You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining).
127
111
 
128
112
  ```js
129
113
  client
@@ -139,27 +123,21 @@ client
139
123
  });
140
124
  ```
141
125
 
142
- #### Callbacks
143
-
144
- We do not recommend using callbacks because of [callback hell](http://callbackhell.com/),
145
- but they are supported by the send operation.
126
+ #### Aggregated client
146
127
 
147
- ```js
148
- // callbacks.
149
- client.send(command, (err, data) => {
150
- // process err and data.
151
- });
152
- ```
128
+ The aggregated client class is exported from the same package, but without the "Client" suffix.
153
129
 
154
- #### v2 compatible style
130
+ `SSM` extends `SSMClient` and additionally supports all operations, waiters, and paginators as methods.
131
+ This style may be familiar to you from the AWS SDK for JavaScript v2.
155
132
 
156
- The client can also send requests using v2 compatible style.
157
- However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post
158
- on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/)
133
+ If you are bundling the AWS SDK, we recommend using only the bare-bones client (`SSMClient`).
134
+ More details are in the blog post on
135
+ [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/).
159
136
 
160
137
  ```ts
161
- import * as AWS from "@aws-sdk/client-ssm";
162
- const client = new AWS.SSM({ region: "REGION" });
138
+ import { SSM } from "@aws-sdk/client-ssm";
139
+
140
+ const client = new SSM({ region: "REGION" });
163
141
 
164
142
  // async/await.
165
143
  try {
@@ -179,7 +157,7 @@ client
179
157
  // error handling.
180
158
  });
181
159
 
182
- // callbacks.
160
+ // callbacks (not recommended).
183
161
  client.listNodes(params, (err, data) => {
184
162
  // process err and data.
185
163
  });
@@ -207,12 +185,14 @@ try {
207
185
  }
208
186
  ```
209
187
 
188
+ See also [docs/ERROR_HANDLING](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/ERROR_HANDLING.md).
189
+
210
190
  ## Getting Help
211
191
 
212
192
  Please use these community resources for getting help.
213
- We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
193
+ We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
214
194
 
215
- - Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
195
+ - Visit the [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
216
196
  or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
217
197
  - Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
218
198
  on AWS Developer Blog.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ssm",
3
3
  "description": "AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native",
4
- "version": "3.1005.0",
4
+ "version": "3.1015.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ssm",
@@ -23,43 +23,43 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.19",
27
- "@aws-sdk/credential-provider-node": "^3.972.19",
28
- "@aws-sdk/middleware-host-header": "^3.972.7",
29
- "@aws-sdk/middleware-logger": "^3.972.7",
30
- "@aws-sdk/middleware-recursion-detection": "^3.972.7",
31
- "@aws-sdk/middleware-user-agent": "^3.972.20",
32
- "@aws-sdk/region-config-resolver": "^3.972.7",
33
- "@aws-sdk/types": "^3.973.5",
34
- "@aws-sdk/util-endpoints": "^3.996.4",
35
- "@aws-sdk/util-user-agent-browser": "^3.972.7",
36
- "@aws-sdk/util-user-agent-node": "^3.973.5",
37
- "@smithy/config-resolver": "^4.4.10",
38
- "@smithy/core": "^3.23.9",
39
- "@smithy/fetch-http-handler": "^5.3.13",
40
- "@smithy/hash-node": "^4.2.11",
41
- "@smithy/invalid-dependency": "^4.2.11",
42
- "@smithy/middleware-content-length": "^4.2.11",
43
- "@smithy/middleware-endpoint": "^4.4.23",
44
- "@smithy/middleware-retry": "^4.4.40",
45
- "@smithy/middleware-serde": "^4.2.12",
46
- "@smithy/middleware-stack": "^4.2.11",
47
- "@smithy/node-config-provider": "^4.3.11",
48
- "@smithy/node-http-handler": "^4.4.14",
49
- "@smithy/protocol-http": "^5.3.11",
50
- "@smithy/smithy-client": "^4.12.3",
51
- "@smithy/types": "^4.13.0",
52
- "@smithy/url-parser": "^4.2.11",
26
+ "@aws-sdk/core": "^3.973.24",
27
+ "@aws-sdk/credential-provider-node": "^3.972.25",
28
+ "@aws-sdk/middleware-host-header": "^3.972.8",
29
+ "@aws-sdk/middleware-logger": "^3.972.8",
30
+ "@aws-sdk/middleware-recursion-detection": "^3.972.8",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.25",
32
+ "@aws-sdk/region-config-resolver": "^3.972.9",
33
+ "@aws-sdk/types": "^3.973.6",
34
+ "@aws-sdk/util-endpoints": "^3.996.5",
35
+ "@aws-sdk/util-user-agent-browser": "^3.972.8",
36
+ "@aws-sdk/util-user-agent-node": "^3.973.11",
37
+ "@smithy/config-resolver": "^4.4.13",
38
+ "@smithy/core": "^3.23.12",
39
+ "@smithy/fetch-http-handler": "^5.3.15",
40
+ "@smithy/hash-node": "^4.2.12",
41
+ "@smithy/invalid-dependency": "^4.2.12",
42
+ "@smithy/middleware-content-length": "^4.2.12",
43
+ "@smithy/middleware-endpoint": "^4.4.27",
44
+ "@smithy/middleware-retry": "^4.4.44",
45
+ "@smithy/middleware-serde": "^4.2.15",
46
+ "@smithy/middleware-stack": "^4.2.12",
47
+ "@smithy/node-config-provider": "^4.3.12",
48
+ "@smithy/node-http-handler": "^4.5.0",
49
+ "@smithy/protocol-http": "^5.3.12",
50
+ "@smithy/smithy-client": "^4.12.7",
51
+ "@smithy/types": "^4.13.1",
52
+ "@smithy/url-parser": "^4.2.12",
53
53
  "@smithy/util-base64": "^4.3.2",
54
54
  "@smithy/util-body-length-browser": "^4.2.2",
55
55
  "@smithy/util-body-length-node": "^4.2.3",
56
- "@smithy/util-defaults-mode-browser": "^4.3.39",
57
- "@smithy/util-defaults-mode-node": "^4.2.42",
58
- "@smithy/util-endpoints": "^3.3.2",
59
- "@smithy/util-middleware": "^4.2.11",
60
- "@smithy/util-retry": "^4.2.11",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.43",
57
+ "@smithy/util-defaults-mode-node": "^4.2.47",
58
+ "@smithy/util-endpoints": "^3.3.3",
59
+ "@smithy/util-middleware": "^4.2.12",
60
+ "@smithy/util-retry": "^4.2.12",
61
61
  "@smithy/util-utf8": "^4.2.2",
62
- "@smithy/util-waiter": "^4.2.11",
62
+ "@smithy/util-waiter": "^4.2.13",
63
63
  "tslib": "^2.6.2"
64
64
  },
65
65
  "devDependencies": {
@@ -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 = {};