@aws-sdk/client-sts 3.186.0 → 3.186.1
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/protocols/Aws_query.js +2 -2
- package/dist-cjs/xml-parser.js +18 -0
- package/dist-es/protocols/Aws_query.js +1 -1
- package/dist-es/xml-parser.js +15 -0
- package/dist-types/ts3.4/STS.d.ts +626 -140
- package/dist-types/ts3.4/STSClient.d.ts +156 -151
- package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +124 -32
- package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +166 -36
- package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +170 -39
- package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +70 -39
- package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +52 -35
- package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +44 -36
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +120 -36
- package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +93 -35
- package/dist-types/ts3.4/commands/index.d.ts +8 -8
- package/dist-types/ts3.4/defaultRoleAssumers.d.ts +20 -22
- package/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +35 -25
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +6 -6
- package/dist-types/ts3.4/models/STSServiceException.d.ts +10 -7
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1146 -238
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +26 -101
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +40 -67
- package/dist-types/ts3.4/runtimeConfig.d.ts +40 -65
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +39 -68
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -10
- package/dist-types/ts3.4/xml-parser.d.ts +4 -0
- package/dist-types/xml-parser.d.ts +4 -0
- package/package.json +2 -2
|
@@ -1,101 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "../commands/
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
GetCallerIdentityCommandInput,
|
|
28
|
-
GetCallerIdentityCommandOutput,
|
|
29
|
-
} from "../commands/GetCallerIdentityCommand";
|
|
30
|
-
import {
|
|
31
|
-
GetFederationTokenCommandInput,
|
|
32
|
-
GetFederationTokenCommandOutput,
|
|
33
|
-
} from "../commands/GetFederationTokenCommand";
|
|
34
|
-
import {
|
|
35
|
-
GetSessionTokenCommandInput,
|
|
36
|
-
GetSessionTokenCommandOutput,
|
|
37
|
-
} from "../commands/GetSessionTokenCommand";
|
|
38
|
-
export declare const serializeAws_queryAssumeRoleCommand: (
|
|
39
|
-
input: AssumeRoleCommandInput,
|
|
40
|
-
context: __SerdeContext
|
|
41
|
-
) => Promise<__HttpRequest>;
|
|
42
|
-
export declare const serializeAws_queryAssumeRoleWithSAMLCommand: (
|
|
43
|
-
input: AssumeRoleWithSAMLCommandInput,
|
|
44
|
-
context: __SerdeContext
|
|
45
|
-
) => Promise<__HttpRequest>;
|
|
46
|
-
export declare const serializeAws_queryAssumeRoleWithWebIdentityCommand: (
|
|
47
|
-
input: AssumeRoleWithWebIdentityCommandInput,
|
|
48
|
-
context: __SerdeContext
|
|
49
|
-
) => Promise<__HttpRequest>;
|
|
50
|
-
export declare const serializeAws_queryDecodeAuthorizationMessageCommand: (
|
|
51
|
-
input: DecodeAuthorizationMessageCommandInput,
|
|
52
|
-
context: __SerdeContext
|
|
53
|
-
) => Promise<__HttpRequest>;
|
|
54
|
-
export declare const serializeAws_queryGetAccessKeyInfoCommand: (
|
|
55
|
-
input: GetAccessKeyInfoCommandInput,
|
|
56
|
-
context: __SerdeContext
|
|
57
|
-
) => Promise<__HttpRequest>;
|
|
58
|
-
export declare const serializeAws_queryGetCallerIdentityCommand: (
|
|
59
|
-
input: GetCallerIdentityCommandInput,
|
|
60
|
-
context: __SerdeContext
|
|
61
|
-
) => Promise<__HttpRequest>;
|
|
62
|
-
export declare const serializeAws_queryGetFederationTokenCommand: (
|
|
63
|
-
input: GetFederationTokenCommandInput,
|
|
64
|
-
context: __SerdeContext
|
|
65
|
-
) => Promise<__HttpRequest>;
|
|
66
|
-
export declare const serializeAws_queryGetSessionTokenCommand: (
|
|
67
|
-
input: GetSessionTokenCommandInput,
|
|
68
|
-
context: __SerdeContext
|
|
69
|
-
) => Promise<__HttpRequest>;
|
|
70
|
-
export declare const deserializeAws_queryAssumeRoleCommand: (
|
|
71
|
-
output: __HttpResponse,
|
|
72
|
-
context: __SerdeContext
|
|
73
|
-
) => Promise<AssumeRoleCommandOutput>;
|
|
74
|
-
export declare const deserializeAws_queryAssumeRoleWithSAMLCommand: (
|
|
75
|
-
output: __HttpResponse,
|
|
76
|
-
context: __SerdeContext
|
|
77
|
-
) => Promise<AssumeRoleWithSAMLCommandOutput>;
|
|
78
|
-
export declare const deserializeAws_queryAssumeRoleWithWebIdentityCommand: (
|
|
79
|
-
output: __HttpResponse,
|
|
80
|
-
context: __SerdeContext
|
|
81
|
-
) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
|
|
82
|
-
export declare const deserializeAws_queryDecodeAuthorizationMessageCommand: (
|
|
83
|
-
output: __HttpResponse,
|
|
84
|
-
context: __SerdeContext
|
|
85
|
-
) => Promise<DecodeAuthorizationMessageCommandOutput>;
|
|
86
|
-
export declare const deserializeAws_queryGetAccessKeyInfoCommand: (
|
|
87
|
-
output: __HttpResponse,
|
|
88
|
-
context: __SerdeContext
|
|
89
|
-
) => Promise<GetAccessKeyInfoCommandOutput>;
|
|
90
|
-
export declare const deserializeAws_queryGetCallerIdentityCommand: (
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
) => Promise<GetCallerIdentityCommandOutput>;
|
|
94
|
-
export declare const deserializeAws_queryGetFederationTokenCommand: (
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
) => Promise<GetFederationTokenCommandOutput>;
|
|
98
|
-
export declare const deserializeAws_queryGetSessionTokenCommand: (
|
|
99
|
-
output: __HttpResponse,
|
|
100
|
-
context: __SerdeContext
|
|
101
|
-
) => Promise<GetSessionTokenCommandOutput>;
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "../commands/AssumeRoleCommand";
|
|
4
|
+
import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "../commands/AssumeRoleWithSAMLCommand";
|
|
5
|
+
import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "../commands/AssumeRoleWithWebIdentityCommand";
|
|
6
|
+
import { DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput } from "../commands/DecodeAuthorizationMessageCommand";
|
|
7
|
+
import { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "../commands/GetAccessKeyInfoCommand";
|
|
8
|
+
import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "../commands/GetCallerIdentityCommand";
|
|
9
|
+
import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "../commands/GetFederationTokenCommand";
|
|
10
|
+
import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "../commands/GetSessionTokenCommand";
|
|
11
|
+
export declare const serializeAws_queryAssumeRoleCommand: (input: AssumeRoleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
|
+
export declare const serializeAws_queryAssumeRoleWithSAMLCommand: (input: AssumeRoleWithSAMLCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
|
+
export declare const serializeAws_queryAssumeRoleWithWebIdentityCommand: (input: AssumeRoleWithWebIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
|
+
export declare const serializeAws_queryDecodeAuthorizationMessageCommand: (input: DecodeAuthorizationMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
|
+
export declare const serializeAws_queryGetAccessKeyInfoCommand: (input: GetAccessKeyInfoCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
16
|
+
export declare const serializeAws_queryGetCallerIdentityCommand: (input: GetCallerIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
17
|
+
export declare const serializeAws_queryGetFederationTokenCommand: (input: GetFederationTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
|
+
export declare const serializeAws_queryGetSessionTokenCommand: (input: GetSessionTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
+
export declare const deserializeAws_queryAssumeRoleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleCommandOutput>;
|
|
20
|
+
export declare const deserializeAws_queryAssumeRoleWithSAMLCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithSAMLCommandOutput>;
|
|
21
|
+
export declare const deserializeAws_queryAssumeRoleWithWebIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
|
|
22
|
+
export declare const deserializeAws_queryDecodeAuthorizationMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DecodeAuthorizationMessageCommandOutput>;
|
|
23
|
+
export declare const deserializeAws_queryGetAccessKeyInfoCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAccessKeyInfoCommandOutput>;
|
|
24
|
+
export declare const deserializeAws_queryGetCallerIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCallerIdentityCommandOutput>;
|
|
25
|
+
export declare const deserializeAws_queryGetFederationTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFederationTokenCommandOutput>;
|
|
26
|
+
export declare const deserializeAws_queryGetSessionTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSessionTokenCommandOutput>;
|
|
@@ -1,67 +1,40 @@
|
|
|
1
|
-
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
-
import { STSClientConfig } from "./STSClient";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
input: any
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
import("@aws-sdk/types").
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
| string
|
|
42
|
-
| import("@aws-sdk/types").Endpoint
|
|
43
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
|
-
| undefined;
|
|
45
|
-
tls?: boolean | undefined;
|
|
46
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
47
|
-
credentials?:
|
|
48
|
-
| import("@aws-sdk/types").Credentials
|
|
49
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
|
|
50
|
-
| undefined;
|
|
51
|
-
signer?:
|
|
52
|
-
| import("@aws-sdk/types").RequestSigner
|
|
53
|
-
| ((
|
|
54
|
-
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
55
|
-
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
56
|
-
| undefined;
|
|
57
|
-
signingEscapePath?: boolean | undefined;
|
|
58
|
-
systemClockOffset?: number | undefined;
|
|
59
|
-
signingRegion?: string | undefined;
|
|
60
|
-
signerConstructor?:
|
|
61
|
-
| (new (
|
|
62
|
-
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
63
|
-
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
64
|
-
) => import("@aws-sdk/types").RequestSigner)
|
|
65
|
-
| undefined;
|
|
66
|
-
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
67
|
-
};
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { STSClientConfig } from "./STSClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
17
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
20
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
23
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
24
|
+
apiVersion: string;
|
|
25
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
26
|
+
disableHostPrefix: boolean;
|
|
27
|
+
logger: import("@aws-sdk/types").Logger;
|
|
28
|
+
serviceId: string;
|
|
29
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
30
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
31
|
+
tls?: boolean | undefined;
|
|
32
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
33
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
34
|
+
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
35
|
+
signingEscapePath?: boolean | undefined;
|
|
36
|
+
systemClockOffset?: number | undefined;
|
|
37
|
+
signingRegion?: string | undefined;
|
|
38
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
39
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
40
|
+
};
|
|
@@ -1,65 +1,40 @@
|
|
|
1
|
-
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
-
import { STSClientConfig } from "./STSClient";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import("@aws-sdk/types").UserAgent
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
|
40
|
-
|
|
41
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
42
|
-
| undefined;
|
|
43
|
-
tls?: boolean | undefined;
|
|
44
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
45
|
-
credentials?:
|
|
46
|
-
| import("@aws-sdk/types").Credentials
|
|
47
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
|
|
48
|
-
| undefined;
|
|
49
|
-
signer?:
|
|
50
|
-
| import("@aws-sdk/types").RequestSigner
|
|
51
|
-
| ((
|
|
52
|
-
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
53
|
-
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
54
|
-
| undefined;
|
|
55
|
-
signingEscapePath?: boolean | undefined;
|
|
56
|
-
systemClockOffset?: number | undefined;
|
|
57
|
-
signingRegion?: string | undefined;
|
|
58
|
-
signerConstructor?:
|
|
59
|
-
| (new (
|
|
60
|
-
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
61
|
-
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
62
|
-
) => import("@aws-sdk/types").RequestSigner)
|
|
63
|
-
| undefined;
|
|
64
|
-
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
65
|
-
};
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { STSClientConfig } from "./STSClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
|
+
credentialDefaultProvider: import("./defaultStsRoleAssumers").DefaultCredentialProvider;
|
|
13
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
17
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
20
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
23
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
24
|
+
apiVersion: string;
|
|
25
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
26
|
+
disableHostPrefix: boolean;
|
|
27
|
+
logger: import("@aws-sdk/types").Logger;
|
|
28
|
+
serviceId: string;
|
|
29
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
30
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
31
|
+
tls?: boolean | undefined;
|
|
32
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
33
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
34
|
+
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
35
|
+
signingEscapePath?: boolean | undefined;
|
|
36
|
+
systemClockOffset?: number | undefined;
|
|
37
|
+
signingRegion?: string | undefined;
|
|
38
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
39
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
40
|
+
};
|
|
@@ -1,68 +1,39 @@
|
|
|
1
|
-
import { STSClientConfig } from "./STSClient";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
| import("@aws-sdk/types").
|
|
39
|
-
|
|
40
|
-
>;
|
|
41
|
-
endpoint?:
|
|
42
|
-
| string
|
|
43
|
-
| import("@aws-sdk/types").Endpoint
|
|
44
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
45
|
-
| undefined;
|
|
46
|
-
tls?: boolean | undefined;
|
|
47
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
48
|
-
credentials?:
|
|
49
|
-
| import("@aws-sdk/types").Credentials
|
|
50
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
|
|
51
|
-
| undefined;
|
|
52
|
-
signer?:
|
|
53
|
-
| import("@aws-sdk/types").RequestSigner
|
|
54
|
-
| ((
|
|
55
|
-
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
56
|
-
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
57
|
-
| undefined;
|
|
58
|
-
signingEscapePath?: boolean | undefined;
|
|
59
|
-
systemClockOffset?: number | undefined;
|
|
60
|
-
signingRegion?: string | undefined;
|
|
61
|
-
signerConstructor?:
|
|
62
|
-
| (new (
|
|
63
|
-
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
64
|
-
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
65
|
-
) => import("@aws-sdk/types").RequestSigner)
|
|
66
|
-
| undefined;
|
|
67
|
-
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
68
|
-
};
|
|
1
|
+
import { STSClientConfig } from "./STSClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
8
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
|
+
apiVersion: string;
|
|
10
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
15
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
16
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
17
|
+
disableHostPrefix: boolean;
|
|
18
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
19
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
20
|
+
logger: import("@aws-sdk/types").Logger;
|
|
21
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
|
+
serviceId: string;
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
|
+
tls?: boolean | undefined;
|
|
31
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
32
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
33
|
+
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
34
|
+
signingEscapePath?: boolean | undefined;
|
|
35
|
+
systemClockOffset?: number | undefined;
|
|
36
|
+
signingRegion?: string | undefined;
|
|
37
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
38
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
39
|
+
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
-
import { STSClientConfig } from "./STSClient";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
+
import { STSClientConfig } from "./STSClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
disableHostPrefix: boolean;
|
|
9
|
+
logger: __Logger;
|
|
10
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
11
|
+
serviceId: string;
|
|
12
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
13
|
+
};
|
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.186.
|
|
4
|
+
"version": "3.186.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.186.0",
|
|
54
54
|
"@aws-sdk/util-utf8-node": "3.186.0",
|
|
55
55
|
"entities": "2.2.0",
|
|
56
|
-
"fast-xml-parser": "
|
|
56
|
+
"fast-xml-parser": "4.1.3",
|
|
57
57
|
"tslib": "^2.3.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|