@mavogel/awscdk-rootmail 0.0.309 → 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 (583) 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/package.json +36 -36
  5. package/node_modules/@aws-sdk/client-route-53/package.json +36 -36
  6. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3 -1
  7. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +1 -0
  8. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +1 -0
  9. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +22 -14
  10. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -0
  11. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +23 -23
  12. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +21 -9
  13. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +1 -0
  14. package/node_modules/@aws-sdk/client-s3/package.json +50 -50
  15. package/node_modules/@aws-sdk/client-ses/package.json +34 -34
  16. package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
  17. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  18. package/node_modules/@aws-sdk/core/package.json +10 -10
  19. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  20. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  21. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  22. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  23. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  24. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  25. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  26. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  27. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  28. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +9 -9
  29. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  30. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  31. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  32. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  33. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
  34. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
  35. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  36. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  37. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  38. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  39. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  40. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  41. package/node_modules/@aws-sdk/types/package.json +2 -2
  42. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  43. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  44. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  45. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  46. package/node_modules/@smithy/abort-controller/package.json +2 -2
  47. package/node_modules/@smithy/config-resolver/package.json +4 -4
  48. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +209 -0
  49. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +667 -2
  50. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +771 -0
  51. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +108 -53
  52. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +136 -0
  53. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +74 -0
  54. package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +3 -1
  55. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +183 -0
  56. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +164 -0
  57. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +68 -0
  58. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +7 -0
  59. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +64 -0
  60. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +38 -0
  61. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js +30 -0
  62. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +87 -0
  63. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js +20 -0
  64. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +49 -0
  65. package/node_modules/@smithy/core/dist-es/submodules/schema/deref.js +6 -0
  66. package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +12 -0
  67. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js +23 -0
  68. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +60 -0
  69. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +16 -0
  70. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +17 -0
  71. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +15 -0
  72. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +16 -0
  73. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +291 -0
  74. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +16 -0
  75. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +6 -0
  76. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +15 -0
  77. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +22 -0
  78. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js +16 -0
  79. package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +53 -0
  80. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +4 -3
  81. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +29 -0
  82. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +22 -0
  83. package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +3 -1
  84. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +15 -0
  85. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +29 -0
  86. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +11 -0
  87. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +7 -0
  88. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +14 -0
  89. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +18 -0
  90. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +20 -0
  91. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +15 -0
  92. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
  93. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +55 -0
  94. package/node_modules/@smithy/core/dist-types/submodules/schema/deref.d.ts +6 -0
  95. package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +12 -0
  96. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
  97. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schema-middleware-types.d.ts +8 -0
  98. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
  99. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
  100. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +38 -0
  101. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +20 -0
  102. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +25 -0
  103. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +122 -0
  104. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +20 -0
  105. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +11 -0
  106. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +20 -0
  107. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +21 -0
  108. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +21 -0
  109. package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +5 -0
  110. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +4 -3
  111. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +29 -0
  112. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +22 -0
  113. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +3 -1
  114. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +15 -0
  115. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +29 -0
  116. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +11 -0
  117. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +7 -0
  118. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +14 -0
  119. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +18 -0
  120. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +20 -0
  121. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +15 -0
  122. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
  123. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +55 -0
  124. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +6 -0
  125. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +12 -0
  126. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
  127. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +11 -0
  128. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
  129. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
  130. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +38 -0
  131. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +20 -0
  132. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +25 -0
  133. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +125 -0
  134. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +20 -0
  135. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +11 -0
  136. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +20 -0
  137. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +24 -0
  138. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +21 -0
  139. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +5 -0
  140. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +4 -3
  141. package/node_modules/@smithy/core/package.json +17 -7
  142. package/node_modules/@smithy/core/schema.d.ts +7 -0
  143. package/node_modules/@smithy/core/schema.js +6 -0
  144. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  145. package/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts +1 -1
  146. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +1 -1
  147. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  148. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  149. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  150. package/node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts +0 -1
  151. package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -1
  152. package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts +0 -1
  153. package/node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts +0 -1
  154. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  155. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  156. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  157. package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
  158. package/node_modules/@smithy/hash-node/package.json +2 -2
  159. package/node_modules/@smithy/hash-stream-node/dist-types/HashCalculator.d.ts +0 -3
  160. package/node_modules/@smithy/hash-stream-node/dist-types/fileStreamHasher.d.ts +0 -1
  161. package/node_modules/@smithy/hash-stream-node/dist-types/readableStreamHasher.d.ts +0 -1
  162. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/HashCalculator.d.ts +0 -1
  163. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/fileStreamHasher.d.ts +0 -1
  164. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/readableStreamHasher.d.ts +0 -1
  165. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  166. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  167. package/node_modules/@smithy/md5-js/package.json +2 -2
  168. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +2 -2
  169. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  170. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  171. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  172. package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +1 -0
  173. package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +7 -1
  174. package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -0
  175. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +1 -0
  176. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +7 -1
  177. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +1 -0
  178. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  179. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  180. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  181. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  182. package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
  183. package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +1 -1
  184. package/node_modules/@smithy/property-provider/package.json +2 -2
  185. package/node_modules/@smithy/protocol-http/package.json +2 -2
  186. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  187. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  188. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  189. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  190. package/node_modules/@smithy/signature-v4/package.json +4 -4
  191. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +10 -0
  192. package/node_modules/@smithy/smithy-client/dist-es/command.js +6 -0
  193. package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +7 -1
  194. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +7 -1
  195. package/node_modules/@smithy/smithy-client/package.json +7 -7
  196. package/node_modules/@smithy/types/dist-types/command.d.ts +5 -2
  197. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -4
  198. package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +5 -2
  199. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -4
  200. package/node_modules/@smithy/types/package.json +1 -1
  201. package/node_modules/@smithy/url-parser/package.json +3 -3
  202. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  203. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  204. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  205. package/node_modules/@smithy/util-middleware/package.json +2 -2
  206. package/node_modules/@smithy/util-retry/package.json +3 -3
  207. package/node_modules/@smithy/util-stream/package.json +4 -4
  208. package/node_modules/@smithy/util-waiter/package.json +3 -3
  209. package/node_modules/cdk-nag/.jsii +61 -5
  210. package/node_modules/cdk-nag/API.md +66 -0
  211. package/node_modules/cdk-nag/README.md +1 -0
  212. package/node_modules/cdk-nag/RULES.md +32 -0
  213. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  214. package/node_modules/cdk-nag/lib/index.d.ts +1 -0
  215. package/node_modules/cdk-nag/lib/index.js +2 -1
  216. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  217. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  218. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  219. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  220. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  221. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  222. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  223. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  224. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  225. package/node_modules/cdk-nag/lib/packs/serverless.d.ts +58 -0
  226. package/node_modules/cdk-nag/lib/packs/serverless.js +228 -0
  227. package/node_modules/cdk-nag/lib/rules/apigw/APIGWAccessLogging.d.ts +1 -0
  228. package/node_modules/cdk-nag/lib/rules/apigw/APIGWAccessLogging.js +2 -1
  229. package/node_modules/cdk-nag/lib/rules/apigw/APIGWDefaultThrottling.d.ts +8 -0
  230. package/node_modules/cdk-nag/lib/rules/apigw/APIGWDefaultThrottling.js +36 -0
  231. package/node_modules/cdk-nag/lib/rules/apigw/APIGWStructuredLogging.d.ts +8 -0
  232. package/node_modules/cdk-nag/lib/rules/apigw/APIGWStructuredLogging.js +62 -0
  233. package/node_modules/cdk-nag/lib/rules/apigw/index.d.ts +2 -0
  234. package/node_modules/cdk-nag/lib/rules/apigw/index.js +6 -2
  235. package/node_modules/cdk-nag/lib/rules/appsync/AppSyncTracing.d.ts +8 -0
  236. package/node_modules/cdk-nag/lib/rules/appsync/AppSyncTracing.js +24 -0
  237. package/node_modules/cdk-nag/lib/rules/appsync/index.d.ts +1 -0
  238. package/node_modules/cdk-nag/lib/rules/appsync/index.js +4 -2
  239. package/node_modules/cdk-nag/lib/rules/eventbridge/EventBusDLQ.d.ts +8 -0
  240. package/node_modules/cdk-nag/lib/rules/eventbridge/EventBusDLQ.js +25 -0
  241. package/node_modules/cdk-nag/lib/rules/eventbridge/index.d.ts +1 -0
  242. package/node_modules/cdk-nag/lib/rules/eventbridge/index.js +4 -2
  243. package/node_modules/cdk-nag/lib/rules/lambda/LambdaAsyncFailureDestination.d.ts +8 -0
  244. package/node_modules/cdk-nag/lib/rules/lambda/LambdaAsyncFailureDestination.js +25 -0
  245. package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultMemorySize.d.ts +8 -0
  246. package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultMemorySize.js +25 -0
  247. package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultTimeout.d.ts +8 -0
  248. package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultTimeout.js +25 -0
  249. package/node_modules/cdk-nag/lib/rules/lambda/LambdaEventSourceMappingDestination.d.ts +8 -0
  250. package/node_modules/cdk-nag/lib/rules/lambda/LambdaEventSourceMappingDestination.js +27 -0
  251. package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogLevel.d.ts +8 -0
  252. package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogLevel.js +25 -0
  253. package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogging.d.ts +8 -0
  254. package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogging.js +24 -0
  255. package/node_modules/cdk-nag/lib/rules/lambda/LambdaStarPermissions.d.ts +8 -0
  256. package/node_modules/cdk-nag/lib/rules/lambda/LambdaStarPermissions.js +107 -0
  257. package/node_modules/cdk-nag/lib/rules/lambda/LambdaTracing.d.ts +8 -0
  258. package/node_modules/cdk-nag/lib/rules/lambda/LambdaTracing.js +24 -0
  259. package/node_modules/cdk-nag/lib/rules/lambda/index.d.ts +6 -0
  260. package/node_modules/cdk-nag/lib/rules/lambda/index.js +14 -2
  261. package/node_modules/cdk-nag/lib/rules/sns/SNSRedrivePolicy.d.ts +9 -0
  262. package/node_modules/cdk-nag/lib/rules/sns/SNSRedrivePolicy.js +24 -0
  263. package/node_modules/cdk-nag/lib/rules/sns/index.d.ts +1 -0
  264. package/node_modules/cdk-nag/lib/rules/sns/index.js +4 -2
  265. package/node_modules/cdk-nag/lib/rules/sqs/SQSRedrivePolicy.d.ts +8 -0
  266. package/node_modules/cdk-nag/lib/rules/sqs/SQSRedrivePolicy.js +26 -0
  267. package/node_modules/cdk-nag/lib/rules/sqs/index.d.ts +1 -0
  268. package/node_modules/cdk-nag/lib/rules/sqs/index.js +4 -2
  269. package/node_modules/cdk-nag/package.json +2 -2
  270. package/package.json +1 -1
  271. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +0 -201
  272. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
  273. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +0 -1
  274. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +0 -1
  275. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +0 -1
  276. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
  277. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +0 -1
  278. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
  279. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -12
  280. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +0 -1
  281. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -206
  282. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +0 -1
  283. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +0 -1
  284. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +0 -1
  285. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +0 -1
  286. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +0 -1
  287. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -13
  288. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +0 -1
  289. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
  290. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
  291. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
  292. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
  293. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
  294. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
  295. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -8
  296. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
  297. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -8
  298. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
  299. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
  300. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
  301. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
  302. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
  303. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -9
  304. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
  305. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
  306. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
  307. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
  308. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -15
  309. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -5
  310. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -46
  311. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
  312. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -8
  313. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -36
  314. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -17
  315. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
  316. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
  317. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -18
  318. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -5
  319. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
  320. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
  321. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
  322. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
  323. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -15
  324. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -5
  325. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -46
  326. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
  327. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -8
  328. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -36
  329. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -17
  330. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
  331. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
  332. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -18
  333. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -5
  334. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -16
  335. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -16
  336. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +0 -72
  337. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +0 -201
  338. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +0 -10
  339. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
  340. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
  341. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
  342. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
  343. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
  344. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -170
  345. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
  346. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +0 -8
  347. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +0 -22
  348. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +0 -8
  349. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +0 -21
  350. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
  351. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
  352. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +0 -45
  353. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -30
  354. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
  355. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -30
  356. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
  357. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
  358. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
  359. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +0 -40
  360. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -30
  361. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
  362. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -30
  363. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
  364. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
  365. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
  366. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
  367. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +0 -60
  368. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +0 -201
  369. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
  370. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +0 -1
  371. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +0 -1
  372. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +0 -1
  373. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
  374. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +0 -1
  375. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
  376. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -12
  377. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +0 -1
  378. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -206
  379. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +0 -1
  380. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +0 -1
  381. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +0 -1
  382. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +0 -1
  383. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +0 -1
  384. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -13
  385. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +0 -1
  386. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
  387. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
  388. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
  389. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
  390. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
  391. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
  392. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -8
  393. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
  394. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -8
  395. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
  396. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
  397. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
  398. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
  399. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
  400. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -9
  401. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +0 -1
  402. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
  403. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
  404. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
  405. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
  406. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -15
  407. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -5
  408. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -46
  409. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
  410. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -8
  411. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -36
  412. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -17
  413. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
  414. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
  415. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -18
  416. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -5
  417. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
  418. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
  419. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
  420. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
  421. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -15
  422. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -5
  423. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -46
  424. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
  425. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -8
  426. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -36
  427. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -17
  428. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
  429. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
  430. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -18
  431. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -5
  432. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -16
  433. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -16
  434. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +0 -72
  435. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/LICENSE +0 -201
  436. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/README.md +0 -4
  437. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -1
  438. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -1
  439. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -84
  440. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -9
  441. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -20
  442. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/index.js +0 -2
  443. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -16
  444. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +0 -21
  445. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -9
  446. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -16
  447. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +0 -21
  448. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -9
  449. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/package.json +0 -62
  450. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/LICENSE +0 -201
  451. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/README.md +0 -10
  452. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
  453. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
  454. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
  455. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
  456. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
  457. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -170
  458. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
  459. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +0 -8
  460. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/ProviderError.js +0 -22
  461. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +0 -8
  462. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/chain.js +0 -21
  463. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
  464. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
  465. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/memoize.js +0 -45
  466. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -30
  467. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
  468. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -30
  469. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
  470. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
  471. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
  472. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +0 -40
  473. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -30
  474. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
  475. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -30
  476. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
  477. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
  478. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
  479. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
  480. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +0 -60
  481. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/LICENSE +0 -201
  482. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/README.md +0 -11
  483. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +0 -1
  484. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +0 -1
  485. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +0 -1
  486. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +0 -1
  487. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +0 -1
  488. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +0 -1
  489. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +0 -1
  490. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +0 -445
  491. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +0 -1
  492. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +0 -1
  493. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +0 -1
  494. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +0 -1
  495. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +0 -1
  496. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +0 -1
  497. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +0 -1
  498. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +0 -1
  499. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +0 -1
  500. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js +0 -5
  501. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js +0 -7
  502. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js +0 -5
  503. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js +0 -8
  504. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +0 -9
  505. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +0 -77
  506. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +0 -134
  507. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/index.js +0 -7
  508. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +0 -13
  509. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js +0 -3
  510. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +0 -36
  511. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +0 -2
  512. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js +0 -7
  513. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/types.js +0 -1
  514. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +0 -17
  515. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js +0 -19
  516. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js +0 -25
  517. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts +0 -7
  518. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +0 -13
  519. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts +0 -7
  520. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +0 -13
  521. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts +0 -12
  522. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +0 -21
  523. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +0 -10
  524. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +0 -28
  525. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +0 -19
  526. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +0 -40
  527. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +0 -6
  528. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +0 -8
  529. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts +0 -10
  530. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +0 -7
  531. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +0 -13
  532. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +0 -7
  533. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +0 -13
  534. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +0 -12
  535. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +0 -21
  536. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +0 -10
  537. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +0 -28
  538. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +0 -19
  539. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +0 -40
  540. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -6
  541. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +0 -8
  542. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +0 -10
  543. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +0 -7
  544. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
  545. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +0 -21
  546. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +0 -16
  547. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +0 -7
  548. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
  549. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +0 -21
  550. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +0 -16
  551. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +0 -69
  552. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/LICENSE +0 -201
  553. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/README.md +0 -10
  554. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
  555. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
  556. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
  557. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
  558. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
  559. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -170
  560. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
  561. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +0 -8
  562. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/ProviderError.js +0 -22
  563. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +0 -8
  564. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/chain.js +0 -21
  565. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
  566. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
  567. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/memoize.js +0 -45
  568. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -30
  569. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
  570. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -30
  571. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
  572. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
  573. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
  574. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +0 -40
  575. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -30
  576. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
  577. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -30
  578. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
  579. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
  580. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
  581. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
  582. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +0 -60
  583. /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,164 @@
1
+ import { NormalizedSchema, SCHEMA } from "@smithy/core/schema";
2
+ import { splitEvery, splitHeader } from "@smithy/core/serde";
3
+ import { HttpRequest, HttpResponse } from "@smithy/protocol-http";
4
+ import { sdkStreamMixin } from "@smithy/util-stream";
5
+ import { collectBody } from "./collect-stream-body";
6
+ export class HttpProtocol {
7
+ constructor(options) {
8
+ this.options = options;
9
+ }
10
+ getRequestType() {
11
+ return HttpRequest;
12
+ }
13
+ getResponseType() {
14
+ return HttpResponse;
15
+ }
16
+ setSerdeContext(serdeContext) {
17
+ this.serdeContext = serdeContext;
18
+ this.serializer.setSerdeContext(serdeContext);
19
+ this.deserializer.setSerdeContext(serdeContext);
20
+ if (this.getPayloadCodec()) {
21
+ this.getPayloadCodec().setSerdeContext(serdeContext);
22
+ }
23
+ }
24
+ updateServiceEndpoint(request, endpoint) {
25
+ if ("url" in endpoint) {
26
+ request.protocol = endpoint.url.protocol;
27
+ request.hostname = endpoint.url.hostname;
28
+ request.port = endpoint.url.port ? Number(endpoint.url.port) : undefined;
29
+ request.path = endpoint.url.pathname;
30
+ request.fragment = endpoint.url.hash || void 0;
31
+ request.username = endpoint.url.username || void 0;
32
+ request.password = endpoint.url.password || void 0;
33
+ for (const [k, v] of endpoint.url.searchParams.entries()) {
34
+ if (!request.query) {
35
+ request.query = {};
36
+ }
37
+ request.query[k] = v;
38
+ }
39
+ return request;
40
+ }
41
+ else {
42
+ request.protocol = endpoint.protocol;
43
+ request.hostname = endpoint.hostname;
44
+ request.port = endpoint.port ? Number(endpoint.port) : undefined;
45
+ request.path = endpoint.path;
46
+ request.query = {
47
+ ...endpoint.query,
48
+ };
49
+ return request;
50
+ }
51
+ }
52
+ setHostPrefix(request, operationSchema, input) {
53
+ const operationNs = NormalizedSchema.of(operationSchema);
54
+ const inputNs = NormalizedSchema.of(operationSchema.input);
55
+ if (operationNs.getMergedTraits().endpoint) {
56
+ let hostPrefix = operationNs.getMergedTraits().endpoint?.[0];
57
+ if (typeof hostPrefix === "string") {
58
+ const hostLabelInputs = [...inputNs.structIterator()].filter(([, member]) => member.getMergedTraits().hostLabel);
59
+ for (const [name] of hostLabelInputs) {
60
+ const replacement = input[name];
61
+ if (typeof replacement !== "string") {
62
+ throw new Error(`@smithy/core/schema - ${name} in input must be a string as hostLabel.`);
63
+ }
64
+ hostPrefix = hostPrefix.replace(`{${name}}`, replacement);
65
+ }
66
+ request.hostname = hostPrefix + request.hostname;
67
+ }
68
+ }
69
+ }
70
+ deserializeMetadata(output) {
71
+ return {
72
+ httpStatusCode: output.statusCode,
73
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
74
+ extendedRequestId: output.headers["x-amz-id-2"],
75
+ cfId: output.headers["x-amz-cf-id"],
76
+ };
77
+ }
78
+ async deserializeHttpMessage(schema, context, response, headerBindings, dataObject) {
79
+ const deserializer = this.deserializer;
80
+ const ns = NormalizedSchema.of(schema);
81
+ const nonHttpBindingMembers = [];
82
+ for (const [memberName, memberSchema] of ns.structIterator()) {
83
+ const memberTraits = memberSchema.getMemberTraits();
84
+ if (memberTraits.httpPayload) {
85
+ const isStreaming = memberSchema.isStreaming();
86
+ if (isStreaming) {
87
+ const isEventStream = memberSchema.isStructSchema();
88
+ if (isEventStream) {
89
+ const context = this.serdeContext;
90
+ if (!context.eventStreamMarshaller) {
91
+ throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");
92
+ }
93
+ const memberSchemas = memberSchema.getMemberSchemas();
94
+ dataObject[memberName] = context.eventStreamMarshaller.deserialize(response.body, async (event) => {
95
+ const unionMember = Object.keys(event).find((key) => {
96
+ return key !== "__type";
97
+ }) ?? "";
98
+ if (unionMember in memberSchemas) {
99
+ const eventStreamSchema = memberSchemas[unionMember];
100
+ return {
101
+ [unionMember]: await deserializer.read(eventStreamSchema, event[unionMember].body),
102
+ };
103
+ }
104
+ else {
105
+ return {
106
+ $unknown: event,
107
+ };
108
+ }
109
+ });
110
+ }
111
+ else {
112
+ dataObject[memberName] = sdkStreamMixin(response.body);
113
+ }
114
+ }
115
+ else if (response.body) {
116
+ const bytes = await collectBody(response.body, context);
117
+ if (bytes.byteLength > 0) {
118
+ dataObject[memberName] = await deserializer.read(memberSchema, bytes);
119
+ }
120
+ }
121
+ }
122
+ else if (memberTraits.httpHeader) {
123
+ const key = String(memberTraits.httpHeader).toLowerCase();
124
+ const value = response.headers[key];
125
+ if (null != value) {
126
+ if (memberSchema.isListSchema()) {
127
+ const headerListValueSchema = memberSchema.getValueSchema();
128
+ let sections;
129
+ if (headerListValueSchema.isTimestampSchema() &&
130
+ headerListValueSchema.getSchema() === SCHEMA.TIMESTAMP_DEFAULT) {
131
+ sections = splitEvery(value, ",", 2);
132
+ }
133
+ else {
134
+ sections = splitHeader(value);
135
+ }
136
+ const list = [];
137
+ for (const section of sections) {
138
+ list.push(await deserializer.read([headerListValueSchema, { httpHeader: key }], section.trim()));
139
+ }
140
+ dataObject[memberName] = list;
141
+ }
142
+ else {
143
+ dataObject[memberName] = await deserializer.read(memberSchema, value);
144
+ }
145
+ }
146
+ }
147
+ else if (memberTraits.httpPrefixHeaders !== undefined) {
148
+ dataObject[memberName] = {};
149
+ for (const [header, value] of Object.entries(response.headers)) {
150
+ if (!headerBindings.has(header) && header.startsWith(memberTraits.httpPrefixHeaders)) {
151
+ dataObject[memberName][header.slice(memberTraits.httpPrefixHeaders.length)] = await deserializer.read([memberSchema.getValueSchema(), { httpHeader: header }], value);
152
+ }
153
+ }
154
+ }
155
+ else if (memberTraits.httpResponseCode) {
156
+ dataObject[memberName] = response.statusCode;
157
+ }
158
+ else {
159
+ nonHttpBindingMembers.push(memberName);
160
+ }
161
+ }
162
+ return nonHttpBindingMembers;
163
+ }
164
+ }
@@ -0,0 +1,68 @@
1
+ import { NormalizedSchema, SCHEMA } from "@smithy/core/schema";
2
+ import { HttpRequest } from "@smithy/protocol-http";
3
+ import { collectBody } from "./collect-stream-body";
4
+ import { HttpProtocol } from "./HttpProtocol";
5
+ export class RpcProtocol extends HttpProtocol {
6
+ async serializeRequest(operationSchema, input, context) {
7
+ const serializer = this.serializer;
8
+ const query = {};
9
+ const headers = {};
10
+ const endpoint = await context.endpoint();
11
+ const ns = NormalizedSchema.of(operationSchema?.input);
12
+ const schema = ns.getSchema();
13
+ let payload;
14
+ const request = new HttpRequest({
15
+ protocol: "",
16
+ hostname: "",
17
+ port: undefined,
18
+ path: "/",
19
+ fragment: undefined,
20
+ query: query,
21
+ headers: headers,
22
+ body: undefined,
23
+ });
24
+ if (endpoint) {
25
+ this.updateServiceEndpoint(request, endpoint);
26
+ this.setHostPrefix(request, operationSchema, input);
27
+ }
28
+ const _input = {
29
+ ...input,
30
+ };
31
+ if (input) {
32
+ serializer.write(schema, _input);
33
+ payload = serializer.flush();
34
+ }
35
+ request.headers = headers;
36
+ request.query = query;
37
+ request.body = payload;
38
+ request.method = "POST";
39
+ return request;
40
+ }
41
+ async deserializeResponse(operationSchema, context, response) {
42
+ const deserializer = this.deserializer;
43
+ const ns = NormalizedSchema.of(operationSchema.output);
44
+ const dataObject = {};
45
+ if (response.statusCode >= 300) {
46
+ const bytes = await collectBody(response.body, context);
47
+ if (bytes.byteLength > 0) {
48
+ Object.assign(dataObject, await deserializer.read(SCHEMA.DOCUMENT, bytes));
49
+ }
50
+ await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));
51
+ throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.");
52
+ }
53
+ for (const header in response.headers) {
54
+ const value = response.headers[header];
55
+ delete response.headers[header];
56
+ response.headers[header.toLowerCase()] = value;
57
+ }
58
+ const bytes = await collectBody(response.body, context);
59
+ if (bytes.byteLength > 0) {
60
+ Object.assign(dataObject, await deserializer.read(ns, bytes));
61
+ }
62
+ const output = {
63
+ $metadata: this.deserializeMetadata(response),
64
+ ...dataObject,
65
+ };
66
+ return output;
67
+ }
68
+ }
@@ -1,4 +1,11 @@
1
1
  export * from "./collect-stream-body";
2
2
  export * from "./extended-encode-uri-component";
3
+ export * from "./HttpBindingProtocol";
4
+ export * from "./RpcProtocol";
3
5
  export * from "./requestBuilder";
4
6
  export * from "./resolve-path";
7
+ export * from "./serde/FromStringShapeDeserializer";
8
+ export * from "./serde/HttpInterceptingShapeDeserializer";
9
+ export * from "./serde/HttpInterceptingShapeSerializer";
10
+ export * from "./serde/ToStringShapeSerializer";
11
+ export * from "./serde/determineTimestampFormat";
@@ -0,0 +1,64 @@
1
+ import { NormalizedSchema, SCHEMA } from "@smithy/core/schema";
2
+ import { LazyJsonString, NumericValue, parseEpochTimestamp, parseRfc3339DateTimeWithOffset, parseRfc7231DateTime, splitHeader, } from "@smithy/core/serde";
3
+ import { fromBase64 } from "@smithy/util-base64";
4
+ import { toUtf8 } from "@smithy/util-utf8";
5
+ import { determineTimestampFormat } from "./determineTimestampFormat";
6
+ export class FromStringShapeDeserializer {
7
+ constructor(settings) {
8
+ this.settings = settings;
9
+ }
10
+ setSerdeContext(serdeContext) {
11
+ this.serdeContext = serdeContext;
12
+ }
13
+ read(_schema, data) {
14
+ const ns = NormalizedSchema.of(_schema);
15
+ if (ns.isListSchema()) {
16
+ return splitHeader(data).map((item) => this.read(ns.getValueSchema(), item));
17
+ }
18
+ if (ns.isBlobSchema()) {
19
+ return (this.serdeContext?.base64Decoder ?? fromBase64)(data);
20
+ }
21
+ if (ns.isTimestampSchema()) {
22
+ const format = determineTimestampFormat(ns, this.settings);
23
+ switch (format) {
24
+ case SCHEMA.TIMESTAMP_DATE_TIME:
25
+ return parseRfc3339DateTimeWithOffset(data);
26
+ case SCHEMA.TIMESTAMP_HTTP_DATE:
27
+ return parseRfc7231DateTime(data);
28
+ case SCHEMA.TIMESTAMP_EPOCH_SECONDS:
29
+ return parseEpochTimestamp(data);
30
+ default:
31
+ console.warn("Missing timestamp format, parsing value with Date constructor:", data);
32
+ return new Date(data);
33
+ }
34
+ }
35
+ if (ns.isStringSchema()) {
36
+ const mediaType = ns.getMergedTraits().mediaType;
37
+ let intermediateValue = data;
38
+ if (mediaType) {
39
+ if (ns.getMergedTraits().httpHeader) {
40
+ intermediateValue = this.base64ToUtf8(intermediateValue);
41
+ }
42
+ const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
43
+ if (isJson) {
44
+ intermediateValue = LazyJsonString.from(intermediateValue);
45
+ }
46
+ return intermediateValue;
47
+ }
48
+ }
49
+ switch (true) {
50
+ case ns.isNumericSchema():
51
+ return Number(data);
52
+ case ns.isBigIntegerSchema():
53
+ return BigInt(data);
54
+ case ns.isBigDecimalSchema():
55
+ return new NumericValue(data, "bigDecimal");
56
+ case ns.isBooleanSchema():
57
+ return String(data).toLowerCase() === "true";
58
+ }
59
+ return data;
60
+ }
61
+ base64ToUtf8(base64String) {
62
+ return (this.serdeContext?.utf8Encoder ?? toUtf8)((this.serdeContext?.base64Decoder ?? fromBase64)(base64String));
63
+ }
64
+ }
@@ -0,0 +1,38 @@
1
+ import { NormalizedSchema } from "@smithy/core/schema";
2
+ import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
3
+ import { FromStringShapeDeserializer } from "./FromStringShapeDeserializer";
4
+ export class HttpInterceptingShapeDeserializer {
5
+ constructor(codecDeserializer, codecSettings) {
6
+ this.codecDeserializer = codecDeserializer;
7
+ this.stringDeserializer = new FromStringShapeDeserializer(codecSettings);
8
+ }
9
+ setSerdeContext(serdeContext) {
10
+ this.stringDeserializer.setSerdeContext(serdeContext);
11
+ this.codecDeserializer.setSerdeContext(serdeContext);
12
+ this.serdeContext = serdeContext;
13
+ }
14
+ read(schema, data) {
15
+ const ns = NormalizedSchema.of(schema);
16
+ const traits = ns.getMergedTraits();
17
+ const toString = this.serdeContext?.utf8Encoder ?? toUtf8;
18
+ if (traits.httpHeader || traits.httpResponseCode) {
19
+ return this.stringDeserializer.read(ns, toString(data));
20
+ }
21
+ if (traits.httpPayload) {
22
+ if (ns.isBlobSchema()) {
23
+ const toBytes = this.serdeContext?.utf8Decoder ?? fromUtf8;
24
+ if (typeof data === "string") {
25
+ return toBytes(data);
26
+ }
27
+ return data;
28
+ }
29
+ else if (ns.isStringSchema()) {
30
+ if ("byteLength" in data) {
31
+ return toString(data);
32
+ }
33
+ return data;
34
+ }
35
+ }
36
+ return this.codecDeserializer.read(ns, data);
37
+ }
38
+ }
@@ -0,0 +1,30 @@
1
+ import { NormalizedSchema } from "@smithy/core/schema";
2
+ import { ToStringShapeSerializer } from "./ToStringShapeSerializer";
3
+ export class HttpInterceptingShapeSerializer {
4
+ constructor(codecSerializer, codecSettings, stringSerializer = new ToStringShapeSerializer(codecSettings)) {
5
+ this.codecSerializer = codecSerializer;
6
+ this.stringSerializer = stringSerializer;
7
+ }
8
+ setSerdeContext(serdeContext) {
9
+ this.codecSerializer.setSerdeContext(serdeContext);
10
+ this.stringSerializer.setSerdeContext(serdeContext);
11
+ }
12
+ write(schema, value) {
13
+ const ns = NormalizedSchema.of(schema);
14
+ const traits = ns.getMergedTraits();
15
+ if (traits.httpHeader || traits.httpLabel || traits.httpQuery) {
16
+ this.stringSerializer.write(ns, value);
17
+ this.buffer = this.stringSerializer.flush();
18
+ return;
19
+ }
20
+ return this.codecSerializer.write(ns, value);
21
+ }
22
+ flush() {
23
+ if (this.buffer !== undefined) {
24
+ const buffer = this.buffer;
25
+ this.buffer = undefined;
26
+ return buffer;
27
+ }
28
+ return this.codecSerializer.flush();
29
+ }
30
+ }
@@ -0,0 +1,87 @@
1
+ import { NormalizedSchema, SCHEMA } from "@smithy/core/schema";
2
+ import { dateToUtcString, LazyJsonString, quoteHeader } from "@smithy/core/serde";
3
+ import { toBase64 } from "@smithy/util-base64";
4
+ import { determineTimestampFormat } from "./determineTimestampFormat";
5
+ export class ToStringShapeSerializer {
6
+ constructor(settings) {
7
+ this.settings = settings;
8
+ this.stringBuffer = "";
9
+ this.serdeContext = undefined;
10
+ }
11
+ setSerdeContext(serdeContext) {
12
+ this.serdeContext = serdeContext;
13
+ }
14
+ write(schema, value) {
15
+ const ns = NormalizedSchema.of(schema);
16
+ switch (typeof value) {
17
+ case "object":
18
+ if (value === null) {
19
+ this.stringBuffer = "null";
20
+ return;
21
+ }
22
+ if (ns.isTimestampSchema()) {
23
+ if (!(value instanceof Date)) {
24
+ throw new Error(`@smithy/core/protocols - received non-Date value ${value} when schema expected Date in ${ns.getName(true)}`);
25
+ }
26
+ const format = determineTimestampFormat(ns, this.settings);
27
+ switch (format) {
28
+ case SCHEMA.TIMESTAMP_DATE_TIME:
29
+ this.stringBuffer = value.toISOString().replace(".000Z", "Z");
30
+ break;
31
+ case SCHEMA.TIMESTAMP_HTTP_DATE:
32
+ this.stringBuffer = dateToUtcString(value);
33
+ break;
34
+ case SCHEMA.TIMESTAMP_EPOCH_SECONDS:
35
+ this.stringBuffer = String(value.getTime() / 1000);
36
+ break;
37
+ default:
38
+ console.warn("Missing timestamp format, using epoch seconds", value);
39
+ this.stringBuffer = String(value.getTime() / 1000);
40
+ }
41
+ return;
42
+ }
43
+ if (ns.isBlobSchema() && "byteLength" in value) {
44
+ this.stringBuffer = (this.serdeContext?.base64Encoder ?? toBase64)(value);
45
+ return;
46
+ }
47
+ if (ns.isListSchema() && Array.isArray(value)) {
48
+ let buffer = "";
49
+ for (const item of value) {
50
+ this.write([ns.getValueSchema(), ns.getMergedTraits()], item);
51
+ const headerItem = this.flush();
52
+ const serialized = ns.getValueSchema().isTimestampSchema() ? headerItem : quoteHeader(headerItem);
53
+ if (buffer !== "") {
54
+ buffer += ", ";
55
+ }
56
+ buffer += serialized;
57
+ }
58
+ this.stringBuffer = buffer;
59
+ return;
60
+ }
61
+ this.stringBuffer = JSON.stringify(value, null, 2);
62
+ break;
63
+ case "string":
64
+ const mediaType = ns.getMergedTraits().mediaType;
65
+ let intermediateValue = value;
66
+ if (mediaType) {
67
+ const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
68
+ if (isJson) {
69
+ intermediateValue = LazyJsonString.from(intermediateValue);
70
+ }
71
+ if (ns.getMergedTraits().httpHeader) {
72
+ this.stringBuffer = (this.serdeContext?.base64Encoder ?? toBase64)(intermediateValue.toString());
73
+ return;
74
+ }
75
+ }
76
+ this.stringBuffer = value;
77
+ break;
78
+ default:
79
+ this.stringBuffer = String(value);
80
+ }
81
+ }
82
+ flush() {
83
+ const buffer = this.stringBuffer;
84
+ this.stringBuffer = "";
85
+ return buffer;
86
+ }
87
+ }
@@ -0,0 +1,20 @@
1
+ import { SCHEMA } from "@smithy/core/schema";
2
+ export function determineTimestampFormat(ns, settings) {
3
+ if (settings.timestampFormat.useTrait) {
4
+ if (ns.isTimestampSchema() &&
5
+ (ns.getSchema() === SCHEMA.TIMESTAMP_DATE_TIME ||
6
+ ns.getSchema() === SCHEMA.TIMESTAMP_HTTP_DATE ||
7
+ ns.getSchema() === SCHEMA.TIMESTAMP_EPOCH_SECONDS)) {
8
+ return ns.getSchema();
9
+ }
10
+ }
11
+ const { httpLabel, httpPrefixHeaders, httpHeader, httpQuery } = ns.getMergedTraits();
12
+ const bindingFormat = settings.httpBindings
13
+ ? typeof httpPrefixHeaders === "string" || Boolean(httpHeader)
14
+ ? SCHEMA.TIMESTAMP_HTTP_DATE
15
+ : Boolean(httpQuery) || Boolean(httpLabel)
16
+ ? SCHEMA.TIMESTAMP_DATE_TIME
17
+ : undefined
18
+ : undefined;
19
+ return bindingFormat ?? settings.timestampFormat.default;
20
+ }
@@ -0,0 +1,49 @@
1
+ export class TypeRegistry {
2
+ constructor(namespace, schemas = new Map()) {
3
+ this.namespace = namespace;
4
+ this.schemas = schemas;
5
+ }
6
+ static for(namespace) {
7
+ if (!TypeRegistry.registries.has(namespace)) {
8
+ TypeRegistry.registries.set(namespace, new TypeRegistry(namespace));
9
+ }
10
+ return TypeRegistry.registries.get(namespace);
11
+ }
12
+ register(shapeId, schema) {
13
+ const qualifiedName = this.normalizeShapeId(shapeId);
14
+ const registry = TypeRegistry.for(this.getNamespace(shapeId));
15
+ registry.schemas.set(qualifiedName, schema);
16
+ }
17
+ getSchema(shapeId) {
18
+ const id = this.normalizeShapeId(shapeId);
19
+ if (!this.schemas.has(id)) {
20
+ throw new Error(`@smithy/core/schema - schema not found for ${id}`);
21
+ }
22
+ return this.schemas.get(id);
23
+ }
24
+ getBaseException() {
25
+ for (const [id, schema] of this.schemas.entries()) {
26
+ if (id.startsWith("smithyts.client.synthetic.") && id.endsWith("ServiceException")) {
27
+ return schema;
28
+ }
29
+ }
30
+ return undefined;
31
+ }
32
+ find(predicate) {
33
+ return [...this.schemas.values()].find(predicate);
34
+ }
35
+ destroy() {
36
+ TypeRegistry.registries.delete(this.namespace);
37
+ this.schemas.clear();
38
+ }
39
+ normalizeShapeId(shapeId) {
40
+ if (shapeId.includes("#")) {
41
+ return shapeId;
42
+ }
43
+ return this.namespace + "#" + shapeId;
44
+ }
45
+ getNamespace(shapeId) {
46
+ return this.normalizeShapeId(shapeId).split("#")[0];
47
+ }
48
+ }
49
+ TypeRegistry.registries = new Map();
@@ -0,0 +1,6 @@
1
+ export const deref = (schemaRef) => {
2
+ if (typeof schemaRef === "function") {
3
+ return schemaRef();
4
+ }
5
+ return schemaRef;
6
+ };
@@ -0,0 +1,12 @@
1
+ export * from "./deref";
2
+ export * from "./middleware/getSchemaSerdePlugin";
3
+ export * from "./schemas/ListSchema";
4
+ export * from "./schemas/MapSchema";
5
+ export * from "./schemas/OperationSchema";
6
+ export * from "./schemas/ErrorSchema";
7
+ export * from "./schemas/NormalizedSchema";
8
+ export * from "./schemas/Schema";
9
+ export * from "./schemas/SimpleSchema";
10
+ export * from "./schemas/StructureSchema";
11
+ export * from "./schemas/sentinels";
12
+ export * from "./TypeRegistry";
@@ -0,0 +1,23 @@
1
+ import { schemaDeserializationMiddleware } from "./schemaDeserializationMiddleware";
2
+ import { schemaSerializationMiddleware } from "./schemaSerializationMiddleware";
3
+ export const deserializerMiddlewareOption = {
4
+ name: "deserializerMiddleware",
5
+ step: "deserialize",
6
+ tags: ["DESERIALIZER"],
7
+ override: true,
8
+ };
9
+ export const serializerMiddlewareOption = {
10
+ name: "serializerMiddleware",
11
+ step: "serialize",
12
+ tags: ["SERIALIZER"],
13
+ override: true,
14
+ };
15
+ export function getSchemaSerdePlugin(config) {
16
+ return {
17
+ applyToStack: (commandStack) => {
18
+ commandStack.add(schemaSerializationMiddleware(config), serializerMiddlewareOption);
19
+ commandStack.add(schemaDeserializationMiddleware(config), deserializerMiddlewareOption);
20
+ config.protocol.setSerdeContext(config);
21
+ },
22
+ };
23
+ }
@@ -0,0 +1,60 @@
1
+ import { HttpResponse } from "@smithy/protocol-http";
2
+ import { getSmithyContext } from "@smithy/util-middleware";
3
+ export const schemaDeserializationMiddleware = (config) => (next, context) => async (args) => {
4
+ const { response } = await next(args);
5
+ const { operationSchema } = getSmithyContext(context);
6
+ try {
7
+ const parsed = await config.protocol.deserializeResponse(operationSchema, {
8
+ ...config,
9
+ ...context,
10
+ }, response);
11
+ return {
12
+ response,
13
+ output: parsed,
14
+ };
15
+ }
16
+ catch (error) {
17
+ Object.defineProperty(error, "$response", {
18
+ value: response,
19
+ });
20
+ if (!("$metadata" in error)) {
21
+ const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;
22
+ try {
23
+ error.message += "\n " + hint;
24
+ }
25
+ catch (e) {
26
+ if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") {
27
+ console.warn(hint);
28
+ }
29
+ else {
30
+ context.logger?.warn?.(hint);
31
+ }
32
+ }
33
+ if (typeof error.$responseBodyText !== "undefined") {
34
+ if (error.$response) {
35
+ error.$response.body = error.$responseBodyText;
36
+ }
37
+ }
38
+ try {
39
+ if (HttpResponse.isInstance(response)) {
40
+ const { headers = {} } = response;
41
+ const headerEntries = Object.entries(headers);
42
+ error.$metadata = {
43
+ httpStatusCode: response.statusCode,
44
+ requestId: findHeader(/^x-[\w-]+-request-?id$/, headerEntries),
45
+ extendedRequestId: findHeader(/^x-[\w-]+-id-2$/, headerEntries),
46
+ cfId: findHeader(/^x-[\w-]+-cf-id$/, headerEntries),
47
+ };
48
+ }
49
+ }
50
+ catch (e) {
51
+ }
52
+ }
53
+ throw error;
54
+ }
55
+ };
56
+ const findHeader = (pattern, headers) => {
57
+ return (headers.find(([k]) => {
58
+ return k.match(pattern);
59
+ }) || [void 0, void 1])[1];
60
+ };
@@ -0,0 +1,16 @@
1
+ import { getSmithyContext } from "@smithy/util-middleware";
2
+ export const schemaSerializationMiddleware = (config) => (next, context) => async (args) => {
3
+ const { operationSchema } = getSmithyContext(context);
4
+ const endpoint = context.endpointV2?.url && config.urlParser
5
+ ? async () => config.urlParser(context.endpointV2.url)
6
+ : config.endpoint;
7
+ const request = await config.protocol.serializeRequest(operationSchema, args.input, {
8
+ ...config,
9
+ ...context,
10
+ endpoint,
11
+ });
12
+ return next({
13
+ ...args,
14
+ request,
15
+ });
16
+ };