@aws-sdk/client-resource-explorer-2 3.478.0 → 3.484.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 (89) hide show
  1. package/dist-cjs/commands/AssociateDefaultViewCommand.js +18 -40
  2. package/dist-cjs/commands/BatchGetViewCommand.js +18 -40
  3. package/dist-cjs/commands/CreateIndexCommand.js +18 -40
  4. package/dist-cjs/commands/CreateViewCommand.js +18 -40
  5. package/dist-cjs/commands/DeleteIndexCommand.js +18 -40
  6. package/dist-cjs/commands/DeleteViewCommand.js +18 -40
  7. package/dist-cjs/commands/DisassociateDefaultViewCommand.js +18 -40
  8. package/dist-cjs/commands/GetAccountLevelServiceConfigurationCommand.js +18 -40
  9. package/dist-cjs/commands/GetDefaultViewCommand.js +18 -40
  10. package/dist-cjs/commands/GetIndexCommand.js +18 -40
  11. package/dist-cjs/commands/GetViewCommand.js +18 -40
  12. package/dist-cjs/commands/ListIndexesCommand.js +18 -40
  13. package/dist-cjs/commands/ListIndexesForMembersCommand.js +18 -40
  14. package/dist-cjs/commands/ListSupportedResourceTypesCommand.js +18 -40
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -40
  16. package/dist-cjs/commands/ListViewsCommand.js +18 -40
  17. package/dist-cjs/commands/SearchCommand.js +18 -40
  18. package/dist-cjs/commands/TagResourceCommand.js +18 -40
  19. package/dist-cjs/commands/UntagResourceCommand.js +18 -40
  20. package/dist-cjs/commands/UpdateIndexTypeCommand.js +18 -40
  21. package/dist-cjs/commands/UpdateViewCommand.js +18 -40
  22. package/dist-cjs/endpoint/EndpointParameters.js +6 -1
  23. package/dist-es/commands/AssociateDefaultViewCommand.js +18 -40
  24. package/dist-es/commands/BatchGetViewCommand.js +18 -40
  25. package/dist-es/commands/CreateIndexCommand.js +18 -40
  26. package/dist-es/commands/CreateViewCommand.js +18 -40
  27. package/dist-es/commands/DeleteIndexCommand.js +18 -40
  28. package/dist-es/commands/DeleteViewCommand.js +18 -40
  29. package/dist-es/commands/DisassociateDefaultViewCommand.js +18 -40
  30. package/dist-es/commands/GetAccountLevelServiceConfigurationCommand.js +18 -40
  31. package/dist-es/commands/GetDefaultViewCommand.js +18 -40
  32. package/dist-es/commands/GetIndexCommand.js +18 -40
  33. package/dist-es/commands/GetViewCommand.js +18 -40
  34. package/dist-es/commands/ListIndexesCommand.js +18 -40
  35. package/dist-es/commands/ListIndexesForMembersCommand.js +18 -40
  36. package/dist-es/commands/ListSupportedResourceTypesCommand.js +18 -40
  37. package/dist-es/commands/ListTagsForResourceCommand.js +18 -40
  38. package/dist-es/commands/ListViewsCommand.js +18 -40
  39. package/dist-es/commands/SearchCommand.js +18 -40
  40. package/dist-es/commands/TagResourceCommand.js +18 -40
  41. package/dist-es/commands/UntagResourceCommand.js +18 -40
  42. package/dist-es/commands/UpdateIndexTypeCommand.js +18 -40
  43. package/dist-es/commands/UpdateViewCommand.js +18 -40
  44. package/dist-es/endpoint/EndpointParameters.js +5 -0
  45. package/dist-types/commands/AssociateDefaultViewCommand.d.ts +6 -21
  46. package/dist-types/commands/BatchGetViewCommand.d.ts +6 -21
  47. package/dist-types/commands/CreateIndexCommand.d.ts +6 -21
  48. package/dist-types/commands/CreateViewCommand.d.ts +6 -21
  49. package/dist-types/commands/DeleteIndexCommand.d.ts +6 -21
  50. package/dist-types/commands/DeleteViewCommand.d.ts +6 -21
  51. package/dist-types/commands/DisassociateDefaultViewCommand.d.ts +6 -21
  52. package/dist-types/commands/GetAccountLevelServiceConfigurationCommand.d.ts +6 -21
  53. package/dist-types/commands/GetDefaultViewCommand.d.ts +6 -21
  54. package/dist-types/commands/GetIndexCommand.d.ts +6 -21
  55. package/dist-types/commands/GetViewCommand.d.ts +6 -21
  56. package/dist-types/commands/ListIndexesCommand.d.ts +6 -21
  57. package/dist-types/commands/ListIndexesForMembersCommand.d.ts +6 -21
  58. package/dist-types/commands/ListSupportedResourceTypesCommand.d.ts +6 -21
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  60. package/dist-types/commands/ListViewsCommand.d.ts +6 -21
  61. package/dist-types/commands/SearchCommand.d.ts +6 -21
  62. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  63. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  64. package/dist-types/commands/UpdateIndexTypeCommand.d.ts +6 -21
  65. package/dist-types/commands/UpdateViewCommand.d.ts +6 -21
  66. package/dist-types/endpoint/EndpointParameters.d.ts +14 -0
  67. package/dist-types/ts3.4/commands/AssociateDefaultViewCommand.d.ts +12 -24
  68. package/dist-types/ts3.4/commands/BatchGetViewCommand.d.ts +14 -23
  69. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +14 -23
  70. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +14 -23
  72. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +14 -23
  73. package/dist-types/ts3.4/commands/DisassociateDefaultViewCommand.d.ts +12 -24
  74. package/dist-types/ts3.4/commands/GetAccountLevelServiceConfigurationCommand.d.ts +12 -24
  75. package/dist-types/ts3.4/commands/GetDefaultViewCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +14 -23
  77. package/dist-types/ts3.4/commands/GetViewCommand.d.ts +12 -23
  78. package/dist-types/ts3.4/commands/ListIndexesCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/ListIndexesForMembersCommand.d.ts +12 -24
  80. package/dist-types/ts3.4/commands/ListSupportedResourceTypesCommand.d.ts +12 -24
  81. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/SearchCommand.d.ts +12 -23
  84. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/UpdateIndexTypeCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/UpdateViewCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +14 -0
  89. package/package.json +11 -11
@@ -1,46 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListViewsCommand, se_ListViewsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListViewsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, ListViewsCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "ResourceExplorer2Client";
25
- const commandName = "ListViewsCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "ResourceExplorer",
34
- operation: "ListViews",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_ListViewsCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_ListViewsCommand(output, context);
45
- }
7
+ export class ListViewsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ResourceExplorer", "ListViews", {})
19
+ .n("ResourceExplorer2Client", "ListViewsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListViewsCommand)
22
+ .de(de_ListViewsCommand)
23
+ .build() {
46
24
  }
@@ -1,47 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { SearchInputFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_SearchCommand, se_SearchCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class SearchCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, SearchCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ResourceExplorer2Client";
26
- const commandName = "SearchCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: SearchInputFilterSensitiveLog,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ResourceExplorer",
35
- operation: "Search",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_SearchCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_SearchCommand(output, context);
46
- }
8
+ export class SearchCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ResourceExplorer", "Search", {})
20
+ .n("ResourceExplorer2Client", "SearchCommand")
21
+ .f(SearchInputFilterSensitiveLog, void 0)
22
+ .ser(se_SearchCommand)
23
+ .de(de_SearchCommand)
24
+ .build() {
47
25
  }
@@ -1,47 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { TagResourceInputFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class TagResourceCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ResourceExplorer2Client";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: TagResourceInputFilterSensitiveLog,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ResourceExplorer",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
8
+ export class TagResourceCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ResourceExplorer", "TagResource", {})
20
+ .n("ResourceExplorer2Client", "TagResourceCommand")
21
+ .f(TagResourceInputFilterSensitiveLog, void 0)
22
+ .ser(se_TagResourceCommand)
23
+ .de(de_TagResourceCommand)
24
+ .build() {
47
25
  }
@@ -1,47 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { UntagResourceInputFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class UntagResourceCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ResourceExplorer2Client";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: UntagResourceInputFilterSensitiveLog,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ResourceExplorer",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
8
+ export class UntagResourceCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ResourceExplorer", "UntagResource", {})
20
+ .n("ResourceExplorer2Client", "UntagResourceCommand")
21
+ .f(UntagResourceInputFilterSensitiveLog, void 0)
22
+ .ser(se_UntagResourceCommand)
23
+ .de(de_UntagResourceCommand)
24
+ .build() {
47
25
  }
@@ -1,46 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateIndexTypeCommand, se_UpdateIndexTypeCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateIndexTypeCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateIndexTypeCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "ResourceExplorer2Client";
25
- const commandName = "UpdateIndexTypeCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "ResourceExplorer",
34
- operation: "UpdateIndexType",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_UpdateIndexTypeCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_UpdateIndexTypeCommand(output, context);
45
- }
7
+ export class UpdateIndexTypeCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ResourceExplorer", "UpdateIndexType", {})
19
+ .n("ResourceExplorer2Client", "UpdateIndexTypeCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateIndexTypeCommand)
22
+ .de(de_UpdateIndexTypeCommand)
23
+ .build() {
46
24
  }
@@ -1,47 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { UpdateViewInputFilterSensitiveLog, UpdateViewOutputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_UpdateViewCommand, se_UpdateViewCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class UpdateViewCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateViewCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ResourceExplorer2Client";
26
- const commandName = "UpdateViewCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: UpdateViewInputFilterSensitiveLog,
32
- outputFilterSensitiveLog: UpdateViewOutputFilterSensitiveLog,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ResourceExplorer",
35
- operation: "UpdateView",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateViewCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateViewCommand(output, context);
46
- }
8
+ export class UpdateViewCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ResourceExplorer", "UpdateView", {})
20
+ .n("ResourceExplorer2Client", "UpdateViewCommand")
21
+ .f(UpdateViewInputFilterSensitiveLog, UpdateViewOutputFilterSensitiveLog)
22
+ .ser(se_UpdateViewCommand)
23
+ .de(de_UpdateViewCommand)
24
+ .build() {
47
25
  }
@@ -5,3 +5,8 @@ export const resolveClientEndpointParameters = (options) => {
5
5
  defaultSigningName: "resource-explorer-2",
6
6
  };
7
7
  };
8
+ export const commonParams = {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AssociateDefaultViewInput, AssociateDefaultViewOutput } from "../models/models_0";
5
4
  import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AssociateDefaultViewCommandInput extends AssociateDefaultViewIn
21
20
  */
22
21
  export interface AssociateDefaultViewCommandOutput extends AssociateDefaultViewOutput, __MetadataBearer {
23
22
  }
23
+ declare const AssociateDefaultViewCommand_base: {
24
+ new (input: AssociateDefaultViewCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateDefaultViewCommandInput, AssociateDefaultViewCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Sets the specified view as the default for the Amazon Web Services Region in which you call this
@@ -78,23 +81,5 @@ export interface AssociateDefaultViewCommandOutput extends AssociateDefaultViewO
78
81
  * <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
79
82
  *
80
83
  */
81
- export declare class AssociateDefaultViewCommand extends $Command<AssociateDefaultViewCommandInput, AssociateDefaultViewCommandOutput, ResourceExplorer2ClientResolvedConfig> {
82
- readonly input: AssociateDefaultViewCommandInput;
83
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
- /**
85
- * @public
86
- */
87
- constructor(input: AssociateDefaultViewCommandInput);
88
- /**
89
- * @internal
90
- */
91
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateDefaultViewCommandInput, AssociateDefaultViewCommandOutput>;
92
- /**
93
- * @internal
94
- */
95
- private serialize;
96
- /**
97
- * @internal
98
- */
99
- private deserialize;
84
+ export declare class AssociateDefaultViewCommand extends AssociateDefaultViewCommand_base {
100
85
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchGetViewInput, BatchGetViewOutput } from "../models/models_0";
5
4
  import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchGetViewCommandInput extends BatchGetViewInput {
21
20
  */
22
21
  export interface BatchGetViewCommandOutput extends BatchGetViewOutput, __MetadataBearer {
23
22
  }
23
+ declare const BatchGetViewCommand_base: {
24
+ new (input: BatchGetViewCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetViewCommandInput, BatchGetViewCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves details about a list of views.</p>
@@ -94,23 +97,5 @@ export interface BatchGetViewCommandOutput extends BatchGetViewOutput, __Metadat
94
97
  * <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
95
98
  *
96
99
  */
97
- export declare class BatchGetViewCommand extends $Command<BatchGetViewCommandInput, BatchGetViewCommandOutput, ResourceExplorer2ClientResolvedConfig> {
98
- readonly input: BatchGetViewCommandInput;
99
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
- /**
101
- * @public
102
- */
103
- constructor(input: BatchGetViewCommandInput);
104
- /**
105
- * @internal
106
- */
107
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetViewCommandInput, BatchGetViewCommandOutput>;
108
- /**
109
- * @internal
110
- */
111
- private serialize;
112
- /**
113
- * @internal
114
- */
115
- private deserialize;
100
+ export declare class BatchGetViewCommand extends BatchGetViewCommand_base {
116
101
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateIndexInput, CreateIndexOutput } from "../models/models_0";
5
4
  import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateIndexCommandInput extends CreateIndexInput {
21
20
  */
22
21
  export interface CreateIndexCommandOutput extends CreateIndexOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateIndexCommand_base: {
24
+ new (input: CreateIndexCommandInput): import("@smithy/smithy-client").CommandImpl<CreateIndexCommandInput, CreateIndexCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Turns on Amazon Web Services Resource Explorer in the Amazon Web Services Region in which you called this operation by creating
@@ -132,23 +135,5 @@ export interface CreateIndexCommandOutput extends CreateIndexOutput, __MetadataB
132
135
  * <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
133
136
  *
134
137
  */
135
- export declare class CreateIndexCommand extends $Command<CreateIndexCommandInput, CreateIndexCommandOutput, ResourceExplorer2ClientResolvedConfig> {
136
- readonly input: CreateIndexCommandInput;
137
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
138
- /**
139
- * @public
140
- */
141
- constructor(input: CreateIndexCommandInput);
142
- /**
143
- * @internal
144
- */
145
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateIndexCommandInput, CreateIndexCommandOutput>;
146
- /**
147
- * @internal
148
- */
149
- private serialize;
150
- /**
151
- * @internal
152
- */
153
- private deserialize;
138
+ export declare class CreateIndexCommand extends CreateIndexCommand_base {
154
139
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateViewInput, CreateViewOutput } from "../models/models_0";
5
4
  import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateViewCommandInput extends CreateViewInput {
21
20
  */
22
21
  export interface CreateViewCommandOutput extends CreateViewOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateViewCommand_base: {
24
+ new (input: CreateViewCommandInput): import("@smithy/smithy-client").CommandImpl<CreateViewCommandInput, CreateViewCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a view that users can query by using the <a>Search</a> operation.
@@ -116,23 +119,5 @@ export interface CreateViewCommandOutput extends CreateViewOutput, __MetadataBea
116
119
  * <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
117
120
  *
118
121
  */
119
- export declare class CreateViewCommand extends $Command<CreateViewCommandInput, CreateViewCommandOutput, ResourceExplorer2ClientResolvedConfig> {
120
- readonly input: CreateViewCommandInput;
121
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
122
- /**
123
- * @public
124
- */
125
- constructor(input: CreateViewCommandInput);
126
- /**
127
- * @internal
128
- */
129
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateViewCommandInput, CreateViewCommandOutput>;
130
- /**
131
- * @internal
132
- */
133
- private serialize;
134
- /**
135
- * @internal
136
- */
137
- private deserialize;
122
+ export declare class CreateViewCommand extends CreateViewCommand_base {
138
123
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteIndexInput, DeleteIndexOutput } from "../models/models_0";
5
4
  import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteIndexCommandInput extends DeleteIndexInput {
21
20
  */
22
21
  export interface DeleteIndexCommandOutput extends DeleteIndexOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteIndexCommand_base: {
24
+ new (input: DeleteIndexCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIndexCommandInput, DeleteIndexCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified index and turns off Amazon Web Services Resource Explorer in the specified Amazon Web Services Region.
@@ -85,23 +88,5 @@ export interface DeleteIndexCommandOutput extends DeleteIndexOutput, __MetadataB
85
88
  * <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
86
89
  *
87
90
  */
88
- export declare class DeleteIndexCommand extends $Command<DeleteIndexCommandInput, DeleteIndexCommandOutput, ResourceExplorer2ClientResolvedConfig> {
89
- readonly input: DeleteIndexCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: DeleteIndexCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteIndexCommandInput, DeleteIndexCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class DeleteIndexCommand extends DeleteIndexCommand_base {
107
92
  }