@aws-sdk/client-resource-explorer-2 3.901.0 → 3.904.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 +65 -21
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +475 -0
- package/dist-es/ResourceExplorer2.js +16 -0
- package/dist-es/commands/CreateResourceExplorerSetupCommand.js +22 -0
- package/dist-es/commands/DeleteResourceExplorerSetupCommand.js +22 -0
- package/dist-es/commands/GetResourceExplorerSetupCommand.js +23 -0
- package/dist-es/commands/GetServiceIndexCommand.js +22 -0
- package/dist-es/commands/GetServiceViewCommand.js +23 -0
- package/dist-es/commands/ListServiceIndexesCommand.js +22 -0
- package/dist-es/commands/ListServiceViewsCommand.js +22 -0
- package/dist-es/commands/ListStreamingAccessForServicesCommand.js +22 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +24 -0
- package/dist-es/pagination/GetResourceExplorerSetupPaginator.js +4 -0
- package/dist-es/pagination/ListServiceIndexesPaginator.js +4 -0
- package/dist-es/pagination/ListServiceViewsPaginator.js +4 -0
- package/dist-es/pagination/ListStreamingAccessForServicesPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +261 -0
- package/dist-types/ResourceExplorer2.d.ts +62 -21
- package/dist-types/ResourceExplorer2Client.d.ts +11 -23
- package/dist-types/commands/AssociateDefaultViewCommand.d.ts +6 -18
- package/dist-types/commands/BatchGetViewCommand.d.ts +4 -9
- package/dist-types/commands/CreateIndexCommand.d.ts +6 -67
- package/dist-types/commands/CreateResourceExplorerSetupCommand.d.ts +95 -0
- package/dist-types/commands/CreateViewCommand.d.ts +6 -24
- package/dist-types/commands/DeleteIndexCommand.d.ts +6 -23
- package/dist-types/commands/DeleteResourceExplorerSetupCommand.d.ts +92 -0
- package/dist-types/commands/DeleteViewCommand.d.ts +6 -15
- package/dist-types/commands/DisassociateDefaultViewCommand.d.ts +6 -17
- package/dist-types/commands/GetAccountLevelServiceConfigurationCommand.d.ts +5 -12
- package/dist-types/commands/GetDefaultViewCommand.d.ts +6 -13
- package/dist-types/commands/GetIndexCommand.d.ts +6 -13
- package/dist-types/commands/GetManagedViewCommand.d.ts +5 -11
- package/dist-types/commands/GetResourceExplorerSetupCommand.d.ts +129 -0
- package/dist-types/commands/GetServiceIndexCommand.d.ts +88 -0
- package/dist-types/commands/GetServiceViewCommand.d.ts +101 -0
- package/dist-types/commands/GetViewCommand.d.ts +5 -11
- package/dist-types/commands/ListIndexesCommand.d.ts +5 -11
- package/dist-types/commands/ListIndexesForMembersCommand.d.ts +5 -13
- package/dist-types/commands/ListManagedViewsCommand.d.ts +5 -12
- package/dist-types/commands/ListResourcesCommand.d.ts +6 -14
- package/dist-types/commands/ListServiceIndexesCommand.d.ts +97 -0
- package/dist-types/commands/ListServiceViewsCommand.d.ts +90 -0
- package/dist-types/commands/ListStreamingAccessForServicesCommand.d.ts +90 -0
- package/dist-types/commands/ListSupportedResourceTypesCommand.d.ts +4 -9
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -11
- package/dist-types/commands/ListViewsCommand.d.ts +5 -19
- package/dist-types/commands/SearchCommand.d.ts +6 -24
- package/dist-types/commands/TagResourceCommand.d.ts +5 -16
- package/dist-types/commands/UntagResourceCommand.d.ts +5 -11
- package/dist-types/commands/UpdateIndexTypeCommand.d.ts +7 -75
- package/dist-types/commands/UpdateViewCommand.d.ts +5 -11
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/index.d.ts +1 -21
- package/dist-types/models/models_0.d.ts +473 -442
- package/dist-types/pagination/GetResourceExplorerSetupPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceIndexesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceViewsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListStreamingAccessForServicesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/ResourceExplorer2.d.ts +141 -0
- package/dist-types/ts3.4/ResourceExplorer2Client.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateResourceExplorerSetupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteResourceExplorerSetupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourceExplorerSetupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetServiceIndexCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetServiceViewCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListServiceIndexesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListServiceViewsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListStreamingAccessForServicesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +106 -0
- package/dist-types/ts3.4/pagination/GetResourceExplorerSetupPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceIndexesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceViewsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListStreamingAccessForServicesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,27 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript ResourceExplorer2 Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>Amazon Web Services Resource Explorer is a resource search and discovery service. By using Resource Explorer, you can
|
|
10
|
-
explore your resources using an internet search engine-like experience. Examples of
|
|
11
|
-
resources include Amazon Relational Database Service (Amazon RDS) instances, Amazon Simple Storage Service (Amazon S3) buckets, or Amazon DynamoDB
|
|
12
|
-
tables. You can search for your resources using resource metadata like names, tags, and
|
|
13
|
-
IDs. Resource Explorer can search across all of the Amazon Web Services Regions in your account in which you turn
|
|
14
|
-
the service on, to simplify your cross-Region workloads.</p>
|
|
15
|
-
<p>Resource Explorer scans the resources in each of the Amazon Web Services Regions in your Amazon Web Services account in which
|
|
16
|
-
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
|
|
17
|
-
and maintains an index</a> in each Region, with the details of that Region's
|
|
18
|
-
resources.</p>
|
|
19
|
-
<p>You can <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html">search across all of the
|
|
20
|
-
indexed Regions in your account</a> by designating one of your Amazon Web Services Regions to
|
|
21
|
-
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
|
|
22
|
-
in a Region to become the aggregator index for the account</a>, Resource Explorer automatically
|
|
23
|
-
replicates the index information from all local indexes in the other Regions to the
|
|
24
|
-
aggregator index. Therefore, the Region with the aggregator index has a copy of all resource
|
|
25
|
-
information for all Regions in the account where you turned on Resource Explorer. As a result,
|
|
26
|
-
views in the aggregator index Region include resources from all of the indexed Regions in your
|
|
27
|
-
account.</p>
|
|
28
|
-
<p>For more information about Amazon Web Services Resource Explorer, including how to enable and configure the
|
|
29
|
-
service, see the <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/">Amazon Web Services Resource Explorer User Guide</a>.</p>
|
|
9
|
+
<p>Amazon Web Services Resource Explorer is a resource search and discovery service. By using Resource Explorer, you can explore your resources using an internet search engine-like experience. Examples of resources include Amazon Relational Database Service (Amazon RDS) instances, Amazon Simple Storage Service (Amazon S3) buckets, or Amazon DynamoDB tables. You can search for your resources using resource metadata like names, tags, and IDs. Resource Explorer can search across all of the Amazon Web Services Regions in your account in which you turn the service on, to simplify your cross-Region workloads.</p> <p>Resource Explorer scans the resources in each of the Amazon Web Services Regions in your Amazon Web Services account in which 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 and maintains an index</a> in each Region, with the details of that Region's resources.</p> <p>You can <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html">search across all of the indexed Regions in your account</a> by designating one of your Amazon Web Services Regions to 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 in a Region to become the aggregator index for the account</a>, Resource Explorer automatically replicates the index information from all local indexes in the other Regions to the aggregator index. Therefore, the Region with the aggregator index has a copy of all resource information for all Regions in the account where you turned on Resource Explorer. As a result, views in the aggregator index Region include resources from all of the indexed Regions in your account.</p> <p>For more information about Amazon Web Services Resource Explorer, including how to enable and configure the service, see the <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/">Amazon Web Services Resource Explorer User Guide</a>.</p>
|
|
30
10
|
|
|
31
11
|
## Installing
|
|
32
12
|
|
|
@@ -246,6 +226,14 @@ CreateIndex
|
|
|
246
226
|
|
|
247
227
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-explorer-2/command/CreateIndexCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/CreateIndexCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/CreateIndexCommandOutput/)
|
|
248
228
|
|
|
229
|
+
</details>
|
|
230
|
+
<details>
|
|
231
|
+
<summary>
|
|
232
|
+
CreateResourceExplorerSetup
|
|
233
|
+
</summary>
|
|
234
|
+
|
|
235
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-explorer-2/command/CreateResourceExplorerSetupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/CreateResourceExplorerSetupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/CreateResourceExplorerSetupCommandOutput/)
|
|
236
|
+
|
|
249
237
|
</details>
|
|
250
238
|
<details>
|
|
251
239
|
<summary>
|
|
@@ -262,6 +250,14 @@ DeleteIndex
|
|
|
262
250
|
|
|
263
251
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-explorer-2/command/DeleteIndexCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/DeleteIndexCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/DeleteIndexCommandOutput/)
|
|
264
252
|
|
|
253
|
+
</details>
|
|
254
|
+
<details>
|
|
255
|
+
<summary>
|
|
256
|
+
DeleteResourceExplorerSetup
|
|
257
|
+
</summary>
|
|
258
|
+
|
|
259
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-explorer-2/command/DeleteResourceExplorerSetupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/DeleteResourceExplorerSetupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/DeleteResourceExplorerSetupCommandOutput/)
|
|
260
|
+
|
|
265
261
|
</details>
|
|
266
262
|
<details>
|
|
267
263
|
<summary>
|
|
@@ -310,6 +306,30 @@ GetManagedView
|
|
|
310
306
|
|
|
311
307
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-explorer-2/command/GetManagedViewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/GetManagedViewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/GetManagedViewCommandOutput/)
|
|
312
308
|
|
|
309
|
+
</details>
|
|
310
|
+
<details>
|
|
311
|
+
<summary>
|
|
312
|
+
GetResourceExplorerSetup
|
|
313
|
+
</summary>
|
|
314
|
+
|
|
315
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-explorer-2/command/GetResourceExplorerSetupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/GetResourceExplorerSetupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/GetResourceExplorerSetupCommandOutput/)
|
|
316
|
+
|
|
317
|
+
</details>
|
|
318
|
+
<details>
|
|
319
|
+
<summary>
|
|
320
|
+
GetServiceIndex
|
|
321
|
+
</summary>
|
|
322
|
+
|
|
323
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-explorer-2/command/GetServiceIndexCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/GetServiceIndexCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/GetServiceIndexCommandOutput/)
|
|
324
|
+
|
|
325
|
+
</details>
|
|
326
|
+
<details>
|
|
327
|
+
<summary>
|
|
328
|
+
GetServiceView
|
|
329
|
+
</summary>
|
|
330
|
+
|
|
331
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-explorer-2/command/GetServiceViewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/GetServiceViewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/GetServiceViewCommandOutput/)
|
|
332
|
+
|
|
313
333
|
</details>
|
|
314
334
|
<details>
|
|
315
335
|
<summary>
|
|
@@ -350,6 +370,30 @@ ListResources
|
|
|
350
370
|
|
|
351
371
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-explorer-2/command/ListResourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/ListResourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/ListResourcesCommandOutput/)
|
|
352
372
|
|
|
373
|
+
</details>
|
|
374
|
+
<details>
|
|
375
|
+
<summary>
|
|
376
|
+
ListServiceIndexes
|
|
377
|
+
</summary>
|
|
378
|
+
|
|
379
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-explorer-2/command/ListServiceIndexesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/ListServiceIndexesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/ListServiceIndexesCommandOutput/)
|
|
380
|
+
|
|
381
|
+
</details>
|
|
382
|
+
<details>
|
|
383
|
+
<summary>
|
|
384
|
+
ListServiceViews
|
|
385
|
+
</summary>
|
|
386
|
+
|
|
387
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-explorer-2/command/ListServiceViewsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/ListServiceViewsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/ListServiceViewsCommandOutput/)
|
|
388
|
+
|
|
389
|
+
</details>
|
|
390
|
+
<details>
|
|
391
|
+
<summary>
|
|
392
|
+
ListStreamingAccessForServices
|
|
393
|
+
</summary>
|
|
394
|
+
|
|
395
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-explorer-2/command/ListStreamingAccessForServicesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/ListStreamingAccessForServicesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/ListStreamingAccessForServicesCommandOutput/)
|
|
396
|
+
|
|
353
397
|
</details>
|
|
354
398
|
<details>
|
|
355
399
|
<summary>
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://resource-explorer-2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://resource-explorer-2.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|