@aws-sdk/client-sts 3.193.0 → 3.194.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/CHANGELOG.md +11 -0
- package/dist-cjs/STSClient.js +11 -8
- package/dist-cjs/commands/AssumeRoleCommand.js +11 -0
- package/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +11 -0
- package/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +11 -0
- package/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +11 -0
- package/dist-cjs/commands/GetAccessKeyInfoCommand.js +11 -0
- package/dist-cjs/commands/GetCallerIdentityCommand.js +11 -0
- package/dist-cjs/commands/GetFederationTokenCommand.js +11 -0
- package/dist-cjs/commands/GetSessionTokenCommand.js +11 -0
- package/dist-cjs/endpoint/EndpointParameters.js +14 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +879 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/STSClient.js +12 -9
- package/dist-es/commands/AssumeRoleCommand.js +11 -0
- package/dist-es/commands/AssumeRoleWithSAMLCommand.js +11 -0
- package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +11 -0
- package/dist-es/commands/DecodeAuthorizationMessageCommand.js +11 -0
- package/dist-es/commands/GetAccessKeyInfoCommand.js +11 -0
- package/dist-es/commands/GetCallerIdentityCommand.js +11 -0
- package/dist-es/commands/GetFederationTokenCommand.js +11 -0
- package/dist-es/commands/GetSessionTokenCommand.js +11 -0
- package/dist-es/endpoint/EndpointParameters.js +9 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +876 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/STSClient.d.ts +6 -9
- package/dist-types/commands/AssumeRoleCommand.d.ts +2 -0
- package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +2 -0
- package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -0
- package/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -0
- package/dist-types/commands/GetAccessKeyInfoCommand.d.ts +2 -0
- package/dist-types/commands/GetCallerIdentityCommand.d.ts +2 -0
- package/dist-types/commands/GetFederationTokenCommand.d.ts +2 -0
- package/dist-types/commands/GetSessionTokenCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +21 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +5 -2
- package/dist-types/runtimeConfig.d.ts +5 -2
- package/dist-types/runtimeConfig.native.d.ts +5 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/STSClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +28 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +18 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +18 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +3 -1
- package/dist-cjs/endpoints.js +0 -195
- package/dist-es/endpoints.js +0 -191
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
-
import {
|
|
2
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
3
|
export const getRuntimeConfig = (config) => ({
|
|
4
4
|
apiVersion: "2011-06-15",
|
|
5
5
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
6
7
|
logger: config?.logger ?? {},
|
|
7
|
-
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
8
8
|
serviceId: config?.serviceId ?? "STS",
|
|
9
9
|
urlParser: config?.urlParser ?? parseUrl,
|
|
10
10
|
});
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
2
3
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
5
|
import { StsAuthInputConfig, StsAuthResolvedConfig } from "@aws-sdk/middleware-sdk-sts";
|
|
5
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
8
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider,
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
10
|
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
|
10
11
|
import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
|
|
11
12
|
import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
@@ -14,6 +15,7 @@ import { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "./c
|
|
|
14
15
|
import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "./commands/GetCallerIdentityCommand";
|
|
15
16
|
import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "./commands/GetFederationTokenCommand";
|
|
16
17
|
import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "./commands/GetSessionTokenCommand";
|
|
18
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
17
19
|
export declare type ServiceInputTypes = AssumeRoleCommandInput | AssumeRoleWithSAMLCommandInput | AssumeRoleWithWebIdentityCommandInput | DecodeAuthorizationMessageCommandInput | GetAccessKeyInfoCommandInput | GetCallerIdentityCommandInput | GetFederationTokenCommandInput | GetSessionTokenCommandInput;
|
|
18
20
|
export declare type ServiceOutputTypes = AssumeRoleCommandOutput | AssumeRoleWithSAMLCommandOutput | AssumeRoleWithWebIdentityCommandOutput | DecodeAuthorizationMessageCommandOutput | GetAccessKeyInfoCommandOutput | GetCallerIdentityCommandOutput | GetFederationTokenCommandOutput | GetSessionTokenCommandOutput;
|
|
19
21
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -106,11 +108,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
106
108
|
* @internal
|
|
107
109
|
*/
|
|
108
110
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
109
|
-
/**
|
|
110
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
114
111
|
/**
|
|
115
112
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
116
113
|
* @internal
|
|
@@ -121,13 +118,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
121
118
|
*/
|
|
122
119
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
123
120
|
}
|
|
124
|
-
declare type STSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig &
|
|
121
|
+
declare type STSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & StsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
125
122
|
/**
|
|
126
123
|
* The configuration interface of STSClient class constructor that set the region, credentials and other options.
|
|
127
124
|
*/
|
|
128
125
|
export interface STSClientConfig extends STSClientConfigType {
|
|
129
126
|
}
|
|
130
|
-
declare type STSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig &
|
|
127
|
+
declare type STSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & StsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
131
128
|
/**
|
|
132
129
|
* The resolved configuration interface of STSClient class. This is resolved and normalized from the {@link STSClientConfig | constructor configuration interface}.
|
|
133
130
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
|
|
@@ -114,6 +115,7 @@ export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataB
|
|
|
114
115
|
*/
|
|
115
116
|
export declare class AssumeRoleCommand extends $Command<AssumeRoleCommandInput, AssumeRoleCommandOutput, STSClientResolvedConfig> {
|
|
116
117
|
readonly input: AssumeRoleCommandInput;
|
|
118
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
117
119
|
constructor(input: AssumeRoleCommandInput);
|
|
118
120
|
/**
|
|
119
121
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AssumeRoleWithSAMLRequest, AssumeRoleWithSAMLResponse } from "../models/models_0";
|
|
@@ -156,6 +157,7 @@ export interface AssumeRoleWithSAMLCommandOutput extends AssumeRoleWithSAMLRespo
|
|
|
156
157
|
*/
|
|
157
158
|
export declare class AssumeRoleWithSAMLCommand extends $Command<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, STSClientResolvedConfig> {
|
|
158
159
|
readonly input: AssumeRoleWithSAMLCommandInput;
|
|
160
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
159
161
|
constructor(input: AssumeRoleWithSAMLCommandInput);
|
|
160
162
|
/**
|
|
161
163
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse } from "../models/models_0";
|
|
@@ -160,6 +161,7 @@ export interface AssumeRoleWithWebIdentityCommandOutput extends AssumeRoleWithWe
|
|
|
160
161
|
*/
|
|
161
162
|
export declare class AssumeRoleWithWebIdentityCommand extends $Command<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, STSClientResolvedConfig> {
|
|
162
163
|
readonly input: AssumeRoleWithWebIdentityCommandInput;
|
|
164
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
163
165
|
constructor(input: AssumeRoleWithWebIdentityCommandInput);
|
|
164
166
|
/**
|
|
165
167
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { DecodeAuthorizationMessageRequest, DecodeAuthorizationMessageResponse } from "../models/models_0";
|
|
@@ -60,6 +61,7 @@ export interface DecodeAuthorizationMessageCommandOutput extends DecodeAuthoriza
|
|
|
60
61
|
*/
|
|
61
62
|
export declare class DecodeAuthorizationMessageCommand extends $Command<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig> {
|
|
62
63
|
readonly input: DecodeAuthorizationMessageCommandInput;
|
|
64
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
63
65
|
constructor(input: DecodeAuthorizationMessageCommandInput);
|
|
64
66
|
/**
|
|
65
67
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetAccessKeyInfoRequest, GetAccessKeyInfoResponse } from "../models/models_0";
|
|
@@ -42,6 +43,7 @@ export interface GetAccessKeyInfoCommandOutput extends GetAccessKeyInfoResponse,
|
|
|
42
43
|
*/
|
|
43
44
|
export declare class GetAccessKeyInfoCommand extends $Command<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig> {
|
|
44
45
|
readonly input: GetAccessKeyInfoCommandInput;
|
|
46
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
45
47
|
constructor(input: GetAccessKeyInfoCommandInput);
|
|
46
48
|
/**
|
|
47
49
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0";
|
|
@@ -34,6 +35,7 @@ export interface GetCallerIdentityCommandOutput extends GetCallerIdentityRespons
|
|
|
34
35
|
*/
|
|
35
36
|
export declare class GetCallerIdentityCommand extends $Command<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, STSClientResolvedConfig> {
|
|
36
37
|
readonly input: GetCallerIdentityCommandInput;
|
|
38
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
37
39
|
constructor(input: GetCallerIdentityCommandInput);
|
|
38
40
|
/**
|
|
39
41
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_0";
|
|
@@ -110,6 +111,7 @@ export interface GetFederationTokenCommandOutput extends GetFederationTokenRespo
|
|
|
110
111
|
*/
|
|
111
112
|
export declare class GetFederationTokenCommand extends $Command<GetFederationTokenCommandInput, GetFederationTokenCommandOutput, STSClientResolvedConfig> {
|
|
112
113
|
readonly input: GetFederationTokenCommandInput;
|
|
114
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
113
115
|
constructor(input: GetFederationTokenCommandInput);
|
|
114
116
|
/**
|
|
115
117
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetSessionTokenRequest, GetSessionTokenResponse } from "../models/models_0";
|
|
@@ -83,6 +84,7 @@ export interface GetSessionTokenCommandOutput extends GetSessionTokenResponse, _
|
|
|
83
84
|
*/
|
|
84
85
|
export declare class GetSessionTokenCommand extends $Command<GetSessionTokenCommandInput, GetSessionTokenCommandOutput, STSClientResolvedConfig> {
|
|
85
86
|
readonly input: GetSessionTokenCommandInput;
|
|
87
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
86
88
|
constructor(input: GetSessionTokenCommandInput);
|
|
87
89
|
/**
|
|
88
90
|
* @internal
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
|
|
2
|
+
export interface ClientInputEndpointParameters {
|
|
3
|
+
region?: string | Provider<string>;
|
|
4
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
5
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
endpoint?: string | Provider<string>;
|
|
7
|
+
useGlobalEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
}
|
|
9
|
+
export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
10
|
+
defaultSigningName: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
13
|
+
defaultSigningName: string;
|
|
14
|
+
};
|
|
15
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
16
|
+
Region?: string;
|
|
17
|
+
UseDualStack?: boolean;
|
|
18
|
+
UseFIPS?: boolean;
|
|
19
|
+
Endpoint?: string;
|
|
20
|
+
UseGlobalEndpoint?: boolean;
|
|
21
|
+
}
|
|
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
29
|
-
|
|
30
|
-
|
|
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("@aws-sdk/types").Provider<string>)) | undefined;
|
|
30
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
31
33
|
tls?: boolean | undefined;
|
|
32
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
33
35
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -37,4 +39,5 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
37
39
|
signingRegion?: string | undefined;
|
|
38
40
|
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
39
41
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
42
|
+
useGlobalEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined;
|
|
40
43
|
};
|
|
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
29
|
-
|
|
30
|
-
|
|
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("@aws-sdk/types").Provider<string>)) | undefined;
|
|
30
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
31
33
|
tls?: boolean | undefined;
|
|
32
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
33
35
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -37,4 +39,5 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
37
39
|
signingRegion?: string | undefined;
|
|
38
40
|
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
39
41
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
42
|
+
useGlobalEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined;
|
|
40
43
|
};
|
|
@@ -23,10 +23,12 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
23
23
|
serviceId: string;
|
|
24
24
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
26
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
27
|
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
|
|
28
|
+
endpoint?: string | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Endpoint & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").EndpointV2 & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@aws-sdk/types").Provider<string>) | undefined;
|
|
29
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
30
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
31
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
30
32
|
tls?: boolean | undefined;
|
|
31
33
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
32
34
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -36,4 +38,5 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
36
38
|
signingRegion?: string | undefined;
|
|
37
39
|
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
38
40
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
41
|
+
useGlobalEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined;
|
|
39
42
|
};
|
|
@@ -6,8 +6,10 @@ import { STSClientConfig } from "./STSClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
disableHostPrefix: boolean;
|
|
9
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
10
|
+
logger?: __Logger | undefined;
|
|
11
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
9
12
|
logger: __Logger;
|
|
10
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
11
13
|
serviceId: string;
|
|
12
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
13
15
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
2
|
RegionInputConfig,
|
|
5
3
|
RegionResolvedConfig,
|
|
6
4
|
} from "@aws-sdk/config-resolver";
|
|
5
|
+
import {
|
|
6
|
+
EndpointInputConfig,
|
|
7
|
+
EndpointResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-endpoint";
|
|
7
9
|
import {
|
|
8
10
|
HostHeaderInputConfig,
|
|
9
11
|
HostHeaderResolvedConfig,
|
|
@@ -37,7 +39,6 @@ import {
|
|
|
37
39
|
Logger as __Logger,
|
|
38
40
|
Provider as __Provider,
|
|
39
41
|
Provider,
|
|
40
|
-
RegionInfoProvider,
|
|
41
42
|
StreamCollector as __StreamCollector,
|
|
42
43
|
UrlParser as __UrlParser,
|
|
43
44
|
UserAgent as __UserAgent,
|
|
@@ -74,6 +75,11 @@ import {
|
|
|
74
75
|
GetSessionTokenCommandInput,
|
|
75
76
|
GetSessionTokenCommandOutput,
|
|
76
77
|
} from "./commands/GetSessionTokenCommand";
|
|
78
|
+
import {
|
|
79
|
+
ClientInputEndpointParameters,
|
|
80
|
+
ClientResolvedEndpointParameters,
|
|
81
|
+
EndpointParameters,
|
|
82
|
+
} from "./endpoint/EndpointParameters";
|
|
77
83
|
export declare type ServiceInputTypes =
|
|
78
84
|
| AssumeRoleCommandInput
|
|
79
85
|
| AssumeRoleWithSAMLCommandInput
|
|
@@ -113,7 +119,6 @@ export interface ClientDefaults
|
|
|
113
119
|
serviceId?: string;
|
|
114
120
|
region?: string | __Provider<string>;
|
|
115
121
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
116
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
117
122
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
118
123
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
119
124
|
}
|
|
@@ -122,21 +127,23 @@ declare type STSClientConfigType = Partial<
|
|
|
122
127
|
> &
|
|
123
128
|
ClientDefaults &
|
|
124
129
|
RegionInputConfig &
|
|
125
|
-
|
|
130
|
+
EndpointInputConfig<EndpointParameters> &
|
|
126
131
|
RetryInputConfig &
|
|
127
132
|
HostHeaderInputConfig &
|
|
128
133
|
StsAuthInputConfig &
|
|
129
|
-
UserAgentInputConfig
|
|
134
|
+
UserAgentInputConfig &
|
|
135
|
+
ClientInputEndpointParameters;
|
|
130
136
|
export interface STSClientConfig extends STSClientConfigType {}
|
|
131
137
|
declare type STSClientResolvedConfigType =
|
|
132
138
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
133
139
|
Required<ClientDefaults> &
|
|
134
140
|
RegionResolvedConfig &
|
|
135
|
-
|
|
141
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
136
142
|
RetryResolvedConfig &
|
|
137
143
|
HostHeaderResolvedConfig &
|
|
138
144
|
StsAuthResolvedConfig &
|
|
139
|
-
UserAgentResolvedConfig
|
|
145
|
+
UserAgentResolvedConfig &
|
|
146
|
+
ClientResolvedEndpointParameters;
|
|
140
147
|
export interface STSClientResolvedConfig extends STSClientResolvedConfigType {}
|
|
141
148
|
export declare class STSClient extends __Client<
|
|
142
149
|
__HttpHandlerOptions,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -21,6 +22,7 @@ export declare class AssumeRoleCommand extends $Command<
|
|
|
21
22
|
STSClientResolvedConfig
|
|
22
23
|
> {
|
|
23
24
|
readonly input: AssumeRoleCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
24
26
|
constructor(input: AssumeRoleCommandInput);
|
|
25
27
|
resolveMiddleware(
|
|
26
28
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class AssumeRoleWithSAMLCommand extends $Command<
|
|
|
25
26
|
STSClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: AssumeRoleWithSAMLCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: AssumeRoleWithSAMLCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class AssumeRoleWithWebIdentityCommand extends $Command<
|
|
|
25
26
|
STSClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: AssumeRoleWithWebIdentityCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: AssumeRoleWithWebIdentityCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class DecodeAuthorizationMessageCommand extends $Command<
|
|
|
25
26
|
STSClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: DecodeAuthorizationMessageCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DecodeAuthorizationMessageCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class GetAccessKeyInfoCommand extends $Command<
|
|
|
24
25
|
STSClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: GetAccessKeyInfoCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: GetAccessKeyInfoCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class GetCallerIdentityCommand extends $Command<
|
|
|
25
26
|
STSClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: GetCallerIdentityCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetCallerIdentityCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class GetFederationTokenCommand extends $Command<
|
|
|
25
26
|
STSClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: GetFederationTokenCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetFederationTokenCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class GetSessionTokenCommand extends $Command<
|
|
|
24
25
|
STSClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: GetSessionTokenCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: GetSessionTokenCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EndpointParameters as __EndpointParameters,
|
|
3
|
+
Provider,
|
|
4
|
+
} from "@aws-sdk/types";
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string>;
|
|
10
|
+
useGlobalEndpoint?: boolean | Provider<boolean>;
|
|
11
|
+
}
|
|
12
|
+
export declare type ClientResolvedEndpointParameters =
|
|
13
|
+
ClientInputEndpointParameters & {
|
|
14
|
+
defaultSigningName: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
17
|
+
options: T & ClientInputEndpointParameters
|
|
18
|
+
) => T &
|
|
19
|
+
ClientInputEndpointParameters & {
|
|
20
|
+
defaultSigningName: string;
|
|
21
|
+
};
|
|
22
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
23
|
+
Region?: string;
|
|
24
|
+
UseDualStack?: boolean;
|
|
25
|
+
UseFIPS?: boolean;
|
|
26
|
+
Endpoint?: string;
|
|
27
|
+
UseGlobalEndpoint?: boolean;
|
|
28
|
+
}
|
|
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
39
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
40
39
|
endpoint?:
|
|
41
|
-
|
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
| ((
|
|
41
|
+
| string
|
|
42
|
+
| import("@aws-sdk/types").Endpoint
|
|
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
|
+
) &
|
|
47
|
+
(string | import("@aws-sdk/types").Provider<string>))
|
|
44
48
|
| undefined;
|
|
49
|
+
endpointProvider: (
|
|
50
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
51
|
+
context?: {
|
|
52
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
53
|
+
}
|
|
54
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
45
55
|
tls?: boolean | undefined;
|
|
46
56
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
47
57
|
credentials?:
|
|
@@ -64,4 +74,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
64
74
|
) => import("@aws-sdk/types").RequestSigner)
|
|
65
75
|
| undefined;
|
|
66
76
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
77
|
+
useGlobalEndpoint?:
|
|
78
|
+
| boolean
|
|
79
|
+
| import("@aws-sdk/types").Provider<boolean>
|
|
80
|
+
| undefined;
|
|
67
81
|
};
|
|
@@ -34,12 +34,22 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
34
34
|
disableHostPrefix: boolean;
|
|
35
35
|
logger: import("@aws-sdk/types").Logger;
|
|
36
36
|
serviceId: string;
|
|
37
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
38
37
|
endpoint?:
|
|
39
|
-
|
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
| ((
|
|
39
|
+
| string
|
|
40
|
+
| import("@aws-sdk/types").Endpoint
|
|
41
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
42
|
+
| import("@aws-sdk/types").EndpointV2
|
|
43
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
44
|
+
) &
|
|
45
|
+
(string | import("@aws-sdk/types").Provider<string>))
|
|
42
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;
|
|
43
53
|
tls?: boolean | undefined;
|
|
44
54
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
45
55
|
credentials?:
|
|
@@ -62,4 +72,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
62
72
|
) => import("@aws-sdk/types").RequestSigner)
|
|
63
73
|
| undefined;
|
|
64
74
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
75
|
+
useGlobalEndpoint?:
|
|
76
|
+
| boolean
|
|
77
|
+
| import("@aws-sdk/types").Provider<boolean>
|
|
78
|
+
| undefined;
|
|
65
79
|
};
|
|
@@ -29,7 +29,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
29
29
|
credentialDefaultProvider: (
|
|
30
30
|
input: any
|
|
31
31
|
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
32
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
33
32
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
34
33
|
import("@aws-sdk/types").UserAgent
|
|
35
34
|
>;
|
|
@@ -40,9 +39,21 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
40
39
|
>;
|
|
41
40
|
endpoint?:
|
|
42
41
|
| string
|
|
43
|
-
| import("@aws-sdk/types").Endpoint
|
|
44
|
-
|
|
42
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
|
|
43
|
+
import("@aws-sdk/types").Provider<string>)
|
|
44
|
+
| (import("@aws-sdk/types").Endpoint &
|
|
45
|
+
import("@aws-sdk/types").Provider<string>)
|
|
46
|
+
| (import("@aws-sdk/types").EndpointV2 &
|
|
47
|
+
import("@aws-sdk/types").Provider<string>)
|
|
48
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
49
|
+
import("@aws-sdk/types").Provider<string>)
|
|
45
50
|
| undefined;
|
|
51
|
+
endpointProvider: (
|
|
52
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
53
|
+
context?: {
|
|
54
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
55
|
+
}
|
|
56
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
46
57
|
tls?: boolean | undefined;
|
|
47
58
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
48
59
|
credentials?:
|
|
@@ -65,4 +76,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
65
76
|
) => import("@aws-sdk/types").RequestSigner)
|
|
66
77
|
| undefined;
|
|
67
78
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
79
|
+
useGlobalEndpoint?:
|
|
80
|
+
| boolean
|
|
81
|
+
| import("@aws-sdk/types").Provider<boolean>
|
|
82
|
+
| undefined;
|
|
68
83
|
};
|