@aws-sdk/client-resource-explorer-2 3.1076.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 (116) hide show
  1. package/dist-cjs/index.js +43 -325
  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-es/runtimeConfig.browser.js +0 -2
  37. package/dist-es/runtimeConfig.js +1 -2
  38. package/dist-es/runtimeConfig.native.js +0 -2
  39. package/dist-es/runtimeConfig.shared.js +2 -0
  40. package/dist-types/commandBuilder.d.ts +18 -0
  41. package/dist-types/commands/AssociateDefaultViewCommand.d.ts +3 -8
  42. package/dist-types/commands/BatchGetViewCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateIndexCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateResourceExplorerSetupCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateViewCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteIndexCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteResourceExplorerSetupCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteViewCommand.d.ts +3 -8
  49. package/dist-types/commands/DisassociateDefaultViewCommand.d.ts +3 -8
  50. package/dist-types/commands/GetAccountLevelServiceConfigurationCommand.d.ts +3 -8
  51. package/dist-types/commands/GetDefaultViewCommand.d.ts +3 -8
  52. package/dist-types/commands/GetIndexCommand.d.ts +3 -8
  53. package/dist-types/commands/GetManagedViewCommand.d.ts +3 -8
  54. package/dist-types/commands/GetResourceExplorerSetupCommand.d.ts +3 -8
  55. package/dist-types/commands/GetServiceIndexCommand.d.ts +3 -8
  56. package/dist-types/commands/GetServiceViewCommand.d.ts +3 -8
  57. package/dist-types/commands/GetViewCommand.d.ts +3 -8
  58. package/dist-types/commands/ListIndexesCommand.d.ts +3 -8
  59. package/dist-types/commands/ListIndexesForMembersCommand.d.ts +3 -8
  60. package/dist-types/commands/ListManagedViewsCommand.d.ts +3 -8
  61. package/dist-types/commands/ListResourcesCommand.d.ts +3 -8
  62. package/dist-types/commands/ListServiceIndexesCommand.d.ts +3 -8
  63. package/dist-types/commands/ListServiceViewsCommand.d.ts +3 -8
  64. package/dist-types/commands/ListStreamingAccessForServicesCommand.d.ts +3 -8
  65. package/dist-types/commands/ListSupportedResourceTypesCommand.d.ts +3 -8
  66. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  67. package/dist-types/commands/ListViewsCommand.d.ts +3 -8
  68. package/dist-types/commands/SearchCommand.d.ts +3 -8
  69. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  70. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  71. package/dist-types/commands/UpdateIndexTypeCommand.d.ts +3 -8
  72. package/dist-types/commands/UpdateViewCommand.d.ts +3 -8
  73. package/dist-types/index.d.ts +1 -0
  74. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  75. package/dist-types/runtimeConfig.d.ts +1 -1
  76. package/dist-types/runtimeConfig.native.d.ts +1 -1
  77. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  78. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  79. package/dist-types/ts3.4/commands/AssociateDefaultViewCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/BatchGetViewCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateResourceExplorerSetupCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DeleteResourceExplorerSetupCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DisassociateDefaultViewCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetAccountLevelServiceConfigurationCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetDefaultViewCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/GetManagedViewCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/GetResourceExplorerSetupCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/GetServiceIndexCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/GetServiceViewCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/GetViewCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListIndexesCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListIndexesForMembersCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListManagedViewsCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/ListServiceIndexesCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/ListServiceViewsCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListStreamingAccessForServicesCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/ListSupportedResourceTypesCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/SearchCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/UpdateIndexTypeCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/UpdateViewCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/index.d.ts +1 -0
  112. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  113. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  114. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  115. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  116. package/package.json +8 -10
@@ -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 { GetAccountLevelServiceConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAccountLevelServiceConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "GetAccountLevelServiceConfiguration", {})
13
- .n("ResourceExplorer2Client", "GetAccountLevelServiceConfigurationCommand")
14
- .sc(GetAccountLevelServiceConfiguration$)
15
- .build() {
3
+ export class GetAccountLevelServiceConfigurationCommand extends command(_ep0, _mw0, "GetAccountLevelServiceConfiguration", GetAccountLevelServiceConfiguration$) {
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 { 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";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "ResourceExplorer",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "Resource Explorer 2",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -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>