@aws-sdk/client-iam 3.1102.0 → 3.1104.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 +95 -63
- package/dist-es/endpoint/bdd.js +94 -62
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -69,55 +69,72 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1103.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
76
|
-
const
|
|
77
|
-
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "
|
|
76
|
+
const v = "ref", w = "authSchemes", x = "name", y = "signingRegion";
|
|
77
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "stringEquals", f = "booleanEquals", g = "getAttr", h = { [v]: "Endpoint" }, i = { "fn": g, "argv": [{ [v]: d }, "name"] }, j = { [v]: d }, k = { [w]: [{ [x]: "sigv4", [y]: "us-east-1" }] }, l = { [w]: [{ [x]: "sigv4", [y]: "cn-north-1" }] }, m = { [w]: [{ [x]: "sigv4", [y]: "us-gov-west-1" }] }, n = { [w]: [{ [x]: "sigv4", [y]: "us-iso-east-1" }] }, o = { [w]: [{ [x]: "sigv4", [y]: "us-isob-east-1" }] }, p = { [w]: [{ [x]: "sigv4", [y]: "eu-isoe-west-1" }] }, q = { [w]: [{ [x]: "sigv4", [y]: "us-isof-south-1" }] }, s = { [w]: [{ [x]: "sigv4", [y]: "eusc-de-east-1" }] }, t = { [w]: [{ [x]: "sigv4", [y]: "{PartitionResult#implicitGlobalRegion}" }] }, u = [{ [v]: "Region" }];
|
|
78
78
|
const _data = {
|
|
79
79
|
conditions: [
|
|
80
|
-
[c, [
|
|
81
|
-
[c,
|
|
82
|
-
["aws.partition",
|
|
83
|
-
[e, [
|
|
84
|
-
[e, [
|
|
85
|
-
[
|
|
86
|
-
[
|
|
87
|
-
[f, [
|
|
88
|
-
[
|
|
89
|
-
[
|
|
90
|
-
[
|
|
91
|
-
[e, [
|
|
92
|
-
[
|
|
93
|
-
[f, [j, "
|
|
94
|
-
[f, [j, "
|
|
80
|
+
[c, [h]],
|
|
81
|
+
[c, u],
|
|
82
|
+
["aws.partition", u, d],
|
|
83
|
+
[e, [i, "aws"]],
|
|
84
|
+
[e, [i, "aws-cn"]],
|
|
85
|
+
[e, [i, "aws-us-gov"]],
|
|
86
|
+
[e, [i, "aws-iso"]],
|
|
87
|
+
[f, [{ [v]: "UseFIPS" }, b]],
|
|
88
|
+
[f, [{ [v]: "UseDualStack" }, b]],
|
|
89
|
+
[e, [i, "aws-iso-b"]],
|
|
90
|
+
[e, [i, "aws-iso-e"]],
|
|
91
|
+
[e, [i, "aws-iso-f"]],
|
|
92
|
+
[e, [i, "aws-eusc"]],
|
|
93
|
+
[f, [{ fn: g, argv: [j, "supportsDualStack"] }, b]],
|
|
94
|
+
[f, [{ fn: g, argv: [j, "supportsFIPS"] }, b]]
|
|
95
95
|
],
|
|
96
96
|
results: [
|
|
97
97
|
[a],
|
|
98
98
|
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
99
99
|
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
100
|
-
[
|
|
101
|
-
["https://iam.
|
|
102
|
-
["https://iam-fips.
|
|
103
|
-
["https://iam.global.api.
|
|
104
|
-
["https://iam
|
|
105
|
-
["https://iam.
|
|
106
|
-
["https://iam
|
|
107
|
-
["https://iam.
|
|
108
|
-
["https://iam-fips.
|
|
109
|
-
["https://iam.us-
|
|
110
|
-
["https://iam
|
|
111
|
-
["https://iam.
|
|
112
|
-
["https://iam.us-
|
|
113
|
-
["https://iam.
|
|
114
|
-
["https://iam-fips.
|
|
100
|
+
[h, {}],
|
|
101
|
+
["https://iam.amazonaws.com", k],
|
|
102
|
+
["https://iam-fips.amazonaws.com", k],
|
|
103
|
+
["https://iam.global.api.aws", k],
|
|
104
|
+
["https://iam-fips.global.api.aws", k],
|
|
105
|
+
["https://iam.global.api.amazonwebservices.com.cn", l],
|
|
106
|
+
["https://iam-fips.api.amazonwebservices.com.cn", l],
|
|
107
|
+
["https://iam.cn-north-1.amazonaws.com.cn", l],
|
|
108
|
+
["https://iam-fips.amazonaws.com.cn", l],
|
|
109
|
+
["https://iam.us-gov.api.aws", m],
|
|
110
|
+
["https://iam.us-gov.amazonaws.com", m],
|
|
111
|
+
["https://iam.us-iso-east-1.c2s.ic.gov", n],
|
|
112
|
+
["https://iam-fips.us-iso-east-1.c2s.ic.gov", n],
|
|
113
|
+
["https://iam.api.aws.ic.gov", n],
|
|
114
|
+
["https://iam-fips.api.aws.ic.gov", n],
|
|
115
|
+
["https://iam.us-isob-east-1.sc2s.sgov.gov", o],
|
|
116
|
+
["https://iam-fips.us-isob-east-1.sc2s.sgov.gov", o],
|
|
117
|
+
["https://iam.api.aws.scloud", o],
|
|
118
|
+
["https://iam-fips.api.aws.scloud", o],
|
|
119
|
+
["https://iam.eu-isoe-west-1.cloud.adc-e.uk", p],
|
|
120
|
+
["https://iam-fips.cloud.adc-e.uk", p],
|
|
121
|
+
["https://iam.api.cloud-aws.adc-e.uk", p],
|
|
122
|
+
["https://iam-fips.api.cloud-aws.adc-e.uk", p],
|
|
123
|
+
["https://iam.us-isof-south-1.csp.hci.ic.gov", q],
|
|
124
|
+
["https://iam-fips.csp.hci.ic.gov", q],
|
|
125
|
+
["https://iam.api.aws.hci.ic.gov", q],
|
|
126
|
+
["https://iam-fips.api.aws.hci.ic.gov", q],
|
|
127
|
+
["https://iam.eusc-de-east-1.amazonaws.eu", s],
|
|
128
|
+
["https://iam-fips.amazonaws.eu", s],
|
|
129
|
+
["https://iam.global.api.amazonwebservices.eu", s],
|
|
130
|
+
["https://iam-fips.api.amazonwebservices.eu", s],
|
|
131
|
+
["https://iam-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", t],
|
|
115
132
|
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
116
|
-
["https://iam-fips.{PartitionResult#dnsSuffix}",
|
|
133
|
+
["https://iam-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", t],
|
|
117
134
|
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
118
|
-
["https://iam.{PartitionResult#dualStackDnsSuffix}",
|
|
135
|
+
["https://iam.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", t],
|
|
119
136
|
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
120
|
-
["https://iam.{PartitionResult#dnsSuffix}",
|
|
137
|
+
["https://iam.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", t],
|
|
121
138
|
[a, "Invalid Configuration: Missing Region"]
|
|
122
139
|
]
|
|
123
140
|
};
|
|
@@ -125,33 +142,48 @@ const root = 2;
|
|
|
125
142
|
const r = 100_000_000;
|
|
126
143
|
const nodes = new Int32Array([
|
|
127
144
|
-1, 1, -1,
|
|
128
|
-
0,
|
|
129
|
-
1, 4, r +
|
|
130
|
-
2, 5, r +
|
|
131
|
-
3,
|
|
132
|
-
4,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
145
|
+
0, 42, 3,
|
|
146
|
+
1, 4, r + 41,
|
|
147
|
+
2, 5, r + 41,
|
|
148
|
+
3, 39, 6,
|
|
149
|
+
4, 36, 7,
|
|
150
|
+
5, 35, 8,
|
|
151
|
+
6, 32, 9,
|
|
152
|
+
7, 20, 10,
|
|
153
|
+
8, 15, 11,
|
|
154
|
+
9, r + 18, 12,
|
|
155
|
+
10, r + 22, 13,
|
|
156
|
+
11, r + 26, 14,
|
|
157
|
+
12, r + 30, r + 40,
|
|
158
|
+
9, r + 20, 16,
|
|
159
|
+
10, r + 24, 17,
|
|
160
|
+
11, r + 28, 18,
|
|
161
|
+
12, r + 32, 19,
|
|
162
|
+
13, r + 38, r + 39,
|
|
163
|
+
8, 26, 21,
|
|
164
|
+
9, r + 19, 22,
|
|
165
|
+
10, r + 23, 23,
|
|
166
|
+
11, r + 27, 24,
|
|
167
|
+
12, r + 31, 25,
|
|
168
|
+
14, r + 36, r + 37,
|
|
169
|
+
9, r + 21, 27,
|
|
170
|
+
10, r + 25, 28,
|
|
171
|
+
11, r + 29, 29,
|
|
172
|
+
12, r + 33, 30,
|
|
173
|
+
13, 31, r + 35,
|
|
174
|
+
14, r + 34, r + 35,
|
|
175
|
+
7, 34, 33,
|
|
176
|
+
8, r + 16, r + 14,
|
|
177
|
+
8, r + 17, r + 15,
|
|
178
|
+
8, r + 12, r + 13,
|
|
179
|
+
7, 38, 37,
|
|
180
|
+
8, r + 8, r + 10,
|
|
181
|
+
8, r + 9, r + 11,
|
|
182
|
+
7, 41, 40,
|
|
183
|
+
8, r + 6, r + 4,
|
|
184
|
+
8, r + 7, r + 5,
|
|
185
|
+
7, r + 1, 43,
|
|
186
|
+
8, r + 2, r + 3,
|
|
155
187
|
]);
|
|
156
188
|
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
157
189
|
|
package/dist-es/endpoint/bdd.js
CHANGED
|
@@ -1,49 +1,66 @@
|
|
|
1
1
|
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
|
-
const
|
|
3
|
-
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "
|
|
2
|
+
const v = "ref", w = "authSchemes", x = "name", y = "signingRegion";
|
|
3
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "stringEquals", f = "booleanEquals", g = "getAttr", h = { [v]: "Endpoint" }, i = { "fn": g, "argv": [{ [v]: d }, "name"] }, j = { [v]: d }, k = { [w]: [{ [x]: "sigv4", [y]: "us-east-1" }] }, l = { [w]: [{ [x]: "sigv4", [y]: "cn-north-1" }] }, m = { [w]: [{ [x]: "sigv4", [y]: "us-gov-west-1" }] }, n = { [w]: [{ [x]: "sigv4", [y]: "us-iso-east-1" }] }, o = { [w]: [{ [x]: "sigv4", [y]: "us-isob-east-1" }] }, p = { [w]: [{ [x]: "sigv4", [y]: "eu-isoe-west-1" }] }, q = { [w]: [{ [x]: "sigv4", [y]: "us-isof-south-1" }] }, s = { [w]: [{ [x]: "sigv4", [y]: "eusc-de-east-1" }] }, t = { [w]: [{ [x]: "sigv4", [y]: "{PartitionResult#implicitGlobalRegion}" }] }, u = [{ [v]: "Region" }];
|
|
4
4
|
const _data = {
|
|
5
5
|
conditions: [
|
|
6
|
-
[c, [
|
|
7
|
-
[c,
|
|
8
|
-
["aws.partition",
|
|
9
|
-
[e, [
|
|
10
|
-
[e, [
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[f, [
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[e, [
|
|
18
|
-
[
|
|
19
|
-
[f, [j, "
|
|
20
|
-
[f, [j, "
|
|
6
|
+
[c, [h]],
|
|
7
|
+
[c, u],
|
|
8
|
+
["aws.partition", u, d],
|
|
9
|
+
[e, [i, "aws"]],
|
|
10
|
+
[e, [i, "aws-cn"]],
|
|
11
|
+
[e, [i, "aws-us-gov"]],
|
|
12
|
+
[e, [i, "aws-iso"]],
|
|
13
|
+
[f, [{ [v]: "UseFIPS" }, b]],
|
|
14
|
+
[f, [{ [v]: "UseDualStack" }, b]],
|
|
15
|
+
[e, [i, "aws-iso-b"]],
|
|
16
|
+
[e, [i, "aws-iso-e"]],
|
|
17
|
+
[e, [i, "aws-iso-f"]],
|
|
18
|
+
[e, [i, "aws-eusc"]],
|
|
19
|
+
[f, [{ fn: g, argv: [j, "supportsDualStack"] }, b]],
|
|
20
|
+
[f, [{ fn: g, argv: [j, "supportsFIPS"] }, b]]
|
|
21
21
|
],
|
|
22
22
|
results: [
|
|
23
23
|
[a],
|
|
24
24
|
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
25
25
|
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
26
|
-
[
|
|
27
|
-
["https://iam.
|
|
28
|
-
["https://iam-fips.
|
|
29
|
-
["https://iam.global.api.
|
|
30
|
-
["https://iam
|
|
31
|
-
["https://iam.
|
|
32
|
-
["https://iam
|
|
33
|
-
["https://iam.
|
|
34
|
-
["https://iam-fips.
|
|
35
|
-
["https://iam.us-
|
|
36
|
-
["https://iam
|
|
37
|
-
["https://iam.
|
|
38
|
-
["https://iam.us-
|
|
39
|
-
["https://iam.
|
|
40
|
-
["https://iam-fips.
|
|
26
|
+
[h, {}],
|
|
27
|
+
["https://iam.amazonaws.com", k],
|
|
28
|
+
["https://iam-fips.amazonaws.com", k],
|
|
29
|
+
["https://iam.global.api.aws", k],
|
|
30
|
+
["https://iam-fips.global.api.aws", k],
|
|
31
|
+
["https://iam.global.api.amazonwebservices.com.cn", l],
|
|
32
|
+
["https://iam-fips.api.amazonwebservices.com.cn", l],
|
|
33
|
+
["https://iam.cn-north-1.amazonaws.com.cn", l],
|
|
34
|
+
["https://iam-fips.amazonaws.com.cn", l],
|
|
35
|
+
["https://iam.us-gov.api.aws", m],
|
|
36
|
+
["https://iam.us-gov.amazonaws.com", m],
|
|
37
|
+
["https://iam.us-iso-east-1.c2s.ic.gov", n],
|
|
38
|
+
["https://iam-fips.us-iso-east-1.c2s.ic.gov", n],
|
|
39
|
+
["https://iam.api.aws.ic.gov", n],
|
|
40
|
+
["https://iam-fips.api.aws.ic.gov", n],
|
|
41
|
+
["https://iam.us-isob-east-1.sc2s.sgov.gov", o],
|
|
42
|
+
["https://iam-fips.us-isob-east-1.sc2s.sgov.gov", o],
|
|
43
|
+
["https://iam.api.aws.scloud", o],
|
|
44
|
+
["https://iam-fips.api.aws.scloud", o],
|
|
45
|
+
["https://iam.eu-isoe-west-1.cloud.adc-e.uk", p],
|
|
46
|
+
["https://iam-fips.cloud.adc-e.uk", p],
|
|
47
|
+
["https://iam.api.cloud-aws.adc-e.uk", p],
|
|
48
|
+
["https://iam-fips.api.cloud-aws.adc-e.uk", p],
|
|
49
|
+
["https://iam.us-isof-south-1.csp.hci.ic.gov", q],
|
|
50
|
+
["https://iam-fips.csp.hci.ic.gov", q],
|
|
51
|
+
["https://iam.api.aws.hci.ic.gov", q],
|
|
52
|
+
["https://iam-fips.api.aws.hci.ic.gov", q],
|
|
53
|
+
["https://iam.eusc-de-east-1.amazonaws.eu", s],
|
|
54
|
+
["https://iam-fips.amazonaws.eu", s],
|
|
55
|
+
["https://iam.global.api.amazonwebservices.eu", s],
|
|
56
|
+
["https://iam-fips.api.amazonwebservices.eu", s],
|
|
57
|
+
["https://iam-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", t],
|
|
41
58
|
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
42
|
-
["https://iam-fips.{PartitionResult#dnsSuffix}",
|
|
59
|
+
["https://iam-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", t],
|
|
43
60
|
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
44
|
-
["https://iam.{PartitionResult#dualStackDnsSuffix}",
|
|
61
|
+
["https://iam.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", t],
|
|
45
62
|
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
46
|
-
["https://iam.{PartitionResult#dnsSuffix}",
|
|
63
|
+
["https://iam.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", t],
|
|
47
64
|
[a, "Invalid Configuration: Missing Region"]
|
|
48
65
|
]
|
|
49
66
|
};
|
|
@@ -51,32 +68,47 @@ const root = 2;
|
|
|
51
68
|
const r = 100_000_000;
|
|
52
69
|
const nodes = new Int32Array([
|
|
53
70
|
-1, 1, -1,
|
|
54
|
-
0,
|
|
55
|
-
1, 4, r +
|
|
56
|
-
2, 5, r +
|
|
57
|
-
3,
|
|
58
|
-
4,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
71
|
+
0, 42, 3,
|
|
72
|
+
1, 4, r + 41,
|
|
73
|
+
2, 5, r + 41,
|
|
74
|
+
3, 39, 6,
|
|
75
|
+
4, 36, 7,
|
|
76
|
+
5, 35, 8,
|
|
77
|
+
6, 32, 9,
|
|
78
|
+
7, 20, 10,
|
|
79
|
+
8, 15, 11,
|
|
80
|
+
9, r + 18, 12,
|
|
81
|
+
10, r + 22, 13,
|
|
82
|
+
11, r + 26, 14,
|
|
83
|
+
12, r + 30, r + 40,
|
|
84
|
+
9, r + 20, 16,
|
|
85
|
+
10, r + 24, 17,
|
|
86
|
+
11, r + 28, 18,
|
|
87
|
+
12, r + 32, 19,
|
|
88
|
+
13, r + 38, r + 39,
|
|
89
|
+
8, 26, 21,
|
|
90
|
+
9, r + 19, 22,
|
|
91
|
+
10, r + 23, 23,
|
|
92
|
+
11, r + 27, 24,
|
|
93
|
+
12, r + 31, 25,
|
|
94
|
+
14, r + 36, r + 37,
|
|
95
|
+
9, r + 21, 27,
|
|
96
|
+
10, r + 25, 28,
|
|
97
|
+
11, r + 29, 29,
|
|
98
|
+
12, r + 33, 30,
|
|
99
|
+
13, 31, r + 35,
|
|
100
|
+
14, r + 34, r + 35,
|
|
101
|
+
7, 34, 33,
|
|
102
|
+
8, r + 16, r + 14,
|
|
103
|
+
8, r + 17, r + 15,
|
|
104
|
+
8, r + 12, r + 13,
|
|
105
|
+
7, 38, 37,
|
|
106
|
+
8, r + 8, r + 10,
|
|
107
|
+
8, r + 9, r + 11,
|
|
108
|
+
7, 41, 40,
|
|
109
|
+
8, r + 6, r + 4,
|
|
110
|
+
8, r + 7, r + 5,
|
|
111
|
+
7, r + 1, 43,
|
|
112
|
+
8, r + 2, r + 3,
|
|
81
113
|
]);
|
|
82
114
|
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iam",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1104.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iam",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"test:index": "tsc --noEmit ./test/index-types.ts && 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.
|
|
55
|
+
"@aws-sdk/core": "^3.977.6",
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.78",
|
|
57
57
|
"@aws-sdk/types": "^3.974.2",
|
|
58
58
|
"@smithy/core": "^3.31.1",
|
|
59
59
|
"@smithy/fetch-http-handler": "^5.6.13",
|