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