@aws-sdk/client-sts 3.1076.0 → 3.1078.0
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.
- package/dist-cjs/index.js +22 -115
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssumeRoleCommand.js +2 -14
- package/dist-es/commands/AssumeRoleWithSAMLCommand.js +2 -14
- package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +2 -14
- package/dist-es/commands/AssumeRootCommand.js +2 -14
- package/dist-es/commands/DecodeAuthorizationMessageCommand.js +2 -14
- package/dist-es/commands/GetAccessKeyInfoCommand.js +2 -14
- package/dist-es/commands/GetCallerIdentityCommand.js +2 -14
- package/dist-es/commands/GetDelegatedAccessTokenCommand.js +2 -14
- package/dist-es/commands/GetFederationTokenCommand.js +2 -14
- package/dist-es/commands/GetSessionTokenCommand.js +2 -14
- package/dist-es/commands/GetWebIdentityTokenCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssumeRoleCommand.d.ts +3 -8
- package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +3 -8
- package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -8
- package/dist-types/commands/AssumeRootCommand.d.ts +3 -8
- package/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +3 -8
- package/dist-types/commands/GetAccessKeyInfoCommand.d.ts +3 -8
- package/dist-types/commands/GetCallerIdentityCommand.d.ts +3 -8
- package/dist-types/commands/GetDelegatedAccessTokenCommand.d.ts +3 -8
- package/dist-types/commands/GetFederationTokenCommand.d.ts +3 -8
- package/dist-types/commands/GetSessionTokenCommand.d.ts +3 -8
- package/dist-types/commands/GetWebIdentityTokenCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDelegatedAccessTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetWebIdentityTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +10 -12
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
GetDelegatedAccessTokenRequest,
|
|
5
4
|
GetDelegatedAccessTokenResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
STSClientResolvedConfig,
|
|
11
|
-
} from "../STSClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface GetDelegatedAccessTokenCommandInput
|
|
15
8
|
extends GetDelegatedAccessTokenRequest {}
|
|
16
9
|
export interface GetDelegatedAccessTokenCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const GetDelegatedAccessTokenCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
GetDelegatedAccessTokenCommandInput,
|
|
24
17
|
GetDelegatedAccessTokenCommandOutput,
|
|
25
|
-
STSClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").STSClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: GetDelegatedAccessTokenCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
GetDelegatedAccessTokenCommandInput,
|
|
33
26
|
GetDelegatedAccessTokenCommandOutput,
|
|
34
|
-
STSClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").STSClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class GetDelegatedAccessTokenCommand extends GetDelegatedAccessTokenCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
GetFederationTokenRequest,
|
|
5
4
|
GetFederationTokenResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
STSClientResolvedConfig,
|
|
11
|
-
} from "../STSClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface GetFederationTokenCommandInput
|
|
15
8
|
extends GetFederationTokenRequest {}
|
|
16
9
|
export interface GetFederationTokenCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const GetFederationTokenCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
GetFederationTokenCommandInput,
|
|
24
17
|
GetFederationTokenCommandOutput,
|
|
25
|
-
STSClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").STSClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: GetFederationTokenCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
GetFederationTokenCommandInput,
|
|
33
26
|
GetFederationTokenCommandOutput,
|
|
34
|
-
STSClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").STSClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class GetFederationTokenCommand extends GetFederationTokenCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
GetSessionTokenRequest,
|
|
5
4
|
GetSessionTokenResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
STSClientResolvedConfig,
|
|
11
|
-
} from "../STSClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface GetSessionTokenCommandInput extends GetSessionTokenRequest {}
|
|
15
8
|
export interface GetSessionTokenCommandOutput
|
|
16
9
|
extends GetSessionTokenResponse,
|
|
@@ -21,22 +14,20 @@ declare const GetSessionTokenCommand_base: {
|
|
|
21
14
|
): import("@smithy/core/client").CommandImpl<
|
|
22
15
|
GetSessionTokenCommandInput,
|
|
23
16
|
GetSessionTokenCommandOutput,
|
|
24
|
-
STSClientResolvedConfig,
|
|
25
|
-
ServiceInputTypes,
|
|
26
|
-
ServiceOutputTypes
|
|
17
|
+
import("..").STSClientResolvedConfig,
|
|
18
|
+
import("..").ServiceInputTypes,
|
|
19
|
+
import("..").ServiceOutputTypes
|
|
27
20
|
>;
|
|
28
21
|
new (
|
|
29
22
|
...[input]: [] | [GetSessionTokenCommandInput]
|
|
30
23
|
): import("@smithy/core/client").CommandImpl<
|
|
31
24
|
GetSessionTokenCommandInput,
|
|
32
25
|
GetSessionTokenCommandOutput,
|
|
33
|
-
STSClientResolvedConfig,
|
|
34
|
-
ServiceInputTypes,
|
|
35
|
-
ServiceOutputTypes
|
|
26
|
+
import("..").STSClientResolvedConfig,
|
|
27
|
+
import("..").ServiceInputTypes,
|
|
28
|
+
import("..").ServiceOutputTypes
|
|
36
29
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
};
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
40
31
|
};
|
|
41
32
|
export declare class GetSessionTokenCommand extends GetSessionTokenCommand_base {
|
|
42
33
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
GetWebIdentityTokenRequest,
|
|
5
4
|
GetWebIdentityTokenResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
STSClientResolvedConfig,
|
|
11
|
-
} from "../STSClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface GetWebIdentityTokenCommandInput
|
|
15
8
|
extends GetWebIdentityTokenRequest {}
|
|
16
9
|
export interface GetWebIdentityTokenCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const GetWebIdentityTokenCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
GetWebIdentityTokenCommandInput,
|
|
24
17
|
GetWebIdentityTokenCommandOutput,
|
|
25
|
-
STSClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").STSClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: GetWebIdentityTokenCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
GetWebIdentityTokenCommandInput,
|
|
33
26
|
GetWebIdentityTokenCommandOutput,
|
|
34
|
-
STSClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").STSClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class GetWebIdentityTokenCommand extends GetWebIdentityTokenCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { STSExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
7
8
|
export * from "./schemas/schemas_0";
|
|
8
9
|
export * from "./models/errors";
|
|
9
10
|
export * from "./models/models_0";
|
|
@@ -20,7 +20,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
20
20
|
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
21
|
| RequestHandler;
|
|
22
22
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
24
23
|
streamCollector: (
|
|
25
24
|
stream:
|
|
26
25
|
| import("stream").Readable
|
|
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
42
41
|
[setting: string]: unknown;
|
|
43
42
|
};
|
|
44
43
|
apiVersion: string;
|
|
44
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
45
45
|
urlParser: import("@smithy/types").UrlParser;
|
|
46
46
|
base64Decoder: import("@smithy/types").Decoder;
|
|
47
47
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -50,7 +50,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
50
50
|
| RequestHandler
|
|
51
51
|
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
52
52
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
53
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
54
53
|
sigv4aSigningRegionSet:
|
|
55
54
|
| string[]
|
|
56
55
|
| import("@smithy/types").Provider<string[] | undefined>;
|
|
@@ -74,6 +73,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
74
73
|
[setting: string]: unknown;
|
|
75
74
|
};
|
|
76
75
|
apiVersion: string;
|
|
76
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
77
77
|
urlParser: import("@smithy/types").UrlParser;
|
|
78
78
|
base64Decoder: import("@smithy/types").Decoder;
|
|
79
79
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { STSClientConfig } from "./STSClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
3
3
|
runtime: string;
|
|
4
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
5
4
|
requestHandler:
|
|
6
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
6
|
| import("@smithy/types").FetchHttpHandlerOptions
|
|
@@ -18,6 +17,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
18
17
|
[setting: string]: unknown;
|
|
19
18
|
};
|
|
20
19
|
apiVersion: string;
|
|
20
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1078.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -25,20 +25,18 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-
|
|
29
|
-
"@aws-
|
|
30
|
-
"@aws-sdk/
|
|
31
|
-
"@aws-sdk/
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@smithy/
|
|
35
|
-
"@smithy/
|
|
36
|
-
"@smithy/node-http-handler": "^4.9.0",
|
|
37
|
-
"@smithy/types": "^4.15.0",
|
|
28
|
+
"@aws-sdk/core": "^3.974.26",
|
|
29
|
+
"@aws-sdk/credential-provider-node": "^3.972.61",
|
|
30
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.38",
|
|
31
|
+
"@aws-sdk/types": "^3.973.15",
|
|
32
|
+
"@smithy/core": "^3.29.0",
|
|
33
|
+
"@smithy/fetch-http-handler": "^5.6.2",
|
|
34
|
+
"@smithy/node-http-handler": "^4.9.2",
|
|
35
|
+
"@smithy/types": "^4.15.1",
|
|
38
36
|
"tslib": "^2.6.2"
|
|
39
37
|
},
|
|
40
38
|
"devDependencies": {
|
|
41
|
-
"@smithy/snapshot-testing": "^2.2.
|
|
39
|
+
"@smithy/snapshot-testing": "^2.2.5",
|
|
42
40
|
"@tsconfig/node20": "20.1.8",
|
|
43
41
|
"@types/node": "^20.14.8",
|
|
44
42
|
"concurrently": "7.0.0",
|