@mavogel/awscdk-rootmail 0.0.320 → 0.0.321

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 (735) hide show
  1. package/.jsii +3 -3
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +17 -17
  5. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +3 -0
  6. package/node_modules/@aws-sdk/client-route-53/dist-es/models/models_0.js +3 -0
  7. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/AssociateVPCWithHostedZoneCommand.d.ts +1 -1
  8. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +1 -1
  9. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHealthCheckCommand.d.ts +2 -2
  10. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHostedZoneCommand.d.ts +2 -2
  11. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateVPCAssociationAuthorizationCommand.d.ts +2 -2
  12. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +1 -1
  13. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DisassociateVPCFromHostedZoneCommand.d.ts +1 -1
  14. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHealthCheckCommand.d.ts +1 -1
  15. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHostedZoneCommand.d.ts +1 -1
  16. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHealthChecksCommand.d.ts +1 -1
  17. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHostedZonesByVPCCommand.d.ts +1 -1
  18. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListResourceRecordSetsCommand.d.ts +1 -1
  19. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListVPCAssociationAuthorizationsCommand.d.ts +1 -1
  20. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateHealthCheckCommand.d.ts +2 -2
  21. package/node_modules/@aws-sdk/client-route-53/dist-types/models/models_0.d.ts +7 -4
  22. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/models_0.d.ts +3 -0
  23. package/node_modules/@aws-sdk/client-route-53/package.json +19 -19
  24. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +1 -1
  25. package/node_modules/@aws-sdk/client-s3/package.json +32 -32
  26. package/node_modules/@aws-sdk/client-ses/package.json +17 -17
  27. package/node_modules/@aws-sdk/client-ssm/package.json +17 -17
  28. package/node_modules/@aws-sdk/client-sso/package.json +16 -16
  29. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +366 -226
  30. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +95 -0
  31. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +39 -0
  32. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -1
  33. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -0
  34. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +2 -1
  35. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +2 -1
  36. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +19 -29
  37. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +10 -54
  38. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +13 -34
  39. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -62
  40. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +3 -3
  41. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +57 -0
  42. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +23 -0
  43. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +1 -0
  44. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +2 -1
  45. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +2 -1
  46. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +6 -3
  47. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -1
  48. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +2 -2
  49. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -0
  50. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +39 -0
  51. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +33 -0
  52. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
  53. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +2 -0
  54. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +2 -0
  55. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +5 -1
  56. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -0
  57. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +2 -1
  58. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -0
  59. package/node_modules/@aws-sdk/core/package.json +6 -6
  60. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  61. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +3 -1
  62. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +3 -1
  63. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  64. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
  65. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +1 -1
  66. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +3 -1
  67. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  68. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  69. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  70. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  71. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +2 -2
  72. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +3 -3
  73. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +6 -6
  74. package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
  75. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  76. package/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts +1 -1
  77. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  78. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
  79. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
  80. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +13 -9
  81. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +15 -10
  82. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +9 -9
  83. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  84. package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -6
  85. package/node_modules/@aws-sdk/nested-clients/package.json +16 -16
  86. package/node_modules/@aws-sdk/region-config-resolver/package.json +1 -1
  87. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  88. package/node_modules/@aws-sdk/token-providers/package.json +5 -5
  89. package/node_modules/@aws-sdk/util-arn-parser/package.json +1 -1
  90. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +36 -33
  91. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +36 -33
  92. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +36 -33
  93. package/node_modules/@aws-sdk/util-endpoints/package.json +3 -3
  94. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +1 -1
  95. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  96. package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
  97. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +15 -15
  98. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +1 -1
  99. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +1 -1
  100. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +2 -2
  101. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
  102. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/utils/getEndpointFromRegion.d.ts +1 -1
  103. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts +1 -1
  104. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +1 -1
  105. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts +1 -1
  106. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts +1 -1
  107. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts +1 -1
  108. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts +1 -1
  109. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts +3 -3
  110. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts +1 -1
  111. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/LICENSE +201 -0
  112. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/README.md +4 -0
  113. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-cjs/booleanSelector.js +1 -0
  114. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-cjs/index.js +60 -0
  115. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-cjs/numberSelector.js +1 -0
  116. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-cjs/types.js +1 -0
  117. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-es/booleanSelector.js +9 -0
  118. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-es/index.js +3 -0
  119. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-es/numberSelector.js +9 -0
  120. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-es/types.js +5 -0
  121. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/booleanSelector.d.ts +10 -0
  122. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/index.d.ts +3 -0
  123. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/numberSelector.d.ts +9 -0
  124. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/ts3.4/booleanSelector.d.ts +10 -0
  125. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/ts3.4/index.d.ts +3 -0
  126. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/ts3.4/numberSelector.d.ts +9 -0
  127. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/ts3.4/types.d.ts +4 -0
  128. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/types.d.ts +4 -0
  129. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/package.json +63 -0
  130. package/node_modules/@smithy/config-resolver/package.json +6 -5
  131. package/node_modules/@smithy/core/dist-cjs/index.js +10 -11
  132. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +47 -18
  133. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +261 -0
  134. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +137 -42
  135. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +28 -3
  136. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +5 -5
  137. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -1
  138. package/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js +0 -1
  139. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +36 -15
  140. package/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js +35 -1
  141. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
  142. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +200 -0
  143. package/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js +1 -0
  144. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +11 -26
  145. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +36 -0
  146. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +36 -10
  147. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
  148. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +17 -0
  149. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +4 -2
  150. package/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts +1 -1
  151. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +2 -2
  152. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +2 -2
  153. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +1 -1
  154. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts +1 -1
  155. package/node_modules/@smithy/core/dist-types/middleware-http-signing/getHttpSigningMiddleware.d.ts +1 -1
  156. package/node_modules/@smithy/core/dist-types/middleware-http-signing/httpSigningMiddleware.d.ts +1 -1
  157. package/node_modules/@smithy/core/dist-types/normalizeProvider.d.ts +1 -1
  158. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +6 -2
  159. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -1
  160. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +1 -1
  161. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -1
  162. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +2 -2
  163. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +60 -0
  164. package/node_modules/@smithy/core/dist-types/submodules/event-streams/index.d.ts +1 -0
  165. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
  166. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +39 -1
  167. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +1 -1
  168. package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +1 -1
  169. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +1 -0
  170. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
  171. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
  172. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
  173. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
  174. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts +2 -2
  175. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  176. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +2 -2
  177. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +2 -2
  178. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +2 -2
  179. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +10 -0
  180. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
  181. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +1 -1
  182. package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +1 -1
  183. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -1
  184. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -0
  185. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +1 -1
  186. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +60 -0
  187. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +1 -0
  188. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +39 -1
  189. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
  190. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +1 -1
  191. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +10 -0
  192. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +1 -1
  193. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +1 -1
  194. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +1 -1
  195. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +1 -1
  196. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts +1 -1
  197. package/node_modules/@smithy/core/event-streams.d.ts +7 -0
  198. package/node_modules/@smithy/core/event-streams.js +6 -0
  199. package/node_modules/@smithy/core/package.json +19 -9
  200. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +3 -3
  201. package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +1 -1
  202. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +3 -2
  203. package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +1 -1
  204. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +2 -1
  205. package/node_modules/@smithy/fetch-http-handler/package.json +9 -8
  206. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  207. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/README.md +10 -0
  208. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
  209. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  210. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +13 -0
  211. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +13 -0
  212. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/package.json +61 -0
  213. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +5 -5
  214. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts +3 -3
  215. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts +1 -1
  216. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -1
  217. package/node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts +3 -3
  218. package/node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts +3 -3
  219. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +1 -1
  220. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +1 -1
  221. package/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/s3.d.ts +1 -1
  222. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
  223. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
  224. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +1 -0
  225. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +1 -0
  226. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +1 -0
  227. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  228. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +1 -0
  229. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  230. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +12 -0
  231. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +1 -0
  232. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +206 -0
  233. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +1 -0
  234. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -0
  235. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -0
  236. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -0
  237. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -0
  238. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +13 -0
  239. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -0
  240. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
  241. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
  242. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
  243. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
  244. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
  245. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
  246. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +8 -0
  247. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
  248. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +8 -0
  249. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
  250. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
  251. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  252. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
  253. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
  254. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +9 -0
  255. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
  256. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
  257. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
  258. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
  259. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
  260. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
  261. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
  262. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +46 -0
  263. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
  264. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +8 -0
  265. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
  266. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
  267. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  268. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
  269. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
  270. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +5 -0
  271. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
  272. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
  273. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
  274. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
  275. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
  276. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
  277. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +46 -0
  278. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
  279. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +8 -0
  280. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
  281. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
  282. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
  283. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
  284. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
  285. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +5 -0
  286. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
  287. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
  288. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  289. package/node_modules/@smithy/middleware-endpoint/package.json +9 -8
  290. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +33 -47
  291. package/node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +4 -3
  292. package/node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts +2 -2
  293. package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +2 -2
  294. package/node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts +1 -1
  295. package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +1 -1
  296. package/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +1 -1
  297. package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +2 -2
  298. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +2 -1
  299. package/node_modules/@smithy/middleware-retry/dist-types/types.d.ts +1 -1
  300. package/node_modules/@smithy/middleware-retry/dist-types/util.d.ts +1 -1
  301. package/node_modules/@smithy/middleware-retry/package.json +11 -10
  302. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +5 -5
  303. package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +1 -1
  304. package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +1 -1
  305. package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -1
  306. package/node_modules/@smithy/middleware-serde/package.json +6 -5
  307. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +25 -30
  308. package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +1 -1
  309. package/node_modules/@smithy/middleware-stack/dist-types/types.d.ts +1 -1
  310. package/node_modules/@smithy/middleware-stack/package.json +3 -2
  311. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +3 -3
  312. package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +4 -4
  313. package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +1 -1
  314. package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +2 -2
  315. package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +1 -1
  316. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +201 -0
  317. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +10 -0
  318. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -0
  319. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
  320. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
  321. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
  322. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
  323. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
  324. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -0
  325. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  326. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +22 -0
  327. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  328. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  329. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  330. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  331. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  332. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  333. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  334. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  335. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  336. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  337. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  338. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  339. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  340. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  341. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  342. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  343. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  344. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  345. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  346. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +61 -0
  347. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
  348. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
  349. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +1 -0
  350. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +1 -0
  351. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +1 -0
  352. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  353. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +1 -0
  354. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  355. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +12 -0
  356. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +1 -0
  357. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +206 -0
  358. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +1 -0
  359. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -0
  360. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -0
  361. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -0
  362. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -0
  363. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +13 -0
  364. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -0
  365. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
  366. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
  367. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
  368. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
  369. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
  370. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
  371. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +8 -0
  372. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
  373. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +8 -0
  374. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
  375. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
  376. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  377. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
  378. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
  379. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +9 -0
  380. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
  381. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
  382. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
  383. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
  384. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
  385. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
  386. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
  387. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +46 -0
  388. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
  389. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +8 -0
  390. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
  391. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
  392. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  393. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
  394. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
  395. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +5 -0
  396. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
  397. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
  398. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
  399. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
  400. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
  401. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
  402. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +46 -0
  403. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
  404. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +8 -0
  405. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
  406. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
  407. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
  408. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
  409. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
  410. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +5 -0
  411. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
  412. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
  413. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  414. package/node_modules/@smithy/node-config-provider/package.json +5 -4
  415. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +5 -5
  416. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +2 -2
  417. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +3 -2
  418. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +4 -4
  419. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +2 -2
  420. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +3 -2
  421. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -1
  422. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +4 -4
  423. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
  424. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
  425. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
  426. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +1 -1
  427. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -1
  428. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +2 -1
  429. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +2 -1
  430. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -1
  431. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -1
  432. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +3 -3
  433. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/LICENSE +201 -0
  434. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/README.md +4 -0
  435. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +1 -0
  436. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +1 -0
  437. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +84 -0
  438. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +9 -0
  439. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
  440. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
  441. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
  442. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +21 -0
  443. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
  444. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
  445. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +21 -0
  446. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
  447. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/package.json +63 -0
  448. package/node_modules/@smithy/node-http-handler/package.json +6 -5
  449. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +4 -5
  450. package/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +2 -1
  451. package/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +2 -2
  452. package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +1 -1
  453. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +2 -1
  454. package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +1 -1
  455. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +2 -1
  456. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +2 -1
  457. package/node_modules/@smithy/protocol-http/dist-types/types.d.ts +1 -1
  458. package/node_modules/@smithy/protocol-http/package.json +3 -2
  459. package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +3 -3
  460. package/node_modules/@smithy/querystring-builder/dist-types/index.d.ts +1 -1
  461. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/LICENSE +201 -0
  462. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/README.md +10 -0
  463. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri-path.js +1 -0
  464. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri.js +1 -0
  465. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +43 -0
  466. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-es/escape-uri-path.js +2 -0
  467. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js +2 -0
  468. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-es/index.js +2 -0
  469. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/escape-uri-path.d.ts +4 -0
  470. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/escape-uri.d.ts +4 -0
  471. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/index.d.ts +8 -0
  472. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri-path.d.ts +4 -0
  473. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri.d.ts +4 -0
  474. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/index.d.ts +8 -0
  475. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/package.json +60 -0
  476. package/node_modules/@smithy/querystring-builder/package.json +4 -3
  477. package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +3 -3
  478. package/node_modules/@smithy/querystring-parser/dist-types/index.d.ts +1 -1
  479. package/node_modules/@smithy/querystring-parser/package.json +3 -2
  480. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +3 -3
  481. package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +1 -1
  482. package/node_modules/@smithy/service-error-classification/package.json +3 -2
  483. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +55 -21
  484. package/node_modules/@smithy/smithy-client/dist-cjs/schemaLogFilter.js +1 -0
  485. package/node_modules/@smithy/smithy-client/dist-es/command.js +7 -4
  486. package/node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js +34 -0
  487. package/node_modules/@smithy/smithy-client/dist-types/NoOpLogger.d.ts +1 -1
  488. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +1 -1
  489. package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +1 -1
  490. package/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts +1 -1
  491. package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
  492. package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +1 -1
  493. package/node_modules/@smithy/smithy-client/dist-types/schemaLogFilter.d.ts +9 -0
  494. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts +9 -0
  495. package/node_modules/@smithy/smithy-client/package.json +8 -7
  496. package/node_modules/@smithy/types/dist-cjs/index.js +7 -7
  497. package/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +4 -4
  498. package/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +2 -2
  499. package/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +2 -2
  500. package/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +2 -2
  501. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +1 -1
  502. package/node_modules/@smithy/types/dist-types/checksum.d.ts +1 -1
  503. package/node_modules/@smithy/types/dist-types/client.d.ts +4 -4
  504. package/node_modules/@smithy/types/dist-types/command.d.ts +2 -2
  505. package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +2 -2
  506. package/node_modules/@smithy/types/dist-types/encode.d.ts +1 -1
  507. package/node_modules/@smithy/types/dist-types/endpoint.d.ts +1 -1
  508. package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +2 -2
  509. package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +1 -1
  510. package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +1 -1
  511. package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +3 -3
  512. package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +1 -1
  513. package/node_modules/@smithy/types/dist-types/eventStream.d.ts +3 -3
  514. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +2 -2
  515. package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +1 -1
  516. package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
  517. package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +2 -2
  518. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +2 -2
  519. package/node_modules/@smithy/types/dist-types/http.d.ts +2 -2
  520. package/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +1 -1
  521. package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +1 -1
  522. package/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +1 -1
  523. package/node_modules/@smithy/types/dist-types/retry.d.ts +1 -1
  524. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -0
  525. package/node_modules/@smithy/types/dist-types/serde.d.ts +4 -4
  526. package/node_modules/@smithy/types/dist-types/shapes.d.ts +2 -2
  527. package/node_modules/@smithy/types/dist-types/signature.d.ts +2 -2
  528. package/node_modules/@smithy/types/dist-types/stream.d.ts +3 -3
  529. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -0
  530. package/node_modules/@smithy/types/dist-types/uri.d.ts +1 -1
  531. package/node_modules/@smithy/types/dist-types/util.d.ts +3 -3
  532. package/node_modules/@smithy/types/dist-types/waiter.d.ts +1 -1
  533. package/node_modules/@smithy/types/package.json +2 -1
  534. package/node_modules/@smithy/url-parser/dist-cjs/index.js +3 -3
  535. package/node_modules/@smithy/url-parser/dist-types/index.d.ts +1 -1
  536. package/node_modules/@smithy/url-parser/package.json +4 -3
  537. package/node_modules/@smithy/util-base64/dist-cjs/index.js +4 -4
  538. package/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +1 -2
  539. package/node_modules/@smithy/util-base64/package.json +7 -6
  540. package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +6 -9
  541. package/node_modules/@smithy/util-body-length-browser/package.json +5 -4
  542. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +3 -3
  543. package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  544. package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/README.md +10 -0
  545. package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
  546. package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  547. package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +4 -0
  548. package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +4 -0
  549. package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  550. package/node_modules/@smithy/util-buffer-from/package.json +6 -5
  551. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +3 -3
  552. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/LICENSE +201 -0
  553. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/README.md +10 -0
  554. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -0
  555. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
  556. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
  557. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
  558. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
  559. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
  560. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -0
  561. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  562. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/ProviderError.js +22 -0
  563. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  564. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  565. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  566. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  567. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  568. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  569. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  570. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  571. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  572. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  573. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  574. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  575. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  576. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  577. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  578. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  579. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  580. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  581. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  582. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +61 -0
  583. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -4
  584. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +7 -7
  585. package/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts +1 -1
  586. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/LICENSE +201 -0
  587. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/README.md +11 -0
  588. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +1 -0
  589. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +1 -0
  590. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +1 -0
  591. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +1 -0
  592. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +1 -0
  593. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +1 -0
  594. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +1 -0
  595. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +444 -0
  596. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +1 -0
  597. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +1 -0
  598. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +1 -0
  599. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +1 -0
  600. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +1 -0
  601. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +1 -0
  602. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +1 -0
  603. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +1 -0
  604. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +1 -0
  605. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js +5 -0
  606. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js +7 -0
  607. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js +5 -0
  608. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js +8 -0
  609. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +9 -0
  610. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +77 -0
  611. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +134 -0
  612. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/index.js +7 -0
  613. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +13 -0
  614. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js +3 -0
  615. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +36 -0
  616. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +2 -0
  617. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js +7 -0
  618. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/types.js +1 -0
  619. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +17 -0
  620. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js +19 -0
  621. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js +25 -0
  622. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts +7 -0
  623. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +13 -0
  624. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts +7 -0
  625. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +13 -0
  626. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts +12 -0
  627. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +21 -0
  628. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +10 -0
  629. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +28 -0
  630. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +19 -0
  631. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +40 -0
  632. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +6 -0
  633. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +8 -0
  634. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts +10 -0
  635. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +7 -0
  636. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +13 -0
  637. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +7 -0
  638. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +13 -0
  639. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +12 -0
  640. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +21 -0
  641. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +10 -0
  642. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +28 -0
  643. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +19 -0
  644. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +40 -0
  645. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +6 -0
  646. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +8 -0
  647. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +10 -0
  648. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +7 -0
  649. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
  650. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +21 -0
  651. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +16 -0
  652. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +7 -0
  653. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
  654. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +21 -0
  655. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +16 -0
  656. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +70 -0
  657. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/LICENSE +201 -0
  658. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/README.md +10 -0
  659. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -0
  660. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
  661. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
  662. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
  663. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
  664. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
  665. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -0
  666. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  667. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/ProviderError.js +22 -0
  668. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  669. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  670. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  671. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  672. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  673. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  674. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  675. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  676. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  677. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  678. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  679. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  680. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  681. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  682. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  683. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  684. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  685. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  686. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  687. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +61 -0
  688. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -7
  689. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +4 -5
  690. package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +1 -1
  691. package/node_modules/@smithy/util-middleware/dist-types/normalizeProvider.d.ts +1 -1
  692. package/node_modules/@smithy/util-middleware/package.json +3 -2
  693. package/node_modules/@smithy/util-retry/dist-cjs/index.js +3 -3
  694. package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +2 -2
  695. package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +1 -1
  696. package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +1 -1
  697. package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +1 -1
  698. package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +1 -1
  699. package/node_modules/@smithy/util-retry/package.json +4 -3
  700. package/node_modules/@smithy/util-stream/dist-cjs/index.js +11 -11
  701. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts +1 -1
  702. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +3 -2
  703. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +1 -1
  704. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +3 -3
  705. package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.browser.d.ts +1 -1
  706. package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +1 -1
  707. package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +1 -1
  708. package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.browser.d.ts +1 -1
  709. package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
  710. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +2 -1
  711. package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/LICENSE +201 -0
  712. package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/README.md +4 -0
  713. package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +67 -0
  714. package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/dist-es/index.js +33 -0
  715. package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/dist-types/index.d.ts +12 -0
  716. package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/dist-types/ts3.4/index.d.ts +12 -0
  717. package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/package.json +61 -0
  718. package/node_modules/@smithy/util-stream/package.json +13 -12
  719. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +3 -3
  720. package/node_modules/@smithy/util-utf8/package.json +6 -5
  721. package/node_modules/cdk-nag/.jsii +4 -4
  722. package/node_modules/cdk-nag/README.md +1 -1
  723. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  724. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  725. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  726. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  727. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  728. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  729. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  730. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  731. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  732. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  733. package/node_modules/cdk-nag/lib/packs/serverless.js +1 -1
  734. package/node_modules/cdk-nag/package.json +4 -4
  735. package/package.json +1 -1
@@ -0,0 +1,444 @@
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 index_exports = {};
22
+ __export(index_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(index_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: /* @__PURE__ */ __name((env) => env[ENV_ENDPOINT_NAME], "environmentVariableSelector"),
219
+ configFileSelector: /* @__PURE__ */ __name((profile) => profile[CONFIG_ENDPOINT_NAME], "configFileSelector"),
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: /* @__PURE__ */ __name((env) => env[ENV_ENDPOINT_MODE_NAME], "environmentVariableSelector"),
235
+ configFileSelector: /* @__PURE__ */ __name((profile) => profile[CONFIG_ENDPOINT_MODE_NAME], "configFileSelector"),
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: /* @__PURE__ */ __name((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
+ }, "environmentVariableSelector"),
326
+ configFileSelector: /* @__PURE__ */ __name((profile2) => {
327
+ const profileValue = profile2[PROFILE_AWS_EC2_METADATA_V1_DISABLED];
328
+ fallbackBlockedFromProfile = !!profileValue && profileValue !== "false";
329
+ return fallbackBlockedFromProfile;
330
+ }, "configFileSelector"),
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) causes.push(`config file profile (${PROFILE_AWS_EC2_METADATA_V1_DISABLED})`);
342
+ if (fallbackBlockedFromProcessEnv)
343
+ causes.push(`process environment variable (${AWS_EC2_METADATA_V1_DISABLED})`);
344
+ throw new InstanceMetadataV1FallbackError(
345
+ `AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${causes.join(
346
+ ", "
347
+ )}].`
348
+ );
349
+ }
350
+ }
351
+ const imdsProfile = (await retry(async () => {
352
+ let profile2;
353
+ try {
354
+ profile2 = await getProfile(options);
355
+ } catch (err) {
356
+ if (err.statusCode === 401) {
357
+ disableFetchToken = false;
358
+ }
359
+ throw err;
360
+ }
361
+ return profile2;
362
+ }, maxRetries2)).trim();
363
+ return retry(async () => {
364
+ let creds;
365
+ try {
366
+ creds = await getCredentialsFromProfile(imdsProfile, options, init);
367
+ } catch (err) {
368
+ if (err.statusCode === 401) {
369
+ disableFetchToken = false;
370
+ }
371
+ throw err;
372
+ }
373
+ return creds;
374
+ }, maxRetries2);
375
+ }, "getCredentials");
376
+ return async () => {
377
+ const endpoint = await getInstanceMetadataEndpoint();
378
+ if (disableFetchToken) {
379
+ logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (no token fetch)");
380
+ return getCredentials(maxRetries, { ...endpoint, timeout });
381
+ } else {
382
+ let token;
383
+ try {
384
+ token = (await getMetadataToken({ ...endpoint, timeout })).toString();
385
+ } catch (error) {
386
+ if (error?.statusCode === 400) {
387
+ throw Object.assign(error, {
388
+ message: "EC2 Metadata token request returned error"
389
+ });
390
+ } else if (error.message === "TimeoutError" || [403, 404, 405].includes(error.statusCode)) {
391
+ disableFetchToken = true;
392
+ }
393
+ logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (initial)");
394
+ return getCredentials(maxRetries, { ...endpoint, timeout });
395
+ }
396
+ return getCredentials(maxRetries, {
397
+ ...endpoint,
398
+ headers: {
399
+ [X_AWS_EC2_METADATA_TOKEN]: token
400
+ },
401
+ timeout
402
+ });
403
+ }
404
+ };
405
+ }, "getInstanceMetadataProvider");
406
+ var getMetadataToken = /* @__PURE__ */ __name(async (options) => httpRequest({
407
+ ...options,
408
+ path: IMDS_TOKEN_PATH,
409
+ method: "PUT",
410
+ headers: {
411
+ "x-aws-ec2-metadata-token-ttl-seconds": "21600"
412
+ }
413
+ }), "getMetadataToken");
414
+ var getProfile = /* @__PURE__ */ __name(async (options) => (await httpRequest({ ...options, path: IMDS_PATH })).toString(), "getProfile");
415
+ var getCredentialsFromProfile = /* @__PURE__ */ __name(async (profile, options, init) => {
416
+ const credentialsResponse = JSON.parse(
417
+ (await httpRequest({
418
+ ...options,
419
+ path: IMDS_PATH + profile
420
+ })).toString()
421
+ );
422
+ if (!isImdsCredentials(credentialsResponse)) {
423
+ throw new import_property_provider.CredentialsProviderError("Invalid response received from instance metadata service.", {
424
+ logger: init.logger
425
+ });
426
+ }
427
+ return fromImdsCredentials(credentialsResponse);
428
+ }, "getCredentialsFromProfile");
429
+ // Annotate the CommonJS export names for ESM import in node:
430
+
431
+ 0 && (module.exports = {
432
+ httpRequest,
433
+ getInstanceMetadataEndpoint,
434
+ Endpoint,
435
+ ENV_CMDS_FULL_URI,
436
+ ENV_CMDS_RELATIVE_URI,
437
+ ENV_CMDS_AUTH_TOKEN,
438
+ fromContainerMetadata,
439
+ fromInstanceMetadata,
440
+ DEFAULT_TIMEOUT,
441
+ DEFAULT_MAX_RETRIES,
442
+ providerConfigFromInit
443
+ });
444
+
@@ -0,0 +1,5 @@
1
+ export var Endpoint;
2
+ (function (Endpoint) {
3
+ Endpoint["IPv4"] = "http://169.254.169.254";
4
+ Endpoint["IPv6"] = "http://[fd00:ec2::254]";
5
+ })(Endpoint || (Endpoint = {}));
@@ -0,0 +1,7 @@
1
+ export const ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT";
2
+ export const CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint";
3
+ export const ENDPOINT_CONFIG_OPTIONS = {
4
+ environmentVariableSelector: (env) => env[ENV_ENDPOINT_NAME],
5
+ configFileSelector: (profile) => profile[CONFIG_ENDPOINT_NAME],
6
+ default: undefined,
7
+ };
@@ -0,0 +1,5 @@
1
+ export var EndpointMode;
2
+ (function (EndpointMode) {
3
+ EndpointMode["IPv4"] = "IPv4";
4
+ EndpointMode["IPv6"] = "IPv6";
5
+ })(EndpointMode || (EndpointMode = {}));
@@ -0,0 +1,8 @@
1
+ import { EndpointMode } from "./EndpointMode";
2
+ export const ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE";
3
+ export const CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode";
4
+ export const ENDPOINT_MODE_CONFIG_OPTIONS = {
5
+ environmentVariableSelector: (env) => env[ENV_ENDPOINT_MODE_NAME],
6
+ configFileSelector: (profile) => profile[CONFIG_ENDPOINT_MODE_NAME],
7
+ default: EndpointMode.IPv4,
8
+ };
@@ -0,0 +1,9 @@
1
+ import { CredentialsProviderError } from "@smithy/property-provider";
2
+ export class InstanceMetadataV1FallbackError extends CredentialsProviderError {
3
+ constructor(message, tryNextLink = true) {
4
+ super(message, tryNextLink);
5
+ this.tryNextLink = tryNextLink;
6
+ this.name = "InstanceMetadataV1FallbackError";
7
+ Object.setPrototypeOf(this, InstanceMetadataV1FallbackError.prototype);
8
+ }
9
+ }
@@ -0,0 +1,77 @@
1
+ import { CredentialsProviderError } from "@smithy/property-provider";
2
+ import { parse } from "url";
3
+ import { httpRequest } from "./remoteProvider/httpRequest";
4
+ import { fromImdsCredentials, isImdsCredentials } from "./remoteProvider/ImdsCredentials";
5
+ import { providerConfigFromInit } from "./remoteProvider/RemoteProviderInit";
6
+ import { retry } from "./remoteProvider/retry";
7
+ export const ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI";
8
+ export const ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI";
9
+ export const ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN";
10
+ export const fromContainerMetadata = (init = {}) => {
11
+ const { timeout, maxRetries } = providerConfigFromInit(init);
12
+ return () => retry(async () => {
13
+ const requestOptions = await getCmdsUri({ logger: init.logger });
14
+ const credsResponse = JSON.parse(await requestFromEcsImds(timeout, requestOptions));
15
+ if (!isImdsCredentials(credsResponse)) {
16
+ throw new CredentialsProviderError("Invalid response received from instance metadata service.", {
17
+ logger: init.logger,
18
+ });
19
+ }
20
+ return fromImdsCredentials(credsResponse);
21
+ }, maxRetries);
22
+ };
23
+ const requestFromEcsImds = async (timeout, options) => {
24
+ if (process.env[ENV_CMDS_AUTH_TOKEN]) {
25
+ options.headers = {
26
+ ...options.headers,
27
+ Authorization: process.env[ENV_CMDS_AUTH_TOKEN],
28
+ };
29
+ }
30
+ const buffer = await httpRequest({
31
+ ...options,
32
+ timeout,
33
+ });
34
+ return buffer.toString();
35
+ };
36
+ const CMDS_IP = "169.254.170.2";
37
+ const GREENGRASS_HOSTS = {
38
+ localhost: true,
39
+ "127.0.0.1": true,
40
+ };
41
+ const GREENGRASS_PROTOCOLS = {
42
+ "http:": true,
43
+ "https:": true,
44
+ };
45
+ const getCmdsUri = async ({ logger }) => {
46
+ if (process.env[ENV_CMDS_RELATIVE_URI]) {
47
+ return {
48
+ hostname: CMDS_IP,
49
+ path: process.env[ENV_CMDS_RELATIVE_URI],
50
+ };
51
+ }
52
+ if (process.env[ENV_CMDS_FULL_URI]) {
53
+ const parsed = parse(process.env[ENV_CMDS_FULL_URI]);
54
+ if (!parsed.hostname || !(parsed.hostname in GREENGRASS_HOSTS)) {
55
+ throw new CredentialsProviderError(`${parsed.hostname} is not a valid container metadata service hostname`, {
56
+ tryNextLink: false,
57
+ logger,
58
+ });
59
+ }
60
+ if (!parsed.protocol || !(parsed.protocol in GREENGRASS_PROTOCOLS)) {
61
+ throw new CredentialsProviderError(`${parsed.protocol} is not a valid container metadata service protocol`, {
62
+ tryNextLink: false,
63
+ logger,
64
+ });
65
+ }
66
+ return {
67
+ ...parsed,
68
+ port: parsed.port ? parseInt(parsed.port, 10) : undefined,
69
+ };
70
+ }
71
+ throw new CredentialsProviderError("The container metadata credential provider cannot be used unless" +
72
+ ` the ${ENV_CMDS_RELATIVE_URI} or ${ENV_CMDS_FULL_URI} environment` +
73
+ " variable is set", {
74
+ tryNextLink: false,
75
+ logger,
76
+ });
77
+ };