@aws-sdk/client-data-pipeline 3.36.0 → 3.39.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 (72) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/DataPipeline.js +0 -19
  3. package/dist-cjs/DataPipelineClient.js +0 -24
  4. package/dist-cjs/commands/ActivatePipelineCommand.js +0 -54
  5. package/dist-cjs/commands/AddTagsCommand.js +0 -24
  6. package/dist-cjs/commands/CreatePipelineCommand.js +0 -54
  7. package/dist-cjs/commands/DeactivatePipelineCommand.js +0 -27
  8. package/dist-cjs/commands/DeletePipelineCommand.js +0 -55
  9. package/dist-cjs/commands/DescribeObjectsCommand.js +0 -82
  10. package/dist-cjs/commands/DescribePipelinesCommand.js +0 -85
  11. package/dist-cjs/commands/EvaluateExpressionCommand.js +0 -54
  12. package/dist-cjs/commands/GetPipelineDefinitionCommand.js +0 -88
  13. package/dist-cjs/commands/ListPipelinesCommand.js +0 -55
  14. package/dist-cjs/commands/PollForTaskCommand.js +0 -102
  15. package/dist-cjs/commands/PutPipelineDefinitionCommand.js +0 -183
  16. package/dist-cjs/commands/QueryObjectsCommand.js +0 -62
  17. package/dist-cjs/commands/RemoveTagsCommand.js +0 -24
  18. package/dist-cjs/commands/ReportTaskProgressCommand.js +0 -61
  19. package/dist-cjs/commands/ReportTaskRunnerHeartbeatCommand.js +0 -56
  20. package/dist-cjs/commands/SetStatusCommand.js +0 -56
  21. package/dist-cjs/commands/SetTaskStatusCommand.js +0 -54
  22. package/dist-cjs/commands/ValidatePipelineDefinitionCommand.js +0 -175
  23. package/dist-cjs/commands/index.js +22 -0
  24. package/dist-cjs/endpoints.js +6 -1
  25. package/dist-cjs/index.js +4 -25
  26. package/dist-cjs/models/models_0.js +0 -168
  27. package/dist-cjs/pagination/DescribeObjectsPaginator.js +0 -10
  28. package/dist-cjs/pagination/ListPipelinesPaginator.js +0 -10
  29. package/dist-cjs/pagination/QueryObjectsPaginator.js +0 -10
  30. package/dist-cjs/pagination/index.js +7 -0
  31. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  32. package/dist-cjs/runtimeConfig.browser.js +1 -5
  33. package/dist-cjs/runtimeConfig.js +1 -5
  34. package/dist-cjs/runtimeConfig.native.js +0 -3
  35. package/dist-cjs/runtimeConfig.shared.js +0 -3
  36. package/dist-es/commands/index.js +19 -0
  37. package/dist-es/endpoints.js +6 -1
  38. package/dist-es/index.js +4 -25
  39. package/dist-es/pagination/index.js +4 -0
  40. package/dist-types/commands/index.d.ts +19 -0
  41. package/dist-types/index.d.ts +4 -25
  42. package/dist-types/pagination/index.d.ts +4 -0
  43. package/dist-types/ts3.4/DataPipeline.d.ts +20 -971
  44. package/dist-types/ts3.4/DataPipelineClient.d.ts +24 -105
  45. package/dist-types/ts3.4/commands/ActivatePipelineCommand.d.ts +2 -50
  46. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -20
  47. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +2 -50
  48. package/dist-types/ts3.4/commands/DeactivatePipelineCommand.d.ts +2 -23
  49. package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +2 -51
  50. package/dist-types/ts3.4/commands/DescribeObjectsCommand.d.ts +2 -78
  51. package/dist-types/ts3.4/commands/DescribePipelinesCommand.d.ts +2 -81
  52. package/dist-types/ts3.4/commands/EvaluateExpressionCommand.d.ts +2 -50
  53. package/dist-types/ts3.4/commands/GetPipelineDefinitionCommand.d.ts +2 -84
  54. package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +2 -51
  55. package/dist-types/ts3.4/commands/PollForTaskCommand.d.ts +2 -98
  56. package/dist-types/ts3.4/commands/PutPipelineDefinitionCommand.d.ts +2 -179
  57. package/dist-types/ts3.4/commands/QueryObjectsCommand.d.ts +2 -58
  58. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -20
  59. package/dist-types/ts3.4/commands/ReportTaskProgressCommand.d.ts +2 -57
  60. package/dist-types/ts3.4/commands/ReportTaskRunnerHeartbeatCommand.d.ts +2 -52
  61. package/dist-types/ts3.4/commands/SetStatusCommand.d.ts +2 -52
  62. package/dist-types/ts3.4/commands/SetTaskStatusCommand.d.ts +2 -50
  63. package/dist-types/ts3.4/commands/ValidatePipelineDefinitionCommand.d.ts +2 -171
  64. package/dist-types/ts3.4/commands/index.d.ts +19 -0
  65. package/dist-types/ts3.4/index.d.ts +4 -25
  66. package/dist-types/ts3.4/models/models_0.d.ts +231 -769
  67. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  68. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  69. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  70. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  71. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  72. package/package.json +32 -32
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-data-pipeline
9
+
10
+
11
+
12
+
13
+
14
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
15
+
16
+
17
+ ### Features
18
+
19
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
20
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
21
+
22
+
23
+
24
+
25
+
26
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
27
+
28
+
29
+ ### Features
30
+
31
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
32
+
33
+
34
+
35
+
36
+
37
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
38
+
39
+
40
+ ### Bug Fixes
41
+
42
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
43
+
44
+
45
+
46
+
47
+
6
48
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
49
 
8
50
 
@@ -21,25 +21,6 @@ const SetStatusCommand_1 = require("./commands/SetStatusCommand");
21
21
  const SetTaskStatusCommand_1 = require("./commands/SetTaskStatusCommand");
22
22
  const ValidatePipelineDefinitionCommand_1 = require("./commands/ValidatePipelineDefinitionCommand");
23
23
  const DataPipelineClient_1 = require("./DataPipelineClient");
24
- /**
25
- * <p>AWS Data Pipeline configures and manages a data-driven workflow called a pipeline. AWS Data Pipeline
26
- * handles the details of scheduling and ensuring that data dependencies are met so that your application
27
- * can focus on processing the data.</p>
28
- *
29
- * <p>AWS Data Pipeline provides a JAR implementation of a task runner called AWS Data Pipeline Task Runner.
30
- * AWS Data Pipeline Task Runner provides logic for common data management scenarios, such as performing
31
- * database queries and running data analysis using Amazon Elastic MapReduce (Amazon EMR). You can use
32
- * AWS Data Pipeline Task Runner as your task runner, or you can write your own task runner to provide
33
- * custom data management.</p>
34
- *
35
- * <p>AWS Data Pipeline implements two main sets of functionality. Use the first set to create a pipeline
36
- * and define data sources, schedules, dependencies, and the transforms to be performed on the data.
37
- * Use the second set in your task runner application to receive the next task ready for processing.
38
- * The logic for performing the task, such as querying the data, running data analysis, or converting
39
- * the data from one format to another, is contained within the task runner. The task runner performs
40
- * the task assigned to it by the web service, reporting progress to the web service as it does so.
41
- * When the task is done, the task runner reports the final success or failure of the task to the web service.</p>
42
- */
43
24
  class DataPipeline extends DataPipelineClient_1.DataPipelineClient {
44
25
  activatePipeline(args, optionsOrCb, cb) {
45
26
  const command = new ActivatePipelineCommand_1.ActivatePipelineCommand(args);
@@ -10,25 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <p>AWS Data Pipeline configures and manages a data-driven workflow called a pipeline. AWS Data Pipeline
15
- * handles the details of scheduling and ensuring that data dependencies are met so that your application
16
- * can focus on processing the data.</p>
17
- *
18
- * <p>AWS Data Pipeline provides a JAR implementation of a task runner called AWS Data Pipeline Task Runner.
19
- * AWS Data Pipeline Task Runner provides logic for common data management scenarios, such as performing
20
- * database queries and running data analysis using Amazon Elastic MapReduce (Amazon EMR). You can use
21
- * AWS Data Pipeline Task Runner as your task runner, or you can write your own task runner to provide
22
- * custom data management.</p>
23
- *
24
- * <p>AWS Data Pipeline implements two main sets of functionality. Use the first set to create a pipeline
25
- * and define data sources, schedules, dependencies, and the transforms to be performed on the data.
26
- * Use the second set in your task runner application to receive the next task ready for processing.
27
- * The logic for performing the task, such as querying the data, running data analysis, or converting
28
- * the data from one format to another, is contained within the task runner. The task runner performs
29
- * the task assigned to it by the web service, reporting progress to the web service as it does so.
30
- * When the task is done, the task runner reports the final success or failure of the task to the web service.</p>
31
- */
32
13
  class DataPipelineClient extends smithy_client_1.Client {
33
14
  constructor(configuration) {
34
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -47,11 +28,6 @@ class DataPipelineClient extends smithy_client_1.Client {
47
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
48
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
49
30
  }
50
- /**
51
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
52
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
53
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
54
- */
55
31
  destroy() {
56
32
  super.destroy();
57
33
  }
@@ -5,65 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Validates the specified pipeline and starts processing pipeline tasks. If the pipeline does not pass validation,
10
- * activation fails.</p>
11
- * <p>If you need to pause the pipeline to investigate an issue with a component, such as a data source or script,
12
- * call <a>DeactivatePipeline</a>.</p>
13
- * <p>To activate a finished pipeline, modify the end date for the pipeline and then activate it.</p>
14
- * <examples>
15
- * <request>
16
- *
17
- * POST / HTTP/1.1
18
- * Content-Type: application/x-amz-json-1.1
19
- * X-Amz-Target: DataPipeline.ActivatePipeline
20
- * Content-Length: 39
21
- * Host: datapipeline.us-east-1.amazonaws.com
22
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
23
- * Authorization: AuthParams
24
- *
25
- * {"pipelineId": "df-06372391ZG65EXAMPLE"}
26
- *
27
- * </request>
28
- * <response>
29
- *
30
- * HTTP/1.1 200
31
- * x-amzn-RequestId: ee19d5bf-074e-11e2-af6f-6bc7a6be60d9
32
- * Content-Type: application/x-amz-json-1.1
33
- * Content-Length: 2
34
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
35
- *
36
- * {}
37
- *
38
- * </response>
39
- * </examples>
40
- * @example
41
- * Use a bare-bones client and the command you need to make an API call.
42
- * ```javascript
43
- * import { DataPipelineClient, ActivatePipelineCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
44
- * // const { DataPipelineClient, ActivatePipelineCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
45
- * const client = new DataPipelineClient(config);
46
- * const command = new ActivatePipelineCommand(input);
47
- * const response = await client.send(command);
48
- * ```
49
- *
50
- * @see {@link ActivatePipelineCommandInput} for command's `input` shape.
51
- * @see {@link ActivatePipelineCommandOutput} for command's `response` shape.
52
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
53
- *
54
- */
55
8
  class ActivatePipelineCommand extends smithy_client_1.Command {
56
- // Start section: command_properties
57
- // End section: command_properties
58
9
  constructor(input) {
59
- // Start section: command_constructor
60
10
  super();
61
11
  this.input = input;
62
- // End section: command_constructor
63
12
  }
64
- /**
65
- * @internal
66
- */
67
13
  resolveMiddleware(clientStack, configuration, options) {
68
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
69
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Adds or modifies tags for the specified pipeline.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DataPipelineClient, AddTagsCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
14
- * // const { DataPipelineClient, AddTagsCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
15
- * const client = new DataPipelineClient(config);
16
- * const command = new AddTagsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AddTagsCommandInput} for command's `input` shape.
21
- * @see {@link AddTagsCommandOutput} for command's `response` shape.
22
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class AddTagsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,65 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a new, empty pipeline. Use <a>PutPipelineDefinition</a> to populate the pipeline.</p>
10
- *
11
- * <examples>
12
- * <request>
13
- *
14
- * POST / HTTP/1.1
15
- * Content-Type: application/x-amz-json-1.1
16
- * X-Amz-Target: DataPipeline.CreatePipeline
17
- * Content-Length: 91
18
- * Host: datapipeline.us-east-1.amazonaws.com
19
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
20
- * Authorization: AuthParams
21
- *
22
- * {"name": "myPipeline",
23
- * "uniqueId": "123456789",
24
- * "description": "This is my first pipeline"}
25
- *
26
- * </request>
27
- *
28
- * <response>
29
- *
30
- * HTTP/1.1 200
31
- * x-amzn-RequestId: b16911ce-0774-11e2-af6f-6bc7a6be60d9
32
- * Content-Type: application/x-amz-json-1.1
33
- * Content-Length: 40
34
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
35
- *
36
- * {"pipelineId": "df-06372391ZG65EXAMPLE"}
37
- *
38
- * </response>
39
- * </examples>
40
- * @example
41
- * Use a bare-bones client and the command you need to make an API call.
42
- * ```javascript
43
- * import { DataPipelineClient, CreatePipelineCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
44
- * // const { DataPipelineClient, CreatePipelineCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
45
- * const client = new DataPipelineClient(config);
46
- * const command = new CreatePipelineCommand(input);
47
- * const response = await client.send(command);
48
- * ```
49
- *
50
- * @see {@link CreatePipelineCommandInput} for command's `input` shape.
51
- * @see {@link CreatePipelineCommandOutput} for command's `response` shape.
52
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
53
- *
54
- */
55
8
  class CreatePipelineCommand extends smithy_client_1.Command {
56
- // Start section: command_properties
57
- // End section: command_properties
58
9
  constructor(input) {
59
- // Start section: command_constructor
60
10
  super();
61
11
  this.input = input;
62
- // End section: command_constructor
63
12
  }
64
- /**
65
- * @internal
66
- */
67
13
  resolveMiddleware(clientStack, configuration, options) {
68
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
69
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deactivates the specified running pipeline. The pipeline is set to the <code>DEACTIVATING</code>
10
- * state until the deactivation process completes.</p>
11
- * <p>To resume a deactivated pipeline, use <a>ActivatePipeline</a>. By default, the pipeline resumes from the last completed execution.
12
- * Optionally, you can specify the date and time to resume the pipeline.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { DataPipelineClient, DeactivatePipelineCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
17
- * // const { DataPipelineClient, DeactivatePipelineCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
18
- * const client = new DataPipelineClient(config);
19
- * const command = new DeactivatePipelineCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DeactivatePipelineCommandInput} for command's `input` shape.
24
- * @see {@link DeactivatePipelineCommandOutput} for command's `response` shape.
25
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DeactivatePipelineCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,66 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes a pipeline, its pipeline definition, and its run history.
10
- * AWS Data Pipeline attempts to cancel instances associated with the pipeline that are currently being processed by task runners.</p>
11
- * <p>Deleting a pipeline cannot be undone. You cannot query or restore a deleted pipeline.
12
- * To temporarily pause a pipeline instead of deleting it, call <a>SetStatus</a> with the status set to <code>PAUSE</code> on individual components.
13
- * Components that are paused by <a>SetStatus</a> can be resumed.</p>
14
- *
15
- * <examples>
16
- * <request>
17
- *
18
- * POST / HTTP/1.1
19
- * Content-Type: application/x-amz-json-1.1
20
- * X-Amz-Target: DataPipeline.DeletePipeline
21
- * Content-Length: 50
22
- * Host: datapipeline.us-east-1.amazonaws.com
23
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
24
- * Authorization: AuthParams
25
- *
26
- * {"pipelineId": "df-06372391ZG65EXAMPLE"}
27
- *
28
- * </request>
29
- *
30
- * <response>
31
- *
32
- * x-amzn-RequestId: b7a88c81-0754-11e2-af6f-6bc7a6be60d9
33
- * Content-Type: application/x-amz-json-1.1
34
- * Content-Length: 0
35
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
36
- *
37
- * Unexpected response: 200, OK, undefined
38
- *
39
- * </response>
40
- * </examples>
41
- * @example
42
- * Use a bare-bones client and the command you need to make an API call.
43
- * ```javascript
44
- * import { DataPipelineClient, DeletePipelineCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
45
- * // const { DataPipelineClient, DeletePipelineCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
46
- * const client = new DataPipelineClient(config);
47
- * const command = new DeletePipelineCommand(input);
48
- * const response = await client.send(command);
49
- * ```
50
- *
51
- * @see {@link DeletePipelineCommandInput} for command's `input` shape.
52
- * @see {@link DeletePipelineCommandOutput} for command's `response` shape.
53
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
54
- *
55
- */
56
8
  class DeletePipelineCommand extends smithy_client_1.Command {
57
- // Start section: command_properties
58
- // End section: command_properties
59
9
  constructor(input) {
60
- // Start section: command_constructor
61
10
  super();
62
11
  this.input = input;
63
- // End section: command_constructor
64
12
  }
65
- /**
66
- * @internal
67
- */
68
13
  resolveMiddleware(clientStack, configuration, options) {
69
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
70
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,93 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets the object definitions for a set of objects associated with the pipeline. Object definitions are composed of
10
- * a set of fields that define the properties of the object.</p>
11
- *
12
- * <examples>
13
- * <request>
14
- *
15
- * POST / HTTP/1.1
16
- * Content-Type: application/x-amz-json-1.1
17
- * X-Amz-Target: DataPipeline.DescribeObjects
18
- * Content-Length: 98
19
- * Host: datapipeline.us-east-1.amazonaws.com
20
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
21
- * Authorization: AuthParams
22
- *
23
- * {"pipelineId": "df-06372391ZG65EXAMPLE",
24
- * "objectIds":
25
- * ["Schedule"],
26
- * "evaluateExpressions": true}
27
- *
28
- * </request>
29
- *
30
- * <response>
31
- *
32
- * x-amzn-RequestId: 4c18ea5d-0777-11e2-8a14-21bb8a1f50ef
33
- * Content-Type: application/x-amz-json-1.1
34
- * Content-Length: 1488
35
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
36
- *
37
- * {"hasMoreResults": false,
38
- * "pipelineObjects":
39
- * [
40
- * {"fields":
41
- * [
42
- * {"key": "startDateTime",
43
- * "stringValue": "2012-12-12T00:00:00"},
44
- * {"key": "parent",
45
- * "refValue": "Default"},
46
- * {"key": "@sphere",
47
- * "stringValue": "COMPONENT"},
48
- * {"key": "type",
49
- * "stringValue": "Schedule"},
50
- * {"key": "period",
51
- * "stringValue": "1 hour"},
52
- * {"key": "endDateTime",
53
- * "stringValue": "2012-12-21T18:00:00"},
54
- * {"key": "@version",
55
- * "stringValue": "1"},
56
- * {"key": "@status",
57
- * "stringValue": "PENDING"},
58
- * {"key": "@pipelineId",
59
- * "stringValue": "df-06372391ZG65EXAMPLE"}
60
- * ],
61
- * "id": "Schedule",
62
- * "name": "Schedule"}
63
- * ]
64
- * }
65
- *
66
- * </response>
67
- * </examples>
68
- * @example
69
- * Use a bare-bones client and the command you need to make an API call.
70
- * ```javascript
71
- * import { DataPipelineClient, DescribeObjectsCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
72
- * // const { DataPipelineClient, DescribeObjectsCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
73
- * const client = new DataPipelineClient(config);
74
- * const command = new DescribeObjectsCommand(input);
75
- * const response = await client.send(command);
76
- * ```
77
- *
78
- * @see {@link DescribeObjectsCommandInput} for command's `input` shape.
79
- * @see {@link DescribeObjectsCommandOutput} for command's `response` shape.
80
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
81
- *
82
- */
83
8
  class DescribeObjectsCommand extends smithy_client_1.Command {
84
- // Start section: command_properties
85
- // End section: command_properties
86
9
  constructor(input) {
87
- // Start section: command_constructor
88
10
  super();
89
11
  this.input = input;
90
- // End section: command_constructor
91
12
  }
92
- /**
93
- * @internal
94
- */
95
13
  resolveMiddleware(clientStack, configuration, options) {
96
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
97
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,96 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Retrieves metadata about one or more pipelines. The information retrieved includes the name of the pipeline, the pipeline identifier,
10
- * its current state, and the user account that owns the pipeline. Using account credentials, you can retrieve metadata about pipelines
11
- * that you or your IAM users have created. If you are using an IAM user account, you can retrieve metadata about only those pipelines
12
- * for which you have read permissions.</p>
13
- * <p>To retrieve the full pipeline definition instead of metadata about the pipeline, call <a>GetPipelineDefinition</a>.</p>
14
- *
15
- * <examples>
16
- * <request>
17
- *
18
- * POST / HTTP/1.1
19
- * Content-Type: application/x-amz-json-1.1
20
- * X-Amz-Target: DataPipeline.DescribePipelines
21
- * Content-Length: 70
22
- * Host: datapipeline.us-east-1.amazonaws.com
23
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
24
- * Authorization: AuthParams
25
- *
26
- * {"pipelineIds":
27
- * ["df-08785951KAKJEXAMPLE"]
28
- * }
29
- *
30
- * </request>
31
- *
32
- * <response>
33
- *
34
- * x-amzn-RequestId: 02870eb7-0736-11e2-af6f-6bc7a6be60d9
35
- * Content-Type: application/x-amz-json-1.1
36
- * Content-Length: 767
37
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
38
- *
39
- * {"pipelineDescriptionList":
40
- * [
41
- * {"description": "This is my first pipeline",
42
- * "fields":
43
- * [
44
- * {"key": "@pipelineState",
45
- * "stringValue": "SCHEDULED"},
46
- * {"key": "description",
47
- * "stringValue": "This is my first pipeline"},
48
- * {"key": "name",
49
- * "stringValue": "myPipeline"},
50
- * {"key": "@creationTime",
51
- * "stringValue": "2012-12-13T01:24:06"},
52
- * {"key": "@id",
53
- * "stringValue": "df-0937003356ZJEXAMPLE"},
54
- * {"key": "@sphere",
55
- * "stringValue": "PIPELINE"},
56
- * {"key": "@version",
57
- * "stringValue": "1"},
58
- * {"key": "@userId",
59
- * "stringValue": "924374875933"},
60
- * {"key": "@accountId",
61
- * "stringValue": "924374875933"},
62
- * {"key": "uniqueId",
63
- * "stringValue": "1234567890"}
64
- * ],
65
- * "name": "myPipeline",
66
- * "pipelineId": "df-0937003356ZJEXAMPLE"}
67
- * ]
68
- * }
69
- * </response>
70
- * </examples>
71
- * @example
72
- * Use a bare-bones client and the command you need to make an API call.
73
- * ```javascript
74
- * import { DataPipelineClient, DescribePipelinesCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
75
- * // const { DataPipelineClient, DescribePipelinesCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
76
- * const client = new DataPipelineClient(config);
77
- * const command = new DescribePipelinesCommand(input);
78
- * const response = await client.send(command);
79
- * ```
80
- *
81
- * @see {@link DescribePipelinesCommandInput} for command's `input` shape.
82
- * @see {@link DescribePipelinesCommandOutput} for command's `response` shape.
83
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
84
- *
85
- */
86
8
  class DescribePipelinesCommand extends smithy_client_1.Command {
87
- // Start section: command_properties
88
- // End section: command_properties
89
9
  constructor(input) {
90
- // Start section: command_constructor
91
10
  super();
92
11
  this.input = input;
93
- // End section: command_constructor
94
12
  }
95
- /**
96
- * @internal
97
- */
98
13
  resolveMiddleware(clientStack, configuration, options) {
99
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
100
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,65 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Task runners call <code>EvaluateExpression</code> to evaluate a string in the context of the specified object.
10
- * For example, a task runner can evaluate SQL queries stored in Amazon S3.</p>
11
- *
12
- * <examples>
13
- * <request>
14
- *
15
- * POST / HTTP/1.1
16
- * Content-Type: application/x-amz-json-1.1
17
- * X-Amz-Target: DataPipeline.DescribePipelines
18
- * Content-Length: 164
19
- * Host: datapipeline.us-east-1.amazonaws.com
20
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
21
- * Authorization: AuthParams
22
- *
23
- * {"pipelineId": "df-08785951KAKJEXAMPLE",
24
- * "objectId": "Schedule",
25
- * "expression": "Transform started at #{startDateTime} and finished at #{endDateTime}"}
26
- *
27
- * </request>
28
- *
29
- *
30
- * <response>
31
- *
32
- * x-amzn-RequestId: 02870eb7-0736-11e2-af6f-6bc7a6be60d9
33
- * Content-Type: application/x-amz-json-1.1
34
- * Content-Length: 103
35
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
36
- *
37
- * {"evaluatedExpression": "Transform started at 2012-12-12T00:00:00 and finished at 2012-12-21T18:00:00"}
38
- * </response>
39
- * </examples>
40
- * @example
41
- * Use a bare-bones client and the command you need to make an API call.
42
- * ```javascript
43
- * import { DataPipelineClient, EvaluateExpressionCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
44
- * // const { DataPipelineClient, EvaluateExpressionCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
45
- * const client = new DataPipelineClient(config);
46
- * const command = new EvaluateExpressionCommand(input);
47
- * const response = await client.send(command);
48
- * ```
49
- *
50
- * @see {@link EvaluateExpressionCommandInput} for command's `input` shape.
51
- * @see {@link EvaluateExpressionCommandOutput} for command's `response` shape.
52
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
53
- *
54
- */
55
8
  class EvaluateExpressionCommand extends smithy_client_1.Command {
56
- // Start section: command_properties
57
- // End section: command_properties
58
9
  constructor(input) {
59
- // Start section: command_constructor
60
10
  super();
61
11
  this.input = input;
62
- // End section: command_constructor
63
12
  }
64
- /**
65
- * @internal
66
- */
67
13
  resolveMiddleware(clientStack, configuration, options) {
68
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
69
15
  const stack = clientStack.concat(this.middlewareStack);