@aws-sdk/client-data-pipeline 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 (93) hide show
  1. package/dist-cjs/commands/ActivatePipelineCommand.js +18 -41
  2. package/dist-cjs/commands/AddTagsCommand.js +18 -41
  3. package/dist-cjs/commands/CreatePipelineCommand.js +18 -41
  4. package/dist-cjs/commands/DeactivatePipelineCommand.js +18 -41
  5. package/dist-cjs/commands/DeletePipelineCommand.js +18 -41
  6. package/dist-cjs/commands/DescribeObjectsCommand.js +18 -41
  7. package/dist-cjs/commands/DescribePipelinesCommand.js +18 -41
  8. package/dist-cjs/commands/EvaluateExpressionCommand.js +18 -41
  9. package/dist-cjs/commands/GetPipelineDefinitionCommand.js +18 -41
  10. package/dist-cjs/commands/ListPipelinesCommand.js +18 -41
  11. package/dist-cjs/commands/PollForTaskCommand.js +18 -41
  12. package/dist-cjs/commands/PutPipelineDefinitionCommand.js +18 -41
  13. package/dist-cjs/commands/QueryObjectsCommand.js +18 -41
  14. package/dist-cjs/commands/RemoveTagsCommand.js +18 -41
  15. package/dist-cjs/commands/ReportTaskProgressCommand.js +18 -41
  16. package/dist-cjs/commands/ReportTaskRunnerHeartbeatCommand.js +18 -41
  17. package/dist-cjs/commands/SetStatusCommand.js +18 -41
  18. package/dist-cjs/commands/SetTaskStatusCommand.js +18 -41
  19. package/dist-cjs/commands/ValidatePipelineDefinitionCommand.js +18 -41
  20. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  21. package/dist-cjs/pagination/DescribeObjectsPaginator.js +2 -23
  22. package/dist-cjs/pagination/ListPipelinesPaginator.js +2 -23
  23. package/dist-cjs/pagination/QueryObjectsPaginator.js +2 -24
  24. package/dist-es/commands/ActivatePipelineCommand.js +18 -41
  25. package/dist-es/commands/AddTagsCommand.js +18 -41
  26. package/dist-es/commands/CreatePipelineCommand.js +18 -41
  27. package/dist-es/commands/DeactivatePipelineCommand.js +18 -41
  28. package/dist-es/commands/DeletePipelineCommand.js +18 -41
  29. package/dist-es/commands/DescribeObjectsCommand.js +18 -41
  30. package/dist-es/commands/DescribePipelinesCommand.js +18 -41
  31. package/dist-es/commands/EvaluateExpressionCommand.js +18 -41
  32. package/dist-es/commands/GetPipelineDefinitionCommand.js +18 -41
  33. package/dist-es/commands/ListPipelinesCommand.js +18 -41
  34. package/dist-es/commands/PollForTaskCommand.js +18 -41
  35. package/dist-es/commands/PutPipelineDefinitionCommand.js +18 -41
  36. package/dist-es/commands/QueryObjectsCommand.js +18 -41
  37. package/dist-es/commands/RemoveTagsCommand.js +18 -41
  38. package/dist-es/commands/ReportTaskProgressCommand.js +18 -41
  39. package/dist-es/commands/ReportTaskRunnerHeartbeatCommand.js +18 -41
  40. package/dist-es/commands/SetStatusCommand.js +18 -41
  41. package/dist-es/commands/SetTaskStatusCommand.js +18 -41
  42. package/dist-es/commands/ValidatePipelineDefinitionCommand.js +18 -41
  43. package/dist-es/endpoint/EndpointParameters.js +6 -0
  44. package/dist-es/pagination/DescribeObjectsPaginator.js +2 -22
  45. package/dist-es/pagination/ListPipelinesPaginator.js +2 -22
  46. package/dist-es/pagination/QueryObjectsPaginator.js +2 -23
  47. package/dist-types/commands/ActivatePipelineCommand.d.ts +6 -21
  48. package/dist-types/commands/AddTagsCommand.d.ts +6 -21
  49. package/dist-types/commands/CreatePipelineCommand.d.ts +6 -21
  50. package/dist-types/commands/DeactivatePipelineCommand.d.ts +6 -21
  51. package/dist-types/commands/DeletePipelineCommand.d.ts +6 -21
  52. package/dist-types/commands/DescribeObjectsCommand.d.ts +6 -21
  53. package/dist-types/commands/DescribePipelinesCommand.d.ts +6 -21
  54. package/dist-types/commands/EvaluateExpressionCommand.d.ts +6 -21
  55. package/dist-types/commands/GetPipelineDefinitionCommand.d.ts +6 -21
  56. package/dist-types/commands/ListPipelinesCommand.d.ts +6 -21
  57. package/dist-types/commands/PollForTaskCommand.d.ts +6 -21
  58. package/dist-types/commands/PutPipelineDefinitionCommand.d.ts +6 -21
  59. package/dist-types/commands/QueryObjectsCommand.d.ts +6 -21
  60. package/dist-types/commands/RemoveTagsCommand.d.ts +6 -21
  61. package/dist-types/commands/ReportTaskProgressCommand.d.ts +6 -21
  62. package/dist-types/commands/ReportTaskRunnerHeartbeatCommand.d.ts +6 -21
  63. package/dist-types/commands/SetStatusCommand.d.ts +6 -21
  64. package/dist-types/commands/SetTaskStatusCommand.d.ts +6 -21
  65. package/dist-types/commands/ValidatePipelineDefinitionCommand.d.ts +6 -21
  66. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  67. package/dist-types/pagination/DescribeObjectsPaginator.d.ts +1 -1
  68. package/dist-types/pagination/ListPipelinesPaginator.d.ts +1 -1
  69. package/dist-types/pagination/QueryObjectsPaginator.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/ActivatePipelineCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +12 -23
  72. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +14 -23
  73. package/dist-types/ts3.4/commands/DeactivatePipelineCommand.d.ts +14 -23
  74. package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/DescribeObjectsCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/commands/DescribePipelinesCommand.d.ts +14 -23
  77. package/dist-types/ts3.4/commands/EvaluateExpressionCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/commands/GetPipelineDefinitionCommand.d.ts +12 -24
  79. package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/commands/PollForTaskCommand.d.ts +14 -23
  81. package/dist-types/ts3.4/commands/PutPipelineDefinitionCommand.d.ts +12 -24
  82. package/dist-types/ts3.4/commands/QueryObjectsCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/ReportTaskProgressCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/ReportTaskRunnerHeartbeatCommand.d.ts +12 -24
  86. package/dist-types/ts3.4/commands/SetStatusCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/SetTaskStatusCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/ValidatePipelineDefinitionCommand.d.ts +12 -24
  89. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  90. package/dist-types/ts3.4/pagination/DescribeObjectsPaginator.d.ts +3 -3
  91. package/dist-types/ts3.4/pagination/ListPipelinesPaginator.d.ts +3 -3
  92. package/dist-types/ts3.4/pagination/QueryObjectsPaginator.d.ts +3 -3
  93. package/package.json +11 -10
@@ -1,47 +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_DescribePipelinesCommand, se_DescribePipelinesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribePipelinesCommand 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
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
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, DescribePipelinesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataPipelineClient";
26
- const commandName = "DescribePipelinesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataPipeline",
35
- operation: "DescribePipelines",
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_DescribePipelinesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribePipelinesCommand(output, context);
46
- }
7
+ export class DescribePipelinesCommand 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("DataPipeline", "DescribePipelines", {})
19
+ .n("DataPipelineClient", "DescribePipelinesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribePipelinesCommand)
22
+ .de(de_DescribePipelinesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +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_EvaluateExpressionCommand, se_EvaluateExpressionCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class EvaluateExpressionCommand 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
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
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, EvaluateExpressionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataPipelineClient";
26
- const commandName = "EvaluateExpressionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataPipeline",
35
- operation: "EvaluateExpression",
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_EvaluateExpressionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_EvaluateExpressionCommand(output, context);
46
- }
7
+ export class EvaluateExpressionCommand 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("DataPipeline", "EvaluateExpression", {})
19
+ .n("DataPipelineClient", "EvaluateExpressionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_EvaluateExpressionCommand)
22
+ .de(de_EvaluateExpressionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +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_GetPipelineDefinitionCommand, se_GetPipelineDefinitionCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetPipelineDefinitionCommand 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
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
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, GetPipelineDefinitionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataPipelineClient";
26
- const commandName = "GetPipelineDefinitionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataPipeline",
35
- operation: "GetPipelineDefinition",
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_GetPipelineDefinitionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetPipelineDefinitionCommand(output, context);
46
- }
7
+ export class GetPipelineDefinitionCommand 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("DataPipeline", "GetPipelineDefinition", {})
19
+ .n("DataPipelineClient", "GetPipelineDefinitionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetPipelineDefinitionCommand)
22
+ .de(de_GetPipelineDefinitionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +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_ListPipelinesCommand, se_ListPipelinesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListPipelinesCommand 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
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
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, ListPipelinesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataPipelineClient";
26
- const commandName = "ListPipelinesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataPipeline",
35
- operation: "ListPipelines",
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_ListPipelinesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListPipelinesCommand(output, context);
46
- }
7
+ export class ListPipelinesCommand 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("DataPipeline", "ListPipelines", {})
19
+ .n("DataPipelineClient", "ListPipelinesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListPipelinesCommand)
22
+ .de(de_ListPipelinesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +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_PollForTaskCommand, se_PollForTaskCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class PollForTaskCommand 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
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
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, PollForTaskCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataPipelineClient";
26
- const commandName = "PollForTaskCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataPipeline",
35
- operation: "PollForTask",
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_PollForTaskCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PollForTaskCommand(output, context);
46
- }
7
+ export class PollForTaskCommand 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("DataPipeline", "PollForTask", {})
19
+ .n("DataPipelineClient", "PollForTaskCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PollForTaskCommand)
22
+ .de(de_PollForTaskCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +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_PutPipelineDefinitionCommand, se_PutPipelineDefinitionCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class PutPipelineDefinitionCommand 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
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
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, PutPipelineDefinitionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataPipelineClient";
26
- const commandName = "PutPipelineDefinitionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataPipeline",
35
- operation: "PutPipelineDefinition",
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_PutPipelineDefinitionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutPipelineDefinitionCommand(output, context);
46
- }
7
+ export class PutPipelineDefinitionCommand 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("DataPipeline", "PutPipelineDefinition", {})
19
+ .n("DataPipelineClient", "PutPipelineDefinitionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutPipelineDefinitionCommand)
22
+ .de(de_PutPipelineDefinitionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +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_QueryObjectsCommand, se_QueryObjectsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class QueryObjectsCommand 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
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
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, QueryObjectsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataPipelineClient";
26
- const commandName = "QueryObjectsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataPipeline",
35
- operation: "QueryObjects",
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_QueryObjectsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_QueryObjectsCommand(output, context);
46
- }
7
+ export class QueryObjectsCommand 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("DataPipeline", "QueryObjects", {})
19
+ .n("DataPipelineClient", "QueryObjectsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_QueryObjectsCommand)
22
+ .de(de_QueryObjectsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +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_RemoveTagsCommand, se_RemoveTagsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class RemoveTagsCommand 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
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
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, RemoveTagsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataPipelineClient";
26
- const commandName = "RemoveTagsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataPipeline",
35
- operation: "RemoveTags",
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_RemoveTagsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RemoveTagsCommand(output, context);
46
- }
7
+ export class RemoveTagsCommand 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("DataPipeline", "RemoveTags", {})
19
+ .n("DataPipelineClient", "RemoveTagsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RemoveTagsCommand)
22
+ .de(de_RemoveTagsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +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_ReportTaskProgressCommand, se_ReportTaskProgressCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ReportTaskProgressCommand 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
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
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, ReportTaskProgressCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DataPipelineClient";
26
- const commandName = "ReportTaskProgressCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DataPipeline",
35
- operation: "ReportTaskProgress",
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_ReportTaskProgressCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ReportTaskProgressCommand(output, context);
46
- }
7
+ export class ReportTaskProgressCommand 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("DataPipeline", "ReportTaskProgress", {})
19
+ .n("DataPipelineClient", "ReportTaskProgressCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ReportTaskProgressCommand)
22
+ .de(de_ReportTaskProgressCommand)
23
+ .build() {
47
24
  }