@aws-sdk/client-resource-explorer-2 3.478.0 → 3.481.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 +9 -9
@@ -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_DisassociateDefaultViewCommand, se_DisassociateDefaultViewCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DisassociateDefaultViewCommand 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, DisassociateDefaultViewCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "ResourceExplorer2Client";
25
- const commandName = "DisassociateDefaultViewCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "ResourceExplorer",
34
- operation: "DisassociateDefaultView",
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_DisassociateDefaultViewCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_DisassociateDefaultViewCommand(output, context);
45
- }
7
+ export class DisassociateDefaultViewCommand 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", "DisassociateDefaultView", {})
19
+ .n("ResourceExplorer2Client", "DisassociateDefaultViewCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DisassociateDefaultViewCommand)
22
+ .de(de_DisassociateDefaultViewCommand)
23
+ .build() {
46
24
  }
@@ -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_GetAccountLevelServiceConfigurationCommand, se_GetAccountLevelServiceConfigurationCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetAccountLevelServiceConfigurationCommand 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, GetAccountLevelServiceConfigurationCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "ResourceExplorer2Client";
25
- const commandName = "GetAccountLevelServiceConfigurationCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "ResourceExplorer",
34
- operation: "GetAccountLevelServiceConfiguration",
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_GetAccountLevelServiceConfigurationCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_GetAccountLevelServiceConfigurationCommand(output, context);
45
- }
7
+ export class GetAccountLevelServiceConfigurationCommand 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", "GetAccountLevelServiceConfiguration", {})
19
+ .n("ResourceExplorer2Client", "GetAccountLevelServiceConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetAccountLevelServiceConfigurationCommand)
22
+ .de(de_GetAccountLevelServiceConfigurationCommand)
23
+ .build() {
46
24
  }
@@ -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_GetDefaultViewCommand, se_GetDefaultViewCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetDefaultViewCommand 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, GetDefaultViewCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "ResourceExplorer2Client";
25
- const commandName = "GetDefaultViewCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "ResourceExplorer",
34
- operation: "GetDefaultView",
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_GetDefaultViewCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_GetDefaultViewCommand(output, context);
45
- }
7
+ export class GetDefaultViewCommand 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", "GetDefaultView", {})
19
+ .n("ResourceExplorer2Client", "GetDefaultViewCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetDefaultViewCommand)
22
+ .de(de_GetDefaultViewCommand)
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 { GetIndexOutputFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_GetIndexCommand, se_GetIndexCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class GetIndexCommand 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, GetIndexCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ResourceExplorer2Client";
26
- const commandName = "GetIndexCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: GetIndexOutputFilterSensitiveLog,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ResourceExplorer",
35
- operation: "GetIndex",
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_GetIndexCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetIndexCommand(output, context);
46
- }
8
+ export class GetIndexCommand 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", "GetIndex", {})
20
+ .n("ResourceExplorer2Client", "GetIndexCommand")
21
+ .f(void 0, GetIndexOutputFilterSensitiveLog)
22
+ .ser(se_GetIndexCommand)
23
+ .de(de_GetIndexCommand)
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 { GetViewOutputFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_GetViewCommand, se_GetViewCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class GetViewCommand 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, GetViewCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ResourceExplorer2Client";
26
- const commandName = "GetViewCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: GetViewOutputFilterSensitiveLog,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ResourceExplorer",
35
- operation: "GetView",
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_GetViewCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetViewCommand(output, context);
46
- }
8
+ export class GetViewCommand 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", "GetView", {})
20
+ .n("ResourceExplorer2Client", "GetViewCommand")
21
+ .f(void 0, GetViewOutputFilterSensitiveLog)
22
+ .ser(se_GetViewCommand)
23
+ .de(de_GetViewCommand)
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_ListIndexesCommand, se_ListIndexesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListIndexesCommand 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, ListIndexesCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "ResourceExplorer2Client";
25
- const commandName = "ListIndexesCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "ResourceExplorer",
34
- operation: "ListIndexes",
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_ListIndexesCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_ListIndexesCommand(output, context);
45
- }
7
+ export class ListIndexesCommand 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", "ListIndexes", {})
19
+ .n("ResourceExplorer2Client", "ListIndexesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListIndexesCommand)
22
+ .de(de_ListIndexesCommand)
23
+ .build() {
46
24
  }
@@ -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_ListIndexesForMembersCommand, se_ListIndexesForMembersCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListIndexesForMembersCommand 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, ListIndexesForMembersCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "ResourceExplorer2Client";
25
- const commandName = "ListIndexesForMembersCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "ResourceExplorer",
34
- operation: "ListIndexesForMembers",
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_ListIndexesForMembersCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_ListIndexesForMembersCommand(output, context);
45
- }
7
+ export class ListIndexesForMembersCommand 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", "ListIndexesForMembers", {})
19
+ .n("ResourceExplorer2Client", "ListIndexesForMembersCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListIndexesForMembersCommand)
22
+ .de(de_ListIndexesForMembersCommand)
23
+ .build() {
46
24
  }
@@ -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_ListSupportedResourceTypesCommand, se_ListSupportedResourceTypesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListSupportedResourceTypesCommand 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, ListSupportedResourceTypesCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "ResourceExplorer2Client";
25
- const commandName = "ListSupportedResourceTypesCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "ResourceExplorer",
34
- operation: "ListSupportedResourceTypes",
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_ListSupportedResourceTypesCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_ListSupportedResourceTypesCommand(output, context);
45
- }
7
+ export class ListSupportedResourceTypesCommand 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", "ListSupportedResourceTypes", {})
19
+ .n("ResourceExplorer2Client", "ListSupportedResourceTypesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListSupportedResourceTypesCommand)
22
+ .de(de_ListSupportedResourceTypesCommand)
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 { ListTagsForResourceOutputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ListTagsForResourceCommand 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, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ResourceExplorer2Client";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: ListTagsForResourceOutputFilterSensitiveLog,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ResourceExplorer",
35
- operation: "ListTagsForResource",
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_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
8
+ export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
20
+ .n("ResourceExplorer2Client", "ListTagsForResourceCommand")
21
+ .f(void 0, ListTagsForResourceOutputFilterSensitiveLog)
22
+ .ser(se_ListTagsForResourceCommand)
23
+ .de(de_ListTagsForResourceCommand)
24
+ .build() {
47
25
  }