@aws-sdk/client-sts 3.828.0 → 3.830.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-types/endpoint/EndpointParameters.d.ts +9 -9
- package/dist-types/runtimeConfig.browser.d.ts +3 -3
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +9 -9
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -3
- package/package.json +2 -2
|
@@ -3,11 +3,11 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface ClientInputEndpointParameters {
|
|
6
|
-
region?: string | Provider<string>;
|
|
7
|
-
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
-
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
7
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
8
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
|
-
useGlobalEndpoint?: boolean | Provider<boolean>;
|
|
10
|
+
useGlobalEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
11
11
|
}
|
|
12
12
|
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
13
13
|
defaultSigningName: string;
|
|
@@ -36,9 +36,9 @@ export declare const commonParams: {
|
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
export interface EndpointParameters extends __EndpointParameters {
|
|
39
|
-
Region?: string;
|
|
40
|
-
UseDualStack?: boolean;
|
|
41
|
-
UseFIPS?: boolean;
|
|
42
|
-
Endpoint?: string;
|
|
43
|
-
UseGlobalEndpoint?: boolean;
|
|
39
|
+
Region?: string | undefined;
|
|
40
|
+
UseDualStack?: boolean | undefined;
|
|
41
|
+
UseFIPS?: boolean | undefined;
|
|
42
|
+
Endpoint?: string | undefined;
|
|
43
|
+
UseGlobalEndpoint?: boolean | undefined;
|
|
44
44
|
}
|
|
@@ -15,8 +15,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
19
|
-
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
18
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
cacheMiddleware?: boolean | undefined;
|
|
22
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -55,5 +55,5 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
55
55
|
systemClockOffset?: number;
|
|
56
56
|
signingRegion?: string;
|
|
57
57
|
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
58
|
-
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
|
|
58
|
+
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
59
59
|
};
|
|
@@ -53,5 +53,5 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
53
53
|
systemClockOffset?: number;
|
|
54
54
|
signingRegion?: string;
|
|
55
55
|
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
56
|
-
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
|
|
56
|
+
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
57
57
|
};
|
|
@@ -17,8 +17,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
17
17
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
18
18
|
disableHostPrefix: boolean;
|
|
19
19
|
serviceId: string;
|
|
20
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
21
|
-
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
20
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
21
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
@@ -54,5 +54,5 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
54
54
|
systemClockOffset?: number;
|
|
55
55
|
signingRegion?: string;
|
|
56
56
|
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
57
|
-
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
|
|
57
|
+
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
58
58
|
};
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
Provider,
|
|
6
6
|
} from "@smithy/types";
|
|
7
7
|
export interface ClientInputEndpointParameters {
|
|
8
|
-
region?: string | Provider<string>;
|
|
9
|
-
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
10
|
-
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
10
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
11
11
|
endpoint?:
|
|
12
12
|
| string
|
|
13
13
|
| Provider<string>
|
|
@@ -15,7 +15,7 @@ export interface ClientInputEndpointParameters {
|
|
|
15
15
|
| Provider<Endpoint>
|
|
16
16
|
| EndpointV2
|
|
17
17
|
| Provider<EndpointV2>;
|
|
18
|
-
useGlobalEndpoint?: boolean | Provider<boolean>;
|
|
18
|
+
useGlobalEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
19
19
|
}
|
|
20
20
|
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
21
21
|
defaultSigningName: string;
|
|
@@ -46,9 +46,9 @@ export declare const commonParams: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
export interface EndpointParameters extends __EndpointParameters {
|
|
49
|
-
Region?: string;
|
|
50
|
-
UseDualStack?: boolean;
|
|
51
|
-
UseFIPS?: boolean;
|
|
52
|
-
Endpoint?: string;
|
|
53
|
-
UseGlobalEndpoint?: boolean;
|
|
49
|
+
Region?: string | undefined;
|
|
50
|
+
UseDualStack?: boolean | undefined;
|
|
51
|
+
UseFIPS?: boolean | undefined;
|
|
52
|
+
Endpoint?: string | undefined;
|
|
53
|
+
UseGlobalEndpoint?: boolean | undefined;
|
|
54
54
|
}
|
|
@@ -22,8 +22,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
22
22
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
23
|
sha256: import("@smithy/types").HashConstructor;
|
|
24
24
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
25
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
26
|
-
|
|
25
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
29
|
apiVersion: string;
|
|
28
30
|
cacheMiddleware?: boolean | undefined;
|
|
29
31
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -112,5 +114,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
112
114
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
113
115
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
114
116
|
) => import("@smithy/types").RequestSigner;
|
|
115
|
-
useGlobalEndpoint?:
|
|
117
|
+
useGlobalEndpoint?:
|
|
118
|
+
| boolean
|
|
119
|
+
| undefined
|
|
120
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
116
121
|
};
|
|
@@ -100,5 +100,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
100
100
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
101
101
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
102
102
|
) => import("@smithy/types").RequestSigner;
|
|
103
|
-
useGlobalEndpoint?:
|
|
103
|
+
useGlobalEndpoint?:
|
|
104
|
+
| boolean
|
|
105
|
+
| undefined
|
|
106
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
104
107
|
};
|
|
@@ -19,8 +19,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
19
19
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
20
20
|
disableHostPrefix: boolean;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
23
|
-
|
|
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>);
|
|
24
26
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
27
|
profile?: string;
|
|
26
28
|
defaultUserAgentProvider: (
|
|
@@ -116,5 +118,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
116
118
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
117
119
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
118
120
|
) => import("@smithy/types").RequestSigner;
|
|
119
|
-
useGlobalEndpoint?:
|
|
121
|
+
useGlobalEndpoint?:
|
|
122
|
+
| boolean
|
|
123
|
+
| undefined
|
|
124
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
120
125
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.830.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
25
|
"@aws-sdk/core": "3.826.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.830.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.821.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|