From 2f17e00f2ec0e0748d3a5036250fed9c9a7c2f37 Mon Sep 17 00:00:00 2001 From: siddsriv Date: Wed, 6 Mar 2024 15:20:04 +0000 Subject: [PATCH] chore(credential-provider-imds): export IMDS endpoint for v3 utils #5796 --- .changeset/tough-tools-fix.md | 5 +++++ packages/credential-provider-imds/src/index.ts | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 .changeset/tough-tools-fix.md diff --git a/.changeset/tough-tools-fix.md b/.changeset/tough-tools-fix.md new file mode 100644 index 00000000000..09186413dd0 --- /dev/null +++ b/.changeset/tough-tools-fix.md @@ -0,0 +1,5 @@ +--- +"@smithy/credential-provider-imds": patch +--- + +exporting Endpoint from credential-provider-imds to use for JSv3 EC2 IMDS utils diff --git a/packages/credential-provider-imds/src/index.ts b/packages/credential-provider-imds/src/index.ts index 93ee04a2f7b..5a87b2f1631 100644 --- a/packages/credential-provider-imds/src/index.ts +++ b/packages/credential-provider-imds/src/index.ts @@ -22,3 +22,7 @@ export { httpRequest } from "./remoteProvider/httpRequest"; * @internal */ export { getInstanceMetadataEndpoint } from "./utils/getInstanceMetadataEndpoint"; +/** + * @internal + */ +export { Endpoint } from "./config/Endpoint";