File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ export type AwsSdkFeatures = Partial<{
3232 FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED : "c" ;
3333 DDB_MAPPER : "d" ;
3434} > &
35- AwsSdkCredentialsFeatures ;
35+ AwsSdkCredentialsFeatures &
36+ AwsSdkTokenFeatures ;
3637
3738/**
3839 * @internal
@@ -62,3 +63,10 @@ export type AwsSdkCredentialsFeatures = Partial<{
6263 CREDENTIALS_HTTP : "z" ;
6364 CREDENTIALS_IMDS : "0" ;
6465} > ;
66+
67+ /**
68+ * @internal
69+ */
70+ export type AwsSdkTokenFeatures = Partial < {
71+ BEARER_SERVICE_ENV_VARS : "3" ;
72+ } > ;
Original file line number Diff line number Diff line change 1+ import type { TokenIdentity } from "@smithy/types" ;
2+
3+ import type { AwsSdkTokenFeatures } from "../feature-ids" ;
14export { TokenIdentity , TokenIdentityProvider } from "@smithy/types" ;
5+
6+ /**
7+ * @public
8+ *
9+ * TokenIdentity with source attribution metadata.
10+ */
11+ export type AttributedTokenIdentity = TokenIdentity & {
12+ $source ?: AwsSdkTokenFeatures ;
13+ } ;
You can’t perform that action at this time.
0 commit comments