@aws-sdk/client-resource-explorer-2 3.231.0 → 3.235.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/README.md +6 -6
- package/dist-cjs/endpoint/ruleset.js +4 -248
- package/dist-es/endpoint/ruleset.js +4 -248
- package/dist-types/ResourceExplorer2.d.ts +15 -9
- package/dist-types/ResourceExplorer2Client.d.ts +6 -6
- package/dist-types/commands/CreateIndexCommand.d.ts +1 -1
- package/dist-types/commands/CreateViewCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIndexCommand.d.ts +6 -0
- package/dist-types/commands/UpdateIndexTypeCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +11 -10
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -16,13 +16,13 @@ tables. You can search for your resources using resource metadata like names, ta
|
|
|
16
16
|
IDs. Resource Explorer can search across all of the Amazon Web Services Regions in your account in which you turn
|
|
17
17
|
the service on, to simplify your cross-Region workloads.</p>
|
|
18
18
|
<p>Resource Explorer scans the resources in each of the Amazon Web Services Regions in your Amazon Web Services account in which
|
|
19
|
-
you turn on Resource Explorer. Resource Explorer <a href="https://docs.aws.amazon.com/
|
|
20
|
-
maintains an index</a> in each Region, with the details of that Region's
|
|
19
|
+
you turn on Resource Explorer. Resource Explorer <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/getting-started-terms-and-concepts.html#term-index">creates
|
|
20
|
+
and maintains an index</a> in each Region, with the details of that Region's
|
|
21
21
|
resources.</p>
|
|
22
|
-
<p>You can <a href="https://docs.aws.amazon.com/
|
|
23
|
-
Regions in your account</a> by designating one of your Amazon Web Services Regions to
|
|
24
|
-
the aggregator index for the account. When you <a href="https://docs.aws.amazon.com/
|
|
25
|
-
a Region to become the aggregator index for the account</a>, Resource Explorer automatically
|
|
22
|
+
<p>You can <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html">search across all of the
|
|
23
|
+
indexed Regions in your account</a> by designating one of your Amazon Web Services Regions to
|
|
24
|
+
contain the aggregator index for the account. When you <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region-turn-on.html">promote a local index
|
|
25
|
+
in a Region to become the aggregator index for the account</a>, Resource Explorer automatically
|
|
26
26
|
replicates the index information from all local indexes in the other Regions to the
|
|
27
27
|
aggregator index. Therefore, the Region with the aggregator index has a copy of all resource
|
|
28
28
|
information for all Regions in the account where you turned on Resource Explorer. As a result,
|
|
@@ -1,251 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
builtIn: "AWS::Region",
|
|
9
|
-
required: false,
|
|
10
|
-
documentation: "The AWS region used to dispatch the request.",
|
|
11
|
-
type: "String",
|
|
12
|
-
},
|
|
13
|
-
UseFIPS: {
|
|
14
|
-
builtIn: "AWS::UseFIPS",
|
|
15
|
-
required: true,
|
|
16
|
-
default: false,
|
|
17
|
-
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
18
|
-
type: "Boolean",
|
|
19
|
-
},
|
|
20
|
-
Endpoint: {
|
|
21
|
-
builtIn: "SDK::Endpoint",
|
|
22
|
-
required: false,
|
|
23
|
-
documentation: "Override the endpoint used to send this request",
|
|
24
|
-
type: "String",
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
rules: [
|
|
28
|
-
{
|
|
29
|
-
conditions: [
|
|
30
|
-
{
|
|
31
|
-
fn: "aws.partition",
|
|
32
|
-
argv: [
|
|
33
|
-
{
|
|
34
|
-
ref: "Region",
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
assign: "PartitionResult",
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
type: "tree",
|
|
41
|
-
rules: [
|
|
42
|
-
{
|
|
43
|
-
conditions: [
|
|
44
|
-
{
|
|
45
|
-
fn: "isSet",
|
|
46
|
-
argv: [
|
|
47
|
-
{
|
|
48
|
-
ref: "Endpoint",
|
|
49
|
-
},
|
|
50
|
-
],
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
fn: "parseURL",
|
|
54
|
-
argv: [
|
|
55
|
-
{
|
|
56
|
-
ref: "Endpoint",
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
assign: "url",
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
type: "tree",
|
|
63
|
-
rules: [
|
|
64
|
-
{
|
|
65
|
-
conditions: [
|
|
66
|
-
{
|
|
67
|
-
fn: "booleanEquals",
|
|
68
|
-
argv: [
|
|
69
|
-
{
|
|
70
|
-
ref: "UseFIPS",
|
|
71
|
-
},
|
|
72
|
-
true,
|
|
73
|
-
],
|
|
74
|
-
},
|
|
75
|
-
],
|
|
76
|
-
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
77
|
-
type: "error",
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
conditions: [],
|
|
81
|
-
endpoint: {
|
|
82
|
-
url: {
|
|
83
|
-
ref: "Endpoint",
|
|
84
|
-
},
|
|
85
|
-
properties: {},
|
|
86
|
-
headers: {},
|
|
87
|
-
},
|
|
88
|
-
type: "endpoint",
|
|
89
|
-
},
|
|
90
|
-
],
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
conditions: [],
|
|
94
|
-
type: "tree",
|
|
95
|
-
rules: [
|
|
96
|
-
{
|
|
97
|
-
conditions: [
|
|
98
|
-
{
|
|
99
|
-
fn: "booleanEquals",
|
|
100
|
-
argv: [
|
|
101
|
-
true,
|
|
102
|
-
{
|
|
103
|
-
fn: "getAttr",
|
|
104
|
-
argv: [
|
|
105
|
-
{
|
|
106
|
-
ref: "PartitionResult",
|
|
107
|
-
},
|
|
108
|
-
"supportsDualStack",
|
|
109
|
-
],
|
|
110
|
-
},
|
|
111
|
-
],
|
|
112
|
-
},
|
|
113
|
-
],
|
|
114
|
-
type: "tree",
|
|
115
|
-
rules: [
|
|
116
|
-
{
|
|
117
|
-
conditions: [
|
|
118
|
-
{
|
|
119
|
-
fn: "booleanEquals",
|
|
120
|
-
argv: [
|
|
121
|
-
{
|
|
122
|
-
ref: "UseFIPS",
|
|
123
|
-
},
|
|
124
|
-
true,
|
|
125
|
-
],
|
|
126
|
-
},
|
|
127
|
-
],
|
|
128
|
-
type: "tree",
|
|
129
|
-
rules: [
|
|
130
|
-
{
|
|
131
|
-
conditions: [
|
|
132
|
-
{
|
|
133
|
-
fn: "booleanEquals",
|
|
134
|
-
argv: [
|
|
135
|
-
true,
|
|
136
|
-
{
|
|
137
|
-
fn: "getAttr",
|
|
138
|
-
argv: [
|
|
139
|
-
{
|
|
140
|
-
ref: "PartitionResult",
|
|
141
|
-
},
|
|
142
|
-
"supportsFIPS",
|
|
143
|
-
],
|
|
144
|
-
},
|
|
145
|
-
],
|
|
146
|
-
},
|
|
147
|
-
],
|
|
148
|
-
type: "tree",
|
|
149
|
-
rules: [
|
|
150
|
-
{
|
|
151
|
-
conditions: [],
|
|
152
|
-
endpoint: {
|
|
153
|
-
url: "https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
154
|
-
properties: {},
|
|
155
|
-
headers: {},
|
|
156
|
-
},
|
|
157
|
-
type: "endpoint",
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
conditions: [],
|
|
163
|
-
error: "FIPS is enabled but this partition does not support FIPS",
|
|
164
|
-
type: "error",
|
|
165
|
-
},
|
|
166
|
-
],
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
conditions: [],
|
|
170
|
-
endpoint: {
|
|
171
|
-
url: "https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
172
|
-
properties: {},
|
|
173
|
-
headers: {},
|
|
174
|
-
},
|
|
175
|
-
type: "endpoint",
|
|
176
|
-
},
|
|
177
|
-
],
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
conditions: [],
|
|
181
|
-
type: "tree",
|
|
182
|
-
rules: [
|
|
183
|
-
{
|
|
184
|
-
conditions: [
|
|
185
|
-
{
|
|
186
|
-
fn: "booleanEquals",
|
|
187
|
-
argv: [
|
|
188
|
-
{
|
|
189
|
-
ref: "UseFIPS",
|
|
190
|
-
},
|
|
191
|
-
true,
|
|
192
|
-
],
|
|
193
|
-
},
|
|
194
|
-
],
|
|
195
|
-
type: "tree",
|
|
196
|
-
rules: [
|
|
197
|
-
{
|
|
198
|
-
conditions: [
|
|
199
|
-
{
|
|
200
|
-
fn: "booleanEquals",
|
|
201
|
-
argv: [
|
|
202
|
-
true,
|
|
203
|
-
{
|
|
204
|
-
fn: "getAttr",
|
|
205
|
-
argv: [
|
|
206
|
-
{
|
|
207
|
-
ref: "PartitionResult",
|
|
208
|
-
},
|
|
209
|
-
"supportsFIPS",
|
|
210
|
-
],
|
|
211
|
-
},
|
|
212
|
-
],
|
|
213
|
-
},
|
|
214
|
-
],
|
|
215
|
-
type: "tree",
|
|
216
|
-
rules: [
|
|
217
|
-
{
|
|
218
|
-
conditions: [],
|
|
219
|
-
endpoint: {
|
|
220
|
-
url: "https://resource-explorer-2-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
221
|
-
properties: {},
|
|
222
|
-
headers: {},
|
|
223
|
-
},
|
|
224
|
-
type: "endpoint",
|
|
225
|
-
},
|
|
226
|
-
],
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
conditions: [],
|
|
230
|
-
error: "FIPS is enabled but this partition does not support FIPS",
|
|
231
|
-
type: "error",
|
|
232
|
-
},
|
|
233
|
-
],
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
conditions: [],
|
|
237
|
-
endpoint: {
|
|
238
|
-
url: "https://resource-explorer-2.{Region}.{PartitionResult#dnsSuffix}",
|
|
239
|
-
properties: {},
|
|
240
|
-
headers: {},
|
|
241
|
-
},
|
|
242
|
-
type: "endpoint",
|
|
243
|
-
},
|
|
244
|
-
],
|
|
245
|
-
},
|
|
246
|
-
],
|
|
247
|
-
},
|
|
248
|
-
],
|
|
249
|
-
},
|
|
250
|
-
],
|
|
251
|
-
};
|
|
4
|
+
const q = "argv", r = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "booleanEquals", g = "error", h = "endpoint", i = "getAttr", j = { [r]: "Endpoint" }, k = {}, l = { [r]: d }, m = { "conditions": [], [g]: "FIPS is enabled but this partition does not support FIPS", "type": g }, n = [{ "fn": f, [q]: [{ [r]: "UseFIPS" }, true] }], o = [], p = [{ "fn": f, [q]: [true, { "fn": i, [q]: [l, "supportsFIPS"] }] }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { builtIn: "AWS::Region", required: a, documentation: "The AWS region used to dispatch the request.", type: c }, UseFIPS: { builtIn: "AWS::UseFIPS", required: a, default: b, documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", type: "Boolean" }, Endpoint: { builtIn: "SDK::Endpoint", required: b, documentation: "Override the endpoint used to send this request", type: c } }, rules: [{ conditions: [{ fn: "aws.partition", [q]: [{ [r]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ fn: "isSet", [q]: [j] }], type: e, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: g }, { conditions: o, endpoint: { url: j, properties: k, headers: k }, type: h }] }, { conditions: o, type: e, rules: [{ conditions: [{ fn: f, [q]: [a, { fn: i, [q]: [l, "supportsDualStack"] }] }], type: e, rules: [{ conditions: n, type: e, rules: [{ conditions: p, type: e, rules: [{ conditions: o, endpoint: { url: "https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: h }] }, m] }, { conditions: o, endpoint: { url: "https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: h }] }, { conditions: o, type: e, rules: [{ conditions: n, type: e, rules: [{ conditions: p, type: e, rules: [{ conditions: o, endpoint: { url: "https://resource-explorer-2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: h }] }, m] }, { conditions: o, endpoint: { url: "https://resource-explorer-2.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: h }] }] }] }] };
|
|
7
|
+
exports.ruleSet = _data;
|
|
@@ -1,248 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
builtIn: "AWS::Region",
|
|
6
|
-
required: false,
|
|
7
|
-
documentation: "The AWS region used to dispatch the request.",
|
|
8
|
-
type: "String",
|
|
9
|
-
},
|
|
10
|
-
UseFIPS: {
|
|
11
|
-
builtIn: "AWS::UseFIPS",
|
|
12
|
-
required: true,
|
|
13
|
-
default: false,
|
|
14
|
-
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
15
|
-
type: "Boolean",
|
|
16
|
-
},
|
|
17
|
-
Endpoint: {
|
|
18
|
-
builtIn: "SDK::Endpoint",
|
|
19
|
-
required: false,
|
|
20
|
-
documentation: "Override the endpoint used to send this request",
|
|
21
|
-
type: "String",
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
rules: [
|
|
25
|
-
{
|
|
26
|
-
conditions: [
|
|
27
|
-
{
|
|
28
|
-
fn: "aws.partition",
|
|
29
|
-
argv: [
|
|
30
|
-
{
|
|
31
|
-
ref: "Region",
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
assign: "PartitionResult",
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
type: "tree",
|
|
38
|
-
rules: [
|
|
39
|
-
{
|
|
40
|
-
conditions: [
|
|
41
|
-
{
|
|
42
|
-
fn: "isSet",
|
|
43
|
-
argv: [
|
|
44
|
-
{
|
|
45
|
-
ref: "Endpoint",
|
|
46
|
-
},
|
|
47
|
-
],
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
fn: "parseURL",
|
|
51
|
-
argv: [
|
|
52
|
-
{
|
|
53
|
-
ref: "Endpoint",
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
assign: "url",
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
type: "tree",
|
|
60
|
-
rules: [
|
|
61
|
-
{
|
|
62
|
-
conditions: [
|
|
63
|
-
{
|
|
64
|
-
fn: "booleanEquals",
|
|
65
|
-
argv: [
|
|
66
|
-
{
|
|
67
|
-
ref: "UseFIPS",
|
|
68
|
-
},
|
|
69
|
-
true,
|
|
70
|
-
],
|
|
71
|
-
},
|
|
72
|
-
],
|
|
73
|
-
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
74
|
-
type: "error",
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
conditions: [],
|
|
78
|
-
endpoint: {
|
|
79
|
-
url: {
|
|
80
|
-
ref: "Endpoint",
|
|
81
|
-
},
|
|
82
|
-
properties: {},
|
|
83
|
-
headers: {},
|
|
84
|
-
},
|
|
85
|
-
type: "endpoint",
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
conditions: [],
|
|
91
|
-
type: "tree",
|
|
92
|
-
rules: [
|
|
93
|
-
{
|
|
94
|
-
conditions: [
|
|
95
|
-
{
|
|
96
|
-
fn: "booleanEquals",
|
|
97
|
-
argv: [
|
|
98
|
-
true,
|
|
99
|
-
{
|
|
100
|
-
fn: "getAttr",
|
|
101
|
-
argv: [
|
|
102
|
-
{
|
|
103
|
-
ref: "PartitionResult",
|
|
104
|
-
},
|
|
105
|
-
"supportsDualStack",
|
|
106
|
-
],
|
|
107
|
-
},
|
|
108
|
-
],
|
|
109
|
-
},
|
|
110
|
-
],
|
|
111
|
-
type: "tree",
|
|
112
|
-
rules: [
|
|
113
|
-
{
|
|
114
|
-
conditions: [
|
|
115
|
-
{
|
|
116
|
-
fn: "booleanEquals",
|
|
117
|
-
argv: [
|
|
118
|
-
{
|
|
119
|
-
ref: "UseFIPS",
|
|
120
|
-
},
|
|
121
|
-
true,
|
|
122
|
-
],
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
type: "tree",
|
|
126
|
-
rules: [
|
|
127
|
-
{
|
|
128
|
-
conditions: [
|
|
129
|
-
{
|
|
130
|
-
fn: "booleanEquals",
|
|
131
|
-
argv: [
|
|
132
|
-
true,
|
|
133
|
-
{
|
|
134
|
-
fn: "getAttr",
|
|
135
|
-
argv: [
|
|
136
|
-
{
|
|
137
|
-
ref: "PartitionResult",
|
|
138
|
-
},
|
|
139
|
-
"supportsFIPS",
|
|
140
|
-
],
|
|
141
|
-
},
|
|
142
|
-
],
|
|
143
|
-
},
|
|
144
|
-
],
|
|
145
|
-
type: "tree",
|
|
146
|
-
rules: [
|
|
147
|
-
{
|
|
148
|
-
conditions: [],
|
|
149
|
-
endpoint: {
|
|
150
|
-
url: "https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
151
|
-
properties: {},
|
|
152
|
-
headers: {},
|
|
153
|
-
},
|
|
154
|
-
type: "endpoint",
|
|
155
|
-
},
|
|
156
|
-
],
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
conditions: [],
|
|
160
|
-
error: "FIPS is enabled but this partition does not support FIPS",
|
|
161
|
-
type: "error",
|
|
162
|
-
},
|
|
163
|
-
],
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
conditions: [],
|
|
167
|
-
endpoint: {
|
|
168
|
-
url: "https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
169
|
-
properties: {},
|
|
170
|
-
headers: {},
|
|
171
|
-
},
|
|
172
|
-
type: "endpoint",
|
|
173
|
-
},
|
|
174
|
-
],
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
conditions: [],
|
|
178
|
-
type: "tree",
|
|
179
|
-
rules: [
|
|
180
|
-
{
|
|
181
|
-
conditions: [
|
|
182
|
-
{
|
|
183
|
-
fn: "booleanEquals",
|
|
184
|
-
argv: [
|
|
185
|
-
{
|
|
186
|
-
ref: "UseFIPS",
|
|
187
|
-
},
|
|
188
|
-
true,
|
|
189
|
-
],
|
|
190
|
-
},
|
|
191
|
-
],
|
|
192
|
-
type: "tree",
|
|
193
|
-
rules: [
|
|
194
|
-
{
|
|
195
|
-
conditions: [
|
|
196
|
-
{
|
|
197
|
-
fn: "booleanEquals",
|
|
198
|
-
argv: [
|
|
199
|
-
true,
|
|
200
|
-
{
|
|
201
|
-
fn: "getAttr",
|
|
202
|
-
argv: [
|
|
203
|
-
{
|
|
204
|
-
ref: "PartitionResult",
|
|
205
|
-
},
|
|
206
|
-
"supportsFIPS",
|
|
207
|
-
],
|
|
208
|
-
},
|
|
209
|
-
],
|
|
210
|
-
},
|
|
211
|
-
],
|
|
212
|
-
type: "tree",
|
|
213
|
-
rules: [
|
|
214
|
-
{
|
|
215
|
-
conditions: [],
|
|
216
|
-
endpoint: {
|
|
217
|
-
url: "https://resource-explorer-2-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
218
|
-
properties: {},
|
|
219
|
-
headers: {},
|
|
220
|
-
},
|
|
221
|
-
type: "endpoint",
|
|
222
|
-
},
|
|
223
|
-
],
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
conditions: [],
|
|
227
|
-
error: "FIPS is enabled but this partition does not support FIPS",
|
|
228
|
-
type: "error",
|
|
229
|
-
},
|
|
230
|
-
],
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
conditions: [],
|
|
234
|
-
endpoint: {
|
|
235
|
-
url: "https://resource-explorer-2.{Region}.{PartitionResult#dnsSuffix}",
|
|
236
|
-
properties: {},
|
|
237
|
-
headers: {},
|
|
238
|
-
},
|
|
239
|
-
type: "endpoint",
|
|
240
|
-
},
|
|
241
|
-
],
|
|
242
|
-
},
|
|
243
|
-
],
|
|
244
|
-
},
|
|
245
|
-
],
|
|
246
|
-
},
|
|
247
|
-
],
|
|
248
|
-
};
|
|
1
|
+
const q = "argv", r = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "booleanEquals", g = "error", h = "endpoint", i = "getAttr", j = { [r]: "Endpoint" }, k = {}, l = { [r]: d }, m = { "conditions": [], [g]: "FIPS is enabled but this partition does not support FIPS", "type": g }, n = [{ "fn": f, [q]: [{ [r]: "UseFIPS" }, true] }], o = [], p = [{ "fn": f, [q]: [true, { "fn": i, [q]: [l, "supportsFIPS"] }] }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { builtIn: "AWS::Region", required: a, documentation: "The AWS region used to dispatch the request.", type: c }, UseFIPS: { builtIn: "AWS::UseFIPS", required: a, default: b, documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", type: "Boolean" }, Endpoint: { builtIn: "SDK::Endpoint", required: b, documentation: "Override the endpoint used to send this request", type: c } }, rules: [{ conditions: [{ fn: "aws.partition", [q]: [{ [r]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ fn: "isSet", [q]: [j] }], type: e, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: g }, { conditions: o, endpoint: { url: j, properties: k, headers: k }, type: h }] }, { conditions: o, type: e, rules: [{ conditions: [{ fn: f, [q]: [a, { fn: i, [q]: [l, "supportsDualStack"] }] }], type: e, rules: [{ conditions: n, type: e, rules: [{ conditions: p, type: e, rules: [{ conditions: o, endpoint: { url: "https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: h }] }, m] }, { conditions: o, endpoint: { url: "https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: h }] }, { conditions: o, type: e, rules: [{ conditions: n, type: e, rules: [{ conditions: p, type: e, rules: [{ conditions: o, endpoint: { url: "https://resource-explorer-2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: h }] }, m] }, { conditions: o, endpoint: { url: "https://resource-explorer-2.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: h }] }] }] }] };
|
|
4
|
+
export const ruleSet = _data;
|
|
@@ -27,13 +27,13 @@ import { ResourceExplorer2Client } from "./ResourceExplorer2Client";
|
|
|
27
27
|
* IDs. Resource Explorer can search across all of the Amazon Web Services Regions in your account in which you turn
|
|
28
28
|
* the service on, to simplify your cross-Region workloads.</p>
|
|
29
29
|
* <p>Resource Explorer scans the resources in each of the Amazon Web Services Regions in your Amazon Web Services account in which
|
|
30
|
-
* you turn on Resource Explorer. Resource Explorer <a href="https://docs.aws.amazon.com/
|
|
31
|
-
* maintains an index</a> in each Region, with the details of that Region's
|
|
30
|
+
* you turn on Resource Explorer. Resource Explorer <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/getting-started-terms-and-concepts.html#term-index">creates
|
|
31
|
+
* and maintains an index</a> in each Region, with the details of that Region's
|
|
32
32
|
* resources.</p>
|
|
33
|
-
* <p>You can <a href="https://docs.aws.amazon.com/
|
|
34
|
-
* Regions in your account</a> by designating one of your Amazon Web Services Regions to
|
|
35
|
-
* the aggregator index for the account. When you <a href="https://docs.aws.amazon.com/
|
|
36
|
-
* a Region to become the aggregator index for the account</a>, Resource Explorer automatically
|
|
33
|
+
* <p>You can <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html">search across all of the
|
|
34
|
+
* indexed Regions in your account</a> by designating one of your Amazon Web Services Regions to
|
|
35
|
+
* contain the aggregator index for the account. When you <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region-turn-on.html">promote a local index
|
|
36
|
+
* in a Region to become the aggregator index for the account</a>, Resource Explorer automatically
|
|
37
37
|
* replicates the index information from all local indexes in the other Regions to the
|
|
38
38
|
* aggregator index. Therefore, the Region with the aggregator index has a copy of all resource
|
|
39
39
|
* information for all Regions in the account where you turned on Resource Explorer. As a result,
|
|
@@ -76,7 +76,7 @@ export declare class ResourceExplorer2 extends ResourceExplorer2Client {
|
|
|
76
76
|
* on Resource Explorer to index your resources in an Amazon Web Services Region</a> in the
|
|
77
77
|
* <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
78
78
|
* <p>If this is the first Amazon Web Services Region in which you've created an index for Resource Explorer, then
|
|
79
|
-
* this operation also <a href="https://docs.aws.amazon.com/
|
|
79
|
+
* this operation also <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/security_iam_service-linked-roles.html">creates a
|
|
80
80
|
* service-linked role</a> in your Amazon Web Services account that allows Resource Explorer to enumerate
|
|
81
81
|
* your resources to populate the index.</p>
|
|
82
82
|
* <ul>
|
|
@@ -120,7 +120,7 @@ export declare class ResourceExplorer2 extends ResourceExplorer2Client {
|
|
|
120
120
|
/**
|
|
121
121
|
* <p>Creates a view that users can query by using the <a>Search</a> operation.
|
|
122
122
|
* Results from queries that you make using this view include only resources that match the
|
|
123
|
-
* view's <code>Filters</code>. For more information about Amazon Web Services Resource Explorer views, see <a href="https://docs.aws.amazon.com/
|
|
123
|
+
* view's <code>Filters</code>. For more information about Amazon Web Services Resource Explorer views, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-views.html">Managing views</a>
|
|
124
124
|
* in the <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
125
125
|
* <p>Only the principals with an IAM identity-based policy that grants <code>Allow</code>
|
|
126
126
|
* to the <code>Search</code> action on a <code>Resource</code> with the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of
|
|
@@ -137,6 +137,12 @@ export declare class ResourceExplorer2 extends ResourceExplorer2Client {
|
|
|
137
137
|
* asynchronous background tasks. You can check to see when the actions are complete by
|
|
138
138
|
* using the <a>GetIndex</a> operation and checking the <code>Status</code>
|
|
139
139
|
* response value.</p>
|
|
140
|
+
* <note>
|
|
141
|
+
* <p>If the index you delete is the aggregator index for the Amazon Web Services account, you must
|
|
142
|
+
* wait 24 hours before you can promote another local index to be the
|
|
143
|
+
* aggregator index for the account. Users can't perform account-wide searches using
|
|
144
|
+
* Resource Explorer until another aggregator index is configured.</p>
|
|
145
|
+
* </note>
|
|
140
146
|
*/
|
|
141
147
|
deleteIndex(args: DeleteIndexCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIndexCommandOutput>;
|
|
142
148
|
deleteIndex(args: DeleteIndexCommandInput, cb: (err: any, data?: DeleteIndexCommandOutput) => void): void;
|
|
@@ -247,7 +253,7 @@ export declare class ResourceExplorer2 extends ResourceExplorer2Client {
|
|
|
247
253
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
248
254
|
/**
|
|
249
255
|
* <p>Changes the type of the index from one of the following types to the other. For more
|
|
250
|
-
* information about indexes and the role they perform in Amazon Web Services Resource Explorer, see <a href="https://docs.aws.amazon.com/
|
|
256
|
+
* information about indexes and the role they perform in Amazon Web Services Resource Explorer, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html">Turning on
|
|
251
257
|
* cross-Region search by creating an aggregator index</a> in the
|
|
252
258
|
* <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
253
259
|
* <ul>
|
|
@@ -149,13 +149,13 @@ export interface ResourceExplorer2ClientResolvedConfig extends ResourceExplorer2
|
|
|
149
149
|
* IDs. Resource Explorer can search across all of the Amazon Web Services Regions in your account in which you turn
|
|
150
150
|
* the service on, to simplify your cross-Region workloads.</p>
|
|
151
151
|
* <p>Resource Explorer scans the resources in each of the Amazon Web Services Regions in your Amazon Web Services account in which
|
|
152
|
-
* you turn on Resource Explorer. Resource Explorer <a href="https://docs.aws.amazon.com/
|
|
153
|
-
* maintains an index</a> in each Region, with the details of that Region's
|
|
152
|
+
* you turn on Resource Explorer. Resource Explorer <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/getting-started-terms-and-concepts.html#term-index">creates
|
|
153
|
+
* and maintains an index</a> in each Region, with the details of that Region's
|
|
154
154
|
* resources.</p>
|
|
155
|
-
* <p>You can <a href="https://docs.aws.amazon.com/
|
|
156
|
-
* Regions in your account</a> by designating one of your Amazon Web Services Regions to
|
|
157
|
-
* the aggregator index for the account. When you <a href="https://docs.aws.amazon.com/
|
|
158
|
-
* a Region to become the aggregator index for the account</a>, Resource Explorer automatically
|
|
155
|
+
* <p>You can <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html">search across all of the
|
|
156
|
+
* indexed Regions in your account</a> by designating one of your Amazon Web Services Regions to
|
|
157
|
+
* contain the aggregator index for the account. When you <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region-turn-on.html">promote a local index
|
|
158
|
+
* in a Region to become the aggregator index for the account</a>, Resource Explorer automatically
|
|
159
159
|
* replicates the index information from all local indexes in the other Regions to the
|
|
160
160
|
* aggregator index. Therefore, the Region with the aggregator index has a copy of all resource
|
|
161
161
|
* information for all Regions in the account where you turned on Resource Explorer. As a result,
|
|
@@ -22,7 +22,7 @@ export interface CreateIndexCommandOutput extends CreateIndexOutput, __MetadataB
|
|
|
22
22
|
* on Resource Explorer to index your resources in an Amazon Web Services Region</a> in the
|
|
23
23
|
* <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
24
24
|
* <p>If this is the first Amazon Web Services Region in which you've created an index for Resource Explorer, then
|
|
25
|
-
* this operation also <a href="https://docs.aws.amazon.com/
|
|
25
|
+
* this operation also <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/security_iam_service-linked-roles.html">creates a
|
|
26
26
|
* service-linked role</a> in your Amazon Web Services account that allows Resource Explorer to enumerate
|
|
27
27
|
* your resources to populate the index.</p>
|
|
28
28
|
* <ul>
|
|
@@ -10,7 +10,7 @@ export interface CreateViewCommandOutput extends CreateViewOutput, __MetadataBea
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a view that users can query by using the <a>Search</a> operation.
|
|
12
12
|
* Results from queries that you make using this view include only resources that match the
|
|
13
|
-
* view's <code>Filters</code>. For more information about Amazon Web Services Resource Explorer views, see <a href="https://docs.aws.amazon.com/
|
|
13
|
+
* view's <code>Filters</code>. For more information about Amazon Web Services Resource Explorer views, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-views.html">Managing views</a>
|
|
14
14
|
* in the <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
15
15
|
* <p>Only the principals with an IAM identity-based policy that grants <code>Allow</code>
|
|
16
16
|
* to the <code>Search</code> action on a <code>Resource</code> with the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of
|
|
@@ -14,6 +14,12 @@ export interface DeleteIndexCommandOutput extends DeleteIndexOutput, __MetadataB
|
|
|
14
14
|
* asynchronous background tasks. You can check to see when the actions are complete by
|
|
15
15
|
* using the <a>GetIndex</a> operation and checking the <code>Status</code>
|
|
16
16
|
* response value.</p>
|
|
17
|
+
* <note>
|
|
18
|
+
* <p>If the index you delete is the aggregator index for the Amazon Web Services account, you must
|
|
19
|
+
* wait 24 hours before you can promote another local index to be the
|
|
20
|
+
* aggregator index for the account. Users can't perform account-wide searches using
|
|
21
|
+
* Resource Explorer until another aggregator index is configured.</p>
|
|
22
|
+
* </note>
|
|
17
23
|
* @example
|
|
18
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
25
|
* ```javascript
|
|
@@ -9,7 +9,7 @@ export interface UpdateIndexTypeCommandOutput extends UpdateIndexTypeOutput, __M
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Changes the type of the index from one of the following types to the other. For more
|
|
12
|
-
* information about indexes and the role they perform in Amazon Web Services Resource Explorer, see <a href="https://docs.aws.amazon.com/
|
|
12
|
+
* information about indexes and the role they perform in Amazon Web Services Resource Explorer, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html">Turning on
|
|
13
13
|
* cross-Region search by creating an aggregator index</a> in the
|
|
14
14
|
* <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
15
15
|
* <ul>
|
|
@@ -11,7 +11,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
11
11
|
defaultSigningName: string;
|
|
12
12
|
};
|
|
13
13
|
export interface EndpointParameters extends __EndpointParameters {
|
|
14
|
-
Region
|
|
14
|
+
Region: string;
|
|
15
15
|
UseFIPS?: boolean;
|
|
16
16
|
Endpoint?: string;
|
|
17
17
|
}
|
|
@@ -621,26 +621,27 @@ export interface GetIndexOutput {
|
|
|
621
621
|
*/
|
|
622
622
|
Arn?: string;
|
|
623
623
|
/**
|
|
624
|
-
* <p>
|
|
625
|
-
*
|
|
624
|
+
* <p>The type of the index in this Region. For information about the aggregator index and
|
|
625
|
+
* how it differs from a local index, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html">Turning on cross-Region search
|
|
626
626
|
* by creating an aggregator index</a>.</p>
|
|
627
627
|
*/
|
|
628
628
|
Type?: IndexType | string;
|
|
629
629
|
/**
|
|
630
|
-
* <p>
|
|
630
|
+
* <p>The current state of the index in this Amazon Web Services Region.</p>
|
|
631
631
|
*/
|
|
632
632
|
State?: IndexState | string;
|
|
633
633
|
/**
|
|
634
|
-
* <p>
|
|
635
|
-
*
|
|
636
|
-
*
|
|
634
|
+
* <p>This response value is present only if this index is
|
|
635
|
+
* <code>Type=AGGREGATOR</code>.</p>
|
|
636
|
+
* <p>A list of the Amazon Web Services Regions that replicate their content to the index in this
|
|
637
|
+
* Region.</p>
|
|
637
638
|
*/
|
|
638
639
|
ReplicatingFrom?: string[];
|
|
639
640
|
/**
|
|
640
|
-
* <p>
|
|
641
|
-
*
|
|
642
|
-
*
|
|
643
|
-
*
|
|
641
|
+
* <p>This response value is present only if this index is <code>Type=LOCAL</code>.</p>
|
|
642
|
+
* <p>The Amazon Web Services Region that contains the aggregator index, if one exists. If an aggregator index
|
|
643
|
+
* does exist then the Region in which you called this operation replicates its index
|
|
644
|
+
* information to the Region specified in this response value. </p>
|
|
644
645
|
*/
|
|
645
646
|
ReplicatingTo?: string[];
|
|
646
647
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resource-explorer-2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resource Explorer 2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.235.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.235.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.234.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.235.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.226.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.226.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@aws-sdk/middleware-host-header": "3.226.0",
|
|
31
31
|
"@aws-sdk/middleware-logger": "3.226.0",
|
|
32
32
|
"@aws-sdk/middleware-recursion-detection": "3.226.0",
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.235.0",
|
|
34
34
|
"@aws-sdk/middleware-serde": "3.226.0",
|
|
35
35
|
"@aws-sdk/middleware-signing": "3.226.0",
|
|
36
36
|
"@aws-sdk/middleware-stack": "3.226.0",
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"@aws-sdk/node-config-provider": "3.226.0",
|
|
39
39
|
"@aws-sdk/node-http-handler": "3.226.0",
|
|
40
40
|
"@aws-sdk/protocol-http": "3.226.0",
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
+
"@aws-sdk/smithy-client": "3.234.0",
|
|
42
42
|
"@aws-sdk/types": "3.226.0",
|
|
43
43
|
"@aws-sdk/url-parser": "3.226.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.234.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.234.0",
|
|
49
49
|
"@aws-sdk/util-endpoints": "3.226.0",
|
|
50
50
|
"@aws-sdk/util-retry": "3.229.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-browser": "3.226.0",
|