@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
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class AssociateDefaultViewCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateDefaultViewCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "ResourceExplorer2Client";
28
- const commandName = "AssociateDefaultViewCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "ResourceExplorer",
37
- operation: "AssociateDefaultView",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_AssociateDefaultViewCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_AssociateDefaultViewCommand)(output, context);
48
- }
10
+ class AssociateDefaultViewCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ResourceExplorer", "AssociateDefaultView", {})
22
+ .n("ResourceExplorer2Client", "AssociateDefaultViewCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_AssociateDefaultViewCommand)
25
+ .de(Aws_restJson1_1.de_AssociateDefaultViewCommand)
26
+ .build() {
49
27
  }
50
28
  exports.AssociateDefaultViewCommand = AssociateDefaultViewCommand;
@@ -5,47 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class BatchGetViewCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchGetViewCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResourceExplorer2Client";
29
- const commandName = "BatchGetViewCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: models_0_1.BatchGetViewOutputFilterSensitiveLog,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ResourceExplorer",
38
- operation: "BatchGetView",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_BatchGetViewCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_BatchGetViewCommand)(output, context);
49
- }
11
+ class BatchGetViewCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ResourceExplorer", "BatchGetView", {})
23
+ .n("ResourceExplorer2Client", "BatchGetViewCommand")
24
+ .f(void 0, models_0_1.BatchGetViewOutputFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_BatchGetViewCommand)
26
+ .de(Aws_restJson1_1.de_BatchGetViewCommand)
27
+ .build() {
50
28
  }
51
29
  exports.BatchGetViewCommand = BatchGetViewCommand;
@@ -5,47 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class CreateIndexCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateIndexCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResourceExplorer2Client";
29
- const commandName = "CreateIndexCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: models_0_1.CreateIndexInputFilterSensitiveLog,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ResourceExplorer",
38
- operation: "CreateIndex",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateIndexCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateIndexCommand)(output, context);
49
- }
11
+ class CreateIndexCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ResourceExplorer", "CreateIndex", {})
23
+ .n("ResourceExplorer2Client", "CreateIndexCommand")
24
+ .f(models_0_1.CreateIndexInputFilterSensitiveLog, void 0)
25
+ .ser(Aws_restJson1_1.se_CreateIndexCommand)
26
+ .de(Aws_restJson1_1.de_CreateIndexCommand)
27
+ .build() {
50
28
  }
51
29
  exports.CreateIndexCommand = CreateIndexCommand;
@@ -5,47 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class CreateViewCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateViewCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResourceExplorer2Client";
29
- const commandName = "CreateViewCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: models_0_1.CreateViewInputFilterSensitiveLog,
35
- outputFilterSensitiveLog: models_0_1.CreateViewOutputFilterSensitiveLog,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ResourceExplorer",
38
- operation: "CreateView",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateViewCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateViewCommand)(output, context);
49
- }
11
+ class CreateViewCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ResourceExplorer", "CreateView", {})
23
+ .n("ResourceExplorer2Client", "CreateViewCommand")
24
+ .f(models_0_1.CreateViewInputFilterSensitiveLog, models_0_1.CreateViewOutputFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_CreateViewCommand)
26
+ .de(Aws_restJson1_1.de_CreateViewCommand)
27
+ .build() {
50
28
  }
51
29
  exports.CreateViewCommand = CreateViewCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteIndexCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteIndexCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "ResourceExplorer2Client";
28
- const commandName = "DeleteIndexCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "ResourceExplorer",
37
- operation: "DeleteIndex",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_DeleteIndexCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_DeleteIndexCommand)(output, context);
48
- }
10
+ class DeleteIndexCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ResourceExplorer", "DeleteIndex", {})
22
+ .n("ResourceExplorer2Client", "DeleteIndexCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteIndexCommand)
25
+ .de(Aws_restJson1_1.de_DeleteIndexCommand)
26
+ .build() {
49
27
  }
50
28
  exports.DeleteIndexCommand = DeleteIndexCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteViewCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteViewCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "ResourceExplorer2Client";
28
- const commandName = "DeleteViewCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "ResourceExplorer",
37
- operation: "DeleteView",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_DeleteViewCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_DeleteViewCommand)(output, context);
48
- }
10
+ class DeleteViewCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ResourceExplorer", "DeleteView", {})
22
+ .n("ResourceExplorer2Client", "DeleteViewCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteViewCommand)
25
+ .de(Aws_restJson1_1.de_DeleteViewCommand)
26
+ .build() {
49
27
  }
50
28
  exports.DeleteViewCommand = DeleteViewCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DisassociateDefaultViewCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DisassociateDefaultViewCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "ResourceExplorer2Client";
28
- const commandName = "DisassociateDefaultViewCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "ResourceExplorer",
37
- operation: "DisassociateDefaultView",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_DisassociateDefaultViewCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_DisassociateDefaultViewCommand)(output, context);
48
- }
10
+ class DisassociateDefaultViewCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ResourceExplorer", "DisassociateDefaultView", {})
22
+ .n("ResourceExplorer2Client", "DisassociateDefaultViewCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DisassociateDefaultViewCommand)
25
+ .de(Aws_restJson1_1.de_DisassociateDefaultViewCommand)
26
+ .build() {
49
27
  }
50
28
  exports.DisassociateDefaultViewCommand = DisassociateDefaultViewCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetAccountLevelServiceConfigurationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAccountLevelServiceConfigurationCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "ResourceExplorer2Client";
28
- const commandName = "GetAccountLevelServiceConfigurationCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "ResourceExplorer",
37
- operation: "GetAccountLevelServiceConfiguration",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_GetAccountLevelServiceConfigurationCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_GetAccountLevelServiceConfigurationCommand)(output, context);
48
- }
10
+ class GetAccountLevelServiceConfigurationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ResourceExplorer", "GetAccountLevelServiceConfiguration", {})
22
+ .n("ResourceExplorer2Client", "GetAccountLevelServiceConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetAccountLevelServiceConfigurationCommand)
25
+ .de(Aws_restJson1_1.de_GetAccountLevelServiceConfigurationCommand)
26
+ .build() {
49
27
  }
50
28
  exports.GetAccountLevelServiceConfigurationCommand = GetAccountLevelServiceConfigurationCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetDefaultViewCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetDefaultViewCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "ResourceExplorer2Client";
28
- const commandName = "GetDefaultViewCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "ResourceExplorer",
37
- operation: "GetDefaultView",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_GetDefaultViewCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_GetDefaultViewCommand)(output, context);
48
- }
10
+ class GetDefaultViewCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ResourceExplorer", "GetDefaultView", {})
22
+ .n("ResourceExplorer2Client", "GetDefaultViewCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetDefaultViewCommand)
25
+ .de(Aws_restJson1_1.de_GetDefaultViewCommand)
26
+ .build() {
49
27
  }
50
28
  exports.GetDefaultViewCommand = GetDefaultViewCommand;