@aws-sdk/client-data-pipeline 3.181.0 → 3.183.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 { RemoveTagsInputFilterSensitiveLog, RemoveTagsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1RemoveTagsCommand, serializeAws_json1_1RemoveTagsCommand, } from "../protocols/Aws_json1_1";
6
- var RemoveTagsCommand = (function (_super) {
7
- __extends(RemoveTagsCommand, _super);
8
- function RemoveTagsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RemoveTagsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RemoveTagsCommand.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 = "RemoveTagsCommand";
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 = "RemoveTagsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemoveTagsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RemoveTagsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RemoveTagsCommand.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_1RemoveTagsCommand(input, context);
33
- };
34
- RemoveTagsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1RemoveTagsCommand(output, context);
36
- };
37
- return RemoveTagsCommand;
38
- }($Command));
39
- export { RemoveTagsCommand };
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 { ReportTaskProgressInputFilterSensitiveLog, ReportTaskProgressOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ReportTaskProgressCommand, serializeAws_json1_1ReportTaskProgressCommand, } from "../protocols/Aws_json1_1";
6
- var ReportTaskProgressCommand = (function (_super) {
7
- __extends(ReportTaskProgressCommand, _super);
8
- function ReportTaskProgressCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ReportTaskProgressCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ReportTaskProgressCommand.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 = "ReportTaskProgressCommand";
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 = "ReportTaskProgressCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ReportTaskProgressInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ReportTaskProgressOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ReportTaskProgressCommand.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_1ReportTaskProgressCommand(input, context);
33
- };
34
- ReportTaskProgressCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ReportTaskProgressCommand(output, context);
36
- };
37
- return ReportTaskProgressCommand;
38
- }($Command));
39
- export { ReportTaskProgressCommand };
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 { ReportTaskRunnerHeartbeatInputFilterSensitiveLog, ReportTaskRunnerHeartbeatOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ReportTaskRunnerHeartbeatCommand, serializeAws_json1_1ReportTaskRunnerHeartbeatCommand, } from "../protocols/Aws_json1_1";
6
- var ReportTaskRunnerHeartbeatCommand = (function (_super) {
7
- __extends(ReportTaskRunnerHeartbeatCommand, _super);
8
- function ReportTaskRunnerHeartbeatCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ReportTaskRunnerHeartbeatCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ReportTaskRunnerHeartbeatCommand.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 = "ReportTaskRunnerHeartbeatCommand";
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 = "ReportTaskRunnerHeartbeatCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ReportTaskRunnerHeartbeatInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ReportTaskRunnerHeartbeatOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ReportTaskRunnerHeartbeatCommand.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_1ReportTaskRunnerHeartbeatCommand(input, context);
33
- };
34
- ReportTaskRunnerHeartbeatCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ReportTaskRunnerHeartbeatCommand(output, context);
36
- };
37
- return ReportTaskRunnerHeartbeatCommand;
38
- }($Command));
39
- export { ReportTaskRunnerHeartbeatCommand };
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 { SetStatusInputFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1SetStatusCommand, serializeAws_json1_1SetStatusCommand } from "../protocols/Aws_json1_1";
6
- var SetStatusCommand = (function (_super) {
7
- __extends(SetStatusCommand, _super);
8
- function SetStatusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SetStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SetStatusCommand.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 = "SetStatusCommand";
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 = "SetStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SetStatusInputFilterSensitiveLog,
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
- SetStatusCommand.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_1SetStatusCommand(input, context);
33
- };
34
- SetStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1SetStatusCommand(output, context);
36
- };
37
- return SetStatusCommand;
38
- }($Command));
39
- export { SetStatusCommand };
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 { SetTaskStatusInputFilterSensitiveLog, SetTaskStatusOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1SetTaskStatusCommand, serializeAws_json1_1SetTaskStatusCommand, } from "../protocols/Aws_json1_1";
6
- var SetTaskStatusCommand = (function (_super) {
7
- __extends(SetTaskStatusCommand, _super);
8
- function SetTaskStatusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SetTaskStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SetTaskStatusCommand.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 = "SetTaskStatusCommand";
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 = "SetTaskStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SetTaskStatusInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SetTaskStatusOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SetTaskStatusCommand.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_1SetTaskStatusCommand(input, context);
33
- };
34
- SetTaskStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1SetTaskStatusCommand(output, context);
36
- };
37
- return SetTaskStatusCommand;
38
- }($Command));
39
- export { SetTaskStatusCommand };
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 { ValidatePipelineDefinitionInputFilterSensitiveLog, ValidatePipelineDefinitionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ValidatePipelineDefinitionCommand, serializeAws_json1_1ValidatePipelineDefinitionCommand, } from "../protocols/Aws_json1_1";
6
- var ValidatePipelineDefinitionCommand = (function (_super) {
7
- __extends(ValidatePipelineDefinitionCommand, _super);
8
- function ValidatePipelineDefinitionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ValidatePipelineDefinitionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ValidatePipelineDefinitionCommand.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 = "ValidatePipelineDefinitionCommand";
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 = "ValidatePipelineDefinitionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ValidatePipelineDefinitionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ValidatePipelineDefinitionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ValidatePipelineDefinitionCommand.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_1ValidatePipelineDefinitionCommand(input, context);
33
- };
34
- ValidatePipelineDefinitionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ValidatePipelineDefinitionCommand(output, context);
36
- };
37
- return ValidatePipelineDefinitionCommand;
38
- }($Command));
39
- export { ValidatePipelineDefinitionCommand };
31
+ }
32
+ }
@@ -1,7 +1,6 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {};
4
- var partitionHash = {
2
+ const regionHash = {};
3
+ const partitionHash = {
5
4
  aws: {
6
5
  regions: [
7
6
  "af-south-1",
@@ -121,8 +120,9 @@ var partitionHash = {
121
120
  ],
122
121
  },
123
122
  };
124
- export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
125
- return __generator(this, function (_a) {
126
- return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "datapipeline", regionHash: regionHash, partitionHash: partitionHash }))];
127
- });
128
- }); };
123
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
124
+ ...options,
125
+ signingService: "datapipeline",
126
+ regionHash,
127
+ partitionHash,
128
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
- var DataPipelineServiceException = (function (_super) {
4
- __extends(DataPipelineServiceException, _super);
5
- function DataPipelineServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, DataPipelineServiceException.prototype);
8
- return _this;
2
+ export class DataPipelineServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, DataPipelineServiceException.prototype);
9
6
  }
10
- return DataPipelineServiceException;
11
- }(__ServiceException));
12
- export { DataPipelineServiceException };
7
+ }