@aws-sdk/client-resource-explorer-2 3.1077.0 → 3.1078.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.
Files changed (104) hide show
  1. package/dist-cjs/index.js +40 -323
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateDefaultViewCommand.js +2 -14
  4. package/dist-es/commands/BatchGetViewCommand.js +2 -14
  5. package/dist-es/commands/CreateIndexCommand.js +2 -14
  6. package/dist-es/commands/CreateResourceExplorerSetupCommand.js +2 -14
  7. package/dist-es/commands/CreateViewCommand.js +2 -14
  8. package/dist-es/commands/DeleteIndexCommand.js +2 -14
  9. package/dist-es/commands/DeleteResourceExplorerSetupCommand.js +2 -14
  10. package/dist-es/commands/DeleteViewCommand.js +2 -14
  11. package/dist-es/commands/DisassociateDefaultViewCommand.js +2 -14
  12. package/dist-es/commands/GetAccountLevelServiceConfigurationCommand.js +2 -14
  13. package/dist-es/commands/GetDefaultViewCommand.js +2 -14
  14. package/dist-es/commands/GetIndexCommand.js +2 -14
  15. package/dist-es/commands/GetManagedViewCommand.js +2 -14
  16. package/dist-es/commands/GetResourceExplorerSetupCommand.js +2 -14
  17. package/dist-es/commands/GetServiceIndexCommand.js +2 -14
  18. package/dist-es/commands/GetServiceViewCommand.js +2 -14
  19. package/dist-es/commands/GetViewCommand.js +2 -14
  20. package/dist-es/commands/ListIndexesCommand.js +2 -14
  21. package/dist-es/commands/ListIndexesForMembersCommand.js +2 -14
  22. package/dist-es/commands/ListManagedViewsCommand.js +2 -14
  23. package/dist-es/commands/ListResourcesCommand.js +2 -14
  24. package/dist-es/commands/ListServiceIndexesCommand.js +2 -14
  25. package/dist-es/commands/ListServiceViewsCommand.js +2 -14
  26. package/dist-es/commands/ListStreamingAccessForServicesCommand.js +2 -14
  27. package/dist-es/commands/ListSupportedResourceTypesCommand.js +2 -14
  28. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  29. package/dist-es/commands/ListViewsCommand.js +2 -14
  30. package/dist-es/commands/SearchCommand.js +2 -14
  31. package/dist-es/commands/TagResourceCommand.js +2 -14
  32. package/dist-es/commands/UntagResourceCommand.js +2 -14
  33. package/dist-es/commands/UpdateIndexTypeCommand.js +2 -14
  34. package/dist-es/commands/UpdateViewCommand.js +2 -14
  35. package/dist-es/index.js +1 -0
  36. package/dist-types/commandBuilder.d.ts +18 -0
  37. package/dist-types/commands/AssociateDefaultViewCommand.d.ts +3 -8
  38. package/dist-types/commands/BatchGetViewCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateIndexCommand.d.ts +3 -8
  40. package/dist-types/commands/CreateResourceExplorerSetupCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateViewCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteIndexCommand.d.ts +3 -8
  43. package/dist-types/commands/DeleteResourceExplorerSetupCommand.d.ts +3 -8
  44. package/dist-types/commands/DeleteViewCommand.d.ts +3 -8
  45. package/dist-types/commands/DisassociateDefaultViewCommand.d.ts +3 -8
  46. package/dist-types/commands/GetAccountLevelServiceConfigurationCommand.d.ts +3 -8
  47. package/dist-types/commands/GetDefaultViewCommand.d.ts +3 -8
  48. package/dist-types/commands/GetIndexCommand.d.ts +3 -8
  49. package/dist-types/commands/GetManagedViewCommand.d.ts +3 -8
  50. package/dist-types/commands/GetResourceExplorerSetupCommand.d.ts +3 -8
  51. package/dist-types/commands/GetServiceIndexCommand.d.ts +3 -8
  52. package/dist-types/commands/GetServiceViewCommand.d.ts +3 -8
  53. package/dist-types/commands/GetViewCommand.d.ts +3 -8
  54. package/dist-types/commands/ListIndexesCommand.d.ts +3 -8
  55. package/dist-types/commands/ListIndexesForMembersCommand.d.ts +3 -8
  56. package/dist-types/commands/ListManagedViewsCommand.d.ts +3 -8
  57. package/dist-types/commands/ListResourcesCommand.d.ts +3 -8
  58. package/dist-types/commands/ListServiceIndexesCommand.d.ts +3 -8
  59. package/dist-types/commands/ListServiceViewsCommand.d.ts +3 -8
  60. package/dist-types/commands/ListStreamingAccessForServicesCommand.d.ts +3 -8
  61. package/dist-types/commands/ListSupportedResourceTypesCommand.d.ts +3 -8
  62. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  63. package/dist-types/commands/ListViewsCommand.d.ts +3 -8
  64. package/dist-types/commands/SearchCommand.d.ts +3 -8
  65. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  66. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  67. package/dist-types/commands/UpdateIndexTypeCommand.d.ts +3 -8
  68. package/dist-types/commands/UpdateViewCommand.d.ts +3 -8
  69. package/dist-types/index.d.ts +1 -0
  70. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  71. package/dist-types/ts3.4/commands/AssociateDefaultViewCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/BatchGetViewCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/CreateResourceExplorerSetupCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DeleteResourceExplorerSetupCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DisassociateDefaultViewCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/GetAccountLevelServiceConfigurationCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetDefaultViewCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/GetManagedViewCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/GetResourceExplorerSetupCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/GetServiceIndexCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/GetServiceViewCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/GetViewCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/ListIndexesCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ListIndexesForMembersCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/ListManagedViewsCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/ListServiceIndexesCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ListServiceViewsCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListStreamingAccessForServicesCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/ListSupportedResourceTypesCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/SearchCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/UpdateIndexTypeCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/UpdateViewCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/index.d.ts +1 -0
  104. package/package.json +8 -8
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDefaultView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDefaultViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "GetDefaultView", {})
13
- .n("ResourceExplorer2Client", "GetDefaultViewCommand")
14
- .sc(GetDefaultView$)
15
- .build() {
3
+ export class GetDefaultViewCommand extends command(_ep0, _mw0, "GetDefaultView", GetDefaultView$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetIndex$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetIndexCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "GetIndex", {})
13
- .n("ResourceExplorer2Client", "GetIndexCommand")
14
- .sc(GetIndex$)
15
- .build() {
3
+ export class GetIndexCommand extends command(_ep0, _mw0, "GetIndex", GetIndex$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetManagedView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetManagedViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "GetManagedView", {})
13
- .n("ResourceExplorer2Client", "GetManagedViewCommand")
14
- .sc(GetManagedView$)
15
- .build() {
3
+ export class GetManagedViewCommand extends command(_ep0, _mw0, "GetManagedView", GetManagedView$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetResourceExplorerSetup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResourceExplorerSetupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "GetResourceExplorerSetup", {})
13
- .n("ResourceExplorer2Client", "GetResourceExplorerSetupCommand")
14
- .sc(GetResourceExplorerSetup$)
15
- .build() {
3
+ export class GetResourceExplorerSetupCommand extends command(_ep0, _mw0, "GetResourceExplorerSetup", GetResourceExplorerSetup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetServiceIndex$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetServiceIndexCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "GetServiceIndex", {})
13
- .n("ResourceExplorer2Client", "GetServiceIndexCommand")
14
- .sc(GetServiceIndex$)
15
- .build() {
3
+ export class GetServiceIndexCommand extends command(_ep0, _mw0, "GetServiceIndex", GetServiceIndex$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetServiceView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetServiceViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "GetServiceView", {})
13
- .n("ResourceExplorer2Client", "GetServiceViewCommand")
14
- .sc(GetServiceView$)
15
- .build() {
3
+ export class GetServiceViewCommand extends command(_ep0, _mw0, "GetServiceView", GetServiceView$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "GetView", {})
13
- .n("ResourceExplorer2Client", "GetViewCommand")
14
- .sc(GetView$)
15
- .build() {
3
+ export class GetViewCommand extends command(_ep0, _mw0, "GetView", GetView$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListIndexes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListIndexesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "ListIndexes", {})
13
- .n("ResourceExplorer2Client", "ListIndexesCommand")
14
- .sc(ListIndexes$)
15
- .build() {
3
+ export class ListIndexesCommand extends command(_ep0, _mw0, "ListIndexes", ListIndexes$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListIndexesForMembers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListIndexesForMembersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "ListIndexesForMembers", {})
13
- .n("ResourceExplorer2Client", "ListIndexesForMembersCommand")
14
- .sc(ListIndexesForMembers$)
15
- .build() {
3
+ export class ListIndexesForMembersCommand extends command(_ep0, _mw0, "ListIndexesForMembers", ListIndexesForMembers$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListManagedViews$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListManagedViewsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "ListManagedViews", {})
13
- .n("ResourceExplorer2Client", "ListManagedViewsCommand")
14
- .sc(ListManagedViews$)
15
- .build() {
3
+ export class ListManagedViewsCommand extends command(_ep0, _mw0, "ListManagedViews", ListManagedViews$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListResources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListResourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "ListResources", {})
13
- .n("ResourceExplorer2Client", "ListResourcesCommand")
14
- .sc(ListResources$)
15
- .build() {
3
+ export class ListResourcesCommand extends command(_ep0, _mw0, "ListResources", ListResources$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListServiceIndexes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListServiceIndexesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "ListServiceIndexes", {})
13
- .n("ResourceExplorer2Client", "ListServiceIndexesCommand")
14
- .sc(ListServiceIndexes$)
15
- .build() {
3
+ export class ListServiceIndexesCommand extends command(_ep0, _mw0, "ListServiceIndexes", ListServiceIndexes$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListServiceViews$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListServiceViewsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "ListServiceViews", {})
13
- .n("ResourceExplorer2Client", "ListServiceViewsCommand")
14
- .sc(ListServiceViews$)
15
- .build() {
3
+ export class ListServiceViewsCommand extends command(_ep0, _mw0, "ListServiceViews", ListServiceViews$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListStreamingAccessForServices$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListStreamingAccessForServicesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "ListStreamingAccessForServices", {})
13
- .n("ResourceExplorer2Client", "ListStreamingAccessForServicesCommand")
14
- .sc(ListStreamingAccessForServices$)
15
- .build() {
3
+ export class ListStreamingAccessForServicesCommand extends command(_ep0, _mw0, "ListStreamingAccessForServices", ListStreamingAccessForServices$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListSupportedResourceTypes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSupportedResourceTypesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "ListSupportedResourceTypes", {})
13
- .n("ResourceExplorer2Client", "ListSupportedResourceTypesCommand")
14
- .sc(ListSupportedResourceTypes$)
15
- .build() {
3
+ export class ListSupportedResourceTypesCommand extends command(_ep0, _mw0, "ListSupportedResourceTypes", ListSupportedResourceTypes$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "ListTagsForResource", {})
13
- .n("ResourceExplorer2Client", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListViews$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListViewsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "ListViews", {})
13
- .n("ResourceExplorer2Client", "ListViewsCommand")
14
- .sc(ListViews$)
15
- .build() {
3
+ export class ListViewsCommand extends command(_ep0, _mw0, "ListViews", ListViews$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { Search$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SearchCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "Search", {})
13
- .n("ResourceExplorer2Client", "SearchCommand")
14
- .sc(Search$)
15
- .build() {
3
+ export class SearchCommand extends command(_ep0, _mw0, "Search", Search$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "TagResource", {})
13
- .n("ResourceExplorer2Client", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "UntagResource", {})
13
- .n("ResourceExplorer2Client", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateIndexType$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateIndexTypeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "UpdateIndexType", {})
13
- .n("ResourceExplorer2Client", "UpdateIndexTypeCommand")
14
- .sc(UpdateIndexType$)
15
- .build() {
3
+ export class UpdateIndexTypeCommand extends command(_ep0, _mw0, "UpdateIndexType", UpdateIndexType$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "UpdateView", {})
13
- .n("ResourceExplorer2Client", "UpdateViewCommand")
14
- .sc(UpdateView$)
15
- .build() {
3
+ export class UpdateViewCommand extends command(_ep0, _mw0, "UpdateView", UpdateView$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ResourceExplorer2Client";
2
2
  export * from "./ResourceExplorer2";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ResourceExplorer2Client";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { AssociateDefaultViewInput, AssociateDefaultViewOutput } from "../models/models_0";
4
- import type { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AssociateDefaultViewCommandInput extends AssociateDefaultViewIn
22
19
  export interface AssociateDefaultViewCommandOutput extends AssociateDefaultViewOutput, __MetadataBearer {
23
20
  }
24
21
  declare const AssociateDefaultViewCommand_base: {
25
- new (input: AssociateDefaultViewCommandInput): import("@smithy/core/client").CommandImpl<AssociateDefaultViewCommandInput, AssociateDefaultViewCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssociateDefaultViewCommandInput): import("@smithy/core/client").CommandImpl<AssociateDefaultViewCommandInput, AssociateDefaultViewCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AssociateDefaultViewCommandInput): import("@smithy/core/client").CommandImpl<AssociateDefaultViewCommandInput, AssociateDefaultViewCommandOutput, import("..").ResourceExplorer2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateDefaultViewCommandInput): import("@smithy/core/client").CommandImpl<AssociateDefaultViewCommandInput, AssociateDefaultViewCommandOutput, import("..").ResourceExplorer2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Sets the specified view as the default for the Amazon Web Services Region in which you call this operation. When a user performs a <a>Search</a> that doesn't explicitly specify which view to use, then Amazon Web Services Resource Explorer automatically chooses this default view for searches performed in this Amazon Web Services Region.</p> <p>If an Amazon Web Services Region doesn't have a default view configured, then users must explicitly specify a view with every <code>Search</code> operation performed in that Region.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { BatchGetViewInput, BatchGetViewOutput } from "../models/models_0";
4
- import type { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface BatchGetViewCommandInput extends BatchGetViewInput {
22
19
  export interface BatchGetViewCommandOutput extends BatchGetViewOutput, __MetadataBearer {
23
20
  }
24
21
  declare const BatchGetViewCommand_base: {
25
- new (input: BatchGetViewCommandInput): import("@smithy/core/client").CommandImpl<BatchGetViewCommandInput, BatchGetViewCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [BatchGetViewCommandInput]): import("@smithy/core/client").CommandImpl<BatchGetViewCommandInput, BatchGetViewCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: BatchGetViewCommandInput): import("@smithy/core/client").CommandImpl<BatchGetViewCommandInput, BatchGetViewCommandOutput, import("..").ResourceExplorer2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [BatchGetViewCommandInput]): import("@smithy/core/client").CommandImpl<BatchGetViewCommandInput, BatchGetViewCommandOutput, import("..").ResourceExplorer2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves details about a list of views.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateIndexInput, CreateIndexOutput } from "../models/models_0";
4
- import type { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateIndexCommandInput extends CreateIndexInput {
22
19
  export interface CreateIndexCommandOutput extends CreateIndexOutput, __MetadataBearer {
23
20
  }
24
21
  declare const CreateIndexCommand_base: {
25
- new (input: CreateIndexCommandInput): import("@smithy/core/client").CommandImpl<CreateIndexCommandInput, CreateIndexCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [CreateIndexCommandInput]): import("@smithy/core/client").CommandImpl<CreateIndexCommandInput, CreateIndexCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateIndexCommandInput): import("@smithy/core/client").CommandImpl<CreateIndexCommandInput, CreateIndexCommandOutput, import("..").ResourceExplorer2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [CreateIndexCommandInput]): import("@smithy/core/client").CommandImpl<CreateIndexCommandInput, CreateIndexCommandOutput, import("..").ResourceExplorer2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Turns on Amazon Web Services Resource Explorer in the Amazon Web Services Region in which you called this operation by creating an index. Resource Explorer begins discovering the resources in this Region and stores the details about the resources in the index so that they can be queried by using the <a>Search</a> operation. You can create only one index in a Region.</p> <note> <p>This operation creates only a <i>local</i> index. To promote the local index in one Amazon Web Services Region into the aggregator index for the Amazon Web Services account, use the <a>UpdateIndexType</a> operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html">Turning on cross-Region search by creating an aggregator index</a> in the <i>Amazon Web Services Resource Explorer User Guide</i>.</p> </note> <p>For more details about what happens when you turn on Resource Explorer in an Amazon Web Services Region, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-service-activate.html">Turn on Resource Explorer to index your resources in an Amazon Web Services Region</a> in the <i>Amazon Web Services Resource Explorer User Guide</i>.</p> <p>If this is the first Amazon Web Services Region in which you've created an index for Resource Explorer, then this operation also <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/security_iam_service-linked-roles.html">creates a service-linked role</a> in your Amazon Web Services account that allows Resource Explorer to enumerate your resources to populate the index.</p> <ul> <li> <p> <b>Action</b>: <code>resource-explorer-2:CreateIndex</code> </p> <p> <b>Resource</b>: The ARN of the index (as it will exist after the operation completes) in the Amazon Web Services Region and account in which you're trying to create the index. Use the wildcard character (<code>*</code>) at the end of the string to match the eventual UUID. For example, the following <code>Resource</code> element restricts the role or user to creating an index in only the <code>us-east-2</code> Region of the specified account.</p> <p> <code>"Resource": "arn:aws:resource-explorer-2:us-west-2:<i>&lt;account-id&gt;</i>:index/*"</code> </p> <p>Alternatively, you can use <code>"Resource": "*"</code> to allow the role or user to create an index in any Region.</p> </li> <li> <p> <b>Action</b>: <code>iam:CreateServiceLinkedRole</code> </p> <p> <b>Resource</b>: No specific resource (*). </p> <p>This permission is required only the first time you create an index to turn on Resource Explorer in the account. Resource Explorer uses this to create the <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/security_iam_service-linked-roles.html">service-linked role needed to index the resources in your account</a>. Resource Explorer uses the same service-linked role for all additional indexes you create afterwards.</p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateResourceExplorerSetupInput, CreateResourceExplorerSetupOutput } from "../models/models_0";
4
- import type { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateResourceExplorerSetupCommandInput extends CreateResourceE
22
19
  export interface CreateResourceExplorerSetupCommandOutput extends CreateResourceExplorerSetupOutput, __MetadataBearer {
23
20
  }
24
21
  declare const CreateResourceExplorerSetupCommand_base: {
25
- new (input: CreateResourceExplorerSetupCommandInput): import("@smithy/core/client").CommandImpl<CreateResourceExplorerSetupCommandInput, CreateResourceExplorerSetupCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateResourceExplorerSetupCommandInput): import("@smithy/core/client").CommandImpl<CreateResourceExplorerSetupCommandInput, CreateResourceExplorerSetupCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateResourceExplorerSetupCommandInput): import("@smithy/core/client").CommandImpl<CreateResourceExplorerSetupCommandInput, CreateResourceExplorerSetupCommandOutput, import("..").ResourceExplorer2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateResourceExplorerSetupCommandInput): import("@smithy/core/client").CommandImpl<CreateResourceExplorerSetupCommandInput, CreateResourceExplorerSetupCommandOutput, import("..").ResourceExplorer2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a Resource Explorer setup configuration across multiple Amazon Web Services Regions. This operation sets up indexes and views in the specified Regions. This operation can also be used to set an aggregator Region for cross-Region resource search.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateViewInput, CreateViewOutput } from "../models/models_0";
4
- import type { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateViewCommandInput extends CreateViewInput {
22
19
  export interface CreateViewCommandOutput extends CreateViewOutput, __MetadataBearer {
23
20
  }
24
21
  declare const CreateViewCommand_base: {
25
- new (input: CreateViewCommandInput): import("@smithy/core/client").CommandImpl<CreateViewCommandInput, CreateViewCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateViewCommandInput): import("@smithy/core/client").CommandImpl<CreateViewCommandInput, CreateViewCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateViewCommandInput): import("@smithy/core/client").CommandImpl<CreateViewCommandInput, CreateViewCommandOutput, import("..").ResourceExplorer2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateViewCommandInput): import("@smithy/core/client").CommandImpl<CreateViewCommandInput, CreateViewCommandOutput, import("..").ResourceExplorer2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a view that users can query by using the <a>Search</a> operation. Results from queries that you make using this view include only resources that match the 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> in the <i>Amazon Web Services Resource Explorer User Guide</i>.</p> <p>Only the principals with an IAM identity-based policy that grants <code>Allow</code> 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 this view can <a>Search</a> using views you create with this operation.</p>