@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
@@ -1,201 +0,0 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "{}"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
190
-
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
194
-
195
- http://www.apache.org/licenses/LICENSE-2.0
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.
@@ -1,11 +0,0 @@
1
- # @smithy/credential-provider-imds
2
-
3
- [![NPM version](https://img.shields.io/npm/v/@smithy/credential-provider-imds/latest.svg)](https://www.npmjs.com/package/@smithy/credential-provider-imds)
4
- [![NPM downloads](https://img.shields.io/npm/dm/@smithy/credential-provider-imds.svg)](https://www.npmjs.com/package/@smithy/credential-provider-imds)
5
-
6
- > An internal package
7
-
8
- ## Usage
9
-
10
- You probably shouldn't, at least directly. Please use [@smithy/credential-providers](https://www.npmjs.com/package/@smithy/credential-providers)
11
- instead.
@@ -1,445 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
23
- DEFAULT_MAX_RETRIES: () => DEFAULT_MAX_RETRIES,
24
- DEFAULT_TIMEOUT: () => DEFAULT_TIMEOUT,
25
- ENV_CMDS_AUTH_TOKEN: () => ENV_CMDS_AUTH_TOKEN,
26
- ENV_CMDS_FULL_URI: () => ENV_CMDS_FULL_URI,
27
- ENV_CMDS_RELATIVE_URI: () => ENV_CMDS_RELATIVE_URI,
28
- Endpoint: () => Endpoint,
29
- fromContainerMetadata: () => fromContainerMetadata,
30
- fromInstanceMetadata: () => fromInstanceMetadata,
31
- getInstanceMetadataEndpoint: () => getInstanceMetadataEndpoint,
32
- httpRequest: () => httpRequest,
33
- providerConfigFromInit: () => providerConfigFromInit
34
- });
35
- module.exports = __toCommonJS(src_exports);
36
-
37
- // src/fromContainerMetadata.ts
38
-
39
- var import_url = require("url");
40
-
41
- // src/remoteProvider/httpRequest.ts
42
- var import_property_provider = require("@smithy/property-provider");
43
- var import_buffer = require("buffer");
44
- var import_http = require("http");
45
- function httpRequest(options) {
46
- return new Promise((resolve, reject) => {
47
- const req = (0, import_http.request)({
48
- method: "GET",
49
- ...options,
50
- // Node.js http module doesn't accept hostname with square brackets
51
- // Refs: https://github.com/nodejs/node/issues/39738
52
- hostname: options.hostname?.replace(/^\[(.+)\]$/, "$1")
53
- });
54
- req.on("error", (err) => {
55
- reject(Object.assign(new import_property_provider.ProviderError("Unable to connect to instance metadata service"), err));
56
- req.destroy();
57
- });
58
- req.on("timeout", () => {
59
- reject(new import_property_provider.ProviderError("TimeoutError from instance metadata service"));
60
- req.destroy();
61
- });
62
- req.on("response", (res) => {
63
- const { statusCode = 400 } = res;
64
- if (statusCode < 200 || 300 <= statusCode) {
65
- reject(
66
- Object.assign(new import_property_provider.ProviderError("Error response received from instance metadata service"), { statusCode })
67
- );
68
- req.destroy();
69
- }
70
- const chunks = [];
71
- res.on("data", (chunk) => {
72
- chunks.push(chunk);
73
- });
74
- res.on("end", () => {
75
- resolve(import_buffer.Buffer.concat(chunks));
76
- req.destroy();
77
- });
78
- });
79
- req.end();
80
- });
81
- }
82
- __name(httpRequest, "httpRequest");
83
-
84
- // src/remoteProvider/ImdsCredentials.ts
85
- var isImdsCredentials = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === "object" && typeof arg.AccessKeyId === "string" && typeof arg.SecretAccessKey === "string" && typeof arg.Token === "string" && typeof arg.Expiration === "string", "isImdsCredentials");
86
- var fromImdsCredentials = /* @__PURE__ */ __name((creds) => ({
87
- accessKeyId: creds.AccessKeyId,
88
- secretAccessKey: creds.SecretAccessKey,
89
- sessionToken: creds.Token,
90
- expiration: new Date(creds.Expiration),
91
- ...creds.AccountId && { accountId: creds.AccountId }
92
- }), "fromImdsCredentials");
93
-
94
- // src/remoteProvider/RemoteProviderInit.ts
95
- var DEFAULT_TIMEOUT = 1e3;
96
- var DEFAULT_MAX_RETRIES = 0;
97
- var providerConfigFromInit = /* @__PURE__ */ __name(({
98
- maxRetries = DEFAULT_MAX_RETRIES,
99
- timeout = DEFAULT_TIMEOUT
100
- }) => ({ maxRetries, timeout }), "providerConfigFromInit");
101
-
102
- // src/remoteProvider/retry.ts
103
- var retry = /* @__PURE__ */ __name((toRetry, maxRetries) => {
104
- let promise = toRetry();
105
- for (let i = 0; i < maxRetries; i++) {
106
- promise = promise.catch(toRetry);
107
- }
108
- return promise;
109
- }, "retry");
110
-
111
- // src/fromContainerMetadata.ts
112
- var ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI";
113
- var ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI";
114
- var ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN";
115
- var fromContainerMetadata = /* @__PURE__ */ __name((init = {}) => {
116
- const { timeout, maxRetries } = providerConfigFromInit(init);
117
- return () => retry(async () => {
118
- const requestOptions = await getCmdsUri({ logger: init.logger });
119
- const credsResponse = JSON.parse(await requestFromEcsImds(timeout, requestOptions));
120
- if (!isImdsCredentials(credsResponse)) {
121
- throw new import_property_provider.CredentialsProviderError("Invalid response received from instance metadata service.", {
122
- logger: init.logger
123
- });
124
- }
125
- return fromImdsCredentials(credsResponse);
126
- }, maxRetries);
127
- }, "fromContainerMetadata");
128
- var requestFromEcsImds = /* @__PURE__ */ __name(async (timeout, options) => {
129
- if (process.env[ENV_CMDS_AUTH_TOKEN]) {
130
- options.headers = {
131
- ...options.headers,
132
- Authorization: process.env[ENV_CMDS_AUTH_TOKEN]
133
- };
134
- }
135
- const buffer = await httpRequest({
136
- ...options,
137
- timeout
138
- });
139
- return buffer.toString();
140
- }, "requestFromEcsImds");
141
- var CMDS_IP = "169.254.170.2";
142
- var GREENGRASS_HOSTS = {
143
- localhost: true,
144
- "127.0.0.1": true
145
- };
146
- var GREENGRASS_PROTOCOLS = {
147
- "http:": true,
148
- "https:": true
149
- };
150
- var getCmdsUri = /* @__PURE__ */ __name(async ({ logger }) => {
151
- if (process.env[ENV_CMDS_RELATIVE_URI]) {
152
- return {
153
- hostname: CMDS_IP,
154
- path: process.env[ENV_CMDS_RELATIVE_URI]
155
- };
156
- }
157
- if (process.env[ENV_CMDS_FULL_URI]) {
158
- const parsed = (0, import_url.parse)(process.env[ENV_CMDS_FULL_URI]);
159
- if (!parsed.hostname || !(parsed.hostname in GREENGRASS_HOSTS)) {
160
- throw new import_property_provider.CredentialsProviderError(`${parsed.hostname} is not a valid container metadata service hostname`, {
161
- tryNextLink: false,
162
- logger
163
- });
164
- }
165
- if (!parsed.protocol || !(parsed.protocol in GREENGRASS_PROTOCOLS)) {
166
- throw new import_property_provider.CredentialsProviderError(`${parsed.protocol} is not a valid container metadata service protocol`, {
167
- tryNextLink: false,
168
- logger
169
- });
170
- }
171
- return {
172
- ...parsed,
173
- port: parsed.port ? parseInt(parsed.port, 10) : void 0
174
- };
175
- }
176
- throw new import_property_provider.CredentialsProviderError(
177
- `The container metadata credential provider cannot be used unless the ${ENV_CMDS_RELATIVE_URI} or ${ENV_CMDS_FULL_URI} environment variable is set`,
178
- {
179
- tryNextLink: false,
180
- logger
181
- }
182
- );
183
- }, "getCmdsUri");
184
-
185
- // src/fromInstanceMetadata.ts
186
-
187
-
188
-
189
- // src/error/InstanceMetadataV1FallbackError.ts
190
-
191
- var InstanceMetadataV1FallbackError = class _InstanceMetadataV1FallbackError extends import_property_provider.CredentialsProviderError {
192
- constructor(message, tryNextLink = true) {
193
- super(message, tryNextLink);
194
- this.tryNextLink = tryNextLink;
195
- this.name = "InstanceMetadataV1FallbackError";
196
- Object.setPrototypeOf(this, _InstanceMetadataV1FallbackError.prototype);
197
- }
198
- static {
199
- __name(this, "InstanceMetadataV1FallbackError");
200
- }
201
- };
202
-
203
- // src/utils/getInstanceMetadataEndpoint.ts
204
- var import_node_config_provider = require("@smithy/node-config-provider");
205
- var import_url_parser = require("@smithy/url-parser");
206
-
207
- // src/config/Endpoint.ts
208
- var Endpoint = /* @__PURE__ */ ((Endpoint2) => {
209
- Endpoint2["IPv4"] = "http://169.254.169.254";
210
- Endpoint2["IPv6"] = "http://[fd00:ec2::254]";
211
- return Endpoint2;
212
- })(Endpoint || {});
213
-
214
- // src/config/EndpointConfigOptions.ts
215
- var ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT";
216
- var CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint";
217
- var ENDPOINT_CONFIG_OPTIONS = {
218
- environmentVariableSelector: (env) => env[ENV_ENDPOINT_NAME],
219
- configFileSelector: (profile) => profile[CONFIG_ENDPOINT_NAME],
220
- default: void 0
221
- };
222
-
223
- // src/config/EndpointMode.ts
224
- var EndpointMode = /* @__PURE__ */ ((EndpointMode2) => {
225
- EndpointMode2["IPv4"] = "IPv4";
226
- EndpointMode2["IPv6"] = "IPv6";
227
- return EndpointMode2;
228
- })(EndpointMode || {});
229
-
230
- // src/config/EndpointModeConfigOptions.ts
231
- var ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE";
232
- var CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode";
233
- var ENDPOINT_MODE_CONFIG_OPTIONS = {
234
- environmentVariableSelector: (env) => env[ENV_ENDPOINT_MODE_NAME],
235
- configFileSelector: (profile) => profile[CONFIG_ENDPOINT_MODE_NAME],
236
- default: "IPv4" /* IPv4 */
237
- };
238
-
239
- // src/utils/getInstanceMetadataEndpoint.ts
240
- var getInstanceMetadataEndpoint = /* @__PURE__ */ __name(async () => (0, import_url_parser.parseUrl)(await getFromEndpointConfig() || await getFromEndpointModeConfig()), "getInstanceMetadataEndpoint");
241
- var getFromEndpointConfig = /* @__PURE__ */ __name(async () => (0, import_node_config_provider.loadConfig)(ENDPOINT_CONFIG_OPTIONS)(), "getFromEndpointConfig");
242
- var getFromEndpointModeConfig = /* @__PURE__ */ __name(async () => {
243
- const endpointMode = await (0, import_node_config_provider.loadConfig)(ENDPOINT_MODE_CONFIG_OPTIONS)();
244
- switch (endpointMode) {
245
- case "IPv4" /* IPv4 */:
246
- return "http://169.254.169.254" /* IPv4 */;
247
- case "IPv6" /* IPv6 */:
248
- return "http://[fd00:ec2::254]" /* IPv6 */;
249
- default:
250
- throw new Error(`Unsupported endpoint mode: ${endpointMode}. Select from ${Object.values(EndpointMode)}`);
251
- }
252
- }, "getFromEndpointModeConfig");
253
-
254
- // src/utils/getExtendedInstanceMetadataCredentials.ts
255
- var STATIC_STABILITY_REFRESH_INTERVAL_SECONDS = 5 * 60;
256
- var STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60;
257
- var STATIC_STABILITY_DOC_URL = "https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html";
258
- var getExtendedInstanceMetadataCredentials = /* @__PURE__ */ __name((credentials, logger) => {
259
- const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS + Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS);
260
- const newExpiration = new Date(Date.now() + refreshInterval * 1e3);
261
- logger.warn(
262
- `Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(newExpiration)}.
263
- For more information, please visit: ` + STATIC_STABILITY_DOC_URL
264
- );
265
- const originalExpiration = credentials.originalExpiration ?? credentials.expiration;
266
- return {
267
- ...credentials,
268
- ...originalExpiration ? { originalExpiration } : {},
269
- expiration: newExpiration
270
- };
271
- }, "getExtendedInstanceMetadataCredentials");
272
-
273
- // src/utils/staticStabilityProvider.ts
274
- var staticStabilityProvider = /* @__PURE__ */ __name((provider, options = {}) => {
275
- const logger = options?.logger || console;
276
- let pastCredentials;
277
- return async () => {
278
- let credentials;
279
- try {
280
- credentials = await provider();
281
- if (credentials.expiration && credentials.expiration.getTime() < Date.now()) {
282
- credentials = getExtendedInstanceMetadataCredentials(credentials, logger);
283
- }
284
- } catch (e) {
285
- if (pastCredentials) {
286
- logger.warn("Credential renew failed: ", e);
287
- credentials = getExtendedInstanceMetadataCredentials(pastCredentials, logger);
288
- } else {
289
- throw e;
290
- }
291
- }
292
- pastCredentials = credentials;
293
- return credentials;
294
- };
295
- }, "staticStabilityProvider");
296
-
297
- // src/fromInstanceMetadata.ts
298
- var IMDS_PATH = "/latest/meta-data/iam/security-credentials/";
299
- var IMDS_TOKEN_PATH = "/latest/api/token";
300
- var AWS_EC2_METADATA_V1_DISABLED = "AWS_EC2_METADATA_V1_DISABLED";
301
- var PROFILE_AWS_EC2_METADATA_V1_DISABLED = "ec2_metadata_v1_disabled";
302
- var X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token";
303
- var fromInstanceMetadata = /* @__PURE__ */ __name((init = {}) => staticStabilityProvider(getInstanceMetadataProvider(init), { logger: init.logger }), "fromInstanceMetadata");
304
- var getInstanceMetadataProvider = /* @__PURE__ */ __name((init = {}) => {
305
- let disableFetchToken = false;
306
- const { logger, profile } = init;
307
- const { timeout, maxRetries } = providerConfigFromInit(init);
308
- const getCredentials = /* @__PURE__ */ __name(async (maxRetries2, options) => {
309
- const isImdsV1Fallback = disableFetchToken || options.headers?.[X_AWS_EC2_METADATA_TOKEN] == null;
310
- if (isImdsV1Fallback) {
311
- let fallbackBlockedFromProfile = false;
312
- let fallbackBlockedFromProcessEnv = false;
313
- const configValue = await (0, import_node_config_provider.loadConfig)(
314
- {
315
- environmentVariableSelector: (env) => {
316
- const envValue = env[AWS_EC2_METADATA_V1_DISABLED];
317
- fallbackBlockedFromProcessEnv = !!envValue && envValue !== "false";
318
- if (envValue === void 0) {
319
- throw new import_property_provider.CredentialsProviderError(
320
- `${AWS_EC2_METADATA_V1_DISABLED} not set in env, checking config file next.`,
321
- { logger: init.logger }
322
- );
323
- }
324
- return fallbackBlockedFromProcessEnv;
325
- },
326
- configFileSelector: (profile2) => {
327
- const profileValue = profile2[PROFILE_AWS_EC2_METADATA_V1_DISABLED];
328
- fallbackBlockedFromProfile = !!profileValue && profileValue !== "false";
329
- return fallbackBlockedFromProfile;
330
- },
331
- default: false
332
- },
333
- {
334
- profile
335
- }
336
- )();
337
- if (init.ec2MetadataV1Disabled || configValue) {
338
- const causes = [];
339
- if (init.ec2MetadataV1Disabled)
340
- causes.push("credential provider initialization (runtime option ec2MetadataV1Disabled)");
341
- if (fallbackBlockedFromProfile)
342
- causes.push(`config file profile (${PROFILE_AWS_EC2_METADATA_V1_DISABLED})`);
343
- if (fallbackBlockedFromProcessEnv)
344
- causes.push(`process environment variable (${AWS_EC2_METADATA_V1_DISABLED})`);
345
- throw new InstanceMetadataV1FallbackError(
346
- `AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${causes.join(
347
- ", "
348
- )}].`
349
- );
350
- }
351
- }
352
- const imdsProfile = (await retry(async () => {
353
- let profile2;
354
- try {
355
- profile2 = await getProfile(options);
356
- } catch (err) {
357
- if (err.statusCode === 401) {
358
- disableFetchToken = false;
359
- }
360
- throw err;
361
- }
362
- return profile2;
363
- }, maxRetries2)).trim();
364
- return retry(async () => {
365
- let creds;
366
- try {
367
- creds = await getCredentialsFromProfile(imdsProfile, options, init);
368
- } catch (err) {
369
- if (err.statusCode === 401) {
370
- disableFetchToken = false;
371
- }
372
- throw err;
373
- }
374
- return creds;
375
- }, maxRetries2);
376
- }, "getCredentials");
377
- return async () => {
378
- const endpoint = await getInstanceMetadataEndpoint();
379
- if (disableFetchToken) {
380
- logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (no token fetch)");
381
- return getCredentials(maxRetries, { ...endpoint, timeout });
382
- } else {
383
- let token;
384
- try {
385
- token = (await getMetadataToken({ ...endpoint, timeout })).toString();
386
- } catch (error) {
387
- if (error?.statusCode === 400) {
388
- throw Object.assign(error, {
389
- message: "EC2 Metadata token request returned error"
390
- });
391
- } else if (error.message === "TimeoutError" || [403, 404, 405].includes(error.statusCode)) {
392
- disableFetchToken = true;
393
- }
394
- logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (initial)");
395
- return getCredentials(maxRetries, { ...endpoint, timeout });
396
- }
397
- return getCredentials(maxRetries, {
398
- ...endpoint,
399
- headers: {
400
- [X_AWS_EC2_METADATA_TOKEN]: token
401
- },
402
- timeout
403
- });
404
- }
405
- };
406
- }, "getInstanceMetadataProvider");
407
- var getMetadataToken = /* @__PURE__ */ __name(async (options) => httpRequest({
408
- ...options,
409
- path: IMDS_TOKEN_PATH,
410
- method: "PUT",
411
- headers: {
412
- "x-aws-ec2-metadata-token-ttl-seconds": "21600"
413
- }
414
- }), "getMetadataToken");
415
- var getProfile = /* @__PURE__ */ __name(async (options) => (await httpRequest({ ...options, path: IMDS_PATH })).toString(), "getProfile");
416
- var getCredentialsFromProfile = /* @__PURE__ */ __name(async (profile, options, init) => {
417
- const credentialsResponse = JSON.parse(
418
- (await httpRequest({
419
- ...options,
420
- path: IMDS_PATH + profile
421
- })).toString()
422
- );
423
- if (!isImdsCredentials(credentialsResponse)) {
424
- throw new import_property_provider.CredentialsProviderError("Invalid response received from instance metadata service.", {
425
- logger: init.logger
426
- });
427
- }
428
- return fromImdsCredentials(credentialsResponse);
429
- }, "getCredentialsFromProfile");
430
- // Annotate the CommonJS export names for ESM import in node:
431
-
432
- 0 && (module.exports = {
433
- httpRequest,
434
- getInstanceMetadataEndpoint,
435
- Endpoint,
436
- ENV_CMDS_FULL_URI,
437
- ENV_CMDS_RELATIVE_URI,
438
- ENV_CMDS_AUTH_TOKEN,
439
- fromContainerMetadata,
440
- fromInstanceMetadata,
441
- DEFAULT_TIMEOUT,
442
- DEFAULT_MAX_RETRIES,
443
- providerConfigFromInit
444
- });
445
-