@aws-sdk/client-support 3.1171.0 → 3.1173.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
CHANGED
|
@@ -69,44 +69,39 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1172.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
76
|
-
const
|
|
77
|
-
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "
|
|
76
|
+
const l = "ref", m = "authSchemes", n = "signingRegion";
|
|
77
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [l]: "Endpoint" }, h = { [l]: d }, i = { [m]: [{ "name": "sigv4", [n]: "cn-north-1" }] }, j = { [m]: [{ "name": "sigv4", [n]: "{PartitionResult#implicitGlobalRegion}" }] }, k = [{ [l]: "Region" }];
|
|
78
78
|
const _data = {
|
|
79
79
|
conditions: [
|
|
80
|
-
[c, [
|
|
81
|
-
[c,
|
|
82
|
-
["aws.partition",
|
|
83
|
-
[e, [{ [
|
|
84
|
-
[
|
|
85
|
-
[
|
|
86
|
-
[e, [{ fn:
|
|
87
|
-
[f, [
|
|
88
|
-
[f, [k, "aws-us-gov"]],
|
|
89
|
-
[e, [{ fn: g, argv: [l, "supportsFIPS"] }, b]],
|
|
90
|
-
[f, [k, "aws-iso"]],
|
|
91
|
-
[f, [k, "aws-iso-b"]]
|
|
80
|
+
[c, [g]],
|
|
81
|
+
[c, k],
|
|
82
|
+
["aws.partition", k, d],
|
|
83
|
+
[e, [{ [l]: "UseFIPS" }, b]],
|
|
84
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-cn"]],
|
|
85
|
+
[e, [{ [l]: "UseDualStack" }, b]],
|
|
86
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
87
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
92
88
|
],
|
|
93
89
|
results: [
|
|
94
90
|
[a],
|
|
95
91
|
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
96
92
|
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
97
|
-
[
|
|
98
|
-
["https://support.
|
|
99
|
-
["https://support.cn-north-1.amazonaws.com.cn",
|
|
100
|
-
["https://support.
|
|
101
|
-
["https://support.
|
|
102
|
-
["https://support
|
|
103
|
-
["https://support-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", m],
|
|
93
|
+
[g, {}],
|
|
94
|
+
["https://support.cn-north-1.amazonaws.com.cn", i],
|
|
95
|
+
["https://support-fips.cn-north-1.amazonaws.com.cn", i],
|
|
96
|
+
["https://support.cn-north-1.api.amazonwebservices.com.cn", i],
|
|
97
|
+
["https://support-fips.cn-north-1.api.amazonwebservices.com.cn", i],
|
|
98
|
+
["https://support-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", j],
|
|
104
99
|
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
105
|
-
["https://support-fips.{
|
|
100
|
+
["https://support-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", j],
|
|
106
101
|
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
107
|
-
["https://support.{
|
|
102
|
+
["https://support.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", j],
|
|
108
103
|
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
109
|
-
["https://support.{
|
|
104
|
+
["https://support.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", j],
|
|
110
105
|
[a, "Invalid Configuration: Missing Region"]
|
|
111
106
|
]
|
|
112
107
|
};
|
|
@@ -114,24 +109,22 @@ const root = 2;
|
|
|
114
109
|
const r = 100_000_000;
|
|
115
110
|
const nodes = new Int32Array([
|
|
116
111
|
-1, 1, -1,
|
|
117
|
-
0,
|
|
118
|
-
1, 4, r +
|
|
119
|
-
2, 5, r +
|
|
120
|
-
3,
|
|
121
|
-
4,
|
|
122
|
-
5, r +
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
3, r + 1, 19,
|
|
134
|
-
4, r + 2, r + 3,
|
|
112
|
+
0, 16, 3,
|
|
113
|
+
1, 4, r + 15,
|
|
114
|
+
2, 5, r + 15,
|
|
115
|
+
3, 10, 6,
|
|
116
|
+
4, 9, 7,
|
|
117
|
+
5, 8, r + 14,
|
|
118
|
+
6, r + 12, r + 13,
|
|
119
|
+
5, r + 6, r + 4,
|
|
120
|
+
4, 15, 11,
|
|
121
|
+
5, 13, 12,
|
|
122
|
+
7, r + 10, r + 11,
|
|
123
|
+
6, 14, r + 9,
|
|
124
|
+
7, r + 8, r + 9,
|
|
125
|
+
5, r + 7, r + 5,
|
|
126
|
+
3, r + 1, 17,
|
|
127
|
+
5, r + 2, r + 3,
|
|
135
128
|
]);
|
|
136
129
|
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
137
130
|
|
package/dist-es/endpoint/bdd.js
CHANGED
|
@@ -1,38 +1,33 @@
|
|
|
1
1
|
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
|
-
const
|
|
3
|
-
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "
|
|
2
|
+
const l = "ref", m = "authSchemes", n = "signingRegion";
|
|
3
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [l]: "Endpoint" }, h = { [l]: d }, i = { [m]: [{ "name": "sigv4", [n]: "cn-north-1" }] }, j = { [m]: [{ "name": "sigv4", [n]: "{PartitionResult#implicitGlobalRegion}" }] }, k = [{ [l]: "Region" }];
|
|
4
4
|
const _data = {
|
|
5
5
|
conditions: [
|
|
6
|
-
[c, [
|
|
7
|
-
[c,
|
|
8
|
-
["aws.partition",
|
|
9
|
-
[e, [{ [
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[e, [{ fn:
|
|
13
|
-
[f, [
|
|
14
|
-
[f, [k, "aws-us-gov"]],
|
|
15
|
-
[e, [{ fn: g, argv: [l, "supportsFIPS"] }, b]],
|
|
16
|
-
[f, [k, "aws-iso"]],
|
|
17
|
-
[f, [k, "aws-iso-b"]]
|
|
6
|
+
[c, [g]],
|
|
7
|
+
[c, k],
|
|
8
|
+
["aws.partition", k, d],
|
|
9
|
+
[e, [{ [l]: "UseFIPS" }, b]],
|
|
10
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-cn"]],
|
|
11
|
+
[e, [{ [l]: "UseDualStack" }, b]],
|
|
12
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
13
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
18
14
|
],
|
|
19
15
|
results: [
|
|
20
16
|
[a],
|
|
21
17
|
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
22
18
|
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
23
|
-
[
|
|
24
|
-
["https://support.
|
|
25
|
-
["https://support.cn-north-1.amazonaws.com.cn",
|
|
26
|
-
["https://support.
|
|
27
|
-
["https://support.
|
|
28
|
-
["https://support
|
|
29
|
-
["https://support-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", m],
|
|
19
|
+
[g, {}],
|
|
20
|
+
["https://support.cn-north-1.amazonaws.com.cn", i],
|
|
21
|
+
["https://support-fips.cn-north-1.amazonaws.com.cn", i],
|
|
22
|
+
["https://support.cn-north-1.api.amazonwebservices.com.cn", i],
|
|
23
|
+
["https://support-fips.cn-north-1.api.amazonwebservices.com.cn", i],
|
|
24
|
+
["https://support-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", j],
|
|
30
25
|
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
31
|
-
["https://support-fips.{
|
|
26
|
+
["https://support-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", j],
|
|
32
27
|
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
33
|
-
["https://support.{
|
|
28
|
+
["https://support.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", j],
|
|
34
29
|
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
35
|
-
["https://support.{
|
|
30
|
+
["https://support.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", j],
|
|
36
31
|
[a, "Invalid Configuration: Missing Region"]
|
|
37
32
|
]
|
|
38
33
|
};
|
|
@@ -40,23 +35,21 @@ const root = 2;
|
|
|
40
35
|
const r = 100_000_000;
|
|
41
36
|
const nodes = new Int32Array([
|
|
42
37
|
-1, 1, -1,
|
|
43
|
-
0,
|
|
44
|
-
1, 4, r +
|
|
45
|
-
2, 5, r +
|
|
46
|
-
3,
|
|
47
|
-
4,
|
|
48
|
-
5, r +
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
3, r + 1, 19,
|
|
60
|
-
4, r + 2, r + 3,
|
|
38
|
+
0, 16, 3,
|
|
39
|
+
1, 4, r + 15,
|
|
40
|
+
2, 5, r + 15,
|
|
41
|
+
3, 10, 6,
|
|
42
|
+
4, 9, 7,
|
|
43
|
+
5, 8, r + 14,
|
|
44
|
+
6, r + 12, r + 13,
|
|
45
|
+
5, r + 6, r + 4,
|
|
46
|
+
4, 15, 11,
|
|
47
|
+
5, 13, 12,
|
|
48
|
+
7, r + 10, r + 11,
|
|
49
|
+
6, 14, r + 9,
|
|
50
|
+
7, r + 8, r + 9,
|
|
51
|
+
5, r + 7, r + 5,
|
|
52
|
+
3, r + 1, 17,
|
|
53
|
+
5, r + 2, r + 3,
|
|
61
54
|
]);
|
|
62
55
|
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -3,10 +3,10 @@ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2,
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface ClientInputEndpointParameters {
|
|
6
|
-
region?: string | undefined | Provider<string | undefined>;
|
|
7
6
|
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
8
7
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
8
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
9
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* @public
|
|
@@ -43,8 +43,8 @@ export declare const commonParams: {
|
|
|
43
43
|
* @internal
|
|
44
44
|
*/
|
|
45
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
46
|
-
Region?: string | undefined;
|
|
47
46
|
UseDualStack?: boolean | undefined;
|
|
48
47
|
UseFIPS?: boolean | undefined;
|
|
49
48
|
Endpoint?: string | undefined;
|
|
49
|
+
Region?: string | undefined;
|
|
50
50
|
}
|
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
Provider,
|
|
6
6
|
} from "@smithy/types";
|
|
7
7
|
export interface ClientInputEndpointParameters {
|
|
8
|
-
region?: string | undefined | Provider<string | undefined>;
|
|
9
8
|
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
10
9
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
11
10
|
endpoint?:
|
|
@@ -15,6 +14,7 @@ export interface ClientInputEndpointParameters {
|
|
|
15
14
|
| Provider<Endpoint>
|
|
16
15
|
| EndpointV2
|
|
17
16
|
| Provider<EndpointV2>;
|
|
17
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
18
18
|
}
|
|
19
19
|
export type ClientResolvedEndpointParameters = Pick<
|
|
20
20
|
ClientInputEndpointParameters,
|
|
@@ -44,8 +44,8 @@ export declare const commonParams: {
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
export interface EndpointParameters extends __EndpointParameters {
|
|
47
|
-
Region?: string | undefined;
|
|
48
47
|
UseDualStack?: boolean | undefined;
|
|
49
48
|
UseFIPS?: boolean | undefined;
|
|
50
49
|
Endpoint?: string | undefined;
|
|
50
|
+
Region?: string | undefined;
|
|
51
51
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-support",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1173.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Support Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-support",
|
|
6
6
|
"license": "Apache-2.0",
|