@mavogel/awscdk-rootmail 0.0.322 → 0.0.324

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 (987) hide show
  1. package/.jsii +2 -2
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +4442 -4660
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +41 -41
  6. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +7328 -7804
  7. package/node_modules/@aws-sdk/client-route-53/package.json +40 -40
  8. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +11771 -11916
  9. package/node_modules/@aws-sdk/client-s3/package.json +55 -55
  10. package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +7284 -7626
  11. package/node_modules/@aws-sdk/client-ses/package.json +38 -38
  12. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +12508 -13696
  13. package/node_modules/@aws-sdk/client-ssm/package.json +39 -39
  14. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +478 -596
  15. package/node_modules/@aws-sdk/client-sso/package.json +36 -36
  16. package/node_modules/@aws-sdk/core/dist-cjs/index.js +1969 -6
  17. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +48 -88
  18. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +35 -74
  19. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +273 -365
  20. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1581 -1863
  21. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +2 -2
  22. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +2 -2
  23. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +4 -4
  24. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +4 -4
  25. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +3 -3
  26. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +4 -4
  27. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +2 -2
  28. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -4
  29. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
  30. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +1 -1
  31. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
  32. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
  33. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
  34. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +1 -1
  35. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +1 -1
  36. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
  37. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +2 -2
  38. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -1
  39. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts +1 -1
  40. package/node_modules/@aws-sdk/core/package.json +13 -13
  41. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +38 -73
  42. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  43. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  44. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +194 -259
  45. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  46. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +72 -132
  47. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  48. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +71 -107
  49. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  50. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +176 -249
  51. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +14 -0
  52. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  53. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +16 -25
  54. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  55. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +6 -6
  56. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  57. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +381 -478
  58. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +11 -11
  59. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  60. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  61. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  62. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  63. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
  64. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +511 -641
  65. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +13 -13
  66. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  67. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +170 -203
  68. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  69. package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +2 -2
  70. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +583 -858
  71. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +795 -928
  72. package/node_modules/@aws-sdk/nested-clients/package.json +36 -36
  73. package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
  74. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +108 -137
  75. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  76. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +147 -222
  77. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  78. package/node_modules/@aws-sdk/types/package.json +2 -2
  79. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  80. package/node_modules/@aws-sdk/util-user-agent-browser/README.md +22 -3
  81. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +57 -0
  82. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +39 -8
  83. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js +20 -0
  84. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +37 -6
  85. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts +14 -0
  86. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +14 -4
  87. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +4 -3
  88. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts +9 -0
  89. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +5 -0
  90. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  91. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +50 -94
  92. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts +1 -2
  93. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +10 -5
  94. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  95. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  96. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +28 -80
  97. package/node_modules/@smithy/abort-controller/dist-es/AbortController.js +1 -3
  98. package/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +2 -2
  99. package/node_modules/@smithy/abort-controller/package.json +2 -2
  100. package/node_modules/@smithy/chunked-blob-reader/dist-cjs/index.js +9 -37
  101. package/node_modules/@smithy/chunked-blob-reader/package.json +1 -1
  102. package/node_modules/@smithy/chunked-blob-reader-native/dist-cjs/index.js +28 -55
  103. package/node_modules/@smithy/chunked-blob-reader-native/package.json +2 -2
  104. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +158 -215
  105. package/node_modules/@smithy/config-resolver/package.json +5 -5
  106. package/node_modules/@smithy/core/dist-cjs/index.js +308 -412
  107. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +945 -969
  108. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +200 -249
  109. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +796 -894
  110. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +562 -802
  111. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +675 -679
  112. package/node_modules/@smithy/core/dist-es/index.js +1 -1
  113. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +7 -14
  114. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +3 -3
  115. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +18 -18
  116. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +5 -5
  117. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +10 -3
  118. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +4 -4
  119. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +7 -4
  120. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -2
  121. package/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js +6 -0
  122. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
  123. package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +9 -7
  124. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +23 -21
  125. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +5 -1
  126. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js +3 -0
  127. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +9 -10
  128. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js +5 -6
  129. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +8 -5
  130. package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +1 -0
  131. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +5 -1
  132. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +5 -1
  133. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +3 -5
  134. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +5 -5
  135. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +6 -5
  136. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +114 -182
  137. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +6 -5
  138. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +3 -0
  139. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +5 -5
  140. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +6 -5
  141. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js +14 -14
  142. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +22 -0
  143. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  144. package/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js +110 -0
  145. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +6 -26
  146. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js +1 -1
  147. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js +4 -2
  148. package/node_modules/@smithy/core/dist-types/index.d.ts +1 -1
  149. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -10
  150. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +5 -2
  151. package/node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts +8 -0
  152. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +1 -0
  153. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +3 -4
  154. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +5 -2
  155. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +5 -2
  156. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +3 -4
  157. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +4 -4
  158. package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +1 -0
  159. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +26 -24
  160. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +2 -0
  161. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +7 -0
  162. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  163. package/node_modules/@smithy/core/dist-types/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
  164. package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +1 -1
  165. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -10
  166. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +5 -2
  167. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +8 -0
  168. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
  169. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +3 -4
  170. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +5 -2
  171. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +5 -2
  172. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +3 -4
  173. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +4 -4
  174. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +1 -0
  175. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +26 -24
  176. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +2 -0
  177. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +7 -0
  178. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  179. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
  180. package/node_modules/@smithy/core/package.json +11 -11
  181. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +340 -412
  182. package/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +2 -1
  183. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  184. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +372 -457
  185. package/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js +3 -0
  186. package/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js +2 -0
  187. package/node_modules/@smithy/eventstream-codec/dist-es/Int64.js +2 -1
  188. package/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js +1 -0
  189. package/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js +1 -0
  190. package/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js +1 -0
  191. package/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js +1 -0
  192. package/node_modules/@smithy/eventstream-codec/package.json +4 -4
  193. package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js +51 -96
  194. package/node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js +1 -0
  195. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  196. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +4 -33
  197. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  198. package/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +44 -80
  199. package/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js +1 -0
  200. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  201. package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +120 -170
  202. package/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js +2 -0
  203. package/node_modules/@smithy/eventstream-serde-universal/package.json +4 -4
  204. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +190 -238
  205. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +2 -0
  206. package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
  207. package/node_modules/@smithy/hash-blob-browser/dist-cjs/index.js +10 -36
  208. package/node_modules/@smithy/hash-blob-browser/package.json +5 -5
  209. package/node_modules/@smithy/hash-node/dist-cjs/index.js +38 -63
  210. package/node_modules/@smithy/hash-node/dist-es/index.js +3 -0
  211. package/node_modules/@smithy/hash-node/package.json +4 -4
  212. package/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +58 -92
  213. package/node_modules/@smithy/hash-stream-node/dist-es/HashCalculator.js +1 -0
  214. package/node_modules/@smithy/hash-stream-node/package.json +4 -4
  215. package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +7 -38
  216. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  217. package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +4 -30
  218. package/node_modules/@smithy/is-array-buffer/package.json +1 -1
  219. package/node_modules/@smithy/md5-js/dist-cjs/index.js +153 -186
  220. package/node_modules/@smithy/md5-js/dist-es/index.js +5 -0
  221. package/node_modules/@smithy/md5-js/package.json +5 -5
  222. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +39 -64
  223. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  224. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +1 -1
  225. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +219 -277
  226. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
  227. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
  228. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  229. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  230. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +16 -0
  231. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +189 -0
  232. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +17 -0
  233. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
  234. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
  235. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
  236. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
  237. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
  238. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
  239. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
  240. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +12 -0
  241. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
  242. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +9 -0
  243. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
  244. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
  245. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  246. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
  247. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
  248. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +13 -0
  249. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
  250. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
  251. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
  252. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
  253. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
  254. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
  255. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
  256. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
  257. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +50 -0
  258. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
  259. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +9 -0
  260. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
  261. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
  262. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  263. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
  264. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
  265. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +7 -0
  266. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
  267. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
  268. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
  269. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
  270. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
  271. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
  272. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
  273. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +50 -0
  274. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
  275. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +9 -0
  276. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
  277. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
  278. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
  279. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
  280. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
  281. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +7 -0
  282. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
  283. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
  284. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  285. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  286. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +327 -380
  287. package/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.browser.js +1 -1
  288. package/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +2 -2
  289. package/node_modules/@smithy/middleware-retry/dist-es/AdaptiveRetryStrategy.js +1 -0
  290. package/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js +5 -1
  291. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  292. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +89 -118
  293. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  294. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +274 -297
  295. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  296. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +51 -98
  297. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +201 -0
  298. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +10 -0
  299. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  300. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  301. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
  302. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  303. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  304. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  305. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  306. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  307. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  308. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  309. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  310. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  311. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  312. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  313. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  314. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  315. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  316. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  317. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  318. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  319. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  320. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  321. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +61 -0
  322. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
  323. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
  324. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  325. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  326. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +16 -0
  327. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +189 -0
  328. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +17 -0
  329. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
  330. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
  331. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
  332. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
  333. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
  334. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
  335. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
  336. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +12 -0
  337. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
  338. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +9 -0
  339. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
  340. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
  341. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  342. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
  343. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
  344. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +13 -0
  345. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
  346. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
  347. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
  348. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
  349. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
  350. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
  351. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
  352. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
  353. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +50 -0
  354. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
  355. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +9 -0
  356. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
  357. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
  358. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  359. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
  360. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
  361. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +7 -0
  362. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
  363. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
  364. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
  365. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
  366. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
  367. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
  368. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
  369. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +50 -0
  370. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
  371. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +9 -0
  372. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
  373. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
  374. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
  375. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
  376. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
  377. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +7 -0
  378. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
  379. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
  380. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  381. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  382. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +685 -769
  383. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -6
  384. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -1
  385. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +1 -1
  386. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +4 -2
  387. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +3 -1
  388. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +1 -1
  389. package/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
  390. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -3
  391. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -4
  392. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +3 -1
  393. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
  394. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
  395. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
  396. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/LICENSE +201 -0
  397. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/README.md +4 -0
  398. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +32 -0
  399. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +7 -0
  400. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
  401. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
  402. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
  403. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +21 -0
  404. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
  405. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
  406. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +21 -0
  407. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
  408. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/package.json +63 -0
  409. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  410. package/node_modules/@smithy/property-provider/dist-cjs/index.js +105 -158
  411. package/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +1 -1
  412. package/node_modules/@smithy/property-provider/dist-es/ProviderError.js +2 -1
  413. package/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +1 -1
  414. package/node_modules/@smithy/property-provider/package.json +2 -2
  415. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +154 -246
  416. package/node_modules/@smithy/protocol-http/dist-es/Field.js +3 -0
  417. package/node_modules/@smithy/protocol-http/dist-es/Fields.js +2 -1
  418. package/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +11 -0
  419. package/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +4 -0
  420. package/node_modules/@smithy/protocol-http/package.json +2 -2
  421. package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +21 -47
  422. package/node_modules/@smithy/querystring-builder/package.json +3 -3
  423. package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +22 -48
  424. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  425. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +70 -103
  426. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  427. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +171 -210
  428. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +1 -1
  429. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  430. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +525 -648
  431. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +2 -1
  432. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +1 -1
  433. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +6 -0
  434. package/node_modules/@smithy/signature-v4/package.json +8 -8
  435. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +555 -747
  436. package/node_modules/@smithy/smithy-client/dist-es/client.js +4 -1
  437. package/node_modules/@smithy/smithy-client/dist-es/command.js +22 -22
  438. package/node_modules/@smithy/smithy-client/dist-es/exceptions.js +4 -0
  439. package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +3 -3
  440. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +3 -3
  441. package/node_modules/@smithy/smithy-client/package.json +7 -7
  442. package/node_modules/@smithy/types/dist-cjs/index.js +80 -133
  443. package/node_modules/@smithy/types/dist-es/index.js +1 -0
  444. package/node_modules/@smithy/types/dist-es/schema/static-schemas.js +1 -0
  445. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +17 -10
  446. package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
  447. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -1
  448. package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +82 -0
  449. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +17 -10
  450. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
  451. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -1
  452. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +101 -0
  453. package/node_modules/@smithy/types/package.json +1 -1
  454. package/node_modules/@smithy/url-parser/dist-cjs/index.js +20 -46
  455. package/node_modules/@smithy/url-parser/package.json +3 -3
  456. package/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js +9 -32
  457. package/node_modules/@smithy/util-base64/dist-cjs/index.js +16 -24
  458. package/node_modules/@smithy/util-base64/dist-es/constants.browser.js +9 -28
  459. package/node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts +5 -6
  460. package/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts +5 -6
  461. package/node_modules/@smithy/util-base64/package.json +3 -3
  462. package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +26 -50
  463. package/node_modules/@smithy/util-body-length-browser/package.json +1 -1
  464. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +29 -50
  465. package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +8 -6
  466. package/node_modules/@smithy/util-body-length-node/package.json +1 -1
  467. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +17 -44
  468. package/node_modules/@smithy/util-buffer-from/package.json +2 -2
  469. package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +26 -56
  470. package/node_modules/@smithy/util-config-provider/package.json +1 -1
  471. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +9 -22
  472. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js +13 -12
  473. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.native.js +2 -2
  474. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js +11 -8
  475. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/LICENSE +201 -0
  476. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/README.md +10 -0
  477. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  478. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  479. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
  480. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  481. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  482. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  483. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  484. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  485. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  486. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  487. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  488. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  489. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  490. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  491. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  492. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  493. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  494. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  495. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  496. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  497. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  498. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  499. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +61 -0
  500. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -5
  501. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +65 -110
  502. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/LICENSE +201 -0
  503. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/README.md +11 -0
  504. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +372 -0
  505. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js +5 -0
  506. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js +7 -0
  507. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js +5 -0
  508. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js +8 -0
  509. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +10 -0
  510. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +77 -0
  511. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +134 -0
  512. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/index.js +7 -0
  513. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +13 -0
  514. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js +3 -0
  515. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +36 -0
  516. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +2 -0
  517. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js +7 -0
  518. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/types.js +1 -0
  519. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +17 -0
  520. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js +19 -0
  521. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js +25 -0
  522. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts +7 -0
  523. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +13 -0
  524. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts +7 -0
  525. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +13 -0
  526. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts +12 -0
  527. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +21 -0
  528. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +10 -0
  529. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +28 -0
  530. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +19 -0
  531. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +40 -0
  532. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +6 -0
  533. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +8 -0
  534. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts +10 -0
  535. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +7 -0
  536. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +13 -0
  537. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +7 -0
  538. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +13 -0
  539. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +12 -0
  540. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +21 -0
  541. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +10 -0
  542. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +28 -0
  543. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +19 -0
  544. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +40 -0
  545. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +6 -0
  546. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +8 -0
  547. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +10 -0
  548. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +7 -0
  549. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
  550. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +21 -0
  551. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +16 -0
  552. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +7 -0
  553. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
  554. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +21 -0
  555. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +16 -0
  556. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +70 -0
  557. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/LICENSE +201 -0
  558. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/README.md +10 -0
  559. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  560. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  561. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
  562. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  563. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  564. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  565. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  566. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  567. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  568. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  569. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  570. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  571. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  572. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  573. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  574. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  575. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  576. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  577. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  578. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  579. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  580. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  581. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +61 -0
  582. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  583. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +445 -526
  584. package/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js +3 -2
  585. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  586. package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +29 -58
  587. package/node_modules/@smithy/util-hex-encoding/package.json +1 -1
  588. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +11 -40
  589. package/node_modules/@smithy/util-middleware/package.json +2 -2
  590. package/node_modules/@smithy/util-retry/dist-cjs/index.js +260 -340
  591. package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +4 -1
  592. package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +1 -0
  593. package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +17 -8
  594. package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +5 -3
  595. package/node_modules/@smithy/util-retry/package.json +3 -3
  596. package/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +3 -2
  597. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +7 -3
  598. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +2 -3
  599. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -1
  600. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +2 -3
  601. package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +1 -2
  602. package/node_modules/@smithy/util-stream/dist-cjs/headStream.js +4 -8
  603. package/node_modules/@smithy/util-stream/dist-cjs/index.js +80 -92
  604. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +1 -2
  605. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -2
  606. package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +3 -7
  607. package/node_modules/@smithy/util-stream/dist-es/ByteArrayCollector.js +3 -2
  608. package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +3 -5
  609. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +5 -0
  610. package/node_modules/@smithy/util-stream/dist-es/headStream.js +3 -6
  611. package/node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
  612. package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
  613. package/node_modules/@smithy/util-stream/package.json +8 -8
  614. package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +6 -40
  615. package/node_modules/@smithy/util-uri-escape/package.json +1 -1
  616. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +27 -60
  617. package/node_modules/@smithy/util-utf8/package.json +2 -2
  618. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +152 -189
  619. package/node_modules/@smithy/util-waiter/package.json +3 -3
  620. package/node_modules/@smithy/uuid/dist-cjs/index.js +33 -42
  621. package/node_modules/@smithy/uuid/package.json +1 -1
  622. package/node_modules/cdk-nag/.jsii +3 -3
  623. package/node_modules/cdk-nag/API.md +1 -1
  624. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  625. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  626. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  627. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  628. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  629. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  630. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  631. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  632. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  633. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  634. package/node_modules/cdk-nag/lib/packs/serverless.js +1 -1
  635. package/node_modules/cdk-nag/package.json +4 -4
  636. package/node_modules/mailparser/CHANGELOG.md +7 -0
  637. package/node_modules/mailparser/lib/mail-parser.js +12 -3
  638. package/node_modules/mailparser/node_modules/iconv-lite/Changelog.md +236 -0
  639. package/node_modules/mailparser/node_modules/iconv-lite/LICENSE +21 -0
  640. package/node_modules/mailparser/node_modules/iconv-lite/README.md +138 -0
  641. package/node_modules/mailparser/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  642. package/node_modules/mailparser/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  643. package/node_modules/mailparser/node_modules/iconv-lite/encodings/index.js +23 -0
  644. package/node_modules/mailparser/node_modules/iconv-lite/encodings/internal.js +218 -0
  645. package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  646. package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  647. package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
  648. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  649. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  650. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  651. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  652. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  653. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  654. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  655. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  656. package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf16.js +187 -0
  657. package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf32.js +307 -0
  658. package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf7.js +283 -0
  659. package/node_modules/mailparser/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  660. package/node_modules/mailparser/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  661. package/node_modules/mailparser/node_modules/iconv-lite/lib/index.d.ts +41 -0
  662. package/node_modules/mailparser/node_modules/iconv-lite/lib/index.js +183 -0
  663. package/node_modules/mailparser/node_modules/iconv-lite/lib/streams.js +105 -0
  664. package/node_modules/mailparser/node_modules/iconv-lite/package.json +59 -0
  665. package/node_modules/mailparser/package.json +5 -5
  666. package/node_modules/mailsplit/index.js +2 -0
  667. package/node_modules/mailsplit/lib/chunked-passthrough.js +37 -0
  668. package/node_modules/mailsplit/package.json +1 -1
  669. package/node_modules/nodemailer/.ncurc.js +3 -5
  670. package/node_modules/nodemailer/.prettierignore +8 -0
  671. package/node_modules/nodemailer/.prettierrc +12 -0
  672. package/node_modules/nodemailer/.prettierrc.js +2 -0
  673. package/node_modules/nodemailer/.release-please-config.json +9 -0
  674. package/node_modules/nodemailer/CHANGELOG.md +323 -305
  675. package/node_modules/nodemailer/CODE_OF_CONDUCT.md +13 -13
  676. package/node_modules/nodemailer/README.md +10 -10
  677. package/node_modules/nodemailer/eslint.config.js +88 -0
  678. package/node_modules/nodemailer/lib/addressparser/index.js +47 -7
  679. package/node_modules/nodemailer/lib/base64/index.js +11 -14
  680. package/node_modules/nodemailer/lib/dkim/index.js +3 -1
  681. package/node_modules/nodemailer/lib/dkim/sign.js +1 -1
  682. package/node_modules/nodemailer/lib/fetch/index.js +7 -1
  683. package/node_modules/nodemailer/lib/mail-composer/index.js +47 -9
  684. package/node_modules/nodemailer/lib/mailer/index.js +8 -1
  685. package/node_modules/nodemailer/lib/mailer/mail-message.js +2 -1
  686. package/node_modules/nodemailer/lib/mime-funcs/index.js +2 -2
  687. package/node_modules/nodemailer/lib/mime-funcs/mime-types.js +12 -3
  688. package/node_modules/nodemailer/lib/mime-node/index.js +11 -9
  689. package/node_modules/nodemailer/lib/nodemailer.js +3 -1
  690. package/node_modules/nodemailer/lib/qp/index.js +10 -2
  691. package/node_modules/nodemailer/lib/shared/index.js +108 -42
  692. package/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js +2 -2
  693. package/node_modules/nodemailer/lib/smtp-connection/index.js +13 -6
  694. package/node_modules/nodemailer/lib/smtp-pool/pool-resource.js +3 -2
  695. package/node_modules/nodemailer/lib/smtp-transport/index.js +1 -1
  696. package/node_modules/nodemailer/lib/well-known/services.json +277 -42
  697. package/node_modules/nodemailer/lib/xoauth2/index.js +58 -7
  698. package/node_modules/nodemailer/package.json +9 -5
  699. package/node_modules/tlds/index.json +0 -1
  700. package/node_modules/tlds/package.json +1 -1
  701. package/package.json +1 -1
  702. package/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -1
  703. package/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -1
  704. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +0 -1
  705. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +0 -1
  706. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/index.js +0 -1
  707. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveCustomEndpointsConfig.js +0 -1
  708. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveEndpointsConfig.js +0 -1
  709. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/utils/getEndpointFromRegion.js +0 -1
  710. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/config.js +0 -1
  711. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/getRealRegion.js +0 -1
  712. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/index.js +0 -1
  713. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/isFipsRegion.js +0 -1
  714. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +0 -1
  715. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariant.js +0 -1
  716. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariantTag.js +0 -1
  717. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/PartitionHash.js +0 -1
  718. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/RegionHash.js +0 -1
  719. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getHostnameFromVariants.js +0 -1
  720. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getRegionInfo.js +0 -1
  721. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedHostname.js +0 -1
  722. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedPartition.js +0 -1
  723. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedSigningRegion.js +0 -1
  724. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/index.js +0 -1
  725. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +0 -1
  726. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +0 -1
  727. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +0 -1
  728. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +0 -1
  729. package/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +0 -1
  730. package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +0 -1
  731. package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +0 -1
  732. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +0 -1
  733. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +0 -1
  734. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +0 -1
  735. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +0 -1
  736. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +0 -1
  737. package/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +0 -1
  738. package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +0 -1
  739. package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +0 -1
  740. package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +0 -1
  741. package/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js +0 -1
  742. package/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js +0 -1
  743. package/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js +0 -1
  744. package/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js +0 -1
  745. package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js +0 -1
  746. package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js +0 -1
  747. package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js +0 -1
  748. package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js +0 -1
  749. package/node_modules/@smithy/eventstream-codec/dist-cjs/TestVectors.fixture.js +0 -1
  750. package/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js +0 -1
  751. package/node_modules/@smithy/eventstream-codec/dist-cjs/vectorTypes.fixture.js +0 -1
  752. package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/EventStreamMarshaller.js +0 -1
  753. package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/provider.js +0 -1
  754. package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/utils.js +0 -1
  755. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/EventStreamSerdeConfig.js +0 -1
  756. package/node_modules/@smithy/eventstream-serde-node/dist-cjs/EventStreamMarshaller.js +0 -1
  757. package/node_modules/@smithy/eventstream-serde-node/dist-cjs/provider.js +0 -1
  758. package/node_modules/@smithy/eventstream-serde-node/dist-cjs/utils.js +0 -1
  759. package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/EventStreamMarshaller.js +0 -1
  760. package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/getChunkedStream.js +0 -1
  761. package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/getUnmarshalledStream.js +0 -1
  762. package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/provider.js +0 -1
  763. package/node_modules/@smithy/fetch-http-handler/dist-cjs/create-request.js +0 -1
  764. package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +0 -1
  765. package/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +0 -1
  766. package/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +0 -1
  767. package/node_modules/@smithy/hash-stream-node/dist-cjs/HashCalculator.js +0 -1
  768. package/node_modules/@smithy/hash-stream-node/dist-cjs/fileStreamHasher.js +0 -1
  769. package/node_modules/@smithy/hash-stream-node/dist-cjs/readableStreamHasher.js +0 -1
  770. package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidFunction.js +0 -1
  771. package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidProvider.js +0 -1
  772. package/node_modules/@smithy/md5-js/dist-cjs/constants.js +0 -1
  773. package/node_modules/@smithy/middleware-serde/dist-cjs/deserializerMiddleware.js +0 -1
  774. package/node_modules/@smithy/middleware-serde/dist-cjs/serdePlugin.js +0 -1
  775. package/node_modules/@smithy/middleware-serde/dist-cjs/serializerMiddleware.js +0 -1
  776. package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +0 -1
  777. package/node_modules/@smithy/middleware-stack/dist-cjs/types.js +0 -1
  778. package/node_modules/@smithy/node-config-provider/dist-cjs/configLoader.js +0 -1
  779. package/node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js +0 -1
  780. package/node_modules/@smithy/node-config-provider/dist-cjs/fromSharedConfigFiles.js +0 -1
  781. package/node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js +0 -1
  782. package/node_modules/@smithy/node-config-provider/dist-cjs/getSelectorName.js +0 -1
  783. package/node_modules/@smithy/node-http-handler/dist-cjs/constants.js +0 -1
  784. package/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js +0 -1
  785. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +0 -1
  786. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js +0 -1
  787. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js +0 -1
  788. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +0 -1
  789. package/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js +0 -1
  790. package/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js +0 -1
  791. package/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js +0 -1
  792. package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js +0 -1
  793. package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js +0 -1
  794. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js +0 -1
  795. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js +0 -1
  796. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +0 -1
  797. package/node_modules/@smithy/node-http-handler/dist-cjs/timing.js +0 -1
  798. package/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js +0 -1
  799. package/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
  800. package/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
  801. package/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
  802. package/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
  803. package/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
  804. package/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
  805. package/node_modules/@smithy/protocol-http/dist-cjs/Field.js +0 -1
  806. package/node_modules/@smithy/protocol-http/dist-cjs/Fields.js +0 -1
  807. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +0 -1
  808. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +0 -1
  809. package/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js +0 -1
  810. package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +0 -1
  811. package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +0 -1
  812. package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +0 -1
  813. package/node_modules/@smithy/protocol-http/dist-cjs/types.js +0 -1
  814. package/node_modules/@smithy/service-error-classification/dist-cjs/constants.js +0 -1
  815. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/externalDataInterceptor.js +0 -1
  816. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +0 -1
  817. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +0 -1
  818. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +0 -1
  819. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +0 -1
  820. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +0 -1
  821. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +0 -1
  822. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +0 -1
  823. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +0 -1
  824. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +0 -1
  825. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +0 -1
  826. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +0 -1
  827. package/node_modules/@smithy/signature-v4/dist-cjs/HeaderFormatter.js +0 -1
  828. package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js +0 -1
  829. package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4Base.js +0 -1
  830. package/node_modules/@smithy/signature-v4/dist-cjs/constants.js +0 -1
  831. package/node_modules/@smithy/signature-v4/dist-cjs/credentialDerivation.js +0 -1
  832. package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalHeaders.js +0 -1
  833. package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js +0 -1
  834. package/node_modules/@smithy/signature-v4/dist-cjs/getPayloadHash.js +0 -1
  835. package/node_modules/@smithy/signature-v4/dist-cjs/headerUtil.js +0 -1
  836. package/node_modules/@smithy/signature-v4/dist-cjs/moveHeadersToQuery.js +0 -1
  837. package/node_modules/@smithy/signature-v4/dist-cjs/prepareRequest.js +0 -1
  838. package/node_modules/@smithy/signature-v4/dist-cjs/signature-v4a-container.js +0 -1
  839. package/node_modules/@smithy/signature-v4/dist-cjs/suite.fixture.js +0 -1
  840. package/node_modules/@smithy/signature-v4/dist-cjs/utilDate.js +0 -1
  841. package/node_modules/@smithy/types/dist-cjs/abort-handler.js +0 -1
  842. package/node_modules/@smithy/types/dist-cjs/abort.js +0 -1
  843. package/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +0 -1
  844. package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +0 -1
  845. package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -1
  846. package/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +0 -1
  847. package/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +0 -1
  848. package/node_modules/@smithy/types/dist-cjs/auth/auth.js +0 -1
  849. package/node_modules/@smithy/types/dist-cjs/auth/index.js +0 -1
  850. package/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +0 -1
  851. package/node_modules/@smithy/types/dist-cjs/checksum.js +0 -1
  852. package/node_modules/@smithy/types/dist-cjs/client.js +0 -1
  853. package/node_modules/@smithy/types/dist-cjs/command.js +0 -1
  854. package/node_modules/@smithy/types/dist-cjs/connection/config.js +0 -1
  855. package/node_modules/@smithy/types/dist-cjs/connection/index.js +0 -1
  856. package/node_modules/@smithy/types/dist-cjs/connection/manager.js +0 -1
  857. package/node_modules/@smithy/types/dist-cjs/connection/pool.js +0 -1
  858. package/node_modules/@smithy/types/dist-cjs/crypto.js +0 -1
  859. package/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -1
  860. package/node_modules/@smithy/types/dist-cjs/encode.js +0 -1
  861. package/node_modules/@smithy/types/dist-cjs/endpoint.js +0 -1
  862. package/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +0 -1
  863. package/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +0 -1
  864. package/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +0 -1
  865. package/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +0 -1
  866. package/node_modules/@smithy/types/dist-cjs/endpoints/index.js +0 -1
  867. package/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +0 -1
  868. package/node_modules/@smithy/types/dist-cjs/eventStream.js +0 -1
  869. package/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +0 -1
  870. package/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +0 -1
  871. package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -1
  872. package/node_modules/@smithy/types/dist-cjs/extensions/index.js +0 -1
  873. package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +0 -1
  874. package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +0 -1
  875. package/node_modules/@smithy/types/dist-cjs/feature-ids.js +0 -1
  876. package/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +0 -1
  877. package/node_modules/@smithy/types/dist-cjs/http.js +0 -1
  878. package/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +0 -1
  879. package/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +0 -1
  880. package/node_modules/@smithy/types/dist-cjs/identity/identity.js +0 -1
  881. package/node_modules/@smithy/types/dist-cjs/identity/index.js +0 -1
  882. package/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +0 -1
  883. package/node_modules/@smithy/types/dist-cjs/logger.js +0 -1
  884. package/node_modules/@smithy/types/dist-cjs/middleware.js +0 -1
  885. package/node_modules/@smithy/types/dist-cjs/pagination.js +0 -1
  886. package/node_modules/@smithy/types/dist-cjs/profile.js +0 -1
  887. package/node_modules/@smithy/types/dist-cjs/response.js +0 -1
  888. package/node_modules/@smithy/types/dist-cjs/retry.js +0 -1
  889. package/node_modules/@smithy/types/dist-cjs/schema/schema.js +0 -1
  890. package/node_modules/@smithy/types/dist-cjs/schema/sentinels.js +0 -1
  891. package/node_modules/@smithy/types/dist-cjs/schema/traits.js +0 -1
  892. package/node_modules/@smithy/types/dist-cjs/serde.js +0 -1
  893. package/node_modules/@smithy/types/dist-cjs/shapes.js +0 -1
  894. package/node_modules/@smithy/types/dist-cjs/signature.js +0 -1
  895. package/node_modules/@smithy/types/dist-cjs/stream.js +0 -1
  896. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -1
  897. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -1
  898. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -1
  899. package/node_modules/@smithy/types/dist-cjs/transfer.js +0 -1
  900. package/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +0 -1
  901. package/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -1
  902. package/node_modules/@smithy/types/dist-cjs/transform/exact.js +0 -1
  903. package/node_modules/@smithy/types/dist-cjs/transform/mutable.js +0 -1
  904. package/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +0 -1
  905. package/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +0 -1
  906. package/node_modules/@smithy/types/dist-cjs/uri.js +0 -1
  907. package/node_modules/@smithy/types/dist-cjs/util.js +0 -1
  908. package/node_modules/@smithy/types/dist-cjs/waiter.js +0 -1
  909. package/node_modules/@smithy/util-body-length-browser/dist-cjs/calculateBodyLength.js +0 -1
  910. package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +0 -1
  911. package/node_modules/@smithy/util-config-provider/dist-cjs/booleanSelector.js +0 -1
  912. package/node_modules/@smithy/util-config-provider/dist-cjs/numberSelector.js +0 -1
  913. package/node_modules/@smithy/util-config-provider/dist-cjs/types.js +0 -1
  914. package/node_modules/@smithy/util-endpoints/dist-cjs/cache/EndpointCache.js +0 -1
  915. package/node_modules/@smithy/util-endpoints/dist-cjs/debug/debugId.js +0 -1
  916. package/node_modules/@smithy/util-endpoints/dist-cjs/debug/index.js +0 -1
  917. package/node_modules/@smithy/util-endpoints/dist-cjs/debug/toDebugString.js +0 -1
  918. package/node_modules/@smithy/util-endpoints/dist-cjs/getEndpointUrlConfig.js +0 -1
  919. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/booleanEquals.js +0 -1
  920. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttr.js +0 -1
  921. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttrPathList.js +0 -1
  922. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/index.js +0 -1
  923. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isIpAddress.js +0 -1
  924. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isSet.js +0 -1
  925. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isValidHostLabel.js +0 -1
  926. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/not.js +0 -1
  927. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/parseURL.js +0 -1
  928. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/stringEquals.js +0 -1
  929. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/substring.js +0 -1
  930. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/uriEncode.js +0 -1
  931. package/node_modules/@smithy/util-endpoints/dist-cjs/resolveEndpoint.js +0 -1
  932. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointError.js +0 -1
  933. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointFunctions.js +0 -1
  934. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointRuleObject.js +0 -1
  935. package/node_modules/@smithy/util-endpoints/dist-cjs/types/ErrorRuleObject.js +0 -1
  936. package/node_modules/@smithy/util-endpoints/dist-cjs/types/RuleSetObject.js +0 -1
  937. package/node_modules/@smithy/util-endpoints/dist-cjs/types/TreeRuleObject.js +0 -1
  938. package/node_modules/@smithy/util-endpoints/dist-cjs/types/index.js +0 -1
  939. package/node_modules/@smithy/util-endpoints/dist-cjs/types/shared.js +0 -1
  940. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/callFunction.js +0 -1
  941. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/customEndpointFunctions.js +0 -1
  942. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/endpointFunctions.js +0 -1
  943. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateCondition.js +0 -1
  944. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateConditions.js +0 -1
  945. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateEndpointRule.js +0 -1
  946. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateErrorRule.js +0 -1
  947. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateExpression.js +0 -1
  948. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateRules.js +0 -1
  949. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTemplate.js +0 -1
  950. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTreeRule.js +0 -1
  951. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointHeaders.js +0 -1
  952. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperties.js +0 -1
  953. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperty.js +0 -1
  954. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointUrl.js +0 -1
  955. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getReferenceValue.js +0 -1
  956. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/index.js +0 -1
  957. package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +0 -1
  958. package/node_modules/@smithy/util-middleware/dist-cjs/normalizeProvider.js +0 -1
  959. package/node_modules/@smithy/util-retry/dist-cjs/AdaptiveRetryStrategy.js +0 -1
  960. package/node_modules/@smithy/util-retry/dist-cjs/ConfiguredRetryStrategy.js +0 -1
  961. package/node_modules/@smithy/util-retry/dist-cjs/DefaultRateLimiter.js +0 -1
  962. package/node_modules/@smithy/util-retry/dist-cjs/StandardRetryStrategy.js +0 -1
  963. package/node_modules/@smithy/util-retry/dist-cjs/config.js +0 -1
  964. package/node_modules/@smithy/util-retry/dist-cjs/constants.js +0 -1
  965. package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryBackoffStrategy.js +0 -1
  966. package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryToken.js +0 -1
  967. package/node_modules/@smithy/util-retry/dist-cjs/types.js +0 -1
  968. package/node_modules/@smithy/util-stream/dist-cjs/blob/Uint8ArrayBlobAdapter.js +0 -1
  969. package/node_modules/@smithy/util-stream/dist-cjs/blob/transforms.js +0 -1
  970. package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri-path.js +0 -1
  971. package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri.js +0 -1
  972. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
  973. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
  974. package/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
  975. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
  976. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
  977. package/node_modules/@smithy/util-waiter/dist-cjs/createWaiter.js +0 -1
  978. package/node_modules/@smithy/util-waiter/dist-cjs/poller.js +0 -1
  979. package/node_modules/@smithy/util-waiter/dist-cjs/utils/index.js +0 -1
  980. package/node_modules/@smithy/util-waiter/dist-cjs/utils/sleep.js +0 -1
  981. package/node_modules/@smithy/util-waiter/dist-cjs/utils/validate.js +0 -1
  982. package/node_modules/@smithy/util-waiter/dist-cjs/waiter.js +0 -1
  983. package/node_modules/@smithy/uuid/dist-cjs/randomUUID.browser.js +0 -1
  984. package/node_modules/@smithy/uuid/dist-cjs/v4.js +0 -1
  985. /package/node_modules/@smithy/core/dist-es/{protocols → request-builder}/requestBuilder.js +0 -0
  986. /package/node_modules/@smithy/core/dist-types/{protocols → request-builder}/requestBuilder.d.ts +0 -0
  987. /package/node_modules/@smithy/core/dist-types/ts3.4/{protocols → request-builder}/requestBuilder.d.ts +0 -0
@@ -1,473 +1,388 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ 'use strict';
19
2
 
20
- // src/index.ts
21
- var index_exports = {};
22
- __export(index_exports, {
23
- EventStreamCodec: () => EventStreamCodec,
24
- HeaderMarshaller: () => HeaderMarshaller,
25
- Int64: () => Int64,
26
- MessageDecoderStream: () => MessageDecoderStream,
27
- MessageEncoderStream: () => MessageEncoderStream,
28
- SmithyMessageDecoderStream: () => SmithyMessageDecoderStream,
29
- SmithyMessageEncoderStream: () => SmithyMessageEncoderStream
30
- });
31
- module.exports = __toCommonJS(index_exports);
3
+ var crc32 = require('@aws-crypto/crc32');
4
+ var utilHexEncoding = require('@smithy/util-hex-encoding');
32
5
 
33
- // src/EventStreamCodec.ts
34
- var import_crc322 = require("@aws-crypto/crc32");
35
-
36
- // src/HeaderMarshaller.ts
37
-
38
-
39
- // src/Int64.ts
40
- var import_util_hex_encoding = require("@smithy/util-hex-encoding");
41
- var Int64 = class _Int64 {
42
- constructor(bytes) {
43
- this.bytes = bytes;
44
- if (bytes.byteLength !== 8) {
45
- throw new Error("Int64 buffers must be exactly 8 bytes");
46
- }
47
- }
48
- static {
49
- __name(this, "Int64");
50
- }
51
- static fromNumber(number) {
52
- if (number > 9223372036854776e3 || number < -9223372036854776e3) {
53
- throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);
54
- }
55
- const bytes = new Uint8Array(8);
56
- for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) {
57
- bytes[i] = remaining;
58
- }
59
- if (number < 0) {
60
- negate(bytes);
61
- }
62
- return new _Int64(bytes);
63
- }
64
- /**
65
- * Called implicitly by infix arithmetic operators.
66
- */
67
- valueOf() {
68
- const bytes = this.bytes.slice(0);
69
- const negative = bytes[0] & 128;
70
- if (negative) {
71
- negate(bytes);
72
- }
73
- return parseInt((0, import_util_hex_encoding.toHex)(bytes), 16) * (negative ? -1 : 1);
74
- }
75
- toString() {
76
- return String(this.valueOf());
77
- }
78
- };
6
+ class Int64 {
7
+ bytes;
8
+ constructor(bytes) {
9
+ this.bytes = bytes;
10
+ if (bytes.byteLength !== 8) {
11
+ throw new Error("Int64 buffers must be exactly 8 bytes");
12
+ }
13
+ }
14
+ static fromNumber(number) {
15
+ if (number > 9_223_372_036_854_775_807 || number < -9223372036854776e3) {
16
+ throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);
17
+ }
18
+ const bytes = new Uint8Array(8);
19
+ for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) {
20
+ bytes[i] = remaining;
21
+ }
22
+ if (number < 0) {
23
+ negate(bytes);
24
+ }
25
+ return new Int64(bytes);
26
+ }
27
+ valueOf() {
28
+ const bytes = this.bytes.slice(0);
29
+ const negative = bytes[0] & 0b10000000;
30
+ if (negative) {
31
+ negate(bytes);
32
+ }
33
+ return parseInt(utilHexEncoding.toHex(bytes), 16) * (negative ? -1 : 1);
34
+ }
35
+ toString() {
36
+ return String(this.valueOf());
37
+ }
38
+ }
79
39
  function negate(bytes) {
80
- for (let i = 0; i < 8; i++) {
81
- bytes[i] ^= 255;
82
- }
83
- for (let i = 7; i > -1; i--) {
84
- bytes[i]++;
85
- if (bytes[i] !== 0) break;
86
- }
40
+ for (let i = 0; i < 8; i++) {
41
+ bytes[i] ^= 0xff;
42
+ }
43
+ for (let i = 7; i > -1; i--) {
44
+ bytes[i]++;
45
+ if (bytes[i] !== 0)
46
+ break;
47
+ }
87
48
  }
88
- __name(negate, "negate");
89
49
 
90
- // src/HeaderMarshaller.ts
91
- var HeaderMarshaller = class {
92
- constructor(toUtf8, fromUtf8) {
93
- this.toUtf8 = toUtf8;
94
- this.fromUtf8 = fromUtf8;
95
- }
96
- static {
97
- __name(this, "HeaderMarshaller");
98
- }
99
- format(headers) {
100
- const chunks = [];
101
- for (const headerName of Object.keys(headers)) {
102
- const bytes = this.fromUtf8(headerName);
103
- chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
104
- }
105
- const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
106
- let position = 0;
107
- for (const chunk of chunks) {
108
- out.set(chunk, position);
109
- position += chunk.byteLength;
110
- }
111
- return out;
112
- }
113
- formatHeaderValue(header) {
114
- switch (header.type) {
115
- case "boolean":
116
- return Uint8Array.from([header.value ? 0 /* boolTrue */ : 1 /* boolFalse */]);
117
- case "byte":
118
- return Uint8Array.from([2 /* byte */, header.value]);
119
- case "short":
120
- const shortView = new DataView(new ArrayBuffer(3));
121
- shortView.setUint8(0, 3 /* short */);
122
- shortView.setInt16(1, header.value, false);
123
- return new Uint8Array(shortView.buffer);
124
- case "integer":
125
- const intView = new DataView(new ArrayBuffer(5));
126
- intView.setUint8(0, 4 /* integer */);
127
- intView.setInt32(1, header.value, false);
128
- return new Uint8Array(intView.buffer);
129
- case "long":
130
- const longBytes = new Uint8Array(9);
131
- longBytes[0] = 5 /* long */;
132
- longBytes.set(header.value.bytes, 1);
133
- return longBytes;
134
- case "binary":
135
- const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
136
- binView.setUint8(0, 6 /* byteArray */);
137
- binView.setUint16(1, header.value.byteLength, false);
138
- const binBytes = new Uint8Array(binView.buffer);
139
- binBytes.set(header.value, 3);
140
- return binBytes;
141
- case "string":
142
- const utf8Bytes = this.fromUtf8(header.value);
143
- const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
144
- strView.setUint8(0, 7 /* string */);
145
- strView.setUint16(1, utf8Bytes.byteLength, false);
146
- const strBytes = new Uint8Array(strView.buffer);
147
- strBytes.set(utf8Bytes, 3);
148
- return strBytes;
149
- case "timestamp":
150
- const tsBytes = new Uint8Array(9);
151
- tsBytes[0] = 8 /* timestamp */;
152
- tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
153
- return tsBytes;
154
- case "uuid":
155
- if (!UUID_PATTERN.test(header.value)) {
156
- throw new Error(`Invalid UUID received: ${header.value}`);
50
+ class HeaderMarshaller {
51
+ toUtf8;
52
+ fromUtf8;
53
+ constructor(toUtf8, fromUtf8) {
54
+ this.toUtf8 = toUtf8;
55
+ this.fromUtf8 = fromUtf8;
56
+ }
57
+ format(headers) {
58
+ const chunks = [];
59
+ for (const headerName of Object.keys(headers)) {
60
+ const bytes = this.fromUtf8(headerName);
61
+ chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
157
62
  }
158
- const uuidBytes = new Uint8Array(17);
159
- uuidBytes[0] = 9 /* uuid */;
160
- uuidBytes.set((0, import_util_hex_encoding.fromHex)(header.value.replace(/\-/g, "")), 1);
161
- return uuidBytes;
162
- }
163
- }
164
- parse(headers) {
165
- const out = {};
166
- let position = 0;
167
- while (position < headers.byteLength) {
168
- const nameLength = headers.getUint8(position++);
169
- const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
170
- position += nameLength;
171
- switch (headers.getUint8(position++)) {
172
- case 0 /* boolTrue */:
173
- out[name] = {
174
- type: BOOLEAN_TAG,
175
- value: true
176
- };
177
- break;
178
- case 1 /* boolFalse */:
179
- out[name] = {
180
- type: BOOLEAN_TAG,
181
- value: false
182
- };
183
- break;
184
- case 2 /* byte */:
185
- out[name] = {
186
- type: BYTE_TAG,
187
- value: headers.getInt8(position++)
188
- };
189
- break;
190
- case 3 /* short */:
191
- out[name] = {
192
- type: SHORT_TAG,
193
- value: headers.getInt16(position, false)
194
- };
195
- position += 2;
196
- break;
197
- case 4 /* integer */:
198
- out[name] = {
199
- type: INT_TAG,
200
- value: headers.getInt32(position, false)
201
- };
202
- position += 4;
203
- break;
204
- case 5 /* long */:
205
- out[name] = {
206
- type: LONG_TAG,
207
- value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))
208
- };
209
- position += 8;
210
- break;
211
- case 6 /* byteArray */:
212
- const binaryLength = headers.getUint16(position, false);
213
- position += 2;
214
- out[name] = {
215
- type: BINARY_TAG,
216
- value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength)
217
- };
218
- position += binaryLength;
219
- break;
220
- case 7 /* string */:
221
- const stringLength = headers.getUint16(position, false);
222
- position += 2;
223
- out[name] = {
224
- type: STRING_TAG,
225
- value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength))
226
- };
227
- position += stringLength;
228
- break;
229
- case 8 /* timestamp */:
230
- out[name] = {
231
- type: TIMESTAMP_TAG,
232
- value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())
233
- };
234
- position += 8;
235
- break;
236
- case 9 /* uuid */:
237
- const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
238
- position += 16;
239
- out[name] = {
240
- type: UUID_TAG,
241
- value: `${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(0, 4))}-${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(4, 6))}-${(0, import_util_hex_encoding.toHex)(
242
- uuidBytes.subarray(6, 8)
243
- )}-${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(8, 10))}-${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(10))}`
244
- };
245
- break;
246
- default:
247
- throw new Error(`Unrecognized header type tag`);
248
- }
249
- }
250
- return out;
251
- }
252
- };
253
- var BOOLEAN_TAG = "boolean";
254
- var BYTE_TAG = "byte";
255
- var SHORT_TAG = "short";
256
- var INT_TAG = "integer";
257
- var LONG_TAG = "long";
258
- var BINARY_TAG = "binary";
259
- var STRING_TAG = "string";
260
- var TIMESTAMP_TAG = "timestamp";
261
- var UUID_TAG = "uuid";
262
- var UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
263
-
264
- // src/splitMessage.ts
265
- var import_crc32 = require("@aws-crypto/crc32");
266
- var PRELUDE_MEMBER_LENGTH = 4;
267
- var PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
268
- var CHECKSUM_LENGTH = 4;
269
- var MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;
270
- function splitMessage({ byteLength, byteOffset, buffer }) {
271
- if (byteLength < MINIMUM_MESSAGE_LENGTH) {
272
- throw new Error("Provided message too short to accommodate event stream message overhead");
273
- }
274
- const view = new DataView(buffer, byteOffset, byteLength);
275
- const messageLength = view.getUint32(0, false);
276
- if (byteLength !== messageLength) {
277
- throw new Error("Reported message length does not match received message length");
278
- }
279
- const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);
280
- const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);
281
- const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);
282
- const checksummer = new import_crc32.Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));
283
- if (expectedPreludeChecksum !== checksummer.digest()) {
284
- throw new Error(
285
- `The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`
286
- );
287
- }
288
- checksummer.update(
289
- new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH))
290
- );
291
- if (expectedMessageChecksum !== checksummer.digest()) {
292
- throw new Error(
293
- `The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`
294
- );
295
- }
296
- return {
297
- headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),
298
- body: new Uint8Array(
299
- buffer,
300
- byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength,
301
- messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH)
302
- )
303
- };
63
+ const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
64
+ let position = 0;
65
+ for (const chunk of chunks) {
66
+ out.set(chunk, position);
67
+ position += chunk.byteLength;
68
+ }
69
+ return out;
70
+ }
71
+ formatHeaderValue(header) {
72
+ switch (header.type) {
73
+ case "boolean":
74
+ return Uint8Array.from([header.value ? 0 : 1]);
75
+ case "byte":
76
+ return Uint8Array.from([2, header.value]);
77
+ case "short":
78
+ const shortView = new DataView(new ArrayBuffer(3));
79
+ shortView.setUint8(0, 3);
80
+ shortView.setInt16(1, header.value, false);
81
+ return new Uint8Array(shortView.buffer);
82
+ case "integer":
83
+ const intView = new DataView(new ArrayBuffer(5));
84
+ intView.setUint8(0, 4);
85
+ intView.setInt32(1, header.value, false);
86
+ return new Uint8Array(intView.buffer);
87
+ case "long":
88
+ const longBytes = new Uint8Array(9);
89
+ longBytes[0] = 5;
90
+ longBytes.set(header.value.bytes, 1);
91
+ return longBytes;
92
+ case "binary":
93
+ const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
94
+ binView.setUint8(0, 6);
95
+ binView.setUint16(1, header.value.byteLength, false);
96
+ const binBytes = new Uint8Array(binView.buffer);
97
+ binBytes.set(header.value, 3);
98
+ return binBytes;
99
+ case "string":
100
+ const utf8Bytes = this.fromUtf8(header.value);
101
+ const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
102
+ strView.setUint8(0, 7);
103
+ strView.setUint16(1, utf8Bytes.byteLength, false);
104
+ const strBytes = new Uint8Array(strView.buffer);
105
+ strBytes.set(utf8Bytes, 3);
106
+ return strBytes;
107
+ case "timestamp":
108
+ const tsBytes = new Uint8Array(9);
109
+ tsBytes[0] = 8;
110
+ tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
111
+ return tsBytes;
112
+ case "uuid":
113
+ if (!UUID_PATTERN.test(header.value)) {
114
+ throw new Error(`Invalid UUID received: ${header.value}`);
115
+ }
116
+ const uuidBytes = new Uint8Array(17);
117
+ uuidBytes[0] = 9;
118
+ uuidBytes.set(utilHexEncoding.fromHex(header.value.replace(/\-/g, "")), 1);
119
+ return uuidBytes;
120
+ }
121
+ }
122
+ parse(headers) {
123
+ const out = {};
124
+ let position = 0;
125
+ while (position < headers.byteLength) {
126
+ const nameLength = headers.getUint8(position++);
127
+ const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
128
+ position += nameLength;
129
+ switch (headers.getUint8(position++)) {
130
+ case 0:
131
+ out[name] = {
132
+ type: BOOLEAN_TAG,
133
+ value: true,
134
+ };
135
+ break;
136
+ case 1:
137
+ out[name] = {
138
+ type: BOOLEAN_TAG,
139
+ value: false,
140
+ };
141
+ break;
142
+ case 2:
143
+ out[name] = {
144
+ type: BYTE_TAG,
145
+ value: headers.getInt8(position++),
146
+ };
147
+ break;
148
+ case 3:
149
+ out[name] = {
150
+ type: SHORT_TAG,
151
+ value: headers.getInt16(position, false),
152
+ };
153
+ position += 2;
154
+ break;
155
+ case 4:
156
+ out[name] = {
157
+ type: INT_TAG,
158
+ value: headers.getInt32(position, false),
159
+ };
160
+ position += 4;
161
+ break;
162
+ case 5:
163
+ out[name] = {
164
+ type: LONG_TAG,
165
+ value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)),
166
+ };
167
+ position += 8;
168
+ break;
169
+ case 6:
170
+ const binaryLength = headers.getUint16(position, false);
171
+ position += 2;
172
+ out[name] = {
173
+ type: BINARY_TAG,
174
+ value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength),
175
+ };
176
+ position += binaryLength;
177
+ break;
178
+ case 7:
179
+ const stringLength = headers.getUint16(position, false);
180
+ position += 2;
181
+ out[name] = {
182
+ type: STRING_TAG,
183
+ value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength)),
184
+ };
185
+ position += stringLength;
186
+ break;
187
+ case 8:
188
+ out[name] = {
189
+ type: TIMESTAMP_TAG,
190
+ value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf()),
191
+ };
192
+ position += 8;
193
+ break;
194
+ case 9:
195
+ const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
196
+ position += 16;
197
+ out[name] = {
198
+ type: UUID_TAG,
199
+ value: `${utilHexEncoding.toHex(uuidBytes.subarray(0, 4))}-${utilHexEncoding.toHex(uuidBytes.subarray(4, 6))}-${utilHexEncoding.toHex(uuidBytes.subarray(6, 8))}-${utilHexEncoding.toHex(uuidBytes.subarray(8, 10))}-${utilHexEncoding.toHex(uuidBytes.subarray(10))}`,
200
+ };
201
+ break;
202
+ default:
203
+ throw new Error(`Unrecognized header type tag`);
204
+ }
205
+ }
206
+ return out;
207
+ }
304
208
  }
305
- __name(splitMessage, "splitMessage");
209
+ const BOOLEAN_TAG = "boolean";
210
+ const BYTE_TAG = "byte";
211
+ const SHORT_TAG = "short";
212
+ const INT_TAG = "integer";
213
+ const LONG_TAG = "long";
214
+ const BINARY_TAG = "binary";
215
+ const STRING_TAG = "string";
216
+ const TIMESTAMP_TAG = "timestamp";
217
+ const UUID_TAG = "uuid";
218
+ const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
306
219
 
307
- // src/EventStreamCodec.ts
308
- var EventStreamCodec = class {
309
- static {
310
- __name(this, "EventStreamCodec");
311
- }
312
- constructor(toUtf8, fromUtf8) {
313
- this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8);
314
- this.messageBuffer = [];
315
- this.isEndOfStream = false;
316
- }
317
- feed(message) {
318
- this.messageBuffer.push(this.decode(message));
319
- }
320
- endOfStream() {
321
- this.isEndOfStream = true;
322
- }
323
- getMessage() {
324
- const message = this.messageBuffer.pop();
325
- const isEndOfStream = this.isEndOfStream;
326
- return {
327
- getMessage() {
328
- return message;
329
- },
330
- isEndOfStream() {
331
- return isEndOfStream;
332
- }
333
- };
334
- }
335
- getAvailableMessages() {
336
- const messages = this.messageBuffer;
337
- this.messageBuffer = [];
338
- const isEndOfStream = this.isEndOfStream;
220
+ const PRELUDE_MEMBER_LENGTH = 4;
221
+ const PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
222
+ const CHECKSUM_LENGTH = 4;
223
+ const MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;
224
+ function splitMessage({ byteLength, byteOffset, buffer }) {
225
+ if (byteLength < MINIMUM_MESSAGE_LENGTH) {
226
+ throw new Error("Provided message too short to accommodate event stream message overhead");
227
+ }
228
+ const view = new DataView(buffer, byteOffset, byteLength);
229
+ const messageLength = view.getUint32(0, false);
230
+ if (byteLength !== messageLength) {
231
+ throw new Error("Reported message length does not match received message length");
232
+ }
233
+ const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);
234
+ const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);
235
+ const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);
236
+ const checksummer = new crc32.Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));
237
+ if (expectedPreludeChecksum !== checksummer.digest()) {
238
+ throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`);
239
+ }
240
+ checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH)));
241
+ if (expectedMessageChecksum !== checksummer.digest()) {
242
+ throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`);
243
+ }
339
244
  return {
340
- getMessages() {
341
- return messages;
342
- },
343
- isEndOfStream() {
344
- return isEndOfStream;
345
- }
245
+ headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),
246
+ body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength, messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH)),
346
247
  };
347
- }
348
- /**
349
- * Convert a structured JavaScript object with tagged headers into a binary
350
- * event stream message.
351
- */
352
- encode({ headers: rawHeaders, body }) {
353
- const headers = this.headerMarshaller.format(rawHeaders);
354
- const length = headers.byteLength + body.byteLength + 16;
355
- const out = new Uint8Array(length);
356
- const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
357
- const checksum = new import_crc322.Crc32();
358
- view.setUint32(0, length, false);
359
- view.setUint32(4, headers.byteLength, false);
360
- view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);
361
- out.set(headers, 12);
362
- out.set(body, headers.byteLength + 12);
363
- view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);
364
- return out;
365
- }
366
- /**
367
- * Convert a binary event stream message into a JavaScript object with an
368
- * opaque, binary body and tagged, parsed headers.
369
- */
370
- decode(message) {
371
- const { headers, body } = splitMessage(message);
372
- return { headers: this.headerMarshaller.parse(headers), body };
373
- }
374
- /**
375
- * Convert a structured JavaScript object with tagged headers into a binary
376
- * event stream message header.
377
- */
378
- formatHeaders(rawHeaders) {
379
- return this.headerMarshaller.format(rawHeaders);
380
- }
381
- };
248
+ }
382
249
 
383
- // src/MessageDecoderStream.ts
384
- var MessageDecoderStream = class {
385
- constructor(options) {
386
- this.options = options;
387
- }
388
- static {
389
- __name(this, "MessageDecoderStream");
390
- }
391
- [Symbol.asyncIterator]() {
392
- return this.asyncIterator();
393
- }
394
- async *asyncIterator() {
395
- for await (const bytes of this.options.inputStream) {
396
- const decoded = this.options.decoder.decode(bytes);
397
- yield decoded;
398
- }
399
- }
400
- };
250
+ class EventStreamCodec {
251
+ headerMarshaller;
252
+ messageBuffer;
253
+ isEndOfStream;
254
+ constructor(toUtf8, fromUtf8) {
255
+ this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8);
256
+ this.messageBuffer = [];
257
+ this.isEndOfStream = false;
258
+ }
259
+ feed(message) {
260
+ this.messageBuffer.push(this.decode(message));
261
+ }
262
+ endOfStream() {
263
+ this.isEndOfStream = true;
264
+ }
265
+ getMessage() {
266
+ const message = this.messageBuffer.pop();
267
+ const isEndOfStream = this.isEndOfStream;
268
+ return {
269
+ getMessage() {
270
+ return message;
271
+ },
272
+ isEndOfStream() {
273
+ return isEndOfStream;
274
+ },
275
+ };
276
+ }
277
+ getAvailableMessages() {
278
+ const messages = this.messageBuffer;
279
+ this.messageBuffer = [];
280
+ const isEndOfStream = this.isEndOfStream;
281
+ return {
282
+ getMessages() {
283
+ return messages;
284
+ },
285
+ isEndOfStream() {
286
+ return isEndOfStream;
287
+ },
288
+ };
289
+ }
290
+ encode({ headers: rawHeaders, body }) {
291
+ const headers = this.headerMarshaller.format(rawHeaders);
292
+ const length = headers.byteLength + body.byteLength + 16;
293
+ const out = new Uint8Array(length);
294
+ const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
295
+ const checksum = new crc32.Crc32();
296
+ view.setUint32(0, length, false);
297
+ view.setUint32(4, headers.byteLength, false);
298
+ view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);
299
+ out.set(headers, 12);
300
+ out.set(body, headers.byteLength + 12);
301
+ view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);
302
+ return out;
303
+ }
304
+ decode(message) {
305
+ const { headers, body } = splitMessage(message);
306
+ return { headers: this.headerMarshaller.parse(headers), body };
307
+ }
308
+ formatHeaders(rawHeaders) {
309
+ return this.headerMarshaller.format(rawHeaders);
310
+ }
311
+ }
401
312
 
402
- // src/MessageEncoderStream.ts
403
- var MessageEncoderStream = class {
404
- constructor(options) {
405
- this.options = options;
406
- }
407
- static {
408
- __name(this, "MessageEncoderStream");
409
- }
410
- [Symbol.asyncIterator]() {
411
- return this.asyncIterator();
412
- }
413
- async *asyncIterator() {
414
- for await (const msg of this.options.messageStream) {
415
- const encoded = this.options.encoder.encode(msg);
416
- yield encoded;
417
- }
418
- if (this.options.includeEndFrame) {
419
- yield new Uint8Array(0);
420
- }
421
- }
422
- };
313
+ class MessageDecoderStream {
314
+ options;
315
+ constructor(options) {
316
+ this.options = options;
317
+ }
318
+ [Symbol.asyncIterator]() {
319
+ return this.asyncIterator();
320
+ }
321
+ async *asyncIterator() {
322
+ for await (const bytes of this.options.inputStream) {
323
+ const decoded = this.options.decoder.decode(bytes);
324
+ yield decoded;
325
+ }
326
+ }
327
+ }
423
328
 
424
- // src/SmithyMessageDecoderStream.ts
425
- var SmithyMessageDecoderStream = class {
426
- constructor(options) {
427
- this.options = options;
428
- }
429
- static {
430
- __name(this, "SmithyMessageDecoderStream");
431
- }
432
- [Symbol.asyncIterator]() {
433
- return this.asyncIterator();
434
- }
435
- async *asyncIterator() {
436
- for await (const message of this.options.messageStream) {
437
- const deserialized = await this.options.deserializer(message);
438
- if (deserialized === void 0) continue;
439
- yield deserialized;
440
- }
441
- }
442
- };
329
+ class MessageEncoderStream {
330
+ options;
331
+ constructor(options) {
332
+ this.options = options;
333
+ }
334
+ [Symbol.asyncIterator]() {
335
+ return this.asyncIterator();
336
+ }
337
+ async *asyncIterator() {
338
+ for await (const msg of this.options.messageStream) {
339
+ const encoded = this.options.encoder.encode(msg);
340
+ yield encoded;
341
+ }
342
+ if (this.options.includeEndFrame) {
343
+ yield new Uint8Array(0);
344
+ }
345
+ }
346
+ }
443
347
 
444
- // src/SmithyMessageEncoderStream.ts
445
- var SmithyMessageEncoderStream = class {
446
- constructor(options) {
447
- this.options = options;
448
- }
449
- static {
450
- __name(this, "SmithyMessageEncoderStream");
451
- }
452
- [Symbol.asyncIterator]() {
453
- return this.asyncIterator();
454
- }
455
- async *asyncIterator() {
456
- for await (const chunk of this.options.inputStream) {
457
- const payloadBuf = this.options.serializer(chunk);
458
- yield payloadBuf;
459
- }
460
- }
461
- };
462
- // Annotate the CommonJS export names for ESM import in node:
348
+ class SmithyMessageDecoderStream {
349
+ options;
350
+ constructor(options) {
351
+ this.options = options;
352
+ }
353
+ [Symbol.asyncIterator]() {
354
+ return this.asyncIterator();
355
+ }
356
+ async *asyncIterator() {
357
+ for await (const message of this.options.messageStream) {
358
+ const deserialized = await this.options.deserializer(message);
359
+ if (deserialized === undefined)
360
+ continue;
361
+ yield deserialized;
362
+ }
363
+ }
364
+ }
463
365
 
464
- 0 && (module.exports = {
465
- EventStreamCodec,
466
- HeaderMarshaller,
467
- Int64,
468
- MessageDecoderStream,
469
- MessageEncoderStream,
470
- SmithyMessageDecoderStream,
471
- SmithyMessageEncoderStream
472
- });
366
+ class SmithyMessageEncoderStream {
367
+ options;
368
+ constructor(options) {
369
+ this.options = options;
370
+ }
371
+ [Symbol.asyncIterator]() {
372
+ return this.asyncIterator();
373
+ }
374
+ async *asyncIterator() {
375
+ for await (const chunk of this.options.inputStream) {
376
+ const payloadBuf = this.options.serializer(chunk);
377
+ yield payloadBuf;
378
+ }
379
+ }
380
+ }
473
381
 
382
+ exports.EventStreamCodec = EventStreamCodec;
383
+ exports.HeaderMarshaller = HeaderMarshaller;
384
+ exports.Int64 = Int64;
385
+ exports.MessageDecoderStream = MessageDecoderStream;
386
+ exports.MessageEncoderStream = MessageEncoderStream;
387
+ exports.SmithyMessageDecoderStream = SmithyMessageDecoderStream;
388
+ exports.SmithyMessageEncoderStream = SmithyMessageEncoderStream;