@aws-sdk/client-data-pipeline 3.34.0 → 3.37.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.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/DataPipeline.js +1 -21
- package/dist-cjs/DataPipelineClient.js +35 -0
- package/dist-cjs/commands/ActivatePipelineCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -27
- package/dist-cjs/commands/CreatePipelineCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeactivatePipelineCommand.js +2 -30
- package/dist-cjs/commands/DeletePipelineCommand.js +36 -0
- package/dist-cjs/commands/DescribeObjectsCommand.js +36 -0
- package/dist-cjs/commands/DescribePipelinesCommand.js +36 -0
- package/dist-cjs/commands/EvaluateExpressionCommand.js +36 -0
- package/dist-cjs/commands/GetPipelineDefinitionCommand.js +36 -0
- package/dist-cjs/commands/ListPipelinesCommand.js +36 -0
- package/dist-cjs/commands/PollForTaskCommand.js +36 -0
- package/dist-cjs/commands/PutPipelineDefinitionCommand.js +36 -0
- package/dist-cjs/commands/QueryObjectsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/RemoveTagsCommand.js +2 -27
- package/dist-cjs/commands/ReportTaskProgressCommand.js +36 -0
- package/dist-cjs/commands/ReportTaskRunnerHeartbeatCommand.js +36 -0
- package/dist-cjs/commands/SetStatusCommand.js +36 -0
- package/dist-cjs/commands/SetTaskStatusCommand.js +36 -0
- package/dist-cjs/commands/ValidatePipelineDefinitionCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -169
- package/{dist/cjs → dist-cjs}/pagination/DescribeObjectsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListPipelinesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/QueryObjectsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/DataPipeline.js +1 -2
- package/{dist/es → dist-es}/DataPipelineClient.js +1 -2
- package/{dist/es → dist-es}/commands/ActivatePipelineCommand.js +2 -3
- package/{dist/es → dist-es}/commands/AddTagsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreatePipelineCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeactivatePipelineCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeletePipelineCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeObjectsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribePipelinesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/EvaluateExpressionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetPipelineDefinitionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPipelinesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PollForTaskCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutPipelineDefinitionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/QueryObjectsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RemoveTagsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ReportTaskProgressCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ReportTaskRunnerHeartbeatCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SetStatusCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SetTaskStatusCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ValidatePipelineDefinitionCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/pagination/DescribeObjectsPaginator.js +1 -2
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListPipelinesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/QueryObjectsPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/DataPipeline.d.ts +2 -2
- package/{dist/types → dist-types}/DataPipelineClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/ActivatePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AddTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreatePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeactivatePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeletePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeObjectsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribePipelinesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/EvaluateExpressionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetPipelineDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListPipelinesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PollForTaskCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutPipelineDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/QueryObjectsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemoveTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ReportTaskProgressCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ReportTaskRunnerHeartbeatCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetStatusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetTaskStatusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ValidatePipelineDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/DescribeObjectsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPipelinesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/QueryObjectsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/DataPipeline.d.ts +100 -0
- package/{dist/types → dist-types}/ts3.4/DataPipelineClient.d.ts +32 -113
- package/dist-types/ts3.4/commands/ActivatePipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeactivatePipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeObjectsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePipelinesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EvaluateExpressionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPipelineDefinitionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PollForTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutPipelineDefinitionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/QueryObjectsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ReportTaskProgressCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ReportTaskRunnerHeartbeatCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetTaskStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ValidatePipelineDefinitionCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +655 -0
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeObjectsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPipelinesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/QueryObjectsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/DataPipeline.ts +0 -1578
- package/DataPipelineClient.ts +0 -320
- package/commands/ActivatePipelineCommand.ts +0 -124
- package/commands/AddTagsCommand.ts +0 -91
- package/commands/CreatePipelineCommand.ts +0 -124
- package/commands/DeactivatePipelineCommand.ts +0 -97
- package/commands/DeletePipelineCommand.ts +0 -125
- package/commands/DescribeObjectsCommand.ts +0 -152
- package/commands/DescribePipelinesCommand.ts +0 -155
- package/commands/EvaluateExpressionCommand.ts +0 -124
- package/commands/GetPipelineDefinitionCommand.ts +0 -158
- package/commands/ListPipelinesCommand.ts +0 -125
- package/commands/PollForTaskCommand.ts +0 -172
- package/commands/PutPipelineDefinitionCommand.ts +0 -253
- package/commands/QueryObjectsCommand.ts +0 -132
- package/commands/RemoveTagsCommand.ts +0 -94
- package/commands/ReportTaskProgressCommand.ts +0 -131
- package/commands/ReportTaskRunnerHeartbeatCommand.ts +0 -129
- package/commands/SetStatusCommand.ts +0 -123
- package/commands/SetTaskStatusCommand.ts +0 -124
- package/commands/ValidatePipelineDefinitionCommand.ts +0 -248
- package/dist/cjs/DataPipeline.js.map +0 -1
- package/dist/cjs/DataPipelineClient.js +0 -60
- package/dist/cjs/DataPipelineClient.js.map +0 -1
- package/dist/cjs/commands/ActivatePipelineCommand.js +0 -91
- package/dist/cjs/commands/ActivatePipelineCommand.js.map +0 -1
- package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
- package/dist/cjs/commands/CreatePipelineCommand.js +0 -91
- package/dist/cjs/commands/CreatePipelineCommand.js.map +0 -1
- package/dist/cjs/commands/DeactivatePipelineCommand.js.map +0 -1
- package/dist/cjs/commands/DeletePipelineCommand.js +0 -92
- package/dist/cjs/commands/DeletePipelineCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeObjectsCommand.js +0 -119
- package/dist/cjs/commands/DescribeObjectsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribePipelinesCommand.js +0 -122
- package/dist/cjs/commands/DescribePipelinesCommand.js.map +0 -1
- package/dist/cjs/commands/EvaluateExpressionCommand.js +0 -91
- package/dist/cjs/commands/EvaluateExpressionCommand.js.map +0 -1
- package/dist/cjs/commands/GetPipelineDefinitionCommand.js +0 -125
- package/dist/cjs/commands/GetPipelineDefinitionCommand.js.map +0 -1
- package/dist/cjs/commands/ListPipelinesCommand.js +0 -92
- package/dist/cjs/commands/ListPipelinesCommand.js.map +0 -1
- package/dist/cjs/commands/PollForTaskCommand.js +0 -139
- package/dist/cjs/commands/PollForTaskCommand.js.map +0 -1
- package/dist/cjs/commands/PutPipelineDefinitionCommand.js +0 -220
- package/dist/cjs/commands/PutPipelineDefinitionCommand.js.map +0 -1
- package/dist/cjs/commands/QueryObjectsCommand.js +0 -99
- package/dist/cjs/commands/QueryObjectsCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveTagsCommand.js.map +0 -1
- package/dist/cjs/commands/ReportTaskProgressCommand.js +0 -98
- package/dist/cjs/commands/ReportTaskProgressCommand.js.map +0 -1
- package/dist/cjs/commands/ReportTaskRunnerHeartbeatCommand.js +0 -93
- package/dist/cjs/commands/ReportTaskRunnerHeartbeatCommand.js.map +0 -1
- package/dist/cjs/commands/SetStatusCommand.js +0 -93
- package/dist/cjs/commands/SetStatusCommand.js.map +0 -1
- package/dist/cjs/commands/SetTaskStatusCommand.js +0 -91
- package/dist/cjs/commands/SetTaskStatusCommand.js.map +0 -1
- package/dist/cjs/commands/ValidatePipelineDefinitionCommand.js +0 -212
- package/dist/cjs/commands/ValidatePipelineDefinitionCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/DescribeObjectsPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListPipelinesPaginator.js.map +0 -1
- package/dist/cjs/pagination/QueryObjectsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/DataPipeline.js.map +0 -1
- package/dist/es/DataPipelineClient.js.map +0 -1
- package/dist/es/commands/ActivatePipelineCommand.js.map +0 -1
- package/dist/es/commands/AddTagsCommand.js.map +0 -1
- package/dist/es/commands/CreatePipelineCommand.js.map +0 -1
- package/dist/es/commands/DeactivatePipelineCommand.js.map +0 -1
- package/dist/es/commands/DeletePipelineCommand.js.map +0 -1
- package/dist/es/commands/DescribeObjectsCommand.js.map +0 -1
- package/dist/es/commands/DescribePipelinesCommand.js.map +0 -1
- package/dist/es/commands/EvaluateExpressionCommand.js.map +0 -1
- package/dist/es/commands/GetPipelineDefinitionCommand.js.map +0 -1
- package/dist/es/commands/ListPipelinesCommand.js.map +0 -1
- package/dist/es/commands/PollForTaskCommand.js.map +0 -1
- package/dist/es/commands/PutPipelineDefinitionCommand.js.map +0 -1
- package/dist/es/commands/QueryObjectsCommand.js.map +0 -1
- package/dist/es/commands/RemoveTagsCommand.js.map +0 -1
- package/dist/es/commands/ReportTaskProgressCommand.js.map +0 -1
- package/dist/es/commands/ReportTaskRunnerHeartbeatCommand.js.map +0 -1
- package/dist/es/commands/SetStatusCommand.js.map +0 -1
- package/dist/es/commands/SetTaskStatusCommand.js.map +0 -1
- package/dist/es/commands/ValidatePipelineDefinitionCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -27
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/DescribeObjectsPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListPipelinesPaginator.js.map +0 -1
- package/dist/es/pagination/QueryObjectsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/DataPipeline.d.ts +0 -1051
- package/dist/types/ts3.4/commands/ActivatePipelineCommand.d.ts +0 -65
- package/dist/types/ts3.4/commands/AddTagsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreatePipelineCommand.d.ts +0 -65
- package/dist/types/ts3.4/commands/DeactivatePipelineCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeletePipelineCommand.d.ts +0 -66
- package/dist/types/ts3.4/commands/DescribeObjectsCommand.d.ts +0 -93
- package/dist/types/ts3.4/commands/DescribePipelinesCommand.d.ts +0 -96
- package/dist/types/ts3.4/commands/EvaluateExpressionCommand.d.ts +0 -65
- package/dist/types/ts3.4/commands/GetPipelineDefinitionCommand.d.ts +0 -99
- package/dist/types/ts3.4/commands/ListPipelinesCommand.d.ts +0 -66
- package/dist/types/ts3.4/commands/PollForTaskCommand.d.ts +0 -113
- package/dist/types/ts3.4/commands/PutPipelineDefinitionCommand.d.ts +0 -194
- package/dist/types/ts3.4/commands/QueryObjectsCommand.d.ts +0 -73
- package/dist/types/ts3.4/commands/RemoveTagsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ReportTaskProgressCommand.d.ts +0 -72
- package/dist/types/ts3.4/commands/ReportTaskRunnerHeartbeatCommand.d.ts +0 -67
- package/dist/types/ts3.4/commands/SetStatusCommand.d.ts +0 -67
- package/dist/types/ts3.4/commands/SetTaskStatusCommand.d.ts +0 -65
- package/dist/types/ts3.4/commands/ValidatePipelineDefinitionCommand.d.ts +0 -186
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1193
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1480
- package/pagination/DescribeObjectsPaginator.ts +0 -57
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListPipelinesPaginator.ts +0 -57
- package/pagination/QueryObjectsPaginator.ts +0 -58
- package/protocols/Aws_json1_1.ts +0 -2766
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EvaluateExpressionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
|
-
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
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
|
-
class EvaluateExpressionCommand extends smithy_client_1.Command {
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
constructor(input) {
|
|
59
|
-
// Start section: command_constructor
|
|
60
|
-
super();
|
|
61
|
-
this.input = input;
|
|
62
|
-
// End section: command_constructor
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
68
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "DataPipelineClient";
|
|
72
|
-
const commandName = "EvaluateExpressionCommand";
|
|
73
|
-
const handlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: models_0_1.EvaluateExpressionInput.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: models_0_1.EvaluateExpressionOutput.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
82
|
-
}
|
|
83
|
-
serialize(input, context) {
|
|
84
|
-
return Aws_json1_1_1.serializeAws_json1_1EvaluateExpressionCommand(input, context);
|
|
85
|
-
}
|
|
86
|
-
deserialize(output, context) {
|
|
87
|
-
return Aws_json1_1_1.deserializeAws_json1_1EvaluateExpressionCommand(output, context);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
exports.EvaluateExpressionCommand = EvaluateExpressionCommand;
|
|
91
|
-
//# sourceMappingURL=EvaluateExpressionCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EvaluateExpressionCommand.js","sourceRoot":"","sources":["../../../commands/EvaluateExpressionCommand.ts"],"names":[],"mappings":";;;AACA,iDAAuF;AACvF,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,yBAA0B,SAAQ,uBAI9C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAqC;QACxD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAgC;QAGxD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,MAAM,WAAW,GAAG,2BAA2B,CAAC;QAChD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,kCAAuB,CAAC,kBAAkB;YACnE,wBAAwB,EAAE,mCAAwB,CAAC,kBAAkB;SACtE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAqC,EAAE,OAAuB;QAC9E,OAAO,2DAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,6DAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;CAIF;AAtDD,8DAsDC"}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetPipelineDefinitionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
|
-
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets the definition of the specified pipeline. You can call <code>GetPipelineDefinition</code> to retrieve
|
|
10
|
-
* the pipeline definition that you provided using <a>PutPipelineDefinition</a>.</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.GetPipelineDefinition
|
|
18
|
-
* Content-Length: 40
|
|
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
|
-
*
|
|
24
|
-
* {"pipelineId": "df-06372391ZG65EXAMPLE"}
|
|
25
|
-
*
|
|
26
|
-
* </request>
|
|
27
|
-
* <response>
|
|
28
|
-
*
|
|
29
|
-
* x-amzn-RequestId: e28309e5-0776-11e2-8a14-21bb8a1f50ef
|
|
30
|
-
* Content-Type: application/x-amz-json-1.1
|
|
31
|
-
* Content-Length: 890
|
|
32
|
-
* Date: Mon, 12 Nov 2012 17:50:53 GMT
|
|
33
|
-
*
|
|
34
|
-
* {"pipelineObjects":
|
|
35
|
-
* [
|
|
36
|
-
* {"fields":
|
|
37
|
-
* [
|
|
38
|
-
* {"key": "workerGroup",
|
|
39
|
-
* "stringValue": "workerGroup"}
|
|
40
|
-
* ],
|
|
41
|
-
* "id": "Default",
|
|
42
|
-
* "name": "Default"},
|
|
43
|
-
* {"fields":
|
|
44
|
-
* [
|
|
45
|
-
* {"key": "startDateTime",
|
|
46
|
-
* "stringValue": "2012-09-25T17:00:00"},
|
|
47
|
-
* {"key": "type",
|
|
48
|
-
* "stringValue": "Schedule"},
|
|
49
|
-
* {"key": "period",
|
|
50
|
-
* "stringValue": "1 hour"},
|
|
51
|
-
* {"key": "endDateTime",
|
|
52
|
-
* "stringValue": "2012-09-25T18:00:00"}
|
|
53
|
-
* ],
|
|
54
|
-
* "id": "Schedule",
|
|
55
|
-
* "name": "Schedule"},
|
|
56
|
-
* {"fields":
|
|
57
|
-
* [
|
|
58
|
-
* {"key": "schedule",
|
|
59
|
-
* "refValue": "Schedule"},
|
|
60
|
-
* {"key": "command",
|
|
61
|
-
* "stringValue": "echo hello"},
|
|
62
|
-
* {"key": "parent",
|
|
63
|
-
* "refValue": "Default"},
|
|
64
|
-
* {"key": "type",
|
|
65
|
-
* "stringValue": "ShellCommandActivity"}
|
|
66
|
-
* ],
|
|
67
|
-
* "id": "SayHello",
|
|
68
|
-
* "name": "SayHello"}
|
|
69
|
-
* ]
|
|
70
|
-
* }
|
|
71
|
-
*
|
|
72
|
-
* </response>
|
|
73
|
-
* </examples>
|
|
74
|
-
* @example
|
|
75
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
76
|
-
* ```javascript
|
|
77
|
-
* import { DataPipelineClient, GetPipelineDefinitionCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
|
|
78
|
-
* // const { DataPipelineClient, GetPipelineDefinitionCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
|
|
79
|
-
* const client = new DataPipelineClient(config);
|
|
80
|
-
* const command = new GetPipelineDefinitionCommand(input);
|
|
81
|
-
* const response = await client.send(command);
|
|
82
|
-
* ```
|
|
83
|
-
*
|
|
84
|
-
* @see {@link GetPipelineDefinitionCommandInput} for command's `input` shape.
|
|
85
|
-
* @see {@link GetPipelineDefinitionCommandOutput} for command's `response` shape.
|
|
86
|
-
* @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
|
|
87
|
-
*
|
|
88
|
-
*/
|
|
89
|
-
class GetPipelineDefinitionCommand extends smithy_client_1.Command {
|
|
90
|
-
// Start section: command_properties
|
|
91
|
-
// End section: command_properties
|
|
92
|
-
constructor(input) {
|
|
93
|
-
// Start section: command_constructor
|
|
94
|
-
super();
|
|
95
|
-
this.input = input;
|
|
96
|
-
// End section: command_constructor
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
102
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
103
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
104
|
-
const { logger } = configuration;
|
|
105
|
-
const clientName = "DataPipelineClient";
|
|
106
|
-
const commandName = "GetPipelineDefinitionCommand";
|
|
107
|
-
const handlerExecutionContext = {
|
|
108
|
-
logger,
|
|
109
|
-
clientName,
|
|
110
|
-
commandName,
|
|
111
|
-
inputFilterSensitiveLog: models_0_1.GetPipelineDefinitionInput.filterSensitiveLog,
|
|
112
|
-
outputFilterSensitiveLog: models_0_1.GetPipelineDefinitionOutput.filterSensitiveLog,
|
|
113
|
-
};
|
|
114
|
-
const { requestHandler } = configuration;
|
|
115
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
116
|
-
}
|
|
117
|
-
serialize(input, context) {
|
|
118
|
-
return Aws_json1_1_1.serializeAws_json1_1GetPipelineDefinitionCommand(input, context);
|
|
119
|
-
}
|
|
120
|
-
deserialize(output, context) {
|
|
121
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetPipelineDefinitionCommand(output, context);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
exports.GetPipelineDefinitionCommand = GetPipelineDefinitionCommand;
|
|
125
|
-
//# sourceMappingURL=GetPipelineDefinitionCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetPipelineDefinitionCommand.js","sourceRoot":"","sources":["../../../commands/GetPipelineDefinitionCommand.ts"],"names":[],"mappings":";;;AACA,iDAA6F;AAC7F,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFG;AACH,MAAa,4BAA6B,SAAQ,uBAIjD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAwC;QAC3D,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAmC;QAG3D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,MAAM,WAAW,GAAG,8BAA8B,CAAC;QACnD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,qCAA0B,CAAC,kBAAkB;YACtE,wBAAwB,EAAE,sCAA2B,CAAC,kBAAkB;SACzE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAwC,EAAE,OAAuB;QACjF,OAAO,8DAAgD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,gEAAkD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CAIF;AAtDD,oEAsDC"}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListPipelinesCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
|
-
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the pipeline identifiers for all active pipelines that you have permission to access.</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.ListPipelines
|
|
17
|
-
* Content-Length: 14
|
|
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
|
-
* {}</request>
|
|
23
|
-
*
|
|
24
|
-
* <response>
|
|
25
|
-
*
|
|
26
|
-
* Status:
|
|
27
|
-
* x-amzn-RequestId: b3104dc5-0734-11e2-af6f-6bc7a6be60d9
|
|
28
|
-
* Content-Type: application/x-amz-json-1.1
|
|
29
|
-
* Content-Length: 39
|
|
30
|
-
* Date: Mon, 12 Nov 2012 17:50:53 GMT
|
|
31
|
-
*
|
|
32
|
-
* {"PipelineIdList":
|
|
33
|
-
* [
|
|
34
|
-
* {"id": "df-08785951KAKJEXAMPLE",
|
|
35
|
-
* "name": "MyPipeline"},
|
|
36
|
-
* {"id": "df-08662578ISYEXAMPLE",
|
|
37
|
-
* "name": "MySecondPipeline"}
|
|
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, ListPipelinesCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
|
|
45
|
-
* // const { DataPipelineClient, ListPipelinesCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
|
|
46
|
-
* const client = new DataPipelineClient(config);
|
|
47
|
-
* const command = new ListPipelinesCommand(input);
|
|
48
|
-
* const response = await client.send(command);
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* @see {@link ListPipelinesCommandInput} for command's `input` shape.
|
|
52
|
-
* @see {@link ListPipelinesCommandOutput} for command's `response` shape.
|
|
53
|
-
* @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
56
|
-
class ListPipelinesCommand extends smithy_client_1.Command {
|
|
57
|
-
// Start section: command_properties
|
|
58
|
-
// End section: command_properties
|
|
59
|
-
constructor(input) {
|
|
60
|
-
// Start section: command_constructor
|
|
61
|
-
super();
|
|
62
|
-
this.input = input;
|
|
63
|
-
// End section: command_constructor
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
69
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "DataPipelineClient";
|
|
73
|
-
const commandName = "ListPipelinesCommand";
|
|
74
|
-
const handlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: models_0_1.ListPipelinesInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: models_0_1.ListPipelinesOutput.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
83
|
-
}
|
|
84
|
-
serialize(input, context) {
|
|
85
|
-
return Aws_json1_1_1.serializeAws_json1_1ListPipelinesCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
deserialize(output, context) {
|
|
88
|
-
return Aws_json1_1_1.deserializeAws_json1_1ListPipelinesCommand(output, context);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
exports.ListPipelinesCommand = ListPipelinesCommand;
|
|
92
|
-
//# sourceMappingURL=ListPipelinesCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListPipelinesCommand.js","sourceRoot":"","sources":["../../../commands/ListPipelinesCommand.ts"],"names":[],"mappings":";;;AACA,iDAA6E;AAC7E,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,oBAAqB,SAAQ,uBAIzC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAgC;QACnD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA2B;QAGnD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,MAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,6BAAkB,CAAC,kBAAkB;YAC9D,wBAAwB,EAAE,8BAAmB,CAAC,kBAAkB;SACjE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAgC,EAAE,OAAuB;QACzE,OAAO,sDAAwC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,wDAA0C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CAIF;AAtDD,oDAsDC"}
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PollForTaskCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
|
-
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Task runners call <code>PollForTask</code> to receive a task to perform from AWS Data Pipeline. The task runner specifies which tasks it can perform
|
|
10
|
-
* by setting a value for the <code>workerGroup</code> parameter. The task returned can come from any of the pipelines that
|
|
11
|
-
* match the <code>workerGroup</code> value passed in by the task runner and that was launched using the IAM user credentials
|
|
12
|
-
* specified by the task runner.</p>
|
|
13
|
-
* <p>If tasks are ready in the work queue, <code>PollForTask</code> returns a response immediately. If no tasks are available in the queue,
|
|
14
|
-
* <code>PollForTask</code> uses long-polling and holds on to a poll connection for up to a 90 seconds, during which time the first newly
|
|
15
|
-
* scheduled task is handed to the task runner. To accomodate this, set the socket timeout in your task runner to 90 seconds. The task
|
|
16
|
-
* runner should not call <code>PollForTask</code> again on the same <code>workerGroup</code> until it receives a response, and this can take up to 90 seconds.
|
|
17
|
-
* </p>
|
|
18
|
-
*
|
|
19
|
-
* <examples>
|
|
20
|
-
* <request>
|
|
21
|
-
*
|
|
22
|
-
* POST / HTTP/1.1
|
|
23
|
-
* Content-Type: application/x-amz-json-1.1
|
|
24
|
-
* X-Amz-Target: DataPipeline.PollForTask
|
|
25
|
-
* Content-Length: 59
|
|
26
|
-
* Host: datapipeline.us-east-1.amazonaws.com
|
|
27
|
-
* X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
|
|
28
|
-
* Authorization: AuthParams
|
|
29
|
-
*
|
|
30
|
-
* {"workerGroup": "MyworkerGroup",
|
|
31
|
-
* "hostname": "example.com"}
|
|
32
|
-
*
|
|
33
|
-
* </request>
|
|
34
|
-
*
|
|
35
|
-
* <response>
|
|
36
|
-
*
|
|
37
|
-
* x-amzn-RequestId: 41c713d2-0775-11e2-af6f-6bc7a6be60d9
|
|
38
|
-
* Content-Type: application/x-amz-json-1.1
|
|
39
|
-
* Content-Length: 39
|
|
40
|
-
* Date: Mon, 12 Nov 2012 17:50:53 GMT
|
|
41
|
-
*
|
|
42
|
-
* {"taskObject":
|
|
43
|
-
* {"attemptId": "@SayHello_2012-12-12T00:00:00_Attempt=1",
|
|
44
|
-
* "objects":
|
|
45
|
-
* {"@SayHello_2012-12-12T00:00:00_Attempt=1":
|
|
46
|
-
* {"fields":
|
|
47
|
-
* [
|
|
48
|
-
* {"key": "@componentParent",
|
|
49
|
-
* "refValue": "SayHello"},
|
|
50
|
-
* {"key": "@scheduledStartTime",
|
|
51
|
-
* "stringValue": "2012-12-12T00:00:00"},
|
|
52
|
-
* {"key": "parent",
|
|
53
|
-
* "refValue": "SayHello"},
|
|
54
|
-
* {"key": "@sphere",
|
|
55
|
-
* "stringValue": "ATTEMPT"},
|
|
56
|
-
* {"key": "workerGroup",
|
|
57
|
-
* "stringValue": "workerGroup"},
|
|
58
|
-
* {"key": "@instanceParent",
|
|
59
|
-
* "refValue": "@SayHello_2012-12-12T00:00:00"},
|
|
60
|
-
* {"key": "type",
|
|
61
|
-
* "stringValue": "ShellCommandActivity"},
|
|
62
|
-
* {"key": "@status",
|
|
63
|
-
* "stringValue": "WAITING_FOR_RUNNER"},
|
|
64
|
-
* {"key": "@version",
|
|
65
|
-
* "stringValue": "1"},
|
|
66
|
-
* {"key": "schedule",
|
|
67
|
-
* "refValue": "Schedule"},
|
|
68
|
-
* {"key": "@actualStartTime",
|
|
69
|
-
* "stringValue": "2012-12-13T01:40:50"},
|
|
70
|
-
* {"key": "command",
|
|
71
|
-
* "stringValue": "echo hello"},
|
|
72
|
-
* {"key": "@scheduledEndTime",
|
|
73
|
-
* "stringValue": "2012-12-12T01:00:00"},
|
|
74
|
-
* {"key": "@activeInstances",
|
|
75
|
-
* "refValue": "@SayHello_2012-12-12T00:00:00"},
|
|
76
|
-
* {"key": "@pipelineId",
|
|
77
|
-
* "stringValue": "df-0937003356ZJEXAMPLE"}
|
|
78
|
-
* ],
|
|
79
|
-
* "id": "@SayHello_2012-12-12T00:00:00_Attempt=1",
|
|
80
|
-
* "name": "@SayHello_2012-12-12T00:00:00_Attempt=1"}
|
|
81
|
-
* },
|
|
82
|
-
* "pipelineId": "df-0937003356ZJEXAMPLE",
|
|
83
|
-
* "taskId": "2xaM4wRs5zOsIH+g9U3oVHfAgAlbSqU6XduncB0HhZ3xMnmvfePZPn4dIbYXHyWyRK+cU15MqDHwdrvftx/4wv+sNS4w34vJfv7QA9aOoOazW28l1GYSb2ZRR0N0paiQp+d1MhSKo10hOTWOsVK5S5Lnx9Qm6omFgXHyIvZRIvTlrQMpr1xuUrflyGOfbFOGpOLpvPE172MYdqpZKnbSS4TcuqgQKSWV2833fEubI57DPOP7ghWa2TcYeSIv4pdLYG53fTuwfbnbdc98g2LNUQzSVhSnt7BoqyNwht2aQ6b/UHg9A80+KVpuXuqmz3m1MXwHFgxjdmuesXNOrrlGpeLCcRWD+aGo0RN1NqhQRzNAig8V4GlaPTQzMsRCljKqvrIyAoP3Tt2XEGsHkkQo12rEX8Z90957XX2qKRwhruwYzqGkSLWjINoLdAxUJdpRXRc5DJTrBd3D5mdzn7kY1l7NEh4kFHJDt3Cx4Z3Mk8MYCACyCk/CEyy9DwuPi66cLz0NBcgbCM5LKjTBOwo1m+am+pvM1kSposE9FPP1+RFGb8k6jQBTJx3TRz1yKilnGXQTZ5xvdOFpJrklIT0OXP1MG3+auM9FlJA+1dX90QoNJE5z7axmK//MOGXUdkqFe2kiDkorqjxwDvc0Js9pVKfKvAmW8YqUbmI9l0ERpWCXXnLVHNmPWz3jaPY+OBAmuJWDmxB/Z8p94aEDg4BVXQ7LvsKQ3DLYhaB7yJ390CJT+i0mm+EBqY60V6YikPSWDFrYQ/NPi2b1DgE19mX8zHqw8qprIl4yh1Ckx2Iige4En/N5ktOoIxnASxAw/TzcE2skxdw5KlHDF+UTj71m16CR/dIaKlXijlfNlNzUBo/bNSadCQn3G5NoO501wPKI:XO50TgDNyo8EXAMPLE/g==:1"}
|
|
84
|
-
* }
|
|
85
|
-
*
|
|
86
|
-
* </response>
|
|
87
|
-
* </examples>
|
|
88
|
-
* @example
|
|
89
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
90
|
-
* ```javascript
|
|
91
|
-
* import { DataPipelineClient, PollForTaskCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
|
|
92
|
-
* // const { DataPipelineClient, PollForTaskCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
|
|
93
|
-
* const client = new DataPipelineClient(config);
|
|
94
|
-
* const command = new PollForTaskCommand(input);
|
|
95
|
-
* const response = await client.send(command);
|
|
96
|
-
* ```
|
|
97
|
-
*
|
|
98
|
-
* @see {@link PollForTaskCommandInput} for command's `input` shape.
|
|
99
|
-
* @see {@link PollForTaskCommandOutput} for command's `response` shape.
|
|
100
|
-
* @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
|
|
101
|
-
*
|
|
102
|
-
*/
|
|
103
|
-
class PollForTaskCommand extends smithy_client_1.Command {
|
|
104
|
-
// Start section: command_properties
|
|
105
|
-
// End section: command_properties
|
|
106
|
-
constructor(input) {
|
|
107
|
-
// Start section: command_constructor
|
|
108
|
-
super();
|
|
109
|
-
this.input = input;
|
|
110
|
-
// End section: command_constructor
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* @internal
|
|
114
|
-
*/
|
|
115
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
116
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
117
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
118
|
-
const { logger } = configuration;
|
|
119
|
-
const clientName = "DataPipelineClient";
|
|
120
|
-
const commandName = "PollForTaskCommand";
|
|
121
|
-
const handlerExecutionContext = {
|
|
122
|
-
logger,
|
|
123
|
-
clientName,
|
|
124
|
-
commandName,
|
|
125
|
-
inputFilterSensitiveLog: models_0_1.PollForTaskInput.filterSensitiveLog,
|
|
126
|
-
outputFilterSensitiveLog: models_0_1.PollForTaskOutput.filterSensitiveLog,
|
|
127
|
-
};
|
|
128
|
-
const { requestHandler } = configuration;
|
|
129
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
130
|
-
}
|
|
131
|
-
serialize(input, context) {
|
|
132
|
-
return Aws_json1_1_1.serializeAws_json1_1PollForTaskCommand(input, context);
|
|
133
|
-
}
|
|
134
|
-
deserialize(output, context) {
|
|
135
|
-
return Aws_json1_1_1.deserializeAws_json1_1PollForTaskCommand(output, context);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
exports.PollForTaskCommand = PollForTaskCommand;
|
|
139
|
-
//# sourceMappingURL=PollForTaskCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PollForTaskCommand.js","sourceRoot":"","sources":["../../../commands/PollForTaskCommand.ts"],"names":[],"mappings":";;;AACA,iDAAyE;AACzE,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8FG;AACH,MAAa,kBAAmB,SAAQ,uBAIvC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA8B;QACjD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAyB;QAGjD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,MAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,2BAAgB,CAAC,kBAAkB;YAC5D,wBAAwB,EAAE,4BAAiB,CAAC,kBAAkB;SAC/D,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAA8B,EAAE,OAAuB;QACvE,OAAO,oDAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,sDAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;CAIF;AAtDD,gDAsDC"}
|