@mavogel/awscdk-rootmail 0.0.308 → 0.0.310

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 (628) hide show
  1. package/.jsii +3 -3
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/runtimeConfig.js +4 -1
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/runtimeConfig.js +4 -1
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +36 -36
  7. package/node_modules/@aws-sdk/client-route-53/dist-cjs/runtimeConfig.js +4 -1
  8. package/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.js +4 -1
  9. package/node_modules/@aws-sdk/client-route-53/package.json +36 -36
  10. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3 -1
  11. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +4 -1
  12. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +1 -0
  13. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +1 -0
  14. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +4 -1
  15. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +22 -14
  16. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -0
  17. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +23 -23
  18. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +21 -9
  19. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +1 -0
  20. package/node_modules/@aws-sdk/client-s3/package.json +50 -50
  21. package/node_modules/@aws-sdk/client-ses/dist-cjs/runtimeConfig.js +4 -1
  22. package/node_modules/@aws-sdk/client-ses/dist-es/runtimeConfig.js +4 -1
  23. package/node_modules/@aws-sdk/client-ses/package.json +34 -34
  24. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +4 -1
  25. package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +4 -1
  26. package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
  27. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +4 -1
  28. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +4 -1
  29. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  30. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +2 -0
  31. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +1 -0
  32. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +1 -0
  33. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +1 -0
  34. package/node_modules/@aws-sdk/core/package.json +10 -10
  35. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  36. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  37. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  38. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  39. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  40. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  41. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  42. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  43. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  44. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +9 -9
  45. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  46. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  47. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  48. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  49. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
  50. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
  51. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  52. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  53. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +4 -1
  54. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +4 -1
  55. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +4 -1
  56. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +4 -1
  57. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  58. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  59. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  60. package/node_modules/@aws-sdk/token-providers/README.md +9 -0
  61. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +18 -1
  62. package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +13 -0
  63. package/node_modules/@aws-sdk/token-providers/dist-es/index.js +1 -0
  64. package/node_modules/@aws-sdk/token-providers/dist-types/fromEnvSigningName.d.ts +18 -0
  65. package/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +1 -0
  66. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts +11 -0
  67. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +1 -0
  68. package/node_modules/@aws-sdk/token-providers/package.json +7 -6
  69. package/node_modules/@aws-sdk/types/package.json +2 -2
  70. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  71. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  72. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  73. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  74. package/node_modules/@smithy/abort-controller/package.json +2 -2
  75. package/node_modules/@smithy/config-resolver/package.json +4 -4
  76. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +209 -0
  77. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +667 -2
  78. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +771 -0
  79. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +108 -53
  80. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +136 -0
  81. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +74 -0
  82. package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +3 -1
  83. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +183 -0
  84. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +164 -0
  85. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +68 -0
  86. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +7 -0
  87. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +64 -0
  88. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +38 -0
  89. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js +30 -0
  90. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +87 -0
  91. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js +20 -0
  92. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +49 -0
  93. package/node_modules/@smithy/core/dist-es/submodules/schema/deref.js +6 -0
  94. package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +12 -0
  95. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js +23 -0
  96. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +60 -0
  97. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +16 -0
  98. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +17 -0
  99. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +15 -0
  100. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +16 -0
  101. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +291 -0
  102. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +16 -0
  103. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +6 -0
  104. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +15 -0
  105. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +22 -0
  106. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js +16 -0
  107. package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +53 -0
  108. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +4 -3
  109. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +29 -0
  110. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +22 -0
  111. package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +3 -1
  112. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +15 -0
  113. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +29 -0
  114. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +11 -0
  115. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +7 -0
  116. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +14 -0
  117. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +18 -0
  118. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +20 -0
  119. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +15 -0
  120. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
  121. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +55 -0
  122. package/node_modules/@smithy/core/dist-types/submodules/schema/deref.d.ts +6 -0
  123. package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +12 -0
  124. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
  125. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schema-middleware-types.d.ts +8 -0
  126. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
  127. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
  128. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +38 -0
  129. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +20 -0
  130. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +25 -0
  131. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +122 -0
  132. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +20 -0
  133. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +11 -0
  134. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +20 -0
  135. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +21 -0
  136. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +21 -0
  137. package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +5 -0
  138. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +4 -3
  139. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +29 -0
  140. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +22 -0
  141. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +3 -1
  142. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +15 -0
  143. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +29 -0
  144. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +11 -0
  145. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +7 -0
  146. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +14 -0
  147. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +18 -0
  148. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +20 -0
  149. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +15 -0
  150. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
  151. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +55 -0
  152. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +6 -0
  153. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +12 -0
  154. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
  155. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +11 -0
  156. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
  157. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
  158. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +38 -0
  159. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +20 -0
  160. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +25 -0
  161. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +125 -0
  162. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +20 -0
  163. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +11 -0
  164. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +20 -0
  165. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +24 -0
  166. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +21 -0
  167. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +5 -0
  168. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +4 -3
  169. package/node_modules/@smithy/core/package.json +17 -7
  170. package/node_modules/@smithy/core/schema.d.ts +7 -0
  171. package/node_modules/@smithy/core/schema.js +6 -0
  172. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  173. package/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts +1 -1
  174. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +1 -1
  175. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  176. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  177. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  178. package/node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts +0 -1
  179. package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -1
  180. package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts +0 -1
  181. package/node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts +0 -1
  182. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  183. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  184. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  185. package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
  186. package/node_modules/@smithy/hash-node/package.json +2 -2
  187. package/node_modules/@smithy/hash-stream-node/dist-types/HashCalculator.d.ts +0 -3
  188. package/node_modules/@smithy/hash-stream-node/dist-types/fileStreamHasher.d.ts +0 -1
  189. package/node_modules/@smithy/hash-stream-node/dist-types/readableStreamHasher.d.ts +0 -1
  190. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/HashCalculator.d.ts +0 -1
  191. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/fileStreamHasher.d.ts +0 -1
  192. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/readableStreamHasher.d.ts +0 -1
  193. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  194. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  195. package/node_modules/@smithy/md5-js/package.json +2 -2
  196. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +2 -2
  197. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  198. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  199. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  200. package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +1 -0
  201. package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +7 -1
  202. package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -0
  203. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +1 -0
  204. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +7 -1
  205. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +1 -0
  206. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  207. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  208. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  209. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  210. package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
  211. package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +1 -1
  212. package/node_modules/@smithy/property-provider/package.json +2 -2
  213. package/node_modules/@smithy/protocol-http/package.json +2 -2
  214. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  215. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  216. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  217. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  218. package/node_modules/@smithy/signature-v4/package.json +4 -4
  219. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +10 -0
  220. package/node_modules/@smithy/smithy-client/dist-es/command.js +6 -0
  221. package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +7 -1
  222. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +7 -1
  223. package/node_modules/@smithy/smithy-client/package.json +7 -7
  224. package/node_modules/@smithy/types/dist-types/command.d.ts +5 -2
  225. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -4
  226. package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +5 -2
  227. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -4
  228. package/node_modules/@smithy/types/package.json +1 -1
  229. package/node_modules/@smithy/url-parser/package.json +3 -3
  230. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  231. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  232. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  233. package/node_modules/@smithy/util-middleware/package.json +2 -2
  234. package/node_modules/@smithy/util-retry/package.json +3 -3
  235. package/node_modules/@smithy/util-stream/package.json +4 -4
  236. package/node_modules/@smithy/util-waiter/package.json +3 -3
  237. package/node_modules/cdk-nag/.jsii +61 -5
  238. package/node_modules/cdk-nag/API.md +66 -0
  239. package/node_modules/cdk-nag/README.md +1 -0
  240. package/node_modules/cdk-nag/RULES.md +32 -0
  241. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  242. package/node_modules/cdk-nag/lib/index.d.ts +1 -0
  243. package/node_modules/cdk-nag/lib/index.js +2 -1
  244. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  245. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  246. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  247. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  248. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  249. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  250. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  251. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  252. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  253. package/node_modules/cdk-nag/lib/packs/serverless.d.ts +58 -0
  254. package/node_modules/cdk-nag/lib/packs/serverless.js +228 -0
  255. package/node_modules/cdk-nag/lib/rules/apigw/APIGWAccessLogging.d.ts +1 -0
  256. package/node_modules/cdk-nag/lib/rules/apigw/APIGWAccessLogging.js +2 -1
  257. package/node_modules/cdk-nag/lib/rules/apigw/APIGWDefaultThrottling.d.ts +8 -0
  258. package/node_modules/cdk-nag/lib/rules/apigw/APIGWDefaultThrottling.js +36 -0
  259. package/node_modules/cdk-nag/lib/rules/apigw/APIGWStructuredLogging.d.ts +8 -0
  260. package/node_modules/cdk-nag/lib/rules/apigw/APIGWStructuredLogging.js +62 -0
  261. package/node_modules/cdk-nag/lib/rules/apigw/index.d.ts +2 -0
  262. package/node_modules/cdk-nag/lib/rules/apigw/index.js +6 -2
  263. package/node_modules/cdk-nag/lib/rules/appsync/AppSyncTracing.d.ts +8 -0
  264. package/node_modules/cdk-nag/lib/rules/appsync/AppSyncTracing.js +24 -0
  265. package/node_modules/cdk-nag/lib/rules/appsync/index.d.ts +1 -0
  266. package/node_modules/cdk-nag/lib/rules/appsync/index.js +4 -2
  267. package/node_modules/cdk-nag/lib/rules/eventbridge/EventBusDLQ.d.ts +8 -0
  268. package/node_modules/cdk-nag/lib/rules/eventbridge/EventBusDLQ.js +25 -0
  269. package/node_modules/cdk-nag/lib/rules/eventbridge/index.d.ts +1 -0
  270. package/node_modules/cdk-nag/lib/rules/eventbridge/index.js +4 -2
  271. package/node_modules/cdk-nag/lib/rules/lambda/LambdaAsyncFailureDestination.d.ts +8 -0
  272. package/node_modules/cdk-nag/lib/rules/lambda/LambdaAsyncFailureDestination.js +25 -0
  273. package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultMemorySize.d.ts +8 -0
  274. package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultMemorySize.js +25 -0
  275. package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultTimeout.d.ts +8 -0
  276. package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultTimeout.js +25 -0
  277. package/node_modules/cdk-nag/lib/rules/lambda/LambdaEventSourceMappingDestination.d.ts +8 -0
  278. package/node_modules/cdk-nag/lib/rules/lambda/LambdaEventSourceMappingDestination.js +27 -0
  279. package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogLevel.d.ts +8 -0
  280. package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogLevel.js +25 -0
  281. package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogging.d.ts +8 -0
  282. package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogging.js +24 -0
  283. package/node_modules/cdk-nag/lib/rules/lambda/LambdaStarPermissions.d.ts +8 -0
  284. package/node_modules/cdk-nag/lib/rules/lambda/LambdaStarPermissions.js +107 -0
  285. package/node_modules/cdk-nag/lib/rules/lambda/LambdaTracing.d.ts +8 -0
  286. package/node_modules/cdk-nag/lib/rules/lambda/LambdaTracing.js +24 -0
  287. package/node_modules/cdk-nag/lib/rules/lambda/index.d.ts +6 -0
  288. package/node_modules/cdk-nag/lib/rules/lambda/index.js +14 -2
  289. package/node_modules/cdk-nag/lib/rules/sns/SNSRedrivePolicy.d.ts +9 -0
  290. package/node_modules/cdk-nag/lib/rules/sns/SNSRedrivePolicy.js +24 -0
  291. package/node_modules/cdk-nag/lib/rules/sns/index.d.ts +1 -0
  292. package/node_modules/cdk-nag/lib/rules/sns/index.js +4 -2
  293. package/node_modules/cdk-nag/lib/rules/sqs/SQSRedrivePolicy.d.ts +8 -0
  294. package/node_modules/cdk-nag/lib/rules/sqs/SQSRedrivePolicy.js +26 -0
  295. package/node_modules/cdk-nag/lib/rules/sqs/index.d.ts +1 -0
  296. package/node_modules/cdk-nag/lib/rules/sqs/index.js +4 -2
  297. package/node_modules/cdk-nag/package.json +2 -2
  298. package/node_modules/mailparser/.ncurc.js +2 -1
  299. package/node_modules/mailparser/CHANGELOG.md +7 -0
  300. package/node_modules/mailparser/lib/mail-parser.js +1 -1
  301. package/node_modules/mailparser/package.json +4 -4
  302. package/node_modules/mailsplit/package.json +2 -2
  303. package/node_modules/nodemailer/.ncurc.js +2 -1
  304. package/node_modules/nodemailer/CHANGELOG.md +51 -0
  305. package/node_modules/nodemailer/README.md +2 -2
  306. package/node_modules/nodemailer/lib/dkim/index.js +1 -1
  307. package/node_modules/nodemailer/lib/mail-composer/index.js +14 -2
  308. package/node_modules/nodemailer/lib/nodemailer.js +5 -0
  309. package/node_modules/nodemailer/lib/ses-transport/index.js +53 -168
  310. package/node_modules/nodemailer/lib/smtp-connection/index.js +4 -2
  311. package/node_modules/nodemailer/lib/well-known/services.json +16 -0
  312. package/node_modules/nodemailer/package.json +5 -5
  313. package/node_modules/tlds/index.json +0 -5
  314. package/node_modules/tlds/package.json +1 -1
  315. package/package.json +1 -1
  316. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +0 -201
  317. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
  318. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +0 -1
  319. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +0 -1
  320. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +0 -1
  321. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
  322. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +0 -1
  323. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
  324. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -12
  325. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +0 -1
  326. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -206
  327. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +0 -1
  328. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +0 -1
  329. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +0 -1
  330. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +0 -1
  331. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +0 -1
  332. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -13
  333. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +0 -1
  334. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
  335. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
  336. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
  337. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
  338. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
  339. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
  340. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -8
  341. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
  342. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -8
  343. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
  344. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
  345. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
  346. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
  347. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
  348. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -9
  349. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
  350. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
  351. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
  352. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
  353. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -15
  354. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -5
  355. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -46
  356. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
  357. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -8
  358. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -36
  359. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -17
  360. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
  361. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
  362. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -18
  363. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -5
  364. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
  365. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
  366. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
  367. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
  368. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -15
  369. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -5
  370. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -46
  371. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
  372. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -8
  373. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -36
  374. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -17
  375. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
  376. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
  377. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -18
  378. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -5
  379. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -16
  380. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -16
  381. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +0 -72
  382. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +0 -201
  383. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +0 -10
  384. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
  385. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
  386. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
  387. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
  388. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
  389. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -170
  390. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
  391. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +0 -8
  392. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +0 -22
  393. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +0 -8
  394. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +0 -21
  395. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
  396. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
  397. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +0 -45
  398. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -30
  399. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
  400. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -30
  401. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
  402. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
  403. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
  404. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +0 -40
  405. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -30
  406. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
  407. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -30
  408. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
  409. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
  410. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
  411. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
  412. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +0 -60
  413. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +0 -201
  414. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
  415. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +0 -1
  416. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +0 -1
  417. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +0 -1
  418. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
  419. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +0 -1
  420. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
  421. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -12
  422. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +0 -1
  423. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -206
  424. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +0 -1
  425. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +0 -1
  426. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +0 -1
  427. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +0 -1
  428. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +0 -1
  429. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -13
  430. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +0 -1
  431. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
  432. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
  433. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
  434. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
  435. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
  436. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
  437. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -8
  438. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
  439. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -8
  440. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
  441. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
  442. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
  443. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
  444. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
  445. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -9
  446. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +0 -1
  447. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
  448. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
  449. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
  450. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
  451. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -15
  452. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -5
  453. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -46
  454. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
  455. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -8
  456. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -36
  457. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -17
  458. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
  459. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
  460. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -18
  461. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -5
  462. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
  463. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
  464. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
  465. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
  466. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -15
  467. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -5
  468. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -46
  469. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
  470. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -8
  471. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -36
  472. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -17
  473. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
  474. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
  475. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -18
  476. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -5
  477. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -16
  478. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -16
  479. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +0 -72
  480. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/LICENSE +0 -201
  481. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/README.md +0 -4
  482. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -1
  483. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -1
  484. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -84
  485. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -9
  486. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -20
  487. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/index.js +0 -2
  488. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -16
  489. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +0 -21
  490. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -9
  491. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -16
  492. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +0 -21
  493. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -9
  494. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/package.json +0 -62
  495. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/LICENSE +0 -201
  496. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/README.md +0 -10
  497. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
  498. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
  499. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
  500. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
  501. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
  502. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -170
  503. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
  504. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +0 -8
  505. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/ProviderError.js +0 -22
  506. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +0 -8
  507. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/chain.js +0 -21
  508. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
  509. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
  510. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/memoize.js +0 -45
  511. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -30
  512. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
  513. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -30
  514. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
  515. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
  516. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
  517. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +0 -40
  518. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -30
  519. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
  520. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -30
  521. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
  522. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
  523. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
  524. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
  525. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +0 -60
  526. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/LICENSE +0 -201
  527. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/README.md +0 -11
  528. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +0 -1
  529. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +0 -1
  530. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +0 -1
  531. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +0 -1
  532. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +0 -1
  533. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +0 -1
  534. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +0 -1
  535. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +0 -445
  536. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +0 -1
  537. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +0 -1
  538. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +0 -1
  539. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +0 -1
  540. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +0 -1
  541. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +0 -1
  542. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +0 -1
  543. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +0 -1
  544. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +0 -1
  545. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js +0 -5
  546. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js +0 -7
  547. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js +0 -5
  548. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js +0 -8
  549. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +0 -9
  550. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +0 -77
  551. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +0 -134
  552. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/index.js +0 -7
  553. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +0 -13
  554. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js +0 -3
  555. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +0 -36
  556. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +0 -2
  557. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js +0 -7
  558. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/types.js +0 -1
  559. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +0 -17
  560. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js +0 -19
  561. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js +0 -25
  562. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts +0 -7
  563. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +0 -13
  564. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts +0 -7
  565. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +0 -13
  566. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts +0 -12
  567. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +0 -21
  568. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +0 -10
  569. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +0 -28
  570. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +0 -19
  571. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +0 -40
  572. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +0 -6
  573. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +0 -8
  574. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts +0 -10
  575. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +0 -7
  576. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +0 -13
  577. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +0 -7
  578. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +0 -13
  579. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +0 -12
  580. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +0 -21
  581. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +0 -10
  582. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +0 -28
  583. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +0 -19
  584. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +0 -40
  585. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -6
  586. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +0 -8
  587. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +0 -10
  588. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +0 -7
  589. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
  590. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +0 -21
  591. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +0 -16
  592. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +0 -7
  593. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
  594. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +0 -21
  595. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +0 -16
  596. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +0 -69
  597. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/LICENSE +0 -201
  598. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/README.md +0 -10
  599. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
  600. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
  601. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
  602. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
  603. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
  604. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -170
  605. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
  606. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +0 -8
  607. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/ProviderError.js +0 -22
  608. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +0 -8
  609. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/chain.js +0 -21
  610. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
  611. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
  612. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/memoize.js +0 -45
  613. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -30
  614. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
  615. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -30
  616. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
  617. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
  618. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
  619. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +0 -40
  620. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -30
  621. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
  622. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -30
  623. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
  624. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
  625. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
  626. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
  627. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +0 -60
  628. /package/node_modules/@smithy/{middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js → core/dist-es/submodules/schema/middleware/schema-middleware-types.js} +0 -0
@@ -0,0 +1,771 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/submodules/schema/index.ts
20
+ var schema_exports = {};
21
+ __export(schema_exports, {
22
+ ErrorSchema: () => ErrorSchema,
23
+ ListSchema: () => ListSchema,
24
+ MapSchema: () => MapSchema,
25
+ NormalizedSchema: () => NormalizedSchema,
26
+ OperationSchema: () => OperationSchema,
27
+ SCHEMA: () => SCHEMA,
28
+ Schema: () => Schema,
29
+ SimpleSchema: () => SimpleSchema,
30
+ StructureSchema: () => StructureSchema,
31
+ TypeRegistry: () => TypeRegistry,
32
+ deref: () => deref,
33
+ deserializerMiddlewareOption: () => deserializerMiddlewareOption,
34
+ error: () => error,
35
+ getSchemaSerdePlugin: () => getSchemaSerdePlugin,
36
+ list: () => list,
37
+ map: () => map,
38
+ op: () => op,
39
+ serializerMiddlewareOption: () => serializerMiddlewareOption,
40
+ sim: () => sim,
41
+ struct: () => struct
42
+ });
43
+ module.exports = __toCommonJS(schema_exports);
44
+
45
+ // src/submodules/schema/deref.ts
46
+ var deref = (schemaRef) => {
47
+ if (typeof schemaRef === "function") {
48
+ return schemaRef();
49
+ }
50
+ return schemaRef;
51
+ };
52
+
53
+ // src/submodules/schema/middleware/schemaDeserializationMiddleware.ts
54
+ var import_protocol_http = require("@smithy/protocol-http");
55
+ var import_util_middleware = require("@smithy/util-middleware");
56
+ var schemaDeserializationMiddleware = (config) => (next, context) => async (args) => {
57
+ const { response } = await next(args);
58
+ const { operationSchema } = (0, import_util_middleware.getSmithyContext)(context);
59
+ try {
60
+ const parsed = await config.protocol.deserializeResponse(
61
+ operationSchema,
62
+ {
63
+ ...config,
64
+ ...context
65
+ },
66
+ response
67
+ );
68
+ return {
69
+ response,
70
+ output: parsed
71
+ };
72
+ } catch (error2) {
73
+ Object.defineProperty(error2, "$response", {
74
+ value: response
75
+ });
76
+ if (!("$metadata" in error2)) {
77
+ const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;
78
+ try {
79
+ error2.message += "\n " + hint;
80
+ } catch (e) {
81
+ if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") {
82
+ console.warn(hint);
83
+ } else {
84
+ context.logger?.warn?.(hint);
85
+ }
86
+ }
87
+ if (typeof error2.$responseBodyText !== "undefined") {
88
+ if (error2.$response) {
89
+ error2.$response.body = error2.$responseBodyText;
90
+ }
91
+ }
92
+ try {
93
+ if (import_protocol_http.HttpResponse.isInstance(response)) {
94
+ const { headers = {} } = response;
95
+ const headerEntries = Object.entries(headers);
96
+ error2.$metadata = {
97
+ httpStatusCode: response.statusCode,
98
+ requestId: findHeader(/^x-[\w-]+-request-?id$/, headerEntries),
99
+ extendedRequestId: findHeader(/^x-[\w-]+-id-2$/, headerEntries),
100
+ cfId: findHeader(/^x-[\w-]+-cf-id$/, headerEntries)
101
+ };
102
+ }
103
+ } catch (e) {
104
+ }
105
+ }
106
+ throw error2;
107
+ }
108
+ };
109
+ var findHeader = (pattern, headers) => {
110
+ return (headers.find(([k]) => {
111
+ return k.match(pattern);
112
+ }) || [void 0, void 0])[1];
113
+ };
114
+
115
+ // src/submodules/schema/middleware/schemaSerializationMiddleware.ts
116
+ var import_util_middleware2 = require("@smithy/util-middleware");
117
+ var schemaSerializationMiddleware = (config) => (next, context) => async (args) => {
118
+ const { operationSchema } = (0, import_util_middleware2.getSmithyContext)(context);
119
+ const endpoint = context.endpointV2?.url && config.urlParser ? async () => config.urlParser(context.endpointV2.url) : config.endpoint;
120
+ const request = await config.protocol.serializeRequest(operationSchema, args.input, {
121
+ ...config,
122
+ ...context,
123
+ endpoint
124
+ });
125
+ return next({
126
+ ...args,
127
+ request
128
+ });
129
+ };
130
+
131
+ // src/submodules/schema/middleware/getSchemaSerdePlugin.ts
132
+ var deserializerMiddlewareOption = {
133
+ name: "deserializerMiddleware",
134
+ step: "deserialize",
135
+ tags: ["DESERIALIZER"],
136
+ override: true
137
+ };
138
+ var serializerMiddlewareOption = {
139
+ name: "serializerMiddleware",
140
+ step: "serialize",
141
+ tags: ["SERIALIZER"],
142
+ override: true
143
+ };
144
+ function getSchemaSerdePlugin(config) {
145
+ return {
146
+ applyToStack: (commandStack) => {
147
+ commandStack.add(schemaSerializationMiddleware(config), serializerMiddlewareOption);
148
+ commandStack.add(schemaDeserializationMiddleware(config), deserializerMiddlewareOption);
149
+ config.protocol.setSerdeContext(config);
150
+ }
151
+ };
152
+ }
153
+
154
+ // src/submodules/schema/TypeRegistry.ts
155
+ var TypeRegistry = class _TypeRegistry {
156
+ constructor(namespace, schemas = /* @__PURE__ */ new Map()) {
157
+ this.namespace = namespace;
158
+ this.schemas = schemas;
159
+ }
160
+ static {
161
+ this.registries = /* @__PURE__ */ new Map();
162
+ }
163
+ /**
164
+ * @param namespace - specifier.
165
+ * @returns the schema for that namespace, creating it if necessary.
166
+ */
167
+ static for(namespace) {
168
+ if (!_TypeRegistry.registries.has(namespace)) {
169
+ _TypeRegistry.registries.set(namespace, new _TypeRegistry(namespace));
170
+ }
171
+ return _TypeRegistry.registries.get(namespace);
172
+ }
173
+ /**
174
+ * Adds the given schema to a type registry with the same namespace.
175
+ *
176
+ * @param shapeId - to be registered.
177
+ * @param schema - to be registered.
178
+ */
179
+ register(shapeId, schema) {
180
+ const qualifiedName = this.normalizeShapeId(shapeId);
181
+ const registry = _TypeRegistry.for(this.getNamespace(shapeId));
182
+ registry.schemas.set(qualifiedName, schema);
183
+ }
184
+ /**
185
+ * @param shapeId - query.
186
+ * @returns the schema.
187
+ */
188
+ getSchema(shapeId) {
189
+ const id = this.normalizeShapeId(shapeId);
190
+ if (!this.schemas.has(id)) {
191
+ throw new Error(`@smithy/core/schema - schema not found for ${id}`);
192
+ }
193
+ return this.schemas.get(id);
194
+ }
195
+ /**
196
+ * The smithy-typescript code generator generates a synthetic (i.e. unmodeled) base exception,
197
+ * because generated SDKs before the introduction of schemas have the notion of a ServiceBaseException, which
198
+ * is unique per service/model.
199
+ *
200
+ * This is generated under a unique prefix that is combined with the service namespace, and this
201
+ * method is used to retrieve it.
202
+ *
203
+ * The base exception synthetic schema is used when an error is returned by a service, but we cannot
204
+ * determine what existing schema to use to deserialize it.
205
+ *
206
+ * @returns the synthetic base exception of the service namespace associated with this registry instance.
207
+ */
208
+ getBaseException() {
209
+ for (const [id, schema] of this.schemas.entries()) {
210
+ if (id.startsWith("smithyts.client.synthetic.") && id.endsWith("ServiceException")) {
211
+ return schema;
212
+ }
213
+ }
214
+ return void 0;
215
+ }
216
+ /**
217
+ * @param predicate - criterion.
218
+ * @returns a schema in this registry matching the predicate.
219
+ */
220
+ find(predicate) {
221
+ return [...this.schemas.values()].find(predicate);
222
+ }
223
+ /**
224
+ * Unloads the current TypeRegistry.
225
+ */
226
+ destroy() {
227
+ _TypeRegistry.registries.delete(this.namespace);
228
+ this.schemas.clear();
229
+ }
230
+ normalizeShapeId(shapeId) {
231
+ if (shapeId.includes("#")) {
232
+ return shapeId;
233
+ }
234
+ return this.namespace + "#" + shapeId;
235
+ }
236
+ getNamespace(shapeId) {
237
+ return this.normalizeShapeId(shapeId).split("#")[0];
238
+ }
239
+ };
240
+
241
+ // src/submodules/schema/schemas/Schema.ts
242
+ var Schema = class {
243
+ constructor(name, traits) {
244
+ this.name = name;
245
+ this.traits = traits;
246
+ }
247
+ };
248
+
249
+ // src/submodules/schema/schemas/ListSchema.ts
250
+ var ListSchema = class extends Schema {
251
+ constructor(name, traits, valueSchema) {
252
+ super(name, traits);
253
+ this.name = name;
254
+ this.traits = traits;
255
+ this.valueSchema = valueSchema;
256
+ }
257
+ };
258
+ function list(namespace, name, traits = {}, valueSchema) {
259
+ const schema = new ListSchema(
260
+ namespace + "#" + name,
261
+ traits,
262
+ typeof valueSchema === "function" ? valueSchema() : valueSchema
263
+ );
264
+ TypeRegistry.for(namespace).register(name, schema);
265
+ return schema;
266
+ }
267
+
268
+ // src/submodules/schema/schemas/MapSchema.ts
269
+ var MapSchema = class extends Schema {
270
+ constructor(name, traits, keySchema, valueSchema) {
271
+ super(name, traits);
272
+ this.name = name;
273
+ this.traits = traits;
274
+ this.keySchema = keySchema;
275
+ this.valueSchema = valueSchema;
276
+ }
277
+ };
278
+ function map(namespace, name, traits = {}, keySchema, valueSchema) {
279
+ const schema = new MapSchema(
280
+ namespace + "#" + name,
281
+ traits,
282
+ keySchema,
283
+ typeof valueSchema === "function" ? valueSchema() : valueSchema
284
+ );
285
+ TypeRegistry.for(namespace).register(name, schema);
286
+ return schema;
287
+ }
288
+
289
+ // src/submodules/schema/schemas/OperationSchema.ts
290
+ var OperationSchema = class extends Schema {
291
+ constructor(name, traits, input, output) {
292
+ super(name, traits);
293
+ this.name = name;
294
+ this.traits = traits;
295
+ this.input = input;
296
+ this.output = output;
297
+ }
298
+ };
299
+ function op(namespace, name, traits = {}, input, output) {
300
+ const schema = new OperationSchema(namespace + "#" + name, traits, input, output);
301
+ TypeRegistry.for(namespace).register(name, schema);
302
+ return schema;
303
+ }
304
+
305
+ // src/submodules/schema/schemas/StructureSchema.ts
306
+ var StructureSchema = class extends Schema {
307
+ constructor(name, traits, memberNames, memberList) {
308
+ super(name, traits);
309
+ this.name = name;
310
+ this.traits = traits;
311
+ this.memberNames = memberNames;
312
+ this.memberList = memberList;
313
+ this.members = {};
314
+ for (let i = 0; i < memberNames.length; ++i) {
315
+ this.members[memberNames[i]] = Array.isArray(memberList[i]) ? memberList[i] : [memberList[i], 0];
316
+ }
317
+ }
318
+ };
319
+ function struct(namespace, name, traits, memberNames, memberList) {
320
+ const schema = new StructureSchema(namespace + "#" + name, traits, memberNames, memberList);
321
+ TypeRegistry.for(namespace).register(name, schema);
322
+ return schema;
323
+ }
324
+
325
+ // src/submodules/schema/schemas/ErrorSchema.ts
326
+ var ErrorSchema = class extends StructureSchema {
327
+ constructor(name, traits, memberNames, memberList, ctor) {
328
+ super(name, traits, memberNames, memberList);
329
+ this.name = name;
330
+ this.traits = traits;
331
+ this.memberNames = memberNames;
332
+ this.memberList = memberList;
333
+ this.ctor = ctor;
334
+ }
335
+ };
336
+ function error(namespace, name, traits = {}, memberNames, memberList, ctor) {
337
+ const schema = new ErrorSchema(namespace + "#" + name, traits, memberNames, memberList, ctor);
338
+ TypeRegistry.for(namespace).register(name, schema);
339
+ return schema;
340
+ }
341
+
342
+ // src/submodules/schema/schemas/sentinels.ts
343
+ var SCHEMA = {
344
+ BLOB: 21,
345
+ // 21
346
+ STREAMING_BLOB: 42,
347
+ // 42
348
+ BOOLEAN: 2,
349
+ // 2
350
+ STRING: 0,
351
+ // 0
352
+ NUMERIC: 1,
353
+ // 1
354
+ BIG_INTEGER: 17,
355
+ // 17
356
+ BIG_DECIMAL: 19,
357
+ // 19
358
+ DOCUMENT: 15,
359
+ // 15
360
+ TIMESTAMP_DEFAULT: 4,
361
+ // 4
362
+ TIMESTAMP_DATE_TIME: 5,
363
+ // 5
364
+ TIMESTAMP_HTTP_DATE: 6,
365
+ // 6
366
+ TIMESTAMP_EPOCH_SECONDS: 7,
367
+ // 7
368
+ LIST_MODIFIER: 64,
369
+ // 64
370
+ MAP_MODIFIER: 128
371
+ // 128
372
+ };
373
+
374
+ // src/submodules/schema/schemas/SimpleSchema.ts
375
+ var SimpleSchema = class extends Schema {
376
+ constructor(name, schemaRef, traits) {
377
+ super(name, traits);
378
+ this.name = name;
379
+ this.schemaRef = schemaRef;
380
+ this.traits = traits;
381
+ }
382
+ };
383
+ function sim(namespace, name, schemaRef, traits) {
384
+ const schema = new SimpleSchema(namespace + "#" + name, schemaRef, traits);
385
+ TypeRegistry.for(namespace).register(name, schema);
386
+ return schema;
387
+ }
388
+
389
+ // src/submodules/schema/schemas/NormalizedSchema.ts
390
+ var NormalizedSchema = class _NormalizedSchema {
391
+ /**
392
+ * @param ref - a polymorphic SchemaRef to be dereferenced/normalized.
393
+ * @param memberName - optional memberName if this NormalizedSchema should be considered a member schema.
394
+ */
395
+ constructor(ref, memberName) {
396
+ this.ref = ref;
397
+ this.memberName = memberName;
398
+ const traitStack = [];
399
+ let _ref = ref;
400
+ let schema = ref;
401
+ this._isMemberSchema = false;
402
+ while (Array.isArray(_ref)) {
403
+ traitStack.push(_ref[1]);
404
+ _ref = _ref[0];
405
+ schema = deref(_ref);
406
+ this._isMemberSchema = true;
407
+ }
408
+ if (traitStack.length > 0) {
409
+ this.memberTraits = {};
410
+ for (let i = traitStack.length - 1; i >= 0; --i) {
411
+ const traitSet = traitStack[i];
412
+ Object.assign(this.memberTraits, _NormalizedSchema.translateTraits(traitSet));
413
+ }
414
+ } else {
415
+ this.memberTraits = 0;
416
+ }
417
+ if (schema instanceof _NormalizedSchema) {
418
+ this.name = schema.name;
419
+ this.traits = schema.traits;
420
+ this._isMemberSchema = schema._isMemberSchema;
421
+ this.schema = schema.schema;
422
+ this.memberTraits = Object.assign({}, schema.getMemberTraits(), this.getMemberTraits());
423
+ this.normalizedTraits = void 0;
424
+ this.ref = schema.ref;
425
+ this.memberName = memberName ?? schema.memberName;
426
+ return;
427
+ }
428
+ this.schema = deref(schema);
429
+ if (this.schema && typeof this.schema === "object") {
430
+ this.traits = this.schema?.traits ?? {};
431
+ } else {
432
+ this.traits = 0;
433
+ }
434
+ this.name = (typeof this.schema === "object" ? this.schema?.name : void 0) ?? this.memberName ?? this.getSchemaName();
435
+ if (this._isMemberSchema && !memberName) {
436
+ throw new Error(
437
+ `@smithy/core/schema - NormalizedSchema member schema ${this.getName(true)} must initialize with memberName argument.`
438
+ );
439
+ }
440
+ }
441
+ /**
442
+ * Static constructor that attempts to avoid wrapping a NormalizedSchema within another.
443
+ */
444
+ static of(ref, memberName) {
445
+ if (ref instanceof _NormalizedSchema) {
446
+ return ref;
447
+ }
448
+ return new _NormalizedSchema(ref, memberName);
449
+ }
450
+ /**
451
+ * @param indicator - numeric indicator for preset trait combination.
452
+ * @returns equivalent trait object.
453
+ */
454
+ static translateTraits(indicator) {
455
+ if (typeof indicator === "object") {
456
+ return indicator;
457
+ }
458
+ indicator = indicator | 0;
459
+ const traits = {};
460
+ if ((indicator & 1) === 1) {
461
+ traits.httpLabel = 1;
462
+ }
463
+ if ((indicator >> 1 & 1) === 1) {
464
+ traits.idempotent = 1;
465
+ }
466
+ if ((indicator >> 2 & 1) === 1) {
467
+ traits.idempotencyToken = 1;
468
+ }
469
+ if ((indicator >> 3 & 1) === 1) {
470
+ traits.sensitive = 1;
471
+ }
472
+ if ((indicator >> 4 & 1) === 1) {
473
+ traits.httpPayload = 1;
474
+ }
475
+ if ((indicator >> 5 & 1) === 1) {
476
+ traits.httpResponseCode = 1;
477
+ }
478
+ if ((indicator >> 6 & 1) === 1) {
479
+ traits.httpQueryParams = 1;
480
+ }
481
+ return traits;
482
+ }
483
+ /**
484
+ * Creates a normalized member schema from the given schema and member name.
485
+ */
486
+ static memberFrom(memberSchema, memberName) {
487
+ if (memberSchema instanceof _NormalizedSchema) {
488
+ memberSchema.memberName = memberName;
489
+ memberSchema._isMemberSchema = true;
490
+ return memberSchema;
491
+ }
492
+ return new _NormalizedSchema(memberSchema, memberName);
493
+ }
494
+ /**
495
+ * @returns the underlying non-normalized schema.
496
+ */
497
+ getSchema() {
498
+ if (this.schema instanceof _NormalizedSchema) {
499
+ return this.schema = this.schema.getSchema();
500
+ }
501
+ if (this.schema instanceof SimpleSchema) {
502
+ return deref(this.schema.schemaRef);
503
+ }
504
+ return deref(this.schema);
505
+ }
506
+ /**
507
+ * @param withNamespace - qualifies the name.
508
+ * @returns e.g. `MyShape` or `com.namespace#MyShape`.
509
+ */
510
+ getName(withNamespace = false) {
511
+ if (!withNamespace) {
512
+ if (this.name && this.name.includes("#")) {
513
+ return this.name.split("#")[1];
514
+ }
515
+ }
516
+ return this.name || void 0;
517
+ }
518
+ /**
519
+ * @returns the member name if the schema is a member schema.
520
+ * @throws Error when the schema isn't a member schema.
521
+ */
522
+ getMemberName() {
523
+ if (!this.isMemberSchema()) {
524
+ throw new Error(`@smithy/core/schema - cannot get member name on non-member schema: ${this.getName(true)}`);
525
+ }
526
+ return this.memberName;
527
+ }
528
+ isMemberSchema() {
529
+ return this._isMemberSchema;
530
+ }
531
+ isUnitSchema() {
532
+ return this.getSchema() === "unit";
533
+ }
534
+ /**
535
+ * boolean methods on this class help control flow in shape serialization and deserialization.
536
+ */
537
+ isListSchema() {
538
+ const inner = this.getSchema();
539
+ if (typeof inner === "number") {
540
+ return inner >= SCHEMA.LIST_MODIFIER && inner < SCHEMA.MAP_MODIFIER;
541
+ }
542
+ return inner instanceof ListSchema;
543
+ }
544
+ isMapSchema() {
545
+ const inner = this.getSchema();
546
+ if (typeof inner === "number") {
547
+ return inner >= SCHEMA.MAP_MODIFIER && inner <= 255;
548
+ }
549
+ return inner instanceof MapSchema;
550
+ }
551
+ isDocumentSchema() {
552
+ return this.getSchema() === SCHEMA.DOCUMENT;
553
+ }
554
+ isStructSchema() {
555
+ const inner = this.getSchema();
556
+ return inner !== null && typeof inner === "object" && "members" in inner || inner instanceof StructureSchema;
557
+ }
558
+ isBlobSchema() {
559
+ return this.getSchema() === SCHEMA.BLOB || this.getSchema() === SCHEMA.STREAMING_BLOB;
560
+ }
561
+ isTimestampSchema() {
562
+ const schema = this.getSchema();
563
+ return typeof schema === "number" && schema >= SCHEMA.TIMESTAMP_DEFAULT && schema <= SCHEMA.TIMESTAMP_EPOCH_SECONDS;
564
+ }
565
+ isStringSchema() {
566
+ return this.getSchema() === SCHEMA.STRING;
567
+ }
568
+ isBooleanSchema() {
569
+ return this.getSchema() === SCHEMA.BOOLEAN;
570
+ }
571
+ isNumericSchema() {
572
+ return this.getSchema() === SCHEMA.NUMERIC;
573
+ }
574
+ isBigIntegerSchema() {
575
+ return this.getSchema() === SCHEMA.BIG_INTEGER;
576
+ }
577
+ isBigDecimalSchema() {
578
+ return this.getSchema() === SCHEMA.BIG_DECIMAL;
579
+ }
580
+ isStreaming() {
581
+ const streaming = !!this.getMergedTraits().streaming;
582
+ if (streaming) {
583
+ return true;
584
+ }
585
+ return this.getSchema() === SCHEMA.STREAMING_BLOB;
586
+ }
587
+ /**
588
+ * @returns own traits merged with member traits, where member traits of the same trait key take priority.
589
+ * This method is cached.
590
+ */
591
+ getMergedTraits() {
592
+ if (this.normalizedTraits) {
593
+ return this.normalizedTraits;
594
+ }
595
+ this.normalizedTraits = {
596
+ ...this.getOwnTraits(),
597
+ ...this.getMemberTraits()
598
+ };
599
+ return this.normalizedTraits;
600
+ }
601
+ /**
602
+ * @returns only the member traits. If the schema is not a member, this returns empty.
603
+ */
604
+ getMemberTraits() {
605
+ return _NormalizedSchema.translateTraits(this.memberTraits);
606
+ }
607
+ /**
608
+ * @returns only the traits inherent to the shape or member target shape if this schema is a member.
609
+ * If there are any member traits they are excluded.
610
+ */
611
+ getOwnTraits() {
612
+ return _NormalizedSchema.translateTraits(this.traits);
613
+ }
614
+ /**
615
+ * @returns the map's key's schema. Returns a dummy Document schema if this schema is a Document.
616
+ *
617
+ * @throws Error if the schema is not a Map or Document.
618
+ */
619
+ getKeySchema() {
620
+ if (this.isDocumentSchema()) {
621
+ return _NormalizedSchema.memberFrom([SCHEMA.DOCUMENT, 0], "key");
622
+ }
623
+ if (!this.isMapSchema()) {
624
+ throw new Error(`@smithy/core/schema - cannot get key schema for non-map schema: ${this.getName(true)}`);
625
+ }
626
+ const schema = this.getSchema();
627
+ if (typeof schema === "number") {
628
+ return _NormalizedSchema.memberFrom([63 & schema, 0], "key");
629
+ }
630
+ return _NormalizedSchema.memberFrom([schema.keySchema, 0], "key");
631
+ }
632
+ /**
633
+ * @returns the schema of the map's value or list's member.
634
+ * Returns a dummy Document schema if this schema is a Document.
635
+ *
636
+ * @throws Error if the schema is not a Map, List, nor Document.
637
+ */
638
+ getValueSchema() {
639
+ const schema = this.getSchema();
640
+ if (typeof schema === "number") {
641
+ if (this.isMapSchema()) {
642
+ return _NormalizedSchema.memberFrom([63 & schema, 0], "value");
643
+ } else if (this.isListSchema()) {
644
+ return _NormalizedSchema.memberFrom([63 & schema, 0], "member");
645
+ }
646
+ }
647
+ if (schema && typeof schema === "object") {
648
+ if (this.isStructSchema()) {
649
+ throw new Error(`cannot call getValueSchema() with StructureSchema ${this.getName(true)}`);
650
+ }
651
+ const collection = schema;
652
+ if ("valueSchema" in collection) {
653
+ if (this.isMapSchema()) {
654
+ return _NormalizedSchema.memberFrom([collection.valueSchema, 0], "value");
655
+ } else if (this.isListSchema()) {
656
+ return _NormalizedSchema.memberFrom([collection.valueSchema, 0], "member");
657
+ }
658
+ }
659
+ }
660
+ if (this.isDocumentSchema()) {
661
+ return _NormalizedSchema.memberFrom([SCHEMA.DOCUMENT, 0], "value");
662
+ }
663
+ throw new Error(`@smithy/core/schema - the schema ${this.getName(true)} does not have a value member.`);
664
+ }
665
+ /**
666
+ * @returns the NormalizedSchema for the given member name. The returned instance will return true for `isMemberSchema()`
667
+ * and will have the member name given.
668
+ * @param member - which member to retrieve and wrap.
669
+ *
670
+ * @throws Error if member does not exist or the schema is neither a document nor structure.
671
+ * Note that errors are assumed to be structures and unions are considered structures for these purposes.
672
+ */
673
+ getMemberSchema(member) {
674
+ if (this.isStructSchema()) {
675
+ const struct2 = this.getSchema();
676
+ if (!(member in struct2.members)) {
677
+ throw new Error(
678
+ `@smithy/core/schema - the schema ${this.getName(true)} does not have a member with name=${member}.`
679
+ );
680
+ }
681
+ return _NormalizedSchema.memberFrom(struct2.members[member], member);
682
+ }
683
+ if (this.isDocumentSchema()) {
684
+ return _NormalizedSchema.memberFrom([SCHEMA.DOCUMENT, 0], member);
685
+ }
686
+ throw new Error(`@smithy/core/schema - the schema ${this.getName(true)} does not have members.`);
687
+ }
688
+ /**
689
+ * This can be used for checking the members as a hashmap.
690
+ * Prefer the structIterator method for iteration.
691
+ *
692
+ * This does NOT return list and map members, it is only for structures.
693
+ *
694
+ * @returns a map of member names to member schemas (normalized).
695
+ */
696
+ getMemberSchemas() {
697
+ const { schema } = this;
698
+ const struct2 = schema;
699
+ if (!struct2 || typeof struct2 !== "object") {
700
+ return {};
701
+ }
702
+ if ("members" in struct2) {
703
+ const buffer = {};
704
+ for (const member of struct2.memberNames) {
705
+ buffer[member] = this.getMemberSchema(member);
706
+ }
707
+ return buffer;
708
+ }
709
+ return {};
710
+ }
711
+ /**
712
+ * Allows iteration over members of a structure schema.
713
+ * Each yield is a pair of the member name and member schema.
714
+ *
715
+ * This avoids the overhead of calling Object.entries(ns.getMemberSchemas()).
716
+ */
717
+ *structIterator() {
718
+ if (!this.isStructSchema()) {
719
+ throw new Error("@smithy/core/schema - cannot acquire structIterator on non-struct schema.");
720
+ }
721
+ const struct2 = this.getSchema();
722
+ for (let i = 0; i < struct2.memberNames.length; ++i) {
723
+ yield [struct2.memberNames[i], _NormalizedSchema.memberFrom([struct2.memberList[i], 0], struct2.memberNames[i])];
724
+ }
725
+ }
726
+ /**
727
+ * @returns a last-resort human-readable name for the schema if it has no other identifiers.
728
+ */
729
+ getSchemaName() {
730
+ const schema = this.getSchema();
731
+ if (typeof schema === "number") {
732
+ const _schema = 63 & schema;
733
+ const container = 192 & schema;
734
+ const type = Object.entries(SCHEMA).find(([, value]) => {
735
+ return value === _schema;
736
+ })?.[0] ?? "Unknown";
737
+ switch (container) {
738
+ case SCHEMA.MAP_MODIFIER:
739
+ return `${type}Map`;
740
+ case SCHEMA.LIST_MODIFIER:
741
+ return `${type}List`;
742
+ case 0:
743
+ return type;
744
+ }
745
+ }
746
+ return "Unknown";
747
+ }
748
+ };
749
+ // Annotate the CommonJS export names for ESM import in node:
750
+ 0 && (module.exports = {
751
+ ErrorSchema,
752
+ ListSchema,
753
+ MapSchema,
754
+ NormalizedSchema,
755
+ OperationSchema,
756
+ SCHEMA,
757
+ Schema,
758
+ SimpleSchema,
759
+ StructureSchema,
760
+ TypeRegistry,
761
+ deref,
762
+ deserializerMiddlewareOption,
763
+ error,
764
+ getSchemaSerdePlugin,
765
+ list,
766
+ map,
767
+ op,
768
+ serializerMiddlewareOption,
769
+ sim,
770
+ struct
771
+ });