@aws-sdk/client-resource-explorer-2 3.477.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 (109) 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-cjs/pagination/ListIndexesForMembersPaginator.js +2 -24
  24. package/dist-cjs/pagination/ListIndexesPaginator.js +2 -24
  25. package/dist-cjs/pagination/ListSupportedResourceTypesPaginator.js +2 -24
  26. package/dist-cjs/pagination/ListViewsPaginator.js +2 -24
  27. package/dist-cjs/pagination/SearchPaginator.js +2 -24
  28. package/dist-es/commands/AssociateDefaultViewCommand.js +18 -40
  29. package/dist-es/commands/BatchGetViewCommand.js +18 -40
  30. package/dist-es/commands/CreateIndexCommand.js +18 -40
  31. package/dist-es/commands/CreateViewCommand.js +18 -40
  32. package/dist-es/commands/DeleteIndexCommand.js +18 -40
  33. package/dist-es/commands/DeleteViewCommand.js +18 -40
  34. package/dist-es/commands/DisassociateDefaultViewCommand.js +18 -40
  35. package/dist-es/commands/GetAccountLevelServiceConfigurationCommand.js +18 -40
  36. package/dist-es/commands/GetDefaultViewCommand.js +18 -40
  37. package/dist-es/commands/GetIndexCommand.js +18 -40
  38. package/dist-es/commands/GetViewCommand.js +18 -40
  39. package/dist-es/commands/ListIndexesCommand.js +18 -40
  40. package/dist-es/commands/ListIndexesForMembersCommand.js +18 -40
  41. package/dist-es/commands/ListSupportedResourceTypesCommand.js +18 -40
  42. package/dist-es/commands/ListTagsForResourceCommand.js +18 -40
  43. package/dist-es/commands/ListViewsCommand.js +18 -40
  44. package/dist-es/commands/SearchCommand.js +18 -40
  45. package/dist-es/commands/TagResourceCommand.js +18 -40
  46. package/dist-es/commands/UntagResourceCommand.js +18 -40
  47. package/dist-es/commands/UpdateIndexTypeCommand.js +18 -40
  48. package/dist-es/commands/UpdateViewCommand.js +18 -40
  49. package/dist-es/endpoint/EndpointParameters.js +5 -0
  50. package/dist-es/pagination/ListIndexesForMembersPaginator.js +2 -23
  51. package/dist-es/pagination/ListIndexesPaginator.js +2 -23
  52. package/dist-es/pagination/ListSupportedResourceTypesPaginator.js +2 -23
  53. package/dist-es/pagination/ListViewsPaginator.js +2 -23
  54. package/dist-es/pagination/SearchPaginator.js +2 -23
  55. package/dist-types/commands/AssociateDefaultViewCommand.d.ts +6 -21
  56. package/dist-types/commands/BatchGetViewCommand.d.ts +6 -21
  57. package/dist-types/commands/CreateIndexCommand.d.ts +6 -21
  58. package/dist-types/commands/CreateViewCommand.d.ts +6 -21
  59. package/dist-types/commands/DeleteIndexCommand.d.ts +6 -21
  60. package/dist-types/commands/DeleteViewCommand.d.ts +6 -21
  61. package/dist-types/commands/DisassociateDefaultViewCommand.d.ts +6 -21
  62. package/dist-types/commands/GetAccountLevelServiceConfigurationCommand.d.ts +6 -21
  63. package/dist-types/commands/GetDefaultViewCommand.d.ts +6 -21
  64. package/dist-types/commands/GetIndexCommand.d.ts +6 -21
  65. package/dist-types/commands/GetViewCommand.d.ts +6 -21
  66. package/dist-types/commands/ListIndexesCommand.d.ts +6 -21
  67. package/dist-types/commands/ListIndexesForMembersCommand.d.ts +6 -21
  68. package/dist-types/commands/ListSupportedResourceTypesCommand.d.ts +6 -21
  69. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  70. package/dist-types/commands/ListViewsCommand.d.ts +6 -21
  71. package/dist-types/commands/SearchCommand.d.ts +6 -21
  72. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  73. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  74. package/dist-types/commands/UpdateIndexTypeCommand.d.ts +6 -21
  75. package/dist-types/commands/UpdateViewCommand.d.ts +6 -21
  76. package/dist-types/endpoint/EndpointParameters.d.ts +14 -0
  77. package/dist-types/pagination/ListIndexesForMembersPaginator.d.ts +1 -1
  78. package/dist-types/pagination/ListIndexesPaginator.d.ts +1 -1
  79. package/dist-types/pagination/ListSupportedResourceTypesPaginator.d.ts +1 -1
  80. package/dist-types/pagination/ListViewsPaginator.d.ts +1 -1
  81. package/dist-types/pagination/SearchPaginator.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/AssociateDefaultViewCommand.d.ts +12 -24
  83. package/dist-types/ts3.4/commands/BatchGetViewCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/DisassociateDefaultViewCommand.d.ts +12 -24
  89. package/dist-types/ts3.4/commands/GetAccountLevelServiceConfigurationCommand.d.ts +12 -24
  90. package/dist-types/ts3.4/commands/GetDefaultViewCommand.d.ts +14 -23
  91. package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/GetViewCommand.d.ts +12 -23
  93. package/dist-types/ts3.4/commands/ListIndexesCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/ListIndexesForMembersCommand.d.ts +12 -24
  95. package/dist-types/ts3.4/commands/ListSupportedResourceTypesCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/SearchCommand.d.ts +12 -23
  99. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  100. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  101. package/dist-types/ts3.4/commands/UpdateIndexTypeCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/UpdateViewCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +14 -0
  104. package/dist-types/ts3.4/pagination/ListIndexesForMembersPaginator.d.ts +3 -3
  105. package/dist-types/ts3.4/pagination/ListIndexesPaginator.d.ts +3 -3
  106. package/dist-types/ts3.4/pagination/ListSupportedResourceTypesPaginator.d.ts +3 -3
  107. package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +3 -3
  108. package/dist-types/ts3.4/pagination/SearchPaginator.d.ts +3 -3
  109. package/package.json +11 -11
@@ -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 { CreateViewInputFilterSensitiveLog, CreateViewOutputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_CreateViewCommand, se_CreateViewCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class CreateViewCommand 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, CreateViewCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ResourceExplorer2Client";
26
- const commandName = "CreateViewCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: CreateViewInputFilterSensitiveLog,
32
- outputFilterSensitiveLog: CreateViewOutputFilterSensitiveLog,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ResourceExplorer",
35
- operation: "CreateView",
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_CreateViewCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateViewCommand(output, context);
46
- }
8
+ export class CreateViewCommand 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", "CreateView", {})
20
+ .n("ResourceExplorer2Client", "CreateViewCommand")
21
+ .f(CreateViewInputFilterSensitiveLog, CreateViewOutputFilterSensitiveLog)
22
+ .ser(se_CreateViewCommand)
23
+ .de(de_CreateViewCommand)
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_DeleteIndexCommand, se_DeleteIndexCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteIndexCommand 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, DeleteIndexCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "ResourceExplorer2Client";
25
- const commandName = "DeleteIndexCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "ResourceExplorer",
34
- operation: "DeleteIndex",
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_DeleteIndexCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_DeleteIndexCommand(output, context);
45
- }
7
+ export class DeleteIndexCommand 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", "DeleteIndex", {})
19
+ .n("ResourceExplorer2Client", "DeleteIndexCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteIndexCommand)
22
+ .de(de_DeleteIndexCommand)
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_DeleteViewCommand, se_DeleteViewCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteViewCommand 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, DeleteViewCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "ResourceExplorer2Client";
25
- const commandName = "DeleteViewCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "ResourceExplorer",
34
- operation: "DeleteView",
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_DeleteViewCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_DeleteViewCommand(output, context);
45
- }
7
+ export class DeleteViewCommand 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", "DeleteView", {})
19
+ .n("ResourceExplorer2Client", "DeleteViewCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteViewCommand)
22
+ .de(de_DeleteViewCommand)
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_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
  }