@aws-sdk/client-data-pipeline 3.183.0 → 3.186.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 (35) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/DataPipeline.js +85 -78
  4. package/dist-es/DataPipelineClient.js +28 -22
  5. package/dist-es/commands/ActivatePipelineCommand.js +28 -21
  6. package/dist-es/commands/AddTagsCommand.js +28 -21
  7. package/dist-es/commands/CreatePipelineCommand.js +28 -21
  8. package/dist-es/commands/DeactivatePipelineCommand.js +28 -21
  9. package/dist-es/commands/DeletePipelineCommand.js +29 -22
  10. package/dist-es/commands/DescribeObjectsCommand.js +28 -21
  11. package/dist-es/commands/DescribePipelinesCommand.js +28 -21
  12. package/dist-es/commands/EvaluateExpressionCommand.js +28 -21
  13. package/dist-es/commands/GetPipelineDefinitionCommand.js +28 -21
  14. package/dist-es/commands/ListPipelinesCommand.js +28 -21
  15. package/dist-es/commands/PollForTaskCommand.js +28 -21
  16. package/dist-es/commands/PutPipelineDefinitionCommand.js +28 -21
  17. package/dist-es/commands/QueryObjectsCommand.js +28 -21
  18. package/dist-es/commands/RemoveTagsCommand.js +28 -21
  19. package/dist-es/commands/ReportTaskProgressCommand.js +28 -21
  20. package/dist-es/commands/ReportTaskRunnerHeartbeatCommand.js +28 -21
  21. package/dist-es/commands/SetStatusCommand.js +29 -22
  22. package/dist-es/commands/SetTaskStatusCommand.js +28 -21
  23. package/dist-es/commands/ValidatePipelineDefinitionCommand.js +28 -21
  24. package/dist-es/endpoints.js +8 -8
  25. package/dist-es/models/DataPipelineServiceException.js +10 -5
  26. package/dist-es/models/models_0.js +107 -208
  27. package/dist-es/pagination/DescribeObjectsPaginator.js +67 -24
  28. package/dist-es/pagination/ListPipelinesPaginator.js +67 -24
  29. package/dist-es/pagination/QueryObjectsPaginator.js +68 -25
  30. package/dist-es/protocols/Aws_json1_1.js +1680 -1323
  31. package/dist-es/runtimeConfig.browser.js +12 -26
  32. package/dist-es/runtimeConfig.js +12 -30
  33. package/dist-es/runtimeConfig.native.js +5 -8
  34. package/dist-es/runtimeConfig.shared.js +11 -8
  35. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeactivatePipelineInputFilterSensitiveLog, DeactivatePipelineOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeactivatePipelineCommand, serializeAws_json1_1DeactivatePipelineCommand, } from "../protocols/Aws_json1_1";
5
- export class DeactivatePipelineCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeactivatePipelineCommand = (function (_super) {
7
+ __extends(DeactivatePipelineCommand, _super);
8
+ function DeactivatePipelineCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeactivatePipelineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataPipelineClient";
15
- const commandName = "DeactivatePipelineCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataPipelineClient";
18
+ var commandName = "DeactivatePipelineCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeactivatePipelineInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeactivatePipelineOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeactivatePipelineCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeactivatePipelineCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeactivatePipelineCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeactivatePipelineCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeactivatePipelineCommand;
38
+ }($Command));
39
+ export { DeactivatePipelineCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeletePipelineInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeletePipelineCommand, serializeAws_json1_1DeletePipelineCommand, } from "../protocols/Aws_json1_1";
5
- export class DeletePipelineCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeletePipelineCommand = (function (_super) {
7
+ __extends(DeletePipelineCommand, _super);
8
+ function DeletePipelineCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeletePipelineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataPipelineClient";
15
- const commandName = "DeletePipelineCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataPipelineClient";
18
+ var commandName = "DeletePipelineCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeletePipelineInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeletePipelineCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeletePipelineCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeletePipelineCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeletePipelineCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeletePipelineCommand;
38
+ }($Command));
39
+ export { DeletePipelineCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeObjectsInputFilterSensitiveLog, DescribeObjectsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeObjectsCommand, serializeAws_json1_1DescribeObjectsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeObjectsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeObjectsCommand = (function (_super) {
7
+ __extends(DescribeObjectsCommand, _super);
8
+ function DescribeObjectsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeObjectsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataPipelineClient";
15
- const commandName = "DescribeObjectsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataPipelineClient";
18
+ var commandName = "DescribeObjectsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeObjectsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeObjectsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeObjectsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeObjectsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeObjectsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeObjectsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeObjectsCommand;
38
+ }($Command));
39
+ export { DescribeObjectsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribePipelinesInputFilterSensitiveLog, DescribePipelinesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribePipelinesCommand, serializeAws_json1_1DescribePipelinesCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribePipelinesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribePipelinesCommand = (function (_super) {
7
+ __extends(DescribePipelinesCommand, _super);
8
+ function DescribePipelinesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribePipelinesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataPipelineClient";
15
- const commandName = "DescribePipelinesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataPipelineClient";
18
+ var commandName = "DescribePipelinesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribePipelinesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribePipelinesOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribePipelinesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribePipelinesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribePipelinesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribePipelinesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribePipelinesCommand;
38
+ }($Command));
39
+ export { DescribePipelinesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { EvaluateExpressionInputFilterSensitiveLog, EvaluateExpressionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1EvaluateExpressionCommand, serializeAws_json1_1EvaluateExpressionCommand, } from "../protocols/Aws_json1_1";
5
- export class EvaluateExpressionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var EvaluateExpressionCommand = (function (_super) {
7
+ __extends(EvaluateExpressionCommand, _super);
8
+ function EvaluateExpressionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ EvaluateExpressionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataPipelineClient";
15
- const commandName = "EvaluateExpressionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataPipelineClient";
18
+ var commandName = "EvaluateExpressionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: EvaluateExpressionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: EvaluateExpressionOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ EvaluateExpressionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1EvaluateExpressionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ EvaluateExpressionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1EvaluateExpressionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return EvaluateExpressionCommand;
38
+ }($Command));
39
+ export { EvaluateExpressionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetPipelineDefinitionInputFilterSensitiveLog, GetPipelineDefinitionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetPipelineDefinitionCommand, serializeAws_json1_1GetPipelineDefinitionCommand, } from "../protocols/Aws_json1_1";
5
- export class GetPipelineDefinitionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetPipelineDefinitionCommand = (function (_super) {
7
+ __extends(GetPipelineDefinitionCommand, _super);
8
+ function GetPipelineDefinitionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPipelineDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataPipelineClient";
15
- const commandName = "GetPipelineDefinitionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataPipelineClient";
18
+ var commandName = "GetPipelineDefinitionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetPipelineDefinitionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPipelineDefinitionOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetPipelineDefinitionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetPipelineDefinitionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPipelineDefinitionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetPipelineDefinitionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPipelineDefinitionCommand;
38
+ }($Command));
39
+ export { GetPipelineDefinitionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListPipelinesInputFilterSensitiveLog, ListPipelinesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListPipelinesCommand, serializeAws_json1_1ListPipelinesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListPipelinesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPipelinesCommand = (function (_super) {
7
+ __extends(ListPipelinesCommand, _super);
8
+ function ListPipelinesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPipelinesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataPipelineClient";
15
- const commandName = "ListPipelinesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataPipelineClient";
18
+ var commandName = "ListPipelinesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPipelinesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPipelinesOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListPipelinesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListPipelinesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPipelinesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListPipelinesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPipelinesCommand;
38
+ }($Command));
39
+ export { ListPipelinesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PollForTaskInputFilterSensitiveLog, PollForTaskOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PollForTaskCommand, serializeAws_json1_1PollForTaskCommand, } from "../protocols/Aws_json1_1";
5
- export class PollForTaskCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PollForTaskCommand = (function (_super) {
7
+ __extends(PollForTaskCommand, _super);
8
+ function PollForTaskCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PollForTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataPipelineClient";
15
- const commandName = "PollForTaskCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataPipelineClient";
18
+ var commandName = "PollForTaskCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PollForTaskInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PollForTaskOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PollForTaskCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PollForTaskCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PollForTaskCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PollForTaskCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PollForTaskCommand;
38
+ }($Command));
39
+ export { PollForTaskCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PutPipelineDefinitionInputFilterSensitiveLog, PutPipelineDefinitionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PutPipelineDefinitionCommand, serializeAws_json1_1PutPipelineDefinitionCommand, } from "../protocols/Aws_json1_1";
5
- export class PutPipelineDefinitionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutPipelineDefinitionCommand = (function (_super) {
7
+ __extends(PutPipelineDefinitionCommand, _super);
8
+ function PutPipelineDefinitionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutPipelineDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataPipelineClient";
15
- const commandName = "PutPipelineDefinitionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataPipelineClient";
18
+ var commandName = "PutPipelineDefinitionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutPipelineDefinitionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutPipelineDefinitionOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutPipelineDefinitionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PutPipelineDefinitionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutPipelineDefinitionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PutPipelineDefinitionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutPipelineDefinitionCommand;
38
+ }($Command));
39
+ export { PutPipelineDefinitionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { QueryObjectsInputFilterSensitiveLog, QueryObjectsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1QueryObjectsCommand, serializeAws_json1_1QueryObjectsCommand, } from "../protocols/Aws_json1_1";
5
- export class QueryObjectsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var QueryObjectsCommand = (function (_super) {
7
+ __extends(QueryObjectsCommand, _super);
8
+ function QueryObjectsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ QueryObjectsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataPipelineClient";
15
- const commandName = "QueryObjectsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataPipelineClient";
18
+ var commandName = "QueryObjectsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: QueryObjectsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: QueryObjectsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ QueryObjectsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1QueryObjectsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ QueryObjectsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1QueryObjectsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return QueryObjectsCommand;
38
+ }($Command));
39
+ export { QueryObjectsCommand };