@mavogel/awscdk-rootmail 0.0.323 → 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 (542) 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 +15 -15
  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 +15 -15
  8. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +11771 -11916
  9. package/node_modules/@aws-sdk/client-s3/package.json +21 -21
  10. package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +7284 -7626
  11. package/node_modules/@aws-sdk/client-ses/package.json +15 -15
  12. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +12508 -13696
  13. package/node_modules/@aws-sdk/client-ssm/package.json +15 -15
  14. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +478 -596
  15. package/node_modules/@aws-sdk/client-sso/package.json +14 -14
  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 +4 -4
  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 +2 -2
  43. package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
  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 +8 -8
  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 +7 -7
  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 +2 -2
  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 +4 -4
  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 +3 -3
  55. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +381 -478
  56. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +3 -3
  57. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +511 -641
  58. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +5 -5
  59. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +170 -203
  60. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  61. package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +2 -2
  62. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +583 -858
  63. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +795 -928
  64. package/node_modules/@aws-sdk/nested-clients/package.json +14 -14
  65. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +108 -137
  66. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  67. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +147 -222
  68. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  69. package/node_modules/@aws-sdk/util-user-agent-browser/README.md +22 -3
  70. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +57 -0
  71. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +39 -8
  72. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js +20 -0
  73. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +37 -6
  74. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts +14 -0
  75. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +14 -4
  76. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +4 -3
  77. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts +9 -0
  78. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +5 -0
  79. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +1 -1
  80. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +50 -94
  81. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts +1 -2
  82. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +10 -5
  83. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  84. package/node_modules/@smithy/chunked-blob-reader-native/package.json +2 -2
  85. package/node_modules/@smithy/config-resolver/package.json +4 -4
  86. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +4 -16
  87. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +5 -3
  88. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +48 -44
  89. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +273 -319
  90. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +126 -34
  91. package/node_modules/@smithy/core/dist-es/index.js +1 -1
  92. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +6 -17
  93. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +5 -3
  94. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +4 -4
  95. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +6 -5
  96. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -2
  97. package/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js +6 -0
  98. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
  99. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +22 -22
  100. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +3 -2
  101. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +7 -9
  102. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js +5 -6
  103. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +4 -4
  104. package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +1 -0
  105. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +5 -1
  106. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +5 -1
  107. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +104 -180
  108. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +22 -0
  109. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  110. package/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js +110 -0
  111. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +4 -26
  112. package/node_modules/@smithy/core/dist-types/index.d.ts +1 -1
  113. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -10
  114. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +5 -2
  115. package/node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts +8 -0
  116. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +1 -0
  117. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +3 -4
  118. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +5 -2
  119. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +5 -2
  120. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +3 -4
  121. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +4 -4
  122. package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +1 -0
  123. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +26 -24
  124. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +2 -0
  125. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +7 -0
  126. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  127. package/node_modules/@smithy/core/dist-types/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
  128. package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +1 -1
  129. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -10
  130. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +5 -2
  131. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +8 -0
  132. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
  133. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +3 -4
  134. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +5 -2
  135. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +5 -2
  136. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +3 -4
  137. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +4 -4
  138. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +1 -0
  139. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +26 -24
  140. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +2 -0
  141. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +7 -0
  142. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  143. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
  144. package/node_modules/@smithy/core/package.json +8 -8
  145. package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
  146. package/node_modules/@smithy/hash-blob-browser/package.json +3 -3
  147. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
  148. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
  149. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  150. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  151. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +16 -0
  152. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +189 -0
  153. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +17 -0
  154. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
  155. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
  156. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
  157. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
  158. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
  159. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
  160. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
  161. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +12 -0
  162. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
  163. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +9 -0
  164. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
  165. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
  166. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  167. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
  168. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
  169. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +13 -0
  170. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
  171. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
  172. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
  173. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
  174. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
  175. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
  176. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
  177. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
  178. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +50 -0
  179. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
  180. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +9 -0
  181. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
  182. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
  183. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  184. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
  185. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
  186. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +7 -0
  187. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
  188. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
  189. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
  190. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
  191. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
  192. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
  193. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
  194. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +50 -0
  195. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
  196. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +9 -0
  197. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
  198. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
  199. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
  200. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
  201. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
  202. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +7 -0
  203. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
  204. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
  205. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  206. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  207. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  208. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  209. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  210. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +201 -0
  211. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +10 -0
  212. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  213. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  214. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
  215. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  216. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  217. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  218. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  219. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  220. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  221. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  222. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  223. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  224. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  225. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  226. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  227. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  228. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  229. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  230. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  231. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  232. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  233. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  234. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +61 -0
  235. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
  236. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
  237. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  238. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  239. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +16 -0
  240. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +189 -0
  241. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +17 -0
  242. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
  243. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
  244. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
  245. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
  246. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
  247. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
  248. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
  249. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +12 -0
  250. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
  251. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +9 -0
  252. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
  253. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
  254. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  255. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
  256. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
  257. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +13 -0
  258. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
  259. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
  260. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
  261. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
  262. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
  263. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
  264. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
  265. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
  266. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +50 -0
  267. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
  268. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +9 -0
  269. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
  270. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
  271. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  272. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
  273. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
  274. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +7 -0
  275. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
  276. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
  277. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
  278. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
  279. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
  280. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
  281. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
  282. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +50 -0
  283. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
  284. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +9 -0
  285. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
  286. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
  287. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
  288. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
  289. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
  290. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +7 -0
  291. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
  292. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
  293. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  294. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  295. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +30 -6
  296. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -3
  297. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +1 -1
  298. package/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
  299. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -3
  300. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
  301. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
  302. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/LICENSE +201 -0
  303. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/README.md +4 -0
  304. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +32 -0
  305. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +7 -0
  306. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
  307. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
  308. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
  309. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +21 -0
  310. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
  311. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
  312. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +21 -0
  313. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
  314. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/package.json +63 -0
  315. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  316. package/node_modules/@smithy/protocol-http/package.json +2 -2
  317. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  318. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  319. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  320. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +5 -4
  321. package/node_modules/@smithy/smithy-client/dist-es/command.js +5 -4
  322. package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +3 -3
  323. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +3 -3
  324. package/node_modules/@smithy/smithy-client/package.json +7 -7
  325. package/node_modules/@smithy/types/dist-es/index.js +1 -0
  326. package/node_modules/@smithy/types/dist-es/schema/static-schemas.js +1 -0
  327. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +17 -10
  328. package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
  329. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -1
  330. package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +82 -0
  331. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +17 -10
  332. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
  333. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -1
  334. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +101 -0
  335. package/node_modules/@smithy/types/package.json +1 -1
  336. package/node_modules/@smithy/url-parser/package.json +3 -3
  337. package/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js +9 -32
  338. package/node_modules/@smithy/util-base64/dist-es/constants.browser.js +9 -28
  339. package/node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts +5 -6
  340. package/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts +5 -6
  341. package/node_modules/@smithy/util-base64/package.json +1 -1
  342. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +8 -6
  343. package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +8 -6
  344. package/node_modules/@smithy/util-body-length-node/package.json +1 -1
  345. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js +11 -9
  346. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js +11 -8
  347. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/LICENSE +201 -0
  348. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/README.md +10 -0
  349. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  350. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  351. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
  352. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  353. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  354. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  355. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  356. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  357. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  358. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  359. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  360. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  361. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  362. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  363. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  364. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  365. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  366. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  367. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  368. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  369. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  370. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  371. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +61 -0
  372. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -5
  373. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/LICENSE +201 -0
  374. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/README.md +11 -0
  375. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +372 -0
  376. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js +5 -0
  377. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js +7 -0
  378. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js +5 -0
  379. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js +8 -0
  380. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +10 -0
  381. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +77 -0
  382. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +134 -0
  383. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/index.js +7 -0
  384. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +13 -0
  385. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js +3 -0
  386. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +36 -0
  387. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +2 -0
  388. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js +7 -0
  389. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/types.js +1 -0
  390. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +17 -0
  391. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js +19 -0
  392. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js +25 -0
  393. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts +7 -0
  394. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +13 -0
  395. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts +7 -0
  396. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +13 -0
  397. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts +12 -0
  398. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +21 -0
  399. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +10 -0
  400. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +28 -0
  401. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +19 -0
  402. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +40 -0
  403. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +6 -0
  404. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +8 -0
  405. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts +10 -0
  406. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +7 -0
  407. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +13 -0
  408. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +7 -0
  409. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +13 -0
  410. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +12 -0
  411. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +21 -0
  412. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +10 -0
  413. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +28 -0
  414. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +19 -0
  415. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +40 -0
  416. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +6 -0
  417. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +8 -0
  418. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +10 -0
  419. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +7 -0
  420. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
  421. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +21 -0
  422. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +16 -0
  423. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +7 -0
  424. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
  425. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +21 -0
  426. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +16 -0
  427. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +70 -0
  428. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/LICENSE +201 -0
  429. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/README.md +10 -0
  430. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  431. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  432. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
  433. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  434. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  435. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  436. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  437. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  438. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  439. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  440. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  441. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  442. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  443. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  444. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  445. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  446. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  447. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  448. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  449. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  450. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  451. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  452. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +61 -0
  453. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  454. package/node_modules/@smithy/util-middleware/package.json +2 -2
  455. package/node_modules/@smithy/util-retry/package.json +3 -3
  456. package/node_modules/@smithy/util-stream/dist-cjs/index.js +3 -5
  457. package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +3 -5
  458. package/node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
  459. package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
  460. package/node_modules/@smithy/util-stream/package.json +5 -5
  461. package/node_modules/cdk-nag/.jsii +3 -3
  462. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  463. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  464. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  465. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  466. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  467. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  468. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  469. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  470. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  471. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  472. package/node_modules/cdk-nag/lib/packs/serverless.js +1 -1
  473. package/node_modules/cdk-nag/package.json +2 -2
  474. package/node_modules/mailparser/CHANGELOG.md +7 -0
  475. package/node_modules/mailparser/lib/mail-parser.js +12 -3
  476. package/node_modules/mailparser/node_modules/iconv-lite/Changelog.md +236 -0
  477. package/node_modules/mailparser/node_modules/iconv-lite/LICENSE +21 -0
  478. package/node_modules/mailparser/node_modules/iconv-lite/README.md +138 -0
  479. package/node_modules/mailparser/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  480. package/node_modules/mailparser/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  481. package/node_modules/mailparser/node_modules/iconv-lite/encodings/index.js +23 -0
  482. package/node_modules/mailparser/node_modules/iconv-lite/encodings/internal.js +218 -0
  483. package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  484. package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  485. package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
  486. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  487. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  488. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  489. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  490. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  491. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  492. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  493. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  494. package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf16.js +187 -0
  495. package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf32.js +307 -0
  496. package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf7.js +283 -0
  497. package/node_modules/mailparser/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  498. package/node_modules/mailparser/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  499. package/node_modules/mailparser/node_modules/iconv-lite/lib/index.d.ts +41 -0
  500. package/node_modules/mailparser/node_modules/iconv-lite/lib/index.js +183 -0
  501. package/node_modules/mailparser/node_modules/iconv-lite/lib/streams.js +105 -0
  502. package/node_modules/mailparser/node_modules/iconv-lite/package.json +59 -0
  503. package/node_modules/mailparser/package.json +5 -5
  504. package/node_modules/mailsplit/index.js +2 -0
  505. package/node_modules/mailsplit/lib/chunked-passthrough.js +37 -0
  506. package/node_modules/mailsplit/package.json +1 -1
  507. package/node_modules/nodemailer/.ncurc.js +3 -5
  508. package/node_modules/nodemailer/.prettierignore +8 -0
  509. package/node_modules/nodemailer/.prettierrc +12 -0
  510. package/node_modules/nodemailer/.prettierrc.js +2 -0
  511. package/node_modules/nodemailer/.release-please-config.json +9 -0
  512. package/node_modules/nodemailer/CHANGELOG.md +323 -305
  513. package/node_modules/nodemailer/CODE_OF_CONDUCT.md +13 -13
  514. package/node_modules/nodemailer/README.md +10 -10
  515. package/node_modules/nodemailer/eslint.config.js +88 -0
  516. package/node_modules/nodemailer/lib/addressparser/index.js +47 -7
  517. package/node_modules/nodemailer/lib/base64/index.js +11 -14
  518. package/node_modules/nodemailer/lib/dkim/index.js +3 -1
  519. package/node_modules/nodemailer/lib/dkim/sign.js +1 -1
  520. package/node_modules/nodemailer/lib/fetch/index.js +7 -1
  521. package/node_modules/nodemailer/lib/mail-composer/index.js +47 -9
  522. package/node_modules/nodemailer/lib/mailer/index.js +8 -1
  523. package/node_modules/nodemailer/lib/mailer/mail-message.js +2 -1
  524. package/node_modules/nodemailer/lib/mime-funcs/index.js +2 -2
  525. package/node_modules/nodemailer/lib/mime-funcs/mime-types.js +12 -3
  526. package/node_modules/nodemailer/lib/mime-node/index.js +11 -9
  527. package/node_modules/nodemailer/lib/nodemailer.js +3 -1
  528. package/node_modules/nodemailer/lib/qp/index.js +10 -2
  529. package/node_modules/nodemailer/lib/shared/index.js +108 -42
  530. package/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js +2 -2
  531. package/node_modules/nodemailer/lib/smtp-connection/index.js +13 -6
  532. package/node_modules/nodemailer/lib/smtp-pool/pool-resource.js +3 -2
  533. package/node_modules/nodemailer/lib/smtp-transport/index.js +1 -1
  534. package/node_modules/nodemailer/lib/well-known/services.json +277 -42
  535. package/node_modules/nodemailer/lib/xoauth2/index.js +58 -7
  536. package/node_modules/nodemailer/package.json +9 -5
  537. package/node_modules/tlds/index.json +0 -1
  538. package/node_modules/tlds/package.json +1 -1
  539. package/package.json +1 -1
  540. /package/node_modules/@smithy/core/dist-es/{protocols → request-builder}/requestBuilder.js +0 -0
  541. /package/node_modules/@smithy/core/dist-types/{protocols → request-builder}/requestBuilder.d.ts +0 -0
  542. /package/node_modules/@smithy/core/dist-types/ts3.4/{protocols → request-builder}/requestBuilder.d.ts +0 -0
@@ -269,7 +269,7 @@ const parseRfc3339DateTime = (value) => {
269
269
  const day = parseDateValue(dayStr, "day", 1, 31);
270
270
  return buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds });
271
271
  };
272
- const RFC3339_WITH_OFFSET = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/);
272
+ const RFC3339_WITH_OFFSET$1 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/);
273
273
  const parseRfc3339DateTimeWithOffset = (value) => {
274
274
  if (value === null || value === undefined) {
275
275
  return undefined;
@@ -277,7 +277,7 @@ const parseRfc3339DateTimeWithOffset = (value) => {
277
277
  if (typeof value !== "string") {
278
278
  throw new TypeError("RFC-3339 date-times must be expressed as strings");
279
279
  }
280
- const match = RFC3339_WITH_OFFSET.exec(value);
280
+ const match = RFC3339_WITH_OFFSET$1.exec(value);
281
281
  if (!match) {
282
282
  throw new TypeError("Invalid RFC-3339 date-time value");
283
283
  }
@@ -291,9 +291,9 @@ const parseRfc3339DateTimeWithOffset = (value) => {
291
291
  }
292
292
  return date;
293
293
  };
294
- const IMF_FIXDATE = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/);
295
- const RFC_850_DATE = new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/);
296
- const ASC_TIME = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/);
294
+ const IMF_FIXDATE$1 = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/);
295
+ const RFC_850_DATE$1 = new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/);
296
+ const ASC_TIME$1 = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/);
297
297
  const parseRfc7231DateTime = (value) => {
298
298
  if (value === null || value === undefined) {
299
299
  return undefined;
@@ -301,12 +301,12 @@ const parseRfc7231DateTime = (value) => {
301
301
  if (typeof value !== "string") {
302
302
  throw new TypeError("RFC-7231 date-times must be expressed as strings");
303
303
  }
304
- let match = IMF_FIXDATE.exec(value);
304
+ let match = IMF_FIXDATE$1.exec(value);
305
305
  if (match) {
306
306
  const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match;
307
307
  return buildDate(strictParseShort(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), { hours, minutes, seconds, fractionalMilliseconds });
308
308
  }
309
- match = RFC_850_DATE.exec(value);
309
+ match = RFC_850_DATE$1.exec(value);
310
310
  if (match) {
311
311
  const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match;
312
312
  return adjustRfc850Year(buildDate(parseTwoDigitYear(yearStr), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), {
@@ -316,7 +316,7 @@ const parseRfc7231DateTime = (value) => {
316
316
  fractionalMilliseconds,
317
317
  }));
318
318
  }
319
- match = ASC_TIME.exec(value);
319
+ match = ASC_TIME$1.exec(value);
320
320
  if (match) {
321
321
  const [_, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, yearStr] = match;
322
322
  return buildDate(strictParseShort(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr.trimLeft(), "day", 1, 31), { hours, minutes, seconds, fractionalMilliseconds });
@@ -457,6 +457,117 @@ function quoteHeader(part) {
457
457
  return part;
458
458
  }
459
459
 
460
+ const ddd = `(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`;
461
+ const mmm = `(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`;
462
+ const time = `(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`;
463
+ const date = `(\\d?\\d)`;
464
+ const year = `(\\d{4})`;
465
+ const RFC3339_WITH_OFFSET = new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/);
466
+ const IMF_FIXDATE = new RegExp(`^${ddd}, ${date} ${mmm} ${year} ${time} GMT$`);
467
+ const RFC_850_DATE = new RegExp(`^${ddd}, ${date}-${mmm}-(\\d\\d) ${time} GMT$`);
468
+ const ASC_TIME = new RegExp(`^${ddd} ${mmm} ( [1-9]|\\d\\d) ${time} ${year}$`);
469
+ const months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
470
+ const _parseEpochTimestamp = (value) => {
471
+ if (value == null) {
472
+ return void 0;
473
+ }
474
+ let num = NaN;
475
+ if (typeof value === "number") {
476
+ num = value;
477
+ }
478
+ else if (typeof value === "string") {
479
+ if (!/^-?\d*\.?\d+$/.test(value)) {
480
+ throw new TypeError(`parseEpochTimestamp - numeric string invalid.`);
481
+ }
482
+ num = Number.parseFloat(value);
483
+ }
484
+ else if (typeof value === "object" && value.tag === 1) {
485
+ num = value.value;
486
+ }
487
+ if (isNaN(num) || Math.abs(num) === Infinity) {
488
+ throw new TypeError("Epoch timestamps must be valid finite numbers.");
489
+ }
490
+ return new Date(Math.round(num * 1000));
491
+ };
492
+ const _parseRfc3339DateTimeWithOffset = (value) => {
493
+ if (value == null) {
494
+ return void 0;
495
+ }
496
+ if (typeof value !== "string") {
497
+ throw new TypeError("RFC3339 timestamps must be strings");
498
+ }
499
+ const matches = RFC3339_WITH_OFFSET.exec(value);
500
+ if (!matches) {
501
+ throw new TypeError(`Invalid RFC3339 timestamp format ${value}`);
502
+ }
503
+ const [, yearStr, monthStr, dayStr, hours, minutes, seconds, , ms, offsetStr] = matches;
504
+ range(monthStr, 1, 12);
505
+ range(dayStr, 1, 31);
506
+ range(hours, 0, 23);
507
+ range(minutes, 0, 59);
508
+ range(seconds, 0, 60);
509
+ const date = new Date();
510
+ date.setUTCFullYear(Number(yearStr), Number(monthStr) - 1, Number(dayStr));
511
+ date.setUTCHours(Number(hours));
512
+ date.setUTCMinutes(Number(minutes));
513
+ date.setUTCSeconds(Number(seconds));
514
+ date.setUTCMilliseconds(Number(ms) ? Math.round(parseFloat(`0.${ms}`) * 1000) : 0);
515
+ if (offsetStr.toUpperCase() != "Z") {
516
+ const [, sign, offsetH, offsetM] = /([+-])(\d\d):(\d\d)/.exec(offsetStr) || [void 0, "+", 0, 0];
517
+ const scalar = sign === "-" ? 1 : -1;
518
+ date.setTime(date.getTime() + scalar * (Number(offsetH) * 60 * 60 * 1000 + Number(offsetM) * 60 * 1000));
519
+ }
520
+ return date;
521
+ };
522
+ const _parseRfc7231DateTime = (value) => {
523
+ if (value == null) {
524
+ return void 0;
525
+ }
526
+ if (typeof value !== "string") {
527
+ throw new TypeError("RFC7231 timestamps must be strings.");
528
+ }
529
+ let day;
530
+ let month;
531
+ let year;
532
+ let hour;
533
+ let minute;
534
+ let second;
535
+ let fraction;
536
+ let matches;
537
+ if ((matches = IMF_FIXDATE.exec(value))) {
538
+ [, day, month, year, hour, minute, second, fraction] = matches;
539
+ }
540
+ else if ((matches = RFC_850_DATE.exec(value))) {
541
+ [, day, month, year, hour, minute, second, fraction] = matches;
542
+ year = (Number(year) + 1900).toString();
543
+ }
544
+ else if ((matches = ASC_TIME.exec(value))) {
545
+ [, month, day, hour, minute, second, fraction, year] = matches;
546
+ }
547
+ if (year && second) {
548
+ const date = new Date();
549
+ date.setUTCFullYear(Number(year));
550
+ date.setUTCMonth(months.indexOf(month));
551
+ range(day, 1, 31);
552
+ date.setUTCDate(Number(day));
553
+ range(hour, 0, 23);
554
+ date.setUTCHours(Number(hour));
555
+ range(minute, 0, 59);
556
+ date.setUTCMinutes(Number(minute));
557
+ range(second, 0, 60);
558
+ date.setUTCSeconds(Number(second));
559
+ date.setUTCMilliseconds(fraction ? Math.round(parseFloat(`0.${fraction}`) * 1000) : 0);
560
+ return date;
561
+ }
562
+ throw new TypeError(`Invalid RFC7231 date-time value ${value}.`);
563
+ };
564
+ function range(v, min, max) {
565
+ const _v = Number(v);
566
+ if (_v < min || _v > max) {
567
+ throw new Error(`Value ${_v} out of range [${min}, ${max}]`);
568
+ }
569
+ }
570
+
460
571
  function splitEvery(value, delimiter, numDelimiters) {
461
572
  if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) {
462
573
  throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery.");
@@ -522,28 +633,15 @@ const splitHeader = (value) => {
522
633
  });
523
634
  };
524
635
 
636
+ const format = /^-?\d*(\.\d+)?$/;
525
637
  class NumericValue {
526
638
  string;
527
639
  type;
528
640
  constructor(string, type) {
529
641
  this.string = string;
530
642
  this.type = type;
531
- let dot = 0;
532
- for (let i = 0; i < string.length; ++i) {
533
- const char = string.charCodeAt(i);
534
- if (i === 0 && char === 45) {
535
- continue;
536
- }
537
- if (char === 46) {
538
- if (dot) {
539
- throw new Error("@smithy/core/serde - NumericValue must contain at most one decimal point.");
540
- }
541
- dot = 1;
542
- continue;
543
- }
544
- if (char < 48 || char > 57) {
545
- throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`);
546
- }
643
+ if (!format.test(string)) {
644
+ throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`);
547
645
  }
548
646
  }
549
647
  toString() {
@@ -554,16 +652,7 @@ class NumericValue {
554
652
  return false;
555
653
  }
556
654
  const _nv = object;
557
- const prototypeMatch = NumericValue.prototype.isPrototypeOf(object);
558
- if (prototypeMatch) {
559
- return prototypeMatch;
560
- }
561
- if (typeof _nv.string === "string" &&
562
- typeof _nv.type === "string" &&
563
- _nv.constructor?.name?.endsWith("NumericValue")) {
564
- return true;
565
- }
566
- return prototypeMatch;
655
+ return NumericValue.prototype.isPrototypeOf(object) || (_nv.type === "bigDecimal" && format.test(_nv.string));
567
656
  }
568
657
  }
569
658
  function nv(input) {
@@ -576,6 +665,9 @@ Object.defineProperty(exports, "generateIdempotencyToken", {
576
665
  });
577
666
  exports.LazyJsonString = LazyJsonString;
578
667
  exports.NumericValue = NumericValue;
668
+ exports._parseEpochTimestamp = _parseEpochTimestamp;
669
+ exports._parseRfc3339DateTimeWithOffset = _parseRfc3339DateTimeWithOffset;
670
+ exports._parseRfc7231DateTime = _parseRfc7231DateTime;
579
671
  exports.copyDocumentWithTransform = copyDocumentWithTransform;
580
672
  exports.dateToUtcString = dateToUtcString;
581
673
  exports.expectBoolean = expectBoolean;
@@ -3,6 +3,6 @@ export * from "./middleware-http-auth-scheme";
3
3
  export * from "./middleware-http-signing";
4
4
  export * from "./normalizeProvider";
5
5
  export { createPaginator } from "./pagination/createPaginator";
6
- export * from "./protocols/requestBuilder";
6
+ export * from "./request-builder/requestBuilder";
7
7
  export * from "./setFeature";
8
8
  export * from "./util-identity-and-auth";
@@ -1,10 +1,10 @@
1
+ import { SerdeContext } from "@smithy/core/protocols";
1
2
  import { NormalizedSchema } from "@smithy/core/schema";
2
- import { generateIdempotencyToken, parseEpochTimestamp } from "@smithy/core/serde";
3
+ import { _parseEpochTimestamp, generateIdempotencyToken } from "@smithy/core/serde";
3
4
  import { fromBase64 } from "@smithy/util-base64";
4
5
  import { cbor } from "./cbor";
5
6
  import { dateToTag } from "./parseCborBody";
6
- export class CborCodec {
7
- serdeContext;
7
+ export class CborCodec extends SerdeContext {
8
8
  createSerializer() {
9
9
  const serializer = new CborShapeSerializer();
10
10
  serializer.setSerdeContext(this.serdeContext);
@@ -15,16 +15,9 @@ export class CborCodec {
15
15
  deserializer.setSerdeContext(this.serdeContext);
16
16
  return deserializer;
17
17
  }
18
- setSerdeContext(serdeContext) {
19
- this.serdeContext = serdeContext;
20
- }
21
18
  }
22
- export class CborShapeSerializer {
23
- serdeContext;
19
+ export class CborShapeSerializer extends SerdeContext {
24
20
  value;
25
- setSerdeContext(serdeContext) {
26
- this.serdeContext = serdeContext;
27
- }
28
21
  write(schema, value) {
29
22
  this.value = this.serialize(schema, value);
30
23
  }
@@ -98,11 +91,7 @@ export class CborShapeSerializer {
98
91
  return buffer;
99
92
  }
100
93
  }
101
- export class CborShapeDeserializer {
102
- serdeContext;
103
- setSerdeContext(serdeContext) {
104
- this.serdeContext = serdeContext;
105
- }
94
+ export class CborShapeDeserializer extends SerdeContext {
106
95
  read(schema, bytes) {
107
96
  const data = cbor.deserialize(bytes);
108
97
  return this.readValue(schema, data);
@@ -110,7 +99,7 @@ export class CborShapeDeserializer {
110
99
  readValue(_schema, value) {
111
100
  const ns = NormalizedSchema.of(_schema);
112
101
  if (ns.isTimestampSchema() && typeof value === "number") {
113
- return parseEpochTimestamp(value);
102
+ return _parseEpochTimestamp(value);
114
103
  }
115
104
  if (ns.isBlobSchema()) {
116
105
  if (typeof value === "string") {
@@ -1,4 +1,3 @@
1
- import { SCHEMA } from "@smithy/core/schema";
2
1
  import { fromUtf8 } from "@smithy/util-utf8";
3
2
  export class EventStreamSerde {
4
3
  marshaller;
@@ -128,12 +127,15 @@ export class EventStreamSerde {
128
127
  let eventType = unionMember;
129
128
  let explicitPayloadMember = null;
130
129
  let explicitPayloadContentType;
131
- const isKnownSchema = unionSchema.hasMemberSchema(unionMember);
130
+ const isKnownSchema = (() => {
131
+ const struct = unionSchema.getSchema();
132
+ return struct.memberNames.includes(unionMember);
133
+ })();
132
134
  const additionalHeaders = {};
133
135
  if (!isKnownSchema) {
134
136
  const [type, value] = event[unionMember];
135
137
  eventType = type;
136
- serializer.write(SCHEMA.DOCUMENT, value);
138
+ serializer.write(15, value);
137
139
  }
138
140
  else {
139
141
  const eventSchema = unionSchema.getMemberSchema(unionMember);
@@ -1,4 +1,4 @@
1
- import { NormalizedSchema, SCHEMA } from "@smithy/core/schema";
1
+ import { NormalizedSchema, translateTraits } from "@smithy/core/schema";
2
2
  import { splitEvery, splitHeader } from "@smithy/core/serde";
3
3
  import { HttpRequest } from "@smithy/protocol-http";
4
4
  import { sdkStreamMixin } from "@smithy/util-stream";
@@ -31,7 +31,7 @@ export class HttpBindingProtocol extends HttpProtocol {
31
31
  if (endpoint) {
32
32
  this.updateServiceEndpoint(request, endpoint);
33
33
  this.setHostPrefix(request, operationSchema, input);
34
- const opTraits = NormalizedSchema.translateTraits(operationSchema.traits);
34
+ const opTraits = translateTraits(operationSchema.traits);
35
35
  if (opTraits.http) {
36
36
  request.method = opTraits.http[0];
37
37
  const [path, search] = opTraits.http[1].split("?");
@@ -155,7 +155,7 @@ export class HttpBindingProtocol extends HttpProtocol {
155
155
  if (response.statusCode >= 300) {
156
156
  const bytes = await collectBody(response.body, context);
157
157
  if (bytes.byteLength > 0) {
158
- Object.assign(dataObject, await deserializer.read(SCHEMA.DOCUMENT, bytes));
158
+ Object.assign(dataObject, await deserializer.read(15, bytes));
159
159
  }
160
160
  await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));
161
161
  throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.");
@@ -221,7 +221,7 @@ export class HttpBindingProtocol extends HttpProtocol {
221
221
  headerListValueSchema.getMergedTraits().httpHeader = key;
222
222
  let sections;
223
223
  if (headerListValueSchema.isTimestampSchema() &&
224
- headerListValueSchema.getSchema() === SCHEMA.TIMESTAMP_DEFAULT) {
224
+ headerListValueSchema.getSchema() === 4) {
225
225
  sections = splitEvery(value, ",", 2);
226
226
  }
227
227
  else {
@@ -1,9 +1,10 @@
1
1
  import { NormalizedSchema } from "@smithy/core/schema";
2
2
  import { HttpRequest, HttpResponse } from "@smithy/protocol-http";
3
- export class HttpProtocol {
3
+ import { SerdeContext } from "./SerdeContext";
4
+ export class HttpProtocol extends SerdeContext {
4
5
  options;
5
- serdeContext;
6
6
  constructor(options) {
7
+ super();
7
8
  this.options = options;
8
9
  }
9
10
  getRequestType() {
@@ -29,10 +30,10 @@ export class HttpProtocol {
29
30
  request.fragment = endpoint.url.hash || void 0;
30
31
  request.username = endpoint.url.username || void 0;
31
32
  request.password = endpoint.url.password || void 0;
33
+ if (!request.query) {
34
+ request.query = {};
35
+ }
32
36
  for (const [k, v] of endpoint.url.searchParams.entries()) {
33
- if (!request.query) {
34
- request.query = {};
35
- }
36
37
  request.query[k] = v;
37
38
  }
38
39
  return request;
@@ -1,4 +1,4 @@
1
- import { NormalizedSchema, SCHEMA } from "@smithy/core/schema";
1
+ import { NormalizedSchema } from "@smithy/core/schema";
2
2
  import { HttpRequest } from "@smithy/protocol-http";
3
3
  import { collectBody } from "./collect-stream-body";
4
4
  import { HttpProtocol } from "./HttpProtocol";
@@ -64,7 +64,7 @@ export class RpcProtocol extends HttpProtocol {
64
64
  if (response.statusCode >= 300) {
65
65
  const bytes = await collectBody(response.body, context);
66
66
  if (bytes.byteLength > 0) {
67
- Object.assign(dataObject, await deserializer.read(SCHEMA.DOCUMENT, bytes));
67
+ Object.assign(dataObject, await deserializer.read(15, bytes));
68
68
  }
69
69
  await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));
70
70
  throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.");
@@ -0,0 +1,6 @@
1
+ export class SerdeContext {
2
+ serdeContext;
3
+ setSerdeContext(serdeContext) {
4
+ this.serdeContext = serdeContext;
5
+ }
6
+ }
@@ -10,3 +10,4 @@ export * from "./serde/HttpInterceptingShapeDeserializer";
10
10
  export * from "./serde/HttpInterceptingShapeSerializer";
11
11
  export * from "./serde/ToStringShapeSerializer";
12
12
  export * from "./serde/determineTimestampFormat";
13
+ export * from "./SerdeContext";
@@ -1,17 +1,15 @@
1
- import { NormalizedSchema, SCHEMA } from "@smithy/core/schema";
2
- import { LazyJsonString, NumericValue, parseEpochTimestamp, parseRfc3339DateTimeWithOffset, parseRfc7231DateTime, splitHeader, } from "@smithy/core/serde";
1
+ import { NormalizedSchema } from "@smithy/core/schema";
2
+ import { _parseEpochTimestamp, _parseRfc3339DateTimeWithOffset, _parseRfc7231DateTime, LazyJsonString, NumericValue, splitHeader, } from "@smithy/core/serde";
3
3
  import { fromBase64 } from "@smithy/util-base64";
4
4
  import { toUtf8 } from "@smithy/util-utf8";
5
+ import { SerdeContext } from "../SerdeContext";
5
6
  import { determineTimestampFormat } from "./determineTimestampFormat";
6
- export class FromStringShapeDeserializer {
7
+ export class FromStringShapeDeserializer extends SerdeContext {
7
8
  settings;
8
- serdeContext;
9
9
  constructor(settings) {
10
+ super();
10
11
  this.settings = settings;
11
12
  }
12
- setSerdeContext(serdeContext) {
13
- this.serdeContext = serdeContext;
14
- }
15
13
  read(_schema, data) {
16
14
  const ns = NormalizedSchema.of(_schema);
17
15
  if (ns.isListSchema()) {
@@ -23,12 +21,12 @@ export class FromStringShapeDeserializer {
23
21
  if (ns.isTimestampSchema()) {
24
22
  const format = determineTimestampFormat(ns, this.settings);
25
23
  switch (format) {
26
- case SCHEMA.TIMESTAMP_DATE_TIME:
27
- return parseRfc3339DateTimeWithOffset(data);
28
- case SCHEMA.TIMESTAMP_HTTP_DATE:
29
- return parseRfc7231DateTime(data);
30
- case SCHEMA.TIMESTAMP_EPOCH_SECONDS:
31
- return parseEpochTimestamp(data);
24
+ case 5:
25
+ return _parseRfc3339DateTimeWithOffset(data);
26
+ case 6:
27
+ return _parseRfc7231DateTime(data);
28
+ case 7:
29
+ return _parseEpochTimestamp(data);
32
30
  default:
33
31
  console.warn("Missing timestamp format, parsing value with Date constructor:", data);
34
32
  return new Date(data);
@@ -48,15 +46,17 @@ export class FromStringShapeDeserializer {
48
46
  return intermediateValue;
49
47
  }
50
48
  }
51
- switch (true) {
52
- case ns.isNumericSchema():
53
- return Number(data);
54
- case ns.isBigIntegerSchema():
55
- return BigInt(data);
56
- case ns.isBigDecimalSchema():
57
- return new NumericValue(data, "bigDecimal");
58
- case ns.isBooleanSchema():
59
- return String(data).toLowerCase() === "true";
49
+ if (ns.isNumericSchema()) {
50
+ return Number(data);
51
+ }
52
+ if (ns.isBigIntegerSchema()) {
53
+ return BigInt(data);
54
+ }
55
+ if (ns.isBigDecimalSchema()) {
56
+ return new NumericValue(data, "bigDecimal");
57
+ }
58
+ if (ns.isBooleanSchema()) {
59
+ return String(data).toLowerCase() === "true";
60
60
  }
61
61
  return data;
62
62
  }
@@ -1,11 +1,12 @@
1
1
  import { NormalizedSchema } from "@smithy/core/schema";
2
2
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
3
+ import { SerdeContext } from "../SerdeContext";
3
4
  import { FromStringShapeDeserializer } from "./FromStringShapeDeserializer";
4
- export class HttpInterceptingShapeDeserializer {
5
+ export class HttpInterceptingShapeDeserializer extends SerdeContext {
5
6
  codecDeserializer;
6
7
  stringDeserializer;
7
- serdeContext;
8
8
  constructor(codecDeserializer, codecSettings) {
9
+ super();
9
10
  this.codecDeserializer = codecDeserializer;
10
11
  this.stringDeserializer = new FromStringShapeDeserializer(codecSettings);
11
12
  }
@@ -1,17 +1,15 @@
1
- import { NormalizedSchema, SCHEMA } from "@smithy/core/schema";
1
+ import { NormalizedSchema } from "@smithy/core/schema";
2
2
  import { dateToUtcString, LazyJsonString, quoteHeader } from "@smithy/core/serde";
3
3
  import { toBase64 } from "@smithy/util-base64";
4
+ import { SerdeContext } from "../SerdeContext";
4
5
  import { determineTimestampFormat } from "./determineTimestampFormat";
5
- export class ToStringShapeSerializer {
6
+ export class ToStringShapeSerializer extends SerdeContext {
6
7
  settings;
7
8
  stringBuffer = "";
8
- serdeContext = undefined;
9
9
  constructor(settings) {
10
+ super();
10
11
  this.settings = settings;
11
12
  }
12
- setSerdeContext(serdeContext) {
13
- this.serdeContext = serdeContext;
14
- }
15
13
  write(schema, value) {
16
14
  const ns = NormalizedSchema.of(schema);
17
15
  switch (typeof value) {
@@ -26,13 +24,13 @@ export class ToStringShapeSerializer {
26
24
  }
27
25
  const format = determineTimestampFormat(ns, this.settings);
28
26
  switch (format) {
29
- case SCHEMA.TIMESTAMP_DATE_TIME:
27
+ case 5:
30
28
  this.stringBuffer = value.toISOString().replace(".000Z", "Z");
31
29
  break;
32
- case SCHEMA.TIMESTAMP_HTTP_DATE:
30
+ case 6:
33
31
  this.stringBuffer = dateToUtcString(value);
34
32
  break;
35
- case SCHEMA.TIMESTAMP_EPOCH_SECONDS:
33
+ case 7:
36
34
  this.stringBuffer = String(value.getTime() / 1000);
37
35
  break;
38
36
  default:
@@ -1,19 +1,18 @@
1
- import { SCHEMA } from "@smithy/core/schema";
2
1
  export function determineTimestampFormat(ns, settings) {
3
2
  if (settings.timestampFormat.useTrait) {
4
3
  if (ns.isTimestampSchema() &&
5
- (ns.getSchema() === SCHEMA.TIMESTAMP_DATE_TIME ||
6
- ns.getSchema() === SCHEMA.TIMESTAMP_HTTP_DATE ||
7
- ns.getSchema() === SCHEMA.TIMESTAMP_EPOCH_SECONDS)) {
4
+ (ns.getSchema() === 5 ||
5
+ ns.getSchema() === 6 ||
6
+ ns.getSchema() === 7)) {
8
7
  return ns.getSchema();
9
8
  }
10
9
  }
11
10
  const { httpLabel, httpPrefixHeaders, httpHeader, httpQuery } = ns.getMergedTraits();
12
11
  const bindingFormat = settings.httpBindings
13
12
  ? typeof httpPrefixHeaders === "string" || Boolean(httpHeader)
14
- ? SCHEMA.TIMESTAMP_HTTP_DATE
13
+ ? 6
15
14
  : Boolean(httpQuery) || Boolean(httpLabel)
16
- ? SCHEMA.TIMESTAMP_DATE_TIME
15
+ ? 5
17
16
  : undefined
18
17
  : undefined;
19
18
  return bindingFormat ?? settings.timestampFormat.default;
@@ -25,11 +25,11 @@ export class TypeRegistry {
25
25
  }
26
26
  return this.schemas.get(id);
27
27
  }
28
- registerError(errorSchema, ctor) {
29
- this.exceptions.set(errorSchema, ctor);
28
+ registerError(es, ctor) {
29
+ this.exceptions.set(es, ctor);
30
30
  }
31
- getErrorCtor(errorSchema) {
32
- return this.exceptions.get(errorSchema);
31
+ getErrorCtor(es) {
32
+ return this.exceptions.get(es);
33
33
  }
34
34
  getBaseException() {
35
35
  for (const [id, schema] of this.schemas.entries()) {
@@ -9,4 +9,5 @@ export * from "./schemas/Schema";
9
9
  export * from "./schemas/SimpleSchema";
10
10
  export * from "./schemas/StructureSchema";
11
11
  export * from "./schemas/sentinels";
12
+ export * from "./schemas/translateTraits";
12
13
  export * from "./TypeRegistry";
@@ -1,8 +1,12 @@
1
1
  import { HttpResponse } from "@smithy/protocol-http";
2
2
  import { getSmithyContext } from "@smithy/util-middleware";
3
+ import { hydrate, isStaticSchema } from "../schemas/NormalizedSchema";
3
4
  export const schemaDeserializationMiddleware = (config) => (next, context) => async (args) => {
4
5
  const { response } = await next(args);
5
- const { operationSchema } = getSmithyContext(context);
6
+ let { operationSchema } = getSmithyContext(context);
7
+ if (isStaticSchema(operationSchema)) {
8
+ operationSchema = hydrate(operationSchema);
9
+ }
6
10
  try {
7
11
  const parsed = await config.protocol.deserializeResponse(operationSchema, {
8
12
  ...config,
@@ -1,6 +1,10 @@
1
1
  import { getSmithyContext } from "@smithy/util-middleware";
2
+ import { hydrate, isStaticSchema } from "../schemas/NormalizedSchema";
2
3
  export const schemaSerializationMiddleware = (config) => (next, context) => async (args) => {
3
- const { operationSchema } = getSmithyContext(context);
4
+ let { operationSchema } = getSmithyContext(context);
5
+ if (isStaticSchema(operationSchema)) {
6
+ operationSchema = hydrate(operationSchema);
7
+ }
4
8
  const endpoint = context.endpointV2?.url && config.urlParser
5
9
  ? async () => config.urlParser(context.endpointV2.url)
6
10
  : config.endpoint;