@aws-sdk/client-sts 3.1110.0 → 3.1111.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +45 -45
- package/dist-types/runtimeConfig.d.ts +36 -36
- package/dist-types/runtimeConfig.native.d.ts +44 -44
- package/dist-types/runtimeConfig.shared.d.ts +3 -3
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +72 -74
- package/dist-types/ts3.4/runtimeConfig.d.ts +70 -70
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +76 -78
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +5 -5
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -4,47 +4,32 @@ import type { STSClientConfig } from "./STSClient";
|
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
7
|
+
cacheMiddleware?: boolean;
|
|
8
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
9
|
+
tls?: boolean;
|
|
10
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
11
|
+
serviceConfiguredEndpoint?: never;
|
|
12
|
+
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
13
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
14
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
15
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
16
|
+
sigv4aSigningRegionSet?: string[] | undefined | import("@smithy/types").Provider<string[] | undefined>;
|
|
17
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
18
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
19
|
+
signingEscapePath?: boolean;
|
|
20
|
+
systemClockOffset?: number;
|
|
21
|
+
signingRegion?: string;
|
|
22
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
25
24
|
apiVersion: string;
|
|
26
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
27
|
-
urlParser: import("@smithy/types").UrlParser;
|
|
28
25
|
base64Decoder: import("@smithy/types").Decoder;
|
|
29
26
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
30
|
-
utf8Decoder: import("@smithy/types").Decoder;
|
|
31
|
-
utf8Encoder: (input: Uint8Array | string) => string;
|
|
32
27
|
disableHostPrefix: boolean;
|
|
33
|
-
|
|
34
|
-
profile?: string;
|
|
35
|
-
logger: import("@smithy/types").Logger;
|
|
36
|
-
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
37
|
-
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
38
|
-
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
39
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
40
|
-
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
41
|
-
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
28
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
42
29
|
logger?: import("@smithy/types").Logger;
|
|
43
30
|
}) => import("@smithy/types").EndpointV2;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
serviceConfiguredEndpoint?: never;
|
|
47
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
31
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
48
33
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
49
34
|
schemeId: string;
|
|
50
35
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -54,14 +39,29 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
54
39
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
55
40
|
signer: import("@smithy/core").NoAuthSigner;
|
|
56
41
|
})[];
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
42
|
+
logger: import("@smithy/types").Logger;
|
|
43
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
44
|
+
protocolSettings: {
|
|
45
|
+
[setting: string]: unknown;
|
|
46
|
+
defaultNamespace?: string;
|
|
47
|
+
};
|
|
48
|
+
serviceId: string;
|
|
49
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
50
|
+
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
51
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
52
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
53
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
54
|
+
profile?: string;
|
|
55
|
+
runtime: string;
|
|
56
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
57
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
58
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
59
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
60
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
61
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
62
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
63
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
64
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
65
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
66
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
67
67
|
};
|
|
@@ -7,11 +7,46 @@ import type { STSClientConfig } from "./STSClient";
|
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
9
9
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
10
|
+
cacheMiddleware?: boolean;
|
|
11
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
12
|
+
tls?: boolean;
|
|
13
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
14
|
+
serviceConfiguredEndpoint?: never;
|
|
15
|
+
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
16
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
17
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
18
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
19
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
20
|
+
signingEscapePath?: boolean;
|
|
21
|
+
systemClockOffset?: number;
|
|
22
|
+
signingRegion?: string;
|
|
23
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
|
+
apiVersion: string;
|
|
25
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
26
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
27
|
+
disableHostPrefix: boolean;
|
|
28
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
29
|
+
logger?: import("@smithy/types").Logger;
|
|
30
|
+
}) => import("@smithy/types").EndpointV2;
|
|
31
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
33
|
+
logger: import("@smithy/types").Logger;
|
|
34
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
35
|
+
protocolSettings: {
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
defaultNamespace?: string;
|
|
38
|
+
};
|
|
39
|
+
serviceId: string;
|
|
40
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
41
|
+
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
42
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
43
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
44
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
10
45
|
runtime: string;
|
|
11
46
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
12
47
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
13
48
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
|
-
credentialDefaultProvider: ((
|
|
49
|
+
credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
15
50
|
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
16
51
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
17
52
|
schemeId: string;
|
|
@@ -31,40 +66,5 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
31
66
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
67
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
33
68
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
34
|
-
cacheMiddleware?: boolean | undefined;
|
|
35
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
36
|
-
protocolSettings: {
|
|
37
|
-
defaultNamespace?: string;
|
|
38
|
-
[setting: string]: unknown;
|
|
39
|
-
};
|
|
40
|
-
apiVersion: string;
|
|
41
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
42
|
-
urlParser: import("@smithy/types").UrlParser;
|
|
43
|
-
base64Decoder: import("@smithy/types").Decoder;
|
|
44
|
-
base64Encoder: (_input: Uint8Array | string) => string;
|
|
45
|
-
utf8Decoder: import("@smithy/types").Decoder;
|
|
46
|
-
utf8Encoder: (input: Uint8Array | string) => string;
|
|
47
|
-
disableHostPrefix: boolean;
|
|
48
|
-
serviceId: string;
|
|
49
69
|
profile?: string;
|
|
50
|
-
logger: import("@smithy/types").Logger;
|
|
51
|
-
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
52
|
-
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
53
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
54
|
-
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
55
|
-
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
56
|
-
logger?: import("@smithy/types").Logger;
|
|
57
|
-
}) => import("@smithy/types").EndpointV2;
|
|
58
|
-
tls?: boolean;
|
|
59
|
-
ignoreConfiguredEndpointUrls?: boolean;
|
|
60
|
-
serviceConfiguredEndpoint?: never;
|
|
61
|
-
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
62
|
-
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
63
|
-
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
64
|
-
signingEscapePath?: boolean;
|
|
65
|
-
systemClockOffset?: number;
|
|
66
|
-
signingRegion?: string;
|
|
67
|
-
signerConstructor: typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner);
|
|
68
|
-
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
69
|
-
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
70
70
|
};
|
|
@@ -3,47 +3,32 @@ import type { STSClientConfig } from "./STSClient";
|
|
|
3
3
|
* @internal
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
6
|
-
runtime: string;
|
|
7
|
-
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
8
6
|
cacheMiddleware?: boolean;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
8
|
+
tls?: boolean;
|
|
9
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
10
|
+
serviceConfiguredEndpoint?: never;
|
|
11
|
+
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
12
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
13
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
14
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
15
|
+
sigv4aSigningRegionSet?: string[] | undefined | import("@smithy/types").Provider<string[] | undefined>;
|
|
16
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
17
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
18
|
+
signingEscapePath?: boolean;
|
|
19
|
+
systemClockOffset?: number;
|
|
20
|
+
signingRegion?: string;
|
|
21
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
14
23
|
apiVersion: string;
|
|
15
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
16
|
-
urlParser: import("@smithy/types").UrlParser;
|
|
17
|
-
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
|
-
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
19
24
|
base64Decoder: import("@smithy/types").Decoder;
|
|
20
25
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
21
|
-
utf8Decoder: import("@smithy/types").Decoder;
|
|
22
|
-
utf8Encoder: (input: Uint8Array | string) => string;
|
|
23
26
|
disableHostPrefix: boolean;
|
|
24
|
-
|
|
25
|
-
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
26
|
-
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
28
|
-
profile?: string;
|
|
29
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
30
|
-
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
31
|
-
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
32
|
-
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
|
-
logger: import("@smithy/types").Logger;
|
|
34
|
-
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
35
|
-
defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
36
|
-
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
37
|
-
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
38
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
39
|
-
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
40
|
-
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
27
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
41
28
|
logger?: import("@smithy/types").Logger;
|
|
42
29
|
}) => import("@smithy/types").EndpointV2;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
serviceConfiguredEndpoint?: never;
|
|
46
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
30
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
47
32
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
48
33
|
schemeId: string;
|
|
49
34
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -53,14 +38,29 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
53
38
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
54
39
|
signer: import("@smithy/core").NoAuthSigner;
|
|
55
40
|
})[];
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
41
|
+
logger: import("@smithy/types").Logger;
|
|
42
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
43
|
+
protocolSettings: {
|
|
44
|
+
[setting: string]: unknown;
|
|
45
|
+
defaultNamespace?: string;
|
|
46
|
+
};
|
|
47
|
+
serviceId: string;
|
|
48
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
49
|
+
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
50
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
51
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
52
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
53
|
+
profile?: string;
|
|
54
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode> | import("@smithy/core/client").DefaultsMode;
|
|
55
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
56
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
57
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
58
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
59
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
60
|
+
requestHandler: import("@smithy/fetch-http-handler").FetchHttpHandler | import("@smithy/types").FetchHttpHandlerOptions | import("@smithy/types").NodeHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any>;
|
|
61
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
62
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
63
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
64
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
65
|
+
runtime: string;
|
|
66
66
|
};
|
|
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
12
12
|
base64Decoder: import("@smithy/types").Decoder;
|
|
13
13
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
14
14
|
disableHostPrefix: boolean;
|
|
15
|
-
endpointProvider: (
|
|
15
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
16
16
|
logger?: import("@smithy/types").Logger;
|
|
17
17
|
}) => import("@smithy/types").EndpointV2;
|
|
18
18
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
@@ -27,14 +27,14 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
27
27
|
signer: NoAuthSigner;
|
|
28
28
|
})[];
|
|
29
29
|
logger: import("@smithy/types").Logger;
|
|
30
|
-
protocol: import("@smithy/types")
|
|
30
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof AwsQueryProtocol;
|
|
31
31
|
protocolSettings: {
|
|
32
32
|
[setting: string]: unknown;
|
|
33
33
|
defaultNamespace?: string;
|
|
34
34
|
};
|
|
35
35
|
serviceId: string;
|
|
36
36
|
sha256: import("@smithy/types").HashConstructor;
|
|
37
|
-
signerConstructor:
|
|
37
|
+
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof SignatureV4MultiRegion;
|
|
38
38
|
urlParser: import("@smithy/types").UrlParser;
|
|
39
39
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
40
40
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
@@ -1,79 +1,60 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { STSClientConfig } from "./STSClient";
|
|
3
3
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
4
|
-
|
|
5
|
-
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
-
import("@smithy/core/client").ResolvedDefaultsMode
|
|
7
|
-
>;
|
|
8
|
-
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
|
-
defaultUserAgentProvider: (
|
|
13
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
14
|
-
) => Promise<import("@smithy/types").UserAgent>;
|
|
15
|
-
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
17
|
-
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
18
|
-
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
|
-
streamCollector: (
|
|
20
|
-
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
21
|
-
) => Promise<Uint8Array>;
|
|
22
|
-
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
23
|
-
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
24
|
-
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
25
|
-
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
26
|
-
cacheMiddleware?: boolean | undefined;
|
|
27
|
-
protocol:
|
|
28
|
-
| import("@smithy/types").ClientProtocol<any, any>
|
|
29
|
-
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
30
|
-
| typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
31
|
-
protocolSettings: {
|
|
32
|
-
defaultNamespace?: string;
|
|
33
|
-
[setting: string]: unknown;
|
|
34
|
-
};
|
|
35
|
-
apiVersion: string;
|
|
36
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
37
|
-
urlParser: import("@smithy/types").UrlParser;
|
|
38
|
-
base64Decoder: import("@smithy/types").Decoder;
|
|
39
|
-
base64Encoder: (_input: Uint8Array | string) => string;
|
|
40
|
-
utf8Decoder: import("@smithy/types").Decoder;
|
|
41
|
-
utf8Encoder: (input: Uint8Array | string) => string;
|
|
42
|
-
disableHostPrefix: boolean;
|
|
43
|
-
serviceId: string;
|
|
44
|
-
profile?: string;
|
|
45
|
-
logger: import("@smithy/types").Logger;
|
|
46
|
-
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
47
|
-
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
48
|
-
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
4
|
+
cacheMiddleware?: boolean;
|
|
50
5
|
endpoint?:
|
|
51
6
|
| ((
|
|
52
7
|
| string
|
|
53
8
|
| import("@smithy/types").Endpoint
|
|
54
|
-
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
55
9
|
| import("@smithy/types").EndpointV2
|
|
10
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
56
11
|
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
57
12
|
) &
|
|
58
13
|
(
|
|
59
14
|
| string
|
|
60
|
-
| import("@smithy/types").Provider<string>
|
|
61
15
|
| import("@smithy/types").Endpoint
|
|
62
|
-
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
63
16
|
| import("@smithy/types").EndpointV2
|
|
17
|
+
| import("@smithy/types").Provider<string>
|
|
18
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
64
19
|
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
65
20
|
))
|
|
66
21
|
| undefined;
|
|
22
|
+
tls?: boolean;
|
|
23
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
24
|
+
serviceConfiguredEndpoint?: never;
|
|
25
|
+
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
26
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
27
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
28
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
29
|
+
sigv4aSigningRegionSet?:
|
|
30
|
+
| string[]
|
|
31
|
+
| undefined
|
|
32
|
+
| import("@smithy/types").Provider<string[] | undefined>;
|
|
33
|
+
credentials?:
|
|
34
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
35
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
36
|
+
signer?:
|
|
37
|
+
| import("@smithy/types").RequestSigner
|
|
38
|
+
| ((
|
|
39
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
40
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
41
|
+
signingEscapePath?: boolean;
|
|
42
|
+
systemClockOffset?: number;
|
|
43
|
+
signingRegion?: string;
|
|
44
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
45
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
46
|
+
apiVersion: string;
|
|
47
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
48
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
49
|
+
disableHostPrefix: boolean;
|
|
67
50
|
endpointProvider: (
|
|
68
|
-
|
|
51
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
69
52
|
context?: {
|
|
70
53
|
logger?: import("@smithy/types").Logger;
|
|
71
54
|
},
|
|
72
55
|
) => import("@smithy/types").EndpointV2;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
serviceConfiguredEndpoint?: never;
|
|
76
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
56
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
77
58
|
httpAuthSchemes:
|
|
78
59
|
| import("@smithy/types").HttpAuthScheme[]
|
|
79
60
|
| (
|
|
@@ -96,28 +77,45 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
96
77
|
signer: import("@smithy/core").NoAuthSigner;
|
|
97
78
|
}
|
|
98
79
|
)[];
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
| import("@smithy/types")
|
|
102
|
-
| import("@smithy/types")
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
signingRegion?: string;
|
|
80
|
+
logger: import("@smithy/types").Logger;
|
|
81
|
+
protocol:
|
|
82
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
83
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
84
|
+
| typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
85
|
+
protocolSettings: {
|
|
86
|
+
[setting: string]: unknown;
|
|
87
|
+
defaultNamespace?: string;
|
|
88
|
+
};
|
|
89
|
+
serviceId: string;
|
|
90
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
111
91
|
signerConstructor:
|
|
112
|
-
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion
|
|
113
92
|
| (new (
|
|
114
93
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
115
94
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
116
|
-
) => import("@smithy/types").RequestSigner)
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
95
|
+
) => import("@smithy/types").RequestSigner)
|
|
96
|
+
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
97
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
98
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
99
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
100
|
+
profile?: string;
|
|
101
|
+
runtime: string;
|
|
102
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
103
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
104
|
+
>;
|
|
105
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
106
|
+
credentialDefaultProvider:
|
|
107
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
108
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
109
|
+
defaultUserAgentProvider: (
|
|
110
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
111
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
112
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
113
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
114
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
115
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
116
|
+
streamCollector: (
|
|
117
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
118
|
+
) => Promise<Uint8Array>;
|
|
119
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
120
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
123
121
|
};
|
|
@@ -4,6 +4,74 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
|
4
4
|
import { IdentityProviderConfig } from "@smithy/types";
|
|
5
5
|
import { STSClientConfig } from "./STSClient";
|
|
6
6
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
7
|
+
cacheMiddleware?: boolean;
|
|
8
|
+
endpoint?:
|
|
9
|
+
| ((
|
|
10
|
+
| string
|
|
11
|
+
| import("@smithy/types").Endpoint
|
|
12
|
+
| import("@smithy/types").EndpointV2
|
|
13
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
14
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
15
|
+
) &
|
|
16
|
+
(
|
|
17
|
+
| string
|
|
18
|
+
| import("@smithy/types").Endpoint
|
|
19
|
+
| import("@smithy/types").EndpointV2
|
|
20
|
+
| import("@smithy/types").Provider<string>
|
|
21
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
22
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
23
|
+
))
|
|
24
|
+
| undefined;
|
|
25
|
+
tls?: boolean;
|
|
26
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
27
|
+
serviceConfiguredEndpoint?: never;
|
|
28
|
+
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
29
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
30
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
31
|
+
credentials?:
|
|
32
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
33
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
34
|
+
signer?:
|
|
35
|
+
| import("@smithy/types").RequestSigner
|
|
36
|
+
| ((
|
|
37
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
38
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
39
|
+
signingEscapePath?: boolean;
|
|
40
|
+
systemClockOffset?: number;
|
|
41
|
+
signingRegion?: string;
|
|
42
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
43
|
+
apiVersion: string;
|
|
44
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
45
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
46
|
+
disableHostPrefix: boolean;
|
|
47
|
+
endpointProvider: (
|
|
48
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
49
|
+
context?: {
|
|
50
|
+
logger?: import("@smithy/types").Logger;
|
|
51
|
+
},
|
|
52
|
+
) => import("@smithy/types").EndpointV2;
|
|
53
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
55
|
+
logger: import("@smithy/types").Logger;
|
|
56
|
+
protocol:
|
|
57
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
58
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
59
|
+
| typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
60
|
+
protocolSettings: {
|
|
61
|
+
[setting: string]: unknown;
|
|
62
|
+
defaultNamespace?: string;
|
|
63
|
+
};
|
|
64
|
+
serviceId: string;
|
|
65
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
66
|
+
signerConstructor:
|
|
67
|
+
| (new (
|
|
68
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
69
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
70
|
+
) => import("@smithy/types").RequestSigner)
|
|
71
|
+
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
72
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
73
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
74
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
7
75
|
runtime: string;
|
|
8
76
|
defaultsMode: import("@smithy/types").Provider<
|
|
9
77
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -11,10 +79,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
11
79
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
12
80
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
81
|
credentialDefaultProvider:
|
|
14
|
-
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
15
82
|
| ((
|
|
16
83
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
17
|
-
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
|
|
84
|
+
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
|
|
85
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
18
86
|
defaultUserAgentProvider: (
|
|
19
87
|
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
20
88
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
@@ -51,73 +119,5 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
51
119
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
52
120
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
53
121
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
54
|
-
cacheMiddleware?: boolean | undefined;
|
|
55
|
-
protocol:
|
|
56
|
-
| import("@smithy/types").ClientProtocol<any, any>
|
|
57
|
-
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
58
|
-
| typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
59
|
-
protocolSettings: {
|
|
60
|
-
defaultNamespace?: string;
|
|
61
|
-
[setting: string]: unknown;
|
|
62
|
-
};
|
|
63
|
-
apiVersion: string;
|
|
64
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
65
|
-
urlParser: import("@smithy/types").UrlParser;
|
|
66
|
-
base64Decoder: import("@smithy/types").Decoder;
|
|
67
|
-
base64Encoder: (_input: Uint8Array | string) => string;
|
|
68
|
-
utf8Decoder: import("@smithy/types").Decoder;
|
|
69
|
-
utf8Encoder: (input: Uint8Array | string) => string;
|
|
70
|
-
disableHostPrefix: boolean;
|
|
71
|
-
serviceId: string;
|
|
72
122
|
profile?: string;
|
|
73
|
-
logger: import("@smithy/types").Logger;
|
|
74
|
-
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
75
|
-
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
76
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
77
|
-
endpoint?:
|
|
78
|
-
| ((
|
|
79
|
-
| string
|
|
80
|
-
| import("@smithy/types").Endpoint
|
|
81
|
-
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
82
|
-
| import("@smithy/types").EndpointV2
|
|
83
|
-
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
84
|
-
) &
|
|
85
|
-
(
|
|
86
|
-
| string
|
|
87
|
-
| import("@smithy/types").Provider<string>
|
|
88
|
-
| import("@smithy/types").Endpoint
|
|
89
|
-
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
90
|
-
| import("@smithy/types").EndpointV2
|
|
91
|
-
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
92
|
-
))
|
|
93
|
-
| undefined;
|
|
94
|
-
endpointProvider: (
|
|
95
|
-
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
96
|
-
context?: {
|
|
97
|
-
logger?: import("@smithy/types").Logger;
|
|
98
|
-
},
|
|
99
|
-
) => import("@smithy/types").EndpointV2;
|
|
100
|
-
tls?: boolean;
|
|
101
|
-
ignoreConfiguredEndpointUrls?: boolean;
|
|
102
|
-
serviceConfiguredEndpoint?: never;
|
|
103
|
-
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
104
|
-
credentials?:
|
|
105
|
-
| import("@smithy/types").AwsCredentialIdentity
|
|
106
|
-
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
107
|
-
signer?:
|
|
108
|
-
| import("@smithy/types").RequestSigner
|
|
109
|
-
| ((
|
|
110
|
-
authScheme?: import("@smithy/types").AuthScheme,
|
|
111
|
-
) => Promise<import("@smithy/types").RequestSigner>);
|
|
112
|
-
signingEscapePath?: boolean;
|
|
113
|
-
systemClockOffset?: number;
|
|
114
|
-
signingRegion?: string;
|
|
115
|
-
signerConstructor:
|
|
116
|
-
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion
|
|
117
|
-
| (new (
|
|
118
|
-
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
119
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
120
|
-
) => import("@smithy/types").RequestSigner);
|
|
121
|
-
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
122
|
-
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
123
123
|
};
|
|
@@ -1,83 +1,59 @@
|
|
|
1
1
|
import { STSClientConfig } from "./STSClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
3
|
-
runtime: string;
|
|
4
|
-
requestHandler:
|
|
5
|
-
| import("@smithy/types").NodeHttpHandlerOptions
|
|
6
|
-
| import("@smithy/types").FetchHttpHandlerOptions
|
|
7
|
-
| Record<string, unknown>
|
|
8
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
9
|
-
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
10
3
|
cacheMiddleware?: boolean;
|
|
11
|
-
protocol:
|
|
12
|
-
| import("@smithy/types").ClientProtocol<any, any>
|
|
13
|
-
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
14
|
-
| typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
15
|
-
protocolSettings: {
|
|
16
|
-
defaultNamespace?: string;
|
|
17
|
-
[setting: string]: unknown;
|
|
18
|
-
};
|
|
19
|
-
apiVersion: string;
|
|
20
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
21
|
-
urlParser: import("@smithy/types").UrlParser;
|
|
22
|
-
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
|
-
streamCollector: (
|
|
24
|
-
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
25
|
-
) => Promise<Uint8Array>;
|
|
26
|
-
base64Decoder: import("@smithy/types").Decoder;
|
|
27
|
-
base64Encoder: (_input: Uint8Array | string) => string;
|
|
28
|
-
utf8Decoder: import("@smithy/types").Decoder;
|
|
29
|
-
utf8Encoder: (input: Uint8Array | string) => string;
|
|
30
|
-
disableHostPrefix: boolean;
|
|
31
|
-
serviceId: string;
|
|
32
|
-
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
|
-
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
34
|
-
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
35
|
-
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
36
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
37
|
-
profile?: string;
|
|
38
|
-
defaultUserAgentProvider: (
|
|
39
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
40
|
-
) => Promise<import("@smithy/types").UserAgent>;
|
|
41
|
-
credentialDefaultProvider:
|
|
42
|
-
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
43
|
-
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
44
|
-
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
45
|
-
retryMode: string | import("@smithy/types").Provider<string>;
|
|
46
|
-
logger: import("@smithy/types").Logger;
|
|
47
|
-
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
48
|
-
defaultsMode:
|
|
49
|
-
| import("@smithy/core/client").DefaultsMode
|
|
50
|
-
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
51
|
-
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
52
|
-
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
54
4
|
endpoint?:
|
|
55
5
|
| ((
|
|
56
6
|
| string
|
|
57
7
|
| import("@smithy/types").Endpoint
|
|
58
|
-
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
8
|
| import("@smithy/types").EndpointV2
|
|
9
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
60
10
|
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
11
|
) &
|
|
62
12
|
(
|
|
63
13
|
| string
|
|
64
|
-
| import("@smithy/types").Provider<string>
|
|
65
14
|
| import("@smithy/types").Endpoint
|
|
66
|
-
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
15
|
| import("@smithy/types").EndpointV2
|
|
16
|
+
| import("@smithy/types").Provider<string>
|
|
17
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
68
18
|
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
19
|
))
|
|
70
20
|
| undefined;
|
|
21
|
+
tls?: boolean;
|
|
22
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
23
|
+
serviceConfiguredEndpoint?: never;
|
|
24
|
+
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
25
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
26
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
27
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
28
|
+
sigv4aSigningRegionSet?:
|
|
29
|
+
| string[]
|
|
30
|
+
| undefined
|
|
31
|
+
| import("@smithy/types").Provider<string[] | undefined>;
|
|
32
|
+
credentials?:
|
|
33
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
34
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
35
|
+
signer?:
|
|
36
|
+
| import("@smithy/types").RequestSigner
|
|
37
|
+
| ((
|
|
38
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
39
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
40
|
+
signingEscapePath?: boolean;
|
|
41
|
+
systemClockOffset?: number;
|
|
42
|
+
signingRegion?: string;
|
|
43
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
44
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
|
+
apiVersion: string;
|
|
46
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
47
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
48
|
+
disableHostPrefix: boolean;
|
|
71
49
|
endpointProvider: (
|
|
72
|
-
|
|
50
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
73
51
|
context?: {
|
|
74
52
|
logger?: import("@smithy/types").Logger;
|
|
75
53
|
},
|
|
76
54
|
) => import("@smithy/types").EndpointV2;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
serviceConfiguredEndpoint?: never;
|
|
80
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
55
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
81
57
|
httpAuthSchemes:
|
|
82
58
|
| import("@smithy/types").HttpAuthScheme[]
|
|
83
59
|
| (
|
|
@@ -100,28 +76,50 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
100
76
|
signer: import("@smithy/core").NoAuthSigner;
|
|
101
77
|
}
|
|
102
78
|
)[];
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
| import("@smithy/types")
|
|
106
|
-
| import("@smithy/types")
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
signingRegion?: string;
|
|
79
|
+
logger: import("@smithy/types").Logger;
|
|
80
|
+
protocol:
|
|
81
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
82
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
83
|
+
| typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
84
|
+
protocolSettings: {
|
|
85
|
+
[setting: string]: unknown;
|
|
86
|
+
defaultNamespace?: string;
|
|
87
|
+
};
|
|
88
|
+
serviceId: string;
|
|
89
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
115
90
|
signerConstructor:
|
|
116
|
-
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion
|
|
117
91
|
| (new (
|
|
118
92
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
119
93
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
120
|
-
) => import("@smithy/types").RequestSigner)
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
94
|
+
) => import("@smithy/types").RequestSigner)
|
|
95
|
+
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
96
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
97
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
98
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
99
|
+
profile?: string;
|
|
100
|
+
defaultsMode:
|
|
101
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>
|
|
102
|
+
| import("@smithy/core/client").DefaultsMode;
|
|
103
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
104
|
+
credentialDefaultProvider:
|
|
105
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
106
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
107
|
+
defaultUserAgentProvider: (
|
|
108
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
109
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
110
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
111
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
112
|
+
requestHandler:
|
|
113
|
+
| import("@smithy/fetch-http-handler").FetchHttpHandler
|
|
114
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
115
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
116
|
+
| Record<string, unknown>
|
|
117
|
+
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
118
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
119
|
+
streamCollector: (
|
|
120
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
121
|
+
) => Promise<Uint8Array>;
|
|
122
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
123
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
124
|
+
runtime: string;
|
|
127
125
|
};
|
|
@@ -10,7 +10,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
10
10
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
11
11
|
disableHostPrefix: boolean;
|
|
12
12
|
endpointProvider: (
|
|
13
|
-
|
|
13
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
14
14
|
context?: {
|
|
15
15
|
logger?: import("@smithy/types").Logger;
|
|
16
16
|
},
|
|
@@ -41,8 +41,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
41
41
|
)[];
|
|
42
42
|
logger: import("@smithy/types").Logger;
|
|
43
43
|
protocol:
|
|
44
|
-
| import("@smithy/types")
|
|
45
|
-
| import("@smithy/types")
|
|
44
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
45
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
46
46
|
| typeof AwsQueryProtocol;
|
|
47
47
|
protocolSettings: {
|
|
48
48
|
[setting: string]: unknown;
|
|
@@ -51,11 +51,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
51
51
|
serviceId: string;
|
|
52
52
|
sha256: import("@smithy/types").HashConstructor;
|
|
53
53
|
signerConstructor:
|
|
54
|
-
| typeof SignatureV4MultiRegion
|
|
55
54
|
| (new (
|
|
56
55
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
57
56
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
58
|
-
) => import("@smithy/types").RequestSigner)
|
|
57
|
+
) => import("@smithy/types").RequestSigner)
|
|
58
|
+
| typeof SignatureV4MultiRegion;
|
|
59
59
|
urlParser: import("@smithy/types").UrlParser;
|
|
60
60
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
61
61
|
utf8Encoder: (input: Uint8Array | string) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1111.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@aws-sdk/core": "^3.977.
|
|
56
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
57
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
58
|
-
"@aws-sdk/types": "^3.974.
|
|
55
|
+
"@aws-sdk/core": "^3.977.8",
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.80",
|
|
57
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.45",
|
|
58
|
+
"@aws-sdk/types": "^3.974.4",
|
|
59
59
|
"@smithy/core": "^3.31.1",
|
|
60
60
|
"@smithy/fetch-http-handler": "^5.6.13",
|
|
61
61
|
"@smithy/node-http-handler": "^4.9.13",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"concurrently": "7.0.0",
|
|
70
70
|
"downlevel-dts": "0.10.1",
|
|
71
71
|
"premove": "4.0.0",
|
|
72
|
-
"typescript": "~
|
|
72
|
+
"typescript": "~7.0.2",
|
|
73
73
|
"vitest": "^4.0.17"
|
|
74
74
|
},
|
|
75
75
|
"engines": {
|