@aws-sdk/client-sts 3.332.0 → 3.335.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/CHANGELOG.md +3735 -0
- package/dist-cjs/commands/AssumeRoleCommand.js +2 -1
- package/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +3 -2
- package/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +3 -2
- package/dist-cjs/commands/GetFederationTokenCommand.js +2 -1
- package/dist-cjs/commands/GetSessionTokenCommand.js +2 -1
- package/dist-cjs/models/models_0.js +42 -1
- package/dist-cjs/protocols/Aws_query.js +1 -1
- package/dist-es/commands/AssumeRoleCommand.js +2 -1
- package/dist-es/commands/AssumeRoleWithSAMLCommand.js +3 -2
- package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +3 -2
- package/dist-es/commands/GetFederationTokenCommand.js +2 -1
- package/dist-es/commands/GetSessionTokenCommand.js +2 -1
- package/dist-es/models/models_0.js +33 -0
- package/dist-es/protocols/Aws_query.js +1 -1
- package/dist-types/STSClient.d.ts +3 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +32 -0
- package/dist-types/protocols/Aws_query.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +13 -13
- package/dist-types/runtimeConfig.d.ts +9 -9
- package/dist-types/runtimeConfig.native.d.ts +14 -14
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/STS.d.ts +69 -141
- package/dist-types/ts3.4/STSClient.d.ts +173 -159
- package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +261 -34
- package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +292 -38
- package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +301 -41
- package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +125 -41
- package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +86 -37
- package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +124 -38
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +235 -38
- package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +162 -37
- 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 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +22 -35
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +6 -6
- package/dist-types/ts3.4/models/STSServiceException.d.ts +12 -7
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1110 -179
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +74 -101
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +43 -95
- package/dist-types/ts3.4/runtimeConfig.d.ts +43 -93
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +42 -84
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -18
- package/package.json +5 -4
|
@@ -1,101 +1,74 @@
|
|
|
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
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
export declare const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
export declare const
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
export declare const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
export declare const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
export declare const
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
export declare const
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
export declare const
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
export declare const
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
export declare const
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
export declare const
|
|
75
|
-
output: __HttpResponse,
|
|
76
|
-
context: __SerdeContext
|
|
77
|
-
) => Promise<AssumeRoleWithSAMLCommandOutput>;
|
|
78
|
-
export declare const de_AssumeRoleWithWebIdentityCommand: (
|
|
79
|
-
output: __HttpResponse,
|
|
80
|
-
context: __SerdeContext
|
|
81
|
-
) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
|
|
82
|
-
export declare const de_DecodeAuthorizationMessageCommand: (
|
|
83
|
-
output: __HttpResponse,
|
|
84
|
-
context: __SerdeContext
|
|
85
|
-
) => Promise<DecodeAuthorizationMessageCommandOutput>;
|
|
86
|
-
export declare const de_GetAccessKeyInfoCommand: (
|
|
87
|
-
output: __HttpResponse,
|
|
88
|
-
context: __SerdeContext
|
|
89
|
-
) => Promise<GetAccessKeyInfoCommandOutput>;
|
|
90
|
-
export declare const de_GetCallerIdentityCommand: (
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
) => Promise<GetCallerIdentityCommandOutput>;
|
|
94
|
-
export declare const de_GetFederationTokenCommand: (
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
) => Promise<GetFederationTokenCommandOutput>;
|
|
98
|
-
export declare const de_GetSessionTokenCommand: (
|
|
99
|
-
output: __HttpResponse,
|
|
100
|
-
context: __SerdeContext
|
|
101
|
-
) => Promise<GetSessionTokenCommandOutput>;
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@smithy/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
|
+
/**
|
|
12
|
+
* serializeAws_queryAssumeRoleCommand
|
|
13
|
+
*/
|
|
14
|
+
export declare const se_AssumeRoleCommand: (input: AssumeRoleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
|
+
/**
|
|
16
|
+
* serializeAws_queryAssumeRoleWithSAMLCommand
|
|
17
|
+
*/
|
|
18
|
+
export declare const se_AssumeRoleWithSAMLCommand: (input: AssumeRoleWithSAMLCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
+
/**
|
|
20
|
+
* serializeAws_queryAssumeRoleWithWebIdentityCommand
|
|
21
|
+
*/
|
|
22
|
+
export declare const se_AssumeRoleWithWebIdentityCommand: (input: AssumeRoleWithWebIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
/**
|
|
24
|
+
* serializeAws_queryDecodeAuthorizationMessageCommand
|
|
25
|
+
*/
|
|
26
|
+
export declare const se_DecodeAuthorizationMessageCommand: (input: DecodeAuthorizationMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
|
+
/**
|
|
28
|
+
* serializeAws_queryGetAccessKeyInfoCommand
|
|
29
|
+
*/
|
|
30
|
+
export declare const se_GetAccessKeyInfoCommand: (input: GetAccessKeyInfoCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
|
+
/**
|
|
32
|
+
* serializeAws_queryGetCallerIdentityCommand
|
|
33
|
+
*/
|
|
34
|
+
export declare const se_GetCallerIdentityCommand: (input: GetCallerIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
|
+
/**
|
|
36
|
+
* serializeAws_queryGetFederationTokenCommand
|
|
37
|
+
*/
|
|
38
|
+
export declare const se_GetFederationTokenCommand: (input: GetFederationTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
|
+
/**
|
|
40
|
+
* serializeAws_queryGetSessionTokenCommand
|
|
41
|
+
*/
|
|
42
|
+
export declare const se_GetSessionTokenCommand: (input: GetSessionTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
43
|
+
/**
|
|
44
|
+
* deserializeAws_queryAssumeRoleCommand
|
|
45
|
+
*/
|
|
46
|
+
export declare const de_AssumeRoleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleCommandOutput>;
|
|
47
|
+
/**
|
|
48
|
+
* deserializeAws_queryAssumeRoleWithSAMLCommand
|
|
49
|
+
*/
|
|
50
|
+
export declare const de_AssumeRoleWithSAMLCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithSAMLCommandOutput>;
|
|
51
|
+
/**
|
|
52
|
+
* deserializeAws_queryAssumeRoleWithWebIdentityCommand
|
|
53
|
+
*/
|
|
54
|
+
export declare const de_AssumeRoleWithWebIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
|
|
55
|
+
/**
|
|
56
|
+
* deserializeAws_queryDecodeAuthorizationMessageCommand
|
|
57
|
+
*/
|
|
58
|
+
export declare const de_DecodeAuthorizationMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DecodeAuthorizationMessageCommandOutput>;
|
|
59
|
+
/**
|
|
60
|
+
* deserializeAws_queryGetAccessKeyInfoCommand
|
|
61
|
+
*/
|
|
62
|
+
export declare const de_GetAccessKeyInfoCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAccessKeyInfoCommandOutput>;
|
|
63
|
+
/**
|
|
64
|
+
* deserializeAws_queryGetCallerIdentityCommand
|
|
65
|
+
*/
|
|
66
|
+
export declare const de_GetCallerIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCallerIdentityCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* deserializeAws_queryGetFederationTokenCommand
|
|
69
|
+
*/
|
|
70
|
+
export declare const de_GetFederationTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFederationTokenCommandOutput>;
|
|
71
|
+
/**
|
|
72
|
+
* deserializeAws_queryGetSessionTokenCommand
|
|
73
|
+
*/
|
|
74
|
+
export declare const de_GetSessionTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSessionTokenCommandOutput>;
|
|
@@ -1,95 +1,43 @@
|
|
|
1
|
-
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
-
import { STSClientConfig } from "./STSClient";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
input: any
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import("@aws-sdk/types").
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
| (import("@aws-sdk/types").
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
| import("@aws-sdk/types").EndpointV2
|
|
45
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
46
|
-
) &
|
|
47
|
-
(
|
|
48
|
-
| string
|
|
49
|
-
| import("@aws-sdk/types").Provider<string>
|
|
50
|
-
| import("@aws-sdk/types").Endpoint
|
|
51
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
52
|
-
| import("@aws-sdk/types").EndpointV2
|
|
53
|
-
| import("@aws-sdk/types").Provider<
|
|
54
|
-
import("@aws-sdk/types").EndpointV2
|
|
55
|
-
>
|
|
56
|
-
))
|
|
57
|
-
| undefined;
|
|
58
|
-
endpointProvider: (
|
|
59
|
-
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
60
|
-
context?: {
|
|
61
|
-
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
62
|
-
}
|
|
63
|
-
) => import("@aws-sdk/types").EndpointV2;
|
|
64
|
-
tls?: boolean | undefined;
|
|
65
|
-
retryStrategy?:
|
|
66
|
-
| import("@aws-sdk/types").RetryStrategy
|
|
67
|
-
| import("@aws-sdk/types").RetryStrategyV2
|
|
68
|
-
| undefined;
|
|
69
|
-
credentials?:
|
|
70
|
-
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
71
|
-
| import("@aws-sdk/types").Provider<
|
|
72
|
-
import("@aws-sdk/types").AwsCredentialIdentity
|
|
73
|
-
>
|
|
74
|
-
| undefined;
|
|
75
|
-
signer?:
|
|
76
|
-
| import("@aws-sdk/types").RequestSigner
|
|
77
|
-
| ((
|
|
78
|
-
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
79
|
-
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
80
|
-
| undefined;
|
|
81
|
-
signingEscapePath?: boolean | undefined;
|
|
82
|
-
systemClockOffset?: number | undefined;
|
|
83
|
-
signingRegion?: string | undefined;
|
|
84
|
-
signerConstructor?:
|
|
85
|
-
| (new (
|
|
86
|
-
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
87
|
-
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
88
|
-
) => import("@aws-sdk/types").RequestSigner)
|
|
89
|
-
| undefined;
|
|
90
|
-
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
91
|
-
useGlobalEndpoint?:
|
|
92
|
-
| boolean
|
|
93
|
-
| import("@aws-sdk/types").Provider<boolean>
|
|
94
|
-
| undefined;
|
|
95
|
-
};
|
|
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
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
19
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
20
|
+
apiVersion: string;
|
|
21
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
22
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
26
|
+
disableHostPrefix: boolean;
|
|
27
|
+
serviceId: string;
|
|
28
|
+
logger: import("@aws-sdk/types").Logger;
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
30
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
33
|
+
tls?: boolean | undefined;
|
|
34
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
|
|
35
|
+
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
36
|
+
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
37
|
+
signingEscapePath?: boolean | undefined;
|
|
38
|
+
systemClockOffset?: number | undefined;
|
|
39
|
+
signingRegion?: string | undefined;
|
|
40
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
41
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
42
|
+
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
43
|
+
};
|
|
@@ -1,93 +1,43 @@
|
|
|
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
|
-
import("@aws-sdk/types").UserAgent
|
|
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
|
-
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
) &
|
|
45
|
-
(
|
|
46
|
-
| string
|
|
47
|
-
| import("@aws-sdk/types").Provider<string>
|
|
48
|
-
| import("@aws-sdk/types").Endpoint
|
|
49
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
50
|
-
| import("@aws-sdk/types").EndpointV2
|
|
51
|
-
| import("@aws-sdk/types").Provider<
|
|
52
|
-
import("@aws-sdk/types").EndpointV2
|
|
53
|
-
>
|
|
54
|
-
))
|
|
55
|
-
| undefined;
|
|
56
|
-
endpointProvider: (
|
|
57
|
-
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
58
|
-
context?: {
|
|
59
|
-
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
60
|
-
}
|
|
61
|
-
) => import("@aws-sdk/types").EndpointV2;
|
|
62
|
-
tls?: boolean | undefined;
|
|
63
|
-
retryStrategy?:
|
|
64
|
-
| import("@aws-sdk/types").RetryStrategy
|
|
65
|
-
| import("@aws-sdk/types").RetryStrategyV2
|
|
66
|
-
| undefined;
|
|
67
|
-
credentials?:
|
|
68
|
-
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
69
|
-
| import("@aws-sdk/types").Provider<
|
|
70
|
-
import("@aws-sdk/types").AwsCredentialIdentity
|
|
71
|
-
>
|
|
72
|
-
| undefined;
|
|
73
|
-
signer?:
|
|
74
|
-
| import("@aws-sdk/types").RequestSigner
|
|
75
|
-
| ((
|
|
76
|
-
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
77
|
-
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
78
|
-
| undefined;
|
|
79
|
-
signingEscapePath?: boolean | undefined;
|
|
80
|
-
systemClockOffset?: number | undefined;
|
|
81
|
-
signingRegion?: string | undefined;
|
|
82
|
-
signerConstructor?:
|
|
83
|
-
| (new (
|
|
84
|
-
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
85
|
-
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
86
|
-
) => import("@aws-sdk/types").RequestSigner)
|
|
87
|
-
| undefined;
|
|
88
|
-
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
89
|
-
useGlobalEndpoint?:
|
|
90
|
-
| boolean
|
|
91
|
-
| import("@aws-sdk/types").Provider<boolean>
|
|
92
|
-
| undefined;
|
|
93
|
-
};
|
|
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
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider: import("./defaultStsRoleAssumers").DefaultCredentialProvider;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
apiVersion: string;
|
|
21
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
22
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
26
|
+
disableHostPrefix: boolean;
|
|
27
|
+
serviceId: string;
|
|
28
|
+
logger: import("@aws-sdk/types").Logger;
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
30
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
33
|
+
tls?: boolean | undefined;
|
|
34
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
|
|
35
|
+
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
36
|
+
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
37
|
+
signingEscapePath?: boolean | undefined;
|
|
38
|
+
systemClockOffset?: number | undefined;
|
|
39
|
+
signingRegion?: string | undefined;
|
|
40
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
41
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
42
|
+
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
43
|
+
};
|
|
@@ -1,84 +1,42 @@
|
|
|
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
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
|
42
|
-
|
|
43
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
|
-
| import("@aws-sdk/types").EndpointV2
|
|
45
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
46
|
-
| undefined;
|
|
47
|
-
endpointProvider: (
|
|
48
|
-
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
49
|
-
context?: {
|
|
50
|
-
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
51
|
-
}
|
|
52
|
-
) => import("@aws-sdk/types").EndpointV2;
|
|
53
|
-
tls?: boolean | undefined;
|
|
54
|
-
retryStrategy?:
|
|
55
|
-
| import("@aws-sdk/types").RetryStrategy
|
|
56
|
-
| import("@aws-sdk/types").RetryStrategyV2
|
|
57
|
-
| undefined;
|
|
58
|
-
credentials?:
|
|
59
|
-
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
60
|
-
| import("@aws-sdk/types").Provider<
|
|
61
|
-
import("@aws-sdk/types").AwsCredentialIdentity
|
|
62
|
-
>
|
|
63
|
-
| undefined;
|
|
64
|
-
signer?:
|
|
65
|
-
| import("@aws-sdk/types").RequestSigner
|
|
66
|
-
| ((
|
|
67
|
-
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
68
|
-
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
69
|
-
| undefined;
|
|
70
|
-
signingEscapePath?: boolean | undefined;
|
|
71
|
-
systemClockOffset?: number | undefined;
|
|
72
|
-
signingRegion?: string | undefined;
|
|
73
|
-
signerConstructor?:
|
|
74
|
-
| (new (
|
|
75
|
-
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
76
|
-
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
77
|
-
) => import("@aws-sdk/types").RequestSigner)
|
|
78
|
-
| undefined;
|
|
79
|
-
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
80
|
-
useGlobalEndpoint?:
|
|
81
|
-
| boolean
|
|
82
|
-
| import("@aws-sdk/types").Provider<boolean>
|
|
83
|
-
| undefined;
|
|
84
|
-
};
|
|
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("@smithy/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("@smithy/types").StreamCollector;
|
|
13
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
14
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
15
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
16
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
17
|
+
disableHostPrefix: boolean;
|
|
18
|
+
serviceId: string;
|
|
19
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
20
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
21
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
22
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
23
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
24
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
25
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
|
+
logger: import("@aws-sdk/types").Logger;
|
|
27
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").EndpointV2 | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@smithy/types").Provider<import("@smithy/types").Endpoint>) | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>) | undefined;
|
|
29
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
30
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
31
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
32
|
+
tls?: boolean | undefined;
|
|
33
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
|
|
34
|
+
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
35
|
+
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
36
|
+
signingEscapePath?: boolean | undefined;
|
|
37
|
+
systemClockOffset?: number | undefined;
|
|
38
|
+
signingRegion?: string | undefined;
|
|
39
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
40
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
41
|
+
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
42
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { STSClientConfig } from "./STSClient";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
1
|
+
import { STSClientConfig } from "./STSClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
9
|
+
disableHostPrefix: boolean;
|
|
10
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
12
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
13
|
+
logger: import("@aws-sdk/types").Logger;
|
|
14
|
+
serviceId: string;
|
|
15
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
|
+
};
|