@aws-sdk/client-resource-explorer-2 3.651.1 → 3.657.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 +8 -0
- package/dist-cjs/index.js +63 -0
- package/dist-es/ResourceExplorer2.js +2 -0
- package/dist-es/commands/ListResourcesCommand.js +23 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/pagination/ListResourcesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +32 -0
- package/dist-types/ResourceExplorer2.d.ts +8 -0
- package/dist-types/ResourceExplorer2Client.d.ts +3 -2
- package/dist-types/commands/AssociateDefaultViewCommand.d.ts +11 -0
- package/dist-types/commands/BatchGetViewCommand.d.ts +11 -0
- package/dist-types/commands/CreateIndexCommand.d.ts +11 -0
- package/dist-types/commands/CreateViewCommand.d.ts +11 -0
- package/dist-types/commands/DeleteIndexCommand.d.ts +11 -0
- package/dist-types/commands/DeleteViewCommand.d.ts +11 -0
- package/dist-types/commands/DisassociateDefaultViewCommand.d.ts +11 -0
- package/dist-types/commands/GetAccountLevelServiceConfigurationCommand.d.ts +12 -2
- package/dist-types/commands/GetDefaultViewCommand.d.ts +11 -0
- package/dist-types/commands/GetIndexCommand.d.ts +11 -0
- package/dist-types/commands/GetViewCommand.d.ts +11 -0
- package/dist-types/commands/ListIndexesCommand.d.ts +11 -0
- package/dist-types/commands/ListIndexesForMembersCommand.d.ts +11 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +120 -0
- package/dist-types/commands/ListSupportedResourceTypesCommand.d.ts +11 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/dist-types/commands/ListViewsCommand.d.ts +11 -0
- package/dist-types/commands/SearchCommand.d.ts +11 -0
- package/dist-types/commands/TagResourceCommand.d.ts +11 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +11 -0
- package/dist-types/commands/UpdateIndexTypeCommand.d.ts +11 -0
- package/dist-types/commands/UpdateViewCommand.d.ts +11 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +130 -58
- package/dist-types/pagination/ListResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/ResourceExplorer2.d.ts +18 -0
- package/dist-types/ts3.4/ResourceExplorer2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/AssociateDefaultViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/BatchGetViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DisassociateDefaultViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/GetAccountLevelServiceConfigurationCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/GetDefaultViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/GetViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListIndexesCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListIndexesForMembersCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListSupportedResourceTypesCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/SearchCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateIndexTypeCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +28 -14
- package/dist-types/ts3.4/pagination/ListResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -326,6 +326,14 @@ ListIndexesForMembers
|
|
|
326
326
|
|
|
327
327
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-explorer-2/command/ListIndexesForMembersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/ListIndexesForMembersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-explorer-2/Interface/ListIndexesForMembersCommandOutput/)
|
|
328
328
|
|
|
329
|
+
</details>
|
|
330
|
+
<details>
|
|
331
|
+
<summary>
|
|
332
|
+
ListResources
|
|
333
|
+
</summary>
|
|
334
|
+
|
|
335
|
+
[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/)
|
|
336
|
+
|
|
329
337
|
</details>
|
|
330
338
|
<details>
|
|
331
339
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -46,6 +46,8 @@ __export(src_exports, {
|
|
|
46
46
|
InternalServerException: () => InternalServerException,
|
|
47
47
|
ListIndexesCommand: () => ListIndexesCommand,
|
|
48
48
|
ListIndexesForMembersCommand: () => ListIndexesForMembersCommand,
|
|
49
|
+
ListResourcesCommand: () => ListResourcesCommand,
|
|
50
|
+
ListResourcesInputFilterSensitiveLog: () => ListResourcesInputFilterSensitiveLog,
|
|
49
51
|
ListSupportedResourceTypesCommand: () => ListSupportedResourceTypesCommand,
|
|
50
52
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
51
53
|
ListTagsForResourceOutputFilterSensitiveLog: () => ListTagsForResourceOutputFilterSensitiveLog,
|
|
@@ -73,6 +75,7 @@ __export(src_exports, {
|
|
|
73
75
|
__Client: () => import_smithy_client.Client,
|
|
74
76
|
paginateListIndexes: () => paginateListIndexes,
|
|
75
77
|
paginateListIndexesForMembers: () => paginateListIndexesForMembers,
|
|
78
|
+
paginateListResources: () => paginateListResources,
|
|
76
79
|
paginateListSupportedResourceTypes: () => paginateListSupportedResourceTypes,
|
|
77
80
|
paginateListViews: () => paginateListViews,
|
|
78
81
|
paginateSearch: () => paginateSearch
|
|
@@ -472,6 +475,10 @@ var GetIndexOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
472
475
|
...obj,
|
|
473
476
|
...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
|
|
474
477
|
}), "GetIndexOutputFilterSensitiveLog");
|
|
478
|
+
var ListResourcesInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
479
|
+
...obj,
|
|
480
|
+
...obj.Filters && { Filters: import_smithy_client.SENSITIVE_STRING }
|
|
481
|
+
}), "ListResourcesInputFilterSensitiveLog");
|
|
475
482
|
var ListTagsForResourceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
476
483
|
...obj,
|
|
477
484
|
...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -668,6 +675,24 @@ var se_ListIndexesForMembersCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
668
675
|
b.m("POST").h(headers).b(body);
|
|
669
676
|
return b.build();
|
|
670
677
|
}, "se_ListIndexesForMembersCommand");
|
|
678
|
+
var se_ListResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
679
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
680
|
+
const headers = {
|
|
681
|
+
"content-type": "application/json"
|
|
682
|
+
};
|
|
683
|
+
b.bp("/ListResources");
|
|
684
|
+
let body;
|
|
685
|
+
body = JSON.stringify(
|
|
686
|
+
(0, import_smithy_client.take)(input, {
|
|
687
|
+
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
688
|
+
MaxResults: [],
|
|
689
|
+
NextToken: [],
|
|
690
|
+
ViewArn: []
|
|
691
|
+
})
|
|
692
|
+
);
|
|
693
|
+
b.m("POST").h(headers).b(body);
|
|
694
|
+
return b.build();
|
|
695
|
+
}, "se_ListResourcesCommand");
|
|
671
696
|
var se_ListSupportedResourceTypesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
672
697
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
673
698
|
const headers = {
|
|
@@ -984,6 +1009,22 @@ var de_ListIndexesForMembersCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
984
1009
|
Object.assign(contents, doc);
|
|
985
1010
|
return contents;
|
|
986
1011
|
}, "de_ListIndexesForMembersCommand");
|
|
1012
|
+
var de_ListResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1013
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1014
|
+
return de_CommandError(output, context);
|
|
1015
|
+
}
|
|
1016
|
+
const contents = (0, import_smithy_client.map)({
|
|
1017
|
+
$metadata: deserializeMetadata(output)
|
|
1018
|
+
});
|
|
1019
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1020
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1021
|
+
NextToken: import_smithy_client.expectString,
|
|
1022
|
+
Resources: (_) => de_ResourceList(_, context),
|
|
1023
|
+
ViewArn: import_smithy_client.expectString
|
|
1024
|
+
});
|
|
1025
|
+
Object.assign(contents, doc);
|
|
1026
|
+
return contents;
|
|
1027
|
+
}, "de_ListResourcesCommand");
|
|
987
1028
|
var de_ListSupportedResourceTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
988
1029
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
989
1030
|
return de_CommandError(output, context);
|
|
@@ -1480,6 +1521,20 @@ var _ListIndexesForMembersCommand = class _ListIndexesForMembersCommand extends
|
|
|
1480
1521
|
__name(_ListIndexesForMembersCommand, "ListIndexesForMembersCommand");
|
|
1481
1522
|
var ListIndexesForMembersCommand = _ListIndexesForMembersCommand;
|
|
1482
1523
|
|
|
1524
|
+
// src/commands/ListResourcesCommand.ts
|
|
1525
|
+
|
|
1526
|
+
|
|
1527
|
+
|
|
1528
|
+
var _ListResourcesCommand = class _ListResourcesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1529
|
+
return [
|
|
1530
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1531
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1532
|
+
];
|
|
1533
|
+
}).s("ResourceExplorer", "ListResources", {}).n("ResourceExplorer2Client", "ListResourcesCommand").f(ListResourcesInputFilterSensitiveLog, void 0).ser(se_ListResourcesCommand).de(de_ListResourcesCommand).build() {
|
|
1534
|
+
};
|
|
1535
|
+
__name(_ListResourcesCommand, "ListResourcesCommand");
|
|
1536
|
+
var ListResourcesCommand = _ListResourcesCommand;
|
|
1537
|
+
|
|
1483
1538
|
// src/commands/ListSupportedResourceTypesCommand.ts
|
|
1484
1539
|
|
|
1485
1540
|
|
|
@@ -1607,6 +1662,7 @@ var commands = {
|
|
|
1607
1662
|
GetViewCommand,
|
|
1608
1663
|
ListIndexesCommand,
|
|
1609
1664
|
ListIndexesForMembersCommand,
|
|
1665
|
+
ListResourcesCommand,
|
|
1610
1666
|
ListSupportedResourceTypesCommand,
|
|
1611
1667
|
ListTagsForResourceCommand,
|
|
1612
1668
|
ListViewsCommand,
|
|
@@ -1630,6 +1686,10 @@ var paginateListIndexesForMembers = (0, import_core.createPaginator)(ResourceExp
|
|
|
1630
1686
|
|
|
1631
1687
|
var paginateListIndexes = (0, import_core.createPaginator)(ResourceExplorer2Client, ListIndexesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1632
1688
|
|
|
1689
|
+
// src/pagination/ListResourcesPaginator.ts
|
|
1690
|
+
|
|
1691
|
+
var paginateListResources = (0, import_core.createPaginator)(ResourceExplorer2Client, ListResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1692
|
+
|
|
1633
1693
|
// src/pagination/ListSupportedResourceTypesPaginator.ts
|
|
1634
1694
|
|
|
1635
1695
|
var paginateListSupportedResourceTypes = (0, import_core.createPaginator)(ResourceExplorer2Client, ListSupportedResourceTypesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1662,6 +1722,7 @@ var paginateSearch = (0, import_core.createPaginator)(ResourceExplorer2Client, S
|
|
|
1662
1722
|
GetViewCommand,
|
|
1663
1723
|
ListIndexesCommand,
|
|
1664
1724
|
ListIndexesForMembersCommand,
|
|
1725
|
+
ListResourcesCommand,
|
|
1665
1726
|
ListSupportedResourceTypesCommand,
|
|
1666
1727
|
ListTagsForResourceCommand,
|
|
1667
1728
|
ListViewsCommand,
|
|
@@ -1672,6 +1733,7 @@ var paginateSearch = (0, import_core.createPaginator)(ResourceExplorer2Client, S
|
|
|
1672
1733
|
UpdateViewCommand,
|
|
1673
1734
|
paginateListIndexesForMembers,
|
|
1674
1735
|
paginateListIndexes,
|
|
1736
|
+
paginateListResources,
|
|
1675
1737
|
paginateListSupportedResourceTypes,
|
|
1676
1738
|
paginateListViews,
|
|
1677
1739
|
paginateSearch,
|
|
@@ -1696,6 +1758,7 @@ var paginateSearch = (0, import_core.createPaginator)(ResourceExplorer2Client, S
|
|
|
1696
1758
|
UpdateViewInputFilterSensitiveLog,
|
|
1697
1759
|
UpdateViewOutputFilterSensitiveLog,
|
|
1698
1760
|
GetIndexOutputFilterSensitiveLog,
|
|
1761
|
+
ListResourcesInputFilterSensitiveLog,
|
|
1699
1762
|
ListTagsForResourceOutputFilterSensitiveLog,
|
|
1700
1763
|
SearchInputFilterSensitiveLog,
|
|
1701
1764
|
TagResourceInputFilterSensitiveLog,
|
|
@@ -12,6 +12,7 @@ import { GetIndexCommand } from "./commands/GetIndexCommand";
|
|
|
12
12
|
import { GetViewCommand } from "./commands/GetViewCommand";
|
|
13
13
|
import { ListIndexesCommand } from "./commands/ListIndexesCommand";
|
|
14
14
|
import { ListIndexesForMembersCommand, } from "./commands/ListIndexesForMembersCommand";
|
|
15
|
+
import { ListResourcesCommand, } from "./commands/ListResourcesCommand";
|
|
15
16
|
import { ListSupportedResourceTypesCommand, } from "./commands/ListSupportedResourceTypesCommand";
|
|
16
17
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
17
18
|
import { ListViewsCommand } from "./commands/ListViewsCommand";
|
|
@@ -35,6 +36,7 @@ const commands = {
|
|
|
35
36
|
GetViewCommand,
|
|
36
37
|
ListIndexesCommand,
|
|
37
38
|
ListIndexesForMembersCommand,
|
|
39
|
+
ListResourcesCommand,
|
|
38
40
|
ListSupportedResourceTypesCommand,
|
|
39
41
|
ListTagsForResourceCommand,
|
|
40
42
|
ListViewsCommand,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ListResourcesInputFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { de_ListResourcesCommand, se_ListResourcesCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ListResourcesCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("ResourceExplorer", "ListResources", {})
|
|
18
|
+
.n("ResourceExplorer2Client", "ListResourcesCommand")
|
|
19
|
+
.f(ListResourcesInputFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_ListResourcesCommand)
|
|
21
|
+
.de(de_ListResourcesCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./GetIndexCommand";
|
|
|
11
11
|
export * from "./GetViewCommand";
|
|
12
12
|
export * from "./ListIndexesCommand";
|
|
13
13
|
export * from "./ListIndexesForMembersCommand";
|
|
14
|
+
export * from "./ListResourcesCommand";
|
|
14
15
|
export * from "./ListSupportedResourceTypesCommand";
|
|
15
16
|
export * from "./ListTagsForResourceCommand";
|
|
16
17
|
export * from "./ListViewsCommand";
|
|
@@ -163,6 +163,10 @@ export const GetIndexOutputFilterSensitiveLog = (obj) => ({
|
|
|
163
163
|
...obj,
|
|
164
164
|
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
165
165
|
});
|
|
166
|
+
export const ListResourcesInputFilterSensitiveLog = (obj) => ({
|
|
167
|
+
...obj,
|
|
168
|
+
...(obj.Filters && { Filters: SENSITIVE_STRING }),
|
|
169
|
+
});
|
|
166
170
|
export const ListTagsForResourceOutputFilterSensitiveLog = (obj) => ({
|
|
167
171
|
...obj,
|
|
168
172
|
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListResourcesCommand, } from "../commands/ListResourcesCommand";
|
|
3
|
+
import { ResourceExplorer2Client } from "../ResourceExplorer2Client";
|
|
4
|
+
export const paginateListResources = createPaginator(ResourceExplorer2Client, ListResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListIndexesForMembersPaginator";
|
|
3
3
|
export * from "./ListIndexesPaginator";
|
|
4
|
+
export * from "./ListResourcesPaginator";
|
|
4
5
|
export * from "./ListSupportedResourceTypesPaginator";
|
|
5
6
|
export * from "./ListViewsPaginator";
|
|
6
7
|
export * from "./SearchPaginator";
|
|
@@ -164,6 +164,22 @@ export const se_ListIndexesForMembersCommand = async (input, context) => {
|
|
|
164
164
|
b.m("POST").h(headers).b(body);
|
|
165
165
|
return b.build();
|
|
166
166
|
};
|
|
167
|
+
export const se_ListResourcesCommand = async (input, context) => {
|
|
168
|
+
const b = rb(input, context);
|
|
169
|
+
const headers = {
|
|
170
|
+
"content-type": "application/json",
|
|
171
|
+
};
|
|
172
|
+
b.bp("/ListResources");
|
|
173
|
+
let body;
|
|
174
|
+
body = JSON.stringify(take(input, {
|
|
175
|
+
Filters: (_) => _json(_),
|
|
176
|
+
MaxResults: [],
|
|
177
|
+
NextToken: [],
|
|
178
|
+
ViewArn: [],
|
|
179
|
+
}));
|
|
180
|
+
b.m("POST").h(headers).b(body);
|
|
181
|
+
return b.build();
|
|
182
|
+
};
|
|
167
183
|
export const se_ListSupportedResourceTypesCommand = async (input, context) => {
|
|
168
184
|
const b = rb(input, context);
|
|
169
185
|
const headers = {
|
|
@@ -468,6 +484,22 @@ export const de_ListIndexesForMembersCommand = async (output, context) => {
|
|
|
468
484
|
Object.assign(contents, doc);
|
|
469
485
|
return contents;
|
|
470
486
|
};
|
|
487
|
+
export const de_ListResourcesCommand = async (output, context) => {
|
|
488
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
489
|
+
return de_CommandError(output, context);
|
|
490
|
+
}
|
|
491
|
+
const contents = map({
|
|
492
|
+
$metadata: deserializeMetadata(output),
|
|
493
|
+
});
|
|
494
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
495
|
+
const doc = take(data, {
|
|
496
|
+
NextToken: __expectString,
|
|
497
|
+
Resources: (_) => de_ResourceList(_, context),
|
|
498
|
+
ViewArn: __expectString,
|
|
499
|
+
});
|
|
500
|
+
Object.assign(contents, doc);
|
|
501
|
+
return contents;
|
|
502
|
+
};
|
|
471
503
|
export const de_ListSupportedResourceTypesCommand = async (output, context) => {
|
|
472
504
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
473
505
|
return de_CommandError(output, context);
|
|
@@ -12,6 +12,7 @@ import { GetIndexCommandInput, GetIndexCommandOutput } from "./commands/GetIndex
|
|
|
12
12
|
import { GetViewCommandInput, GetViewCommandOutput } from "./commands/GetViewCommand";
|
|
13
13
|
import { ListIndexesCommandInput, ListIndexesCommandOutput } from "./commands/ListIndexesCommand";
|
|
14
14
|
import { ListIndexesForMembersCommandInput, ListIndexesForMembersCommandOutput } from "./commands/ListIndexesForMembersCommand";
|
|
15
|
+
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
15
16
|
import { ListSupportedResourceTypesCommandInput, ListSupportedResourceTypesCommandOutput } from "./commands/ListSupportedResourceTypesCommand";
|
|
16
17
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
17
18
|
import { ListViewsCommandInput, ListViewsCommandOutput } from "./commands/ListViewsCommand";
|
|
@@ -107,6 +108,13 @@ export interface ResourceExplorer2 {
|
|
|
107
108
|
listIndexesForMembers(args: ListIndexesForMembersCommandInput, options?: __HttpHandlerOptions): Promise<ListIndexesForMembersCommandOutput>;
|
|
108
109
|
listIndexesForMembers(args: ListIndexesForMembersCommandInput, cb: (err: any, data?: ListIndexesForMembersCommandOutput) => void): void;
|
|
109
110
|
listIndexesForMembers(args: ListIndexesForMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIndexesForMembersCommandOutput) => void): void;
|
|
111
|
+
/**
|
|
112
|
+
* @see {@link ListResourcesCommand}
|
|
113
|
+
*/
|
|
114
|
+
listResources(): Promise<ListResourcesCommandOutput>;
|
|
115
|
+
listResources(args: ListResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcesCommandOutput>;
|
|
116
|
+
listResources(args: ListResourcesCommandInput, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
117
|
+
listResources(args: ListResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
110
118
|
/**
|
|
111
119
|
* @see {@link ListSupportedResourceTypesCommand}
|
|
112
120
|
*/
|
|
@@ -20,6 +20,7 @@ import { GetIndexCommandInput, GetIndexCommandOutput } from "./commands/GetIndex
|
|
|
20
20
|
import { GetViewCommandInput, GetViewCommandOutput } from "./commands/GetViewCommand";
|
|
21
21
|
import { ListIndexesCommandInput, ListIndexesCommandOutput } from "./commands/ListIndexesCommand";
|
|
22
22
|
import { ListIndexesForMembersCommandInput, ListIndexesForMembersCommandOutput } from "./commands/ListIndexesForMembersCommand";
|
|
23
|
+
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
23
24
|
import { ListSupportedResourceTypesCommandInput, ListSupportedResourceTypesCommandOutput } from "./commands/ListSupportedResourceTypesCommand";
|
|
24
25
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
25
26
|
import { ListViewsCommandInput, ListViewsCommandOutput } from "./commands/ListViewsCommand";
|
|
@@ -34,11 +35,11 @@ export { __Client };
|
|
|
34
35
|
/**
|
|
35
36
|
* @public
|
|
36
37
|
*/
|
|
37
|
-
export type ServiceInputTypes = AssociateDefaultViewCommandInput | BatchGetViewCommandInput | CreateIndexCommandInput | CreateViewCommandInput | DeleteIndexCommandInput | DeleteViewCommandInput | DisassociateDefaultViewCommandInput | GetAccountLevelServiceConfigurationCommandInput | GetDefaultViewCommandInput | GetIndexCommandInput | GetViewCommandInput | ListIndexesCommandInput | ListIndexesForMembersCommandInput | ListSupportedResourceTypesCommandInput | ListTagsForResourceCommandInput | ListViewsCommandInput | SearchCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIndexTypeCommandInput | UpdateViewCommandInput;
|
|
38
|
+
export type ServiceInputTypes = AssociateDefaultViewCommandInput | BatchGetViewCommandInput | CreateIndexCommandInput | CreateViewCommandInput | DeleteIndexCommandInput | DeleteViewCommandInput | DisassociateDefaultViewCommandInput | GetAccountLevelServiceConfigurationCommandInput | GetDefaultViewCommandInput | GetIndexCommandInput | GetViewCommandInput | ListIndexesCommandInput | ListIndexesForMembersCommandInput | ListResourcesCommandInput | ListSupportedResourceTypesCommandInput | ListTagsForResourceCommandInput | ListViewsCommandInput | SearchCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIndexTypeCommandInput | UpdateViewCommandInput;
|
|
38
39
|
/**
|
|
39
40
|
* @public
|
|
40
41
|
*/
|
|
41
|
-
export type ServiceOutputTypes = AssociateDefaultViewCommandOutput | BatchGetViewCommandOutput | CreateIndexCommandOutput | CreateViewCommandOutput | DeleteIndexCommandOutput | DeleteViewCommandOutput | DisassociateDefaultViewCommandOutput | GetAccountLevelServiceConfigurationCommandOutput | GetDefaultViewCommandOutput | GetIndexCommandOutput | GetViewCommandOutput | ListIndexesCommandOutput | ListIndexesForMembersCommandOutput | ListSupportedResourceTypesCommandOutput | ListTagsForResourceCommandOutput | ListViewsCommandOutput | SearchCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIndexTypeCommandOutput | UpdateViewCommandOutput;
|
|
42
|
+
export type ServiceOutputTypes = AssociateDefaultViewCommandOutput | BatchGetViewCommandOutput | CreateIndexCommandOutput | CreateViewCommandOutput | DeleteIndexCommandOutput | DeleteViewCommandOutput | DisassociateDefaultViewCommandOutput | GetAccountLevelServiceConfigurationCommandOutput | GetDefaultViewCommandOutput | GetIndexCommandOutput | GetViewCommandOutput | ListIndexesCommandOutput | ListIndexesForMembersCommandOutput | ListResourcesCommandOutput | ListSupportedResourceTypesCommandOutput | ListTagsForResourceCommandOutput | ListViewsCommandOutput | SearchCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIndexTypeCommandOutput | UpdateViewCommandOutput;
|
|
42
43
|
/**
|
|
43
44
|
* @public
|
|
44
45
|
*/
|
|
@@ -84,4 +84,15 @@ declare const AssociateDefaultViewCommand_base: {
|
|
|
84
84
|
* @public
|
|
85
85
|
*/
|
|
86
86
|
export declare class AssociateDefaultViewCommand extends AssociateDefaultViewCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: AssociateDefaultViewInput;
|
|
91
|
+
output: AssociateDefaultViewOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: AssociateDefaultViewCommandInput;
|
|
95
|
+
output: AssociateDefaultViewCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
87
98
|
}
|
|
@@ -100,4 +100,15 @@ declare const BatchGetViewCommand_base: {
|
|
|
100
100
|
* @public
|
|
101
101
|
*/
|
|
102
102
|
export declare class BatchGetViewCommand extends BatchGetViewCommand_base {
|
|
103
|
+
/** @internal type navigation helper, not in runtime. */
|
|
104
|
+
protected static __types: {
|
|
105
|
+
api: {
|
|
106
|
+
input: BatchGetViewInput;
|
|
107
|
+
output: BatchGetViewOutput;
|
|
108
|
+
};
|
|
109
|
+
sdk: {
|
|
110
|
+
input: BatchGetViewCommandInput;
|
|
111
|
+
output: BatchGetViewCommandOutput;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
103
114
|
}
|
|
@@ -138,4 +138,15 @@ declare const CreateIndexCommand_base: {
|
|
|
138
138
|
* @public
|
|
139
139
|
*/
|
|
140
140
|
export declare class CreateIndexCommand extends CreateIndexCommand_base {
|
|
141
|
+
/** @internal type navigation helper, not in runtime. */
|
|
142
|
+
protected static __types: {
|
|
143
|
+
api: {
|
|
144
|
+
input: CreateIndexInput;
|
|
145
|
+
output: CreateIndexOutput;
|
|
146
|
+
};
|
|
147
|
+
sdk: {
|
|
148
|
+
input: CreateIndexCommandInput;
|
|
149
|
+
output: CreateIndexCommandOutput;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
141
152
|
}
|
|
@@ -122,4 +122,15 @@ declare const CreateViewCommand_base: {
|
|
|
122
122
|
* @public
|
|
123
123
|
*/
|
|
124
124
|
export declare class CreateViewCommand extends CreateViewCommand_base {
|
|
125
|
+
/** @internal type navigation helper, not in runtime. */
|
|
126
|
+
protected static __types: {
|
|
127
|
+
api: {
|
|
128
|
+
input: CreateViewInput;
|
|
129
|
+
output: CreateViewOutput;
|
|
130
|
+
};
|
|
131
|
+
sdk: {
|
|
132
|
+
input: CreateViewCommandInput;
|
|
133
|
+
output: CreateViewCommandOutput;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
125
136
|
}
|
|
@@ -91,4 +91,15 @@ declare const DeleteIndexCommand_base: {
|
|
|
91
91
|
* @public
|
|
92
92
|
*/
|
|
93
93
|
export declare class DeleteIndexCommand extends DeleteIndexCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: DeleteIndexInput;
|
|
98
|
+
output: DeleteIndexOutput;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: DeleteIndexCommandInput;
|
|
102
|
+
output: DeleteIndexCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
94
105
|
}
|
|
@@ -84,4 +84,15 @@ declare const DeleteViewCommand_base: {
|
|
|
84
84
|
* @public
|
|
85
85
|
*/
|
|
86
86
|
export declare class DeleteViewCommand extends DeleteViewCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: DeleteViewInput;
|
|
91
|
+
output: DeleteViewOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: DeleteViewCommandInput;
|
|
95
|
+
output: DeleteViewCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
87
98
|
}
|
|
@@ -78,4 +78,15 @@ declare const DisassociateDefaultViewCommand_base: {
|
|
|
78
78
|
* @public
|
|
79
79
|
*/
|
|
80
80
|
export declare class DisassociateDefaultViewCommand extends DisassociateDefaultViewCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: {};
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: DisassociateDefaultViewCommandInput;
|
|
89
|
+
output: DisassociateDefaultViewCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
81
92
|
}
|
|
@@ -29,8 +29,7 @@ declare const GetAccountLevelServiceConfigurationCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Retrieves the status of your account's Amazon Web Services service access, and validates the service
|
|
31
31
|
* linked role required to access the multi-account search feature. Only the management
|
|
32
|
-
* account
|
|
33
|
-
* call. </p>
|
|
32
|
+
* account can invoke this API call. </p>
|
|
34
33
|
* @example
|
|
35
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
35
|
* ```javascript
|
|
@@ -78,4 +77,15 @@ declare const GetAccountLevelServiceConfigurationCommand_base: {
|
|
|
78
77
|
* @public
|
|
79
78
|
*/
|
|
80
79
|
export declare class GetAccountLevelServiceConfigurationCommand extends GetAccountLevelServiceConfigurationCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: {};
|
|
84
|
+
output: GetAccountLevelServiceConfigurationOutput;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: GetAccountLevelServiceConfigurationCommandInput;
|
|
88
|
+
output: GetAccountLevelServiceConfigurationCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
81
91
|
}
|
|
@@ -77,4 +77,15 @@ declare const GetDefaultViewCommand_base: {
|
|
|
77
77
|
* @public
|
|
78
78
|
*/
|
|
79
79
|
export declare class GetDefaultViewCommand extends GetDefaultViewCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: {};
|
|
84
|
+
output: GetDefaultViewOutput;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: GetDefaultViewCommandInput;
|
|
88
|
+
output: GetDefaultViewCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
80
91
|
}
|
|
@@ -90,4 +90,15 @@ declare const GetIndexCommand_base: {
|
|
|
90
90
|
* @public
|
|
91
91
|
*/
|
|
92
92
|
export declare class GetIndexCommand extends GetIndexCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: {};
|
|
97
|
+
output: GetIndexOutput;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: GetIndexCommandInput;
|
|
101
|
+
output: GetIndexCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
93
104
|
}
|
|
@@ -97,4 +97,15 @@ declare const GetViewCommand_base: {
|
|
|
97
97
|
* @public
|
|
98
98
|
*/
|
|
99
99
|
export declare class GetViewCommand extends GetViewCommand_base {
|
|
100
|
+
/** @internal type navigation helper, not in runtime. */
|
|
101
|
+
protected static __types: {
|
|
102
|
+
api: {
|
|
103
|
+
input: GetViewInput;
|
|
104
|
+
output: GetViewOutput;
|
|
105
|
+
};
|
|
106
|
+
sdk: {
|
|
107
|
+
input: GetViewCommandInput;
|
|
108
|
+
output: GetViewCommandOutput;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
100
111
|
}
|
|
@@ -87,4 +87,15 @@ declare const ListIndexesCommand_base: {
|
|
|
87
87
|
* @public
|
|
88
88
|
*/
|
|
89
89
|
export declare class ListIndexesCommand extends ListIndexesCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: ListIndexesInput;
|
|
94
|
+
output: ListIndexesOutput;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: ListIndexesCommandInput;
|
|
98
|
+
output: ListIndexesCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
90
101
|
}
|
|
@@ -89,4 +89,15 @@ declare const ListIndexesForMembersCommand_base: {
|
|
|
89
89
|
* @public
|
|
90
90
|
*/
|
|
91
91
|
export declare class ListIndexesForMembersCommand extends ListIndexesForMembersCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: ListIndexesForMembersInput;
|
|
96
|
+
output: ListIndexesForMembersOutput;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: ListIndexesForMembersCommandInput;
|
|
100
|
+
output: ListIndexesForMembersCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
92
103
|
}
|