@aws-sdk/client-data-pipeline 3.32.0 → 3.36.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 +44 -0
- package/{dist/cjs → dist-cjs}/DataPipeline.js +1 -2
- package/{dist/cjs → dist-cjs}/DataPipelineClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/ActivatePipelineCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreatePipelineCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeactivatePipelineCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeletePipelineCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeObjectsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribePipelinesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/EvaluateExpressionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetPipelineDefinitionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListPipelinesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PollForTaskCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutPipelineDefinitionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/QueryObjectsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RemoveTagsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ReportTaskProgressCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ReportTaskRunnerHeartbeatCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/SetStatusCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/SetTaskStatusCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ValidatePipelineDefinitionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- 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 -1
- package/{dist/cjs → dist-cjs}/pagination/DescribeObjectsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListPipelinesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/QueryObjectsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/DataPipeline.js +2 -22
- package/dist-es/DataPipelineClient.js +37 -0
- package/dist-es/commands/ActivatePipelineCommand.js +39 -0
- package/{dist/es → dist-es}/commands/AddTagsCommand.js +4 -30
- package/dist-es/commands/CreatePipelineCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DeactivatePipelineCommand.js +4 -33
- package/dist-es/commands/DeletePipelineCommand.js +39 -0
- package/dist-es/commands/DescribeObjectsCommand.js +39 -0
- package/dist-es/commands/DescribePipelinesCommand.js +39 -0
- package/dist-es/commands/EvaluateExpressionCommand.js +39 -0
- package/dist-es/commands/GetPipelineDefinitionCommand.js +39 -0
- package/dist-es/commands/ListPipelinesCommand.js +39 -0
- package/dist-es/commands/PollForTaskCommand.js +39 -0
- package/dist-es/commands/PutPipelineDefinitionCommand.js +39 -0
- package/dist-es/commands/QueryObjectsCommand.js +39 -0
- package/{dist/es → dist-es}/commands/RemoveTagsCommand.js +4 -30
- package/dist-es/commands/ReportTaskProgressCommand.js +39 -0
- package/dist-es/commands/ReportTaskRunnerHeartbeatCommand.js +39 -0
- package/dist-es/commands/SetStatusCommand.js +39 -0
- package/dist-es/commands/SetTaskStatusCommand.js +39 -0
- package/dist-es/commands/ValidatePipelineDefinitionCommand.js +39 -0
- 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 -169
- package/{dist/es → dist-es}/pagination/DescribeObjectsPaginator.js +17 -30
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListPipelinesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/QueryObjectsPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +424 -430
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- 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 +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/DataPipeline.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/DataPipelineClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/ActivatePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/AddTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreatePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeactivatePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeletePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeObjectsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribePipelinesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/EvaluateExpressionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetPipelineDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListPipelinesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PollForTaskCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PutPipelineDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/QueryObjectsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RemoveTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ReportTaskProgressCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ReportTaskRunnerHeartbeatCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/SetStatusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/SetTaskStatusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ValidatePipelineDefinitionCommand.d.ts +2 -2
- 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 → dist-types}/ts3.4/models/models_0.d.ts +0 -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 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- 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.map +0 -1
- package/dist/cjs/commands/ActivatePipelineCommand.js.map +0 -1
- package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
- package/dist/cjs/commands/CreatePipelineCommand.js.map +0 -1
- package/dist/cjs/commands/DeactivatePipelineCommand.js.map +0 -1
- package/dist/cjs/commands/DeletePipelineCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeObjectsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribePipelinesCommand.js.map +0 -1
- package/dist/cjs/commands/EvaluateExpressionCommand.js.map +0 -1
- package/dist/cjs/commands/GetPipelineDefinitionCommand.js.map +0 -1
- package/dist/cjs/commands/ListPipelinesCommand.js.map +0 -1
- package/dist/cjs/commands/PollForTaskCommand.js.map +0 -1
- package/dist/cjs/commands/PutPipelineDefinitionCommand.js.map +0 -1
- package/dist/cjs/commands/QueryObjectsCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveTagsCommand.js.map +0 -1
- package/dist/cjs/commands/ReportTaskProgressCommand.js.map +0 -1
- package/dist/cjs/commands/ReportTaskRunnerHeartbeatCommand.js.map +0 -1
- package/dist/cjs/commands/SetStatusCommand.js.map +0 -1
- package/dist/cjs/commands/SetTaskStatusCommand.js.map +0 -1
- 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 +0 -62
- package/dist/es/DataPipelineClient.js.map +0 -1
- package/dist/es/commands/ActivatePipelineCommand.js +0 -95
- package/dist/es/commands/ActivatePipelineCommand.js.map +0 -1
- package/dist/es/commands/AddTagsCommand.js.map +0 -1
- package/dist/es/commands/CreatePipelineCommand.js +0 -95
- package/dist/es/commands/CreatePipelineCommand.js.map +0 -1
- package/dist/es/commands/DeactivatePipelineCommand.js.map +0 -1
- package/dist/es/commands/DeletePipelineCommand.js +0 -96
- package/dist/es/commands/DeletePipelineCommand.js.map +0 -1
- package/dist/es/commands/DescribeObjectsCommand.js +0 -123
- package/dist/es/commands/DescribeObjectsCommand.js.map +0 -1
- package/dist/es/commands/DescribePipelinesCommand.js +0 -126
- package/dist/es/commands/DescribePipelinesCommand.js.map +0 -1
- package/dist/es/commands/EvaluateExpressionCommand.js +0 -95
- package/dist/es/commands/EvaluateExpressionCommand.js.map +0 -1
- package/dist/es/commands/GetPipelineDefinitionCommand.js +0 -129
- package/dist/es/commands/GetPipelineDefinitionCommand.js.map +0 -1
- package/dist/es/commands/ListPipelinesCommand.js +0 -96
- package/dist/es/commands/ListPipelinesCommand.js.map +0 -1
- package/dist/es/commands/PollForTaskCommand.js +0 -143
- package/dist/es/commands/PollForTaskCommand.js.map +0 -1
- package/dist/es/commands/PutPipelineDefinitionCommand.js +0 -224
- package/dist/es/commands/PutPipelineDefinitionCommand.js.map +0 -1
- package/dist/es/commands/QueryObjectsCommand.js +0 -103
- package/dist/es/commands/QueryObjectsCommand.js.map +0 -1
- package/dist/es/commands/RemoveTagsCommand.js.map +0 -1
- package/dist/es/commands/ReportTaskProgressCommand.js +0 -102
- package/dist/es/commands/ReportTaskProgressCommand.js.map +0 -1
- package/dist/es/commands/ReportTaskRunnerHeartbeatCommand.js +0 -97
- package/dist/es/commands/ReportTaskRunnerHeartbeatCommand.js.map +0 -1
- package/dist/es/commands/SetStatusCommand.js +0 -97
- package/dist/es/commands/SetStatusCommand.js.map +0 -1
- package/dist/es/commands/SetTaskStatusCommand.js +0 -95
- package/dist/es/commands/SetTaskStatusCommand.js.map +0 -1
- package/dist/es/commands/ValidatePipelineDefinitionCommand.js +0 -216
- 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/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 -12
- package/tsconfig.json +0 -32
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { EvaluateExpressionInput, EvaluateExpressionOutput } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1EvaluateExpressionCommand, serializeAws_json1_1EvaluateExpressionCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Task runners call <code>EvaluateExpression</code> to evaluate a string in the context of the specified object.
|
|
8
|
-
* For example, a task runner can evaluate SQL queries stored in Amazon S3.</p>
|
|
9
|
-
*
|
|
10
|
-
* <examples>
|
|
11
|
-
* <request>
|
|
12
|
-
*
|
|
13
|
-
* POST / HTTP/1.1
|
|
14
|
-
* Content-Type: application/x-amz-json-1.1
|
|
15
|
-
* X-Amz-Target: DataPipeline.DescribePipelines
|
|
16
|
-
* Content-Length: 164
|
|
17
|
-
* Host: datapipeline.us-east-1.amazonaws.com
|
|
18
|
-
* X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
|
|
19
|
-
* Authorization: AuthParams
|
|
20
|
-
*
|
|
21
|
-
* {"pipelineId": "df-08785951KAKJEXAMPLE",
|
|
22
|
-
* "objectId": "Schedule",
|
|
23
|
-
* "expression": "Transform started at #{startDateTime} and finished at #{endDateTime}"}
|
|
24
|
-
*
|
|
25
|
-
* </request>
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* <response>
|
|
29
|
-
*
|
|
30
|
-
* x-amzn-RequestId: 02870eb7-0736-11e2-af6f-6bc7a6be60d9
|
|
31
|
-
* Content-Type: application/x-amz-json-1.1
|
|
32
|
-
* Content-Length: 103
|
|
33
|
-
* Date: Mon, 12 Nov 2012 17:50:53 GMT
|
|
34
|
-
*
|
|
35
|
-
* {"evaluatedExpression": "Transform started at 2012-12-12T00:00:00 and finished at 2012-12-21T18:00:00"}
|
|
36
|
-
* </response>
|
|
37
|
-
* </examples>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { DataPipelineClient, EvaluateExpressionCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
|
|
42
|
-
* // const { DataPipelineClient, EvaluateExpressionCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
|
|
43
|
-
* const client = new DataPipelineClient(config);
|
|
44
|
-
* const command = new EvaluateExpressionCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link EvaluateExpressionCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link EvaluateExpressionCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
var EvaluateExpressionCommand = /** @class */ (function (_super) {
|
|
54
|
-
__extends(EvaluateExpressionCommand, _super);
|
|
55
|
-
// Start section: command_properties
|
|
56
|
-
// End section: command_properties
|
|
57
|
-
function EvaluateExpressionCommand(input) {
|
|
58
|
-
var _this =
|
|
59
|
-
// Start section: command_constructor
|
|
60
|
-
_super.call(this) || this;
|
|
61
|
-
_this.input = input;
|
|
62
|
-
return _this;
|
|
63
|
-
// End section: command_constructor
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
EvaluateExpressionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
var logger = configuration.logger;
|
|
72
|
-
var clientName = "DataPipelineClient";
|
|
73
|
-
var commandName = "EvaluateExpressionCommand";
|
|
74
|
-
var handlerExecutionContext = {
|
|
75
|
-
logger: logger,
|
|
76
|
-
clientName: clientName,
|
|
77
|
-
commandName: commandName,
|
|
78
|
-
inputFilterSensitiveLog: EvaluateExpressionInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: EvaluateExpressionOutput.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
var requestHandler = configuration.requestHandler;
|
|
82
|
-
return stack.resolve(function (request) {
|
|
83
|
-
return requestHandler.handle(request.request, options || {});
|
|
84
|
-
}, handlerExecutionContext);
|
|
85
|
-
};
|
|
86
|
-
EvaluateExpressionCommand.prototype.serialize = function (input, context) {
|
|
87
|
-
return serializeAws_json1_1EvaluateExpressionCommand(input, context);
|
|
88
|
-
};
|
|
89
|
-
EvaluateExpressionCommand.prototype.deserialize = function (output, context) {
|
|
90
|
-
return deserializeAws_json1_1EvaluateExpressionCommand(output, context);
|
|
91
|
-
};
|
|
92
|
-
return EvaluateExpressionCommand;
|
|
93
|
-
}($Command));
|
|
94
|
-
export { EvaluateExpressionCommand };
|
|
95
|
-
//# sourceMappingURL=EvaluateExpressionCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EvaluateExpressionCommand.js","sourceRoot":"","sources":["../../../commands/EvaluateExpressionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH;IAA+C,6CAI9C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,mCAAqB,KAAqC;QAA1D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAgC;;QAGxD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,qDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,IAAM,WAAW,GAAG,2BAA2B,CAAC;QAChD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,uBAAuB,CAAC,kBAAkB;YACnE,wBAAwB,EAAE,wBAAwB,CAAC,kBAAkB;SACtE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,6CAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { GetPipelineDefinitionInput, GetPipelineDefinitionOutput } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1GetPipelineDefinitionCommand, serializeAws_json1_1GetPipelineDefinitionCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Gets the definition of the specified pipeline. You can call <code>GetPipelineDefinition</code> to retrieve
|
|
8
|
-
* the pipeline definition that you provided using <a>PutPipelineDefinition</a>.</p>
|
|
9
|
-
*
|
|
10
|
-
* <examples>
|
|
11
|
-
* <request>
|
|
12
|
-
*
|
|
13
|
-
* POST / HTTP/1.1
|
|
14
|
-
* Content-Type: application/x-amz-json-1.1
|
|
15
|
-
* X-Amz-Target: DataPipeline.GetPipelineDefinition
|
|
16
|
-
* Content-Length: 40
|
|
17
|
-
* Host: datapipeline.us-east-1.amazonaws.com
|
|
18
|
-
* X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
|
|
19
|
-
* Authorization: AuthParams
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* {"pipelineId": "df-06372391ZG65EXAMPLE"}
|
|
23
|
-
*
|
|
24
|
-
* </request>
|
|
25
|
-
* <response>
|
|
26
|
-
*
|
|
27
|
-
* x-amzn-RequestId: e28309e5-0776-11e2-8a14-21bb8a1f50ef
|
|
28
|
-
* Content-Type: application/x-amz-json-1.1
|
|
29
|
-
* Content-Length: 890
|
|
30
|
-
* Date: Mon, 12 Nov 2012 17:50:53 GMT
|
|
31
|
-
*
|
|
32
|
-
* {"pipelineObjects":
|
|
33
|
-
* [
|
|
34
|
-
* {"fields":
|
|
35
|
-
* [
|
|
36
|
-
* {"key": "workerGroup",
|
|
37
|
-
* "stringValue": "workerGroup"}
|
|
38
|
-
* ],
|
|
39
|
-
* "id": "Default",
|
|
40
|
-
* "name": "Default"},
|
|
41
|
-
* {"fields":
|
|
42
|
-
* [
|
|
43
|
-
* {"key": "startDateTime",
|
|
44
|
-
* "stringValue": "2012-09-25T17:00:00"},
|
|
45
|
-
* {"key": "type",
|
|
46
|
-
* "stringValue": "Schedule"},
|
|
47
|
-
* {"key": "period",
|
|
48
|
-
* "stringValue": "1 hour"},
|
|
49
|
-
* {"key": "endDateTime",
|
|
50
|
-
* "stringValue": "2012-09-25T18:00:00"}
|
|
51
|
-
* ],
|
|
52
|
-
* "id": "Schedule",
|
|
53
|
-
* "name": "Schedule"},
|
|
54
|
-
* {"fields":
|
|
55
|
-
* [
|
|
56
|
-
* {"key": "schedule",
|
|
57
|
-
* "refValue": "Schedule"},
|
|
58
|
-
* {"key": "command",
|
|
59
|
-
* "stringValue": "echo hello"},
|
|
60
|
-
* {"key": "parent",
|
|
61
|
-
* "refValue": "Default"},
|
|
62
|
-
* {"key": "type",
|
|
63
|
-
* "stringValue": "ShellCommandActivity"}
|
|
64
|
-
* ],
|
|
65
|
-
* "id": "SayHello",
|
|
66
|
-
* "name": "SayHello"}
|
|
67
|
-
* ]
|
|
68
|
-
* }
|
|
69
|
-
*
|
|
70
|
-
* </response>
|
|
71
|
-
* </examples>
|
|
72
|
-
* @example
|
|
73
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
74
|
-
* ```javascript
|
|
75
|
-
* import { DataPipelineClient, GetPipelineDefinitionCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
|
|
76
|
-
* // const { DataPipelineClient, GetPipelineDefinitionCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
|
|
77
|
-
* const client = new DataPipelineClient(config);
|
|
78
|
-
* const command = new GetPipelineDefinitionCommand(input);
|
|
79
|
-
* const response = await client.send(command);
|
|
80
|
-
* ```
|
|
81
|
-
*
|
|
82
|
-
* @see {@link GetPipelineDefinitionCommandInput} for command's `input` shape.
|
|
83
|
-
* @see {@link GetPipelineDefinitionCommandOutput} for command's `response` shape.
|
|
84
|
-
* @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
|
|
85
|
-
*
|
|
86
|
-
*/
|
|
87
|
-
var GetPipelineDefinitionCommand = /** @class */ (function (_super) {
|
|
88
|
-
__extends(GetPipelineDefinitionCommand, _super);
|
|
89
|
-
// Start section: command_properties
|
|
90
|
-
// End section: command_properties
|
|
91
|
-
function GetPipelineDefinitionCommand(input) {
|
|
92
|
-
var _this =
|
|
93
|
-
// Start section: command_constructor
|
|
94
|
-
_super.call(this) || this;
|
|
95
|
-
_this.input = input;
|
|
96
|
-
return _this;
|
|
97
|
-
// End section: command_constructor
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
|
-
GetPipelineDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
103
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
104
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
105
|
-
var logger = configuration.logger;
|
|
106
|
-
var clientName = "DataPipelineClient";
|
|
107
|
-
var commandName = "GetPipelineDefinitionCommand";
|
|
108
|
-
var handlerExecutionContext = {
|
|
109
|
-
logger: logger,
|
|
110
|
-
clientName: clientName,
|
|
111
|
-
commandName: commandName,
|
|
112
|
-
inputFilterSensitiveLog: GetPipelineDefinitionInput.filterSensitiveLog,
|
|
113
|
-
outputFilterSensitiveLog: GetPipelineDefinitionOutput.filterSensitiveLog,
|
|
114
|
-
};
|
|
115
|
-
var requestHandler = configuration.requestHandler;
|
|
116
|
-
return stack.resolve(function (request) {
|
|
117
|
-
return requestHandler.handle(request.request, options || {});
|
|
118
|
-
}, handlerExecutionContext);
|
|
119
|
-
};
|
|
120
|
-
GetPipelineDefinitionCommand.prototype.serialize = function (input, context) {
|
|
121
|
-
return serializeAws_json1_1GetPipelineDefinitionCommand(input, context);
|
|
122
|
-
};
|
|
123
|
-
GetPipelineDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
124
|
-
return deserializeAws_json1_1GetPipelineDefinitionCommand(output, context);
|
|
125
|
-
};
|
|
126
|
-
return GetPipelineDefinitionCommand;
|
|
127
|
-
}($Command));
|
|
128
|
-
export { GetPipelineDefinitionCommand };
|
|
129
|
-
//# sourceMappingURL=GetPipelineDefinitionCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetPipelineDefinitionCommand.js","sourceRoot":"","sources":["../../../commands/GetPipelineDefinitionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,0BAA0B,CAAC;AAClC,OAAO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E,OAAuB;QACjF,OAAO,gDAAgD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAEO,kDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,kDAAkD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAIH,mCAAC;AAAD,CAAC,AAtDD,CAAkD,QAAQ,GAsDzD"}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { ListPipelinesInput, ListPipelinesOutput } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1ListPipelinesCommand, serializeAws_json1_1ListPipelinesCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Lists the pipeline identifiers for all active pipelines that you have permission to access.</p>
|
|
8
|
-
*
|
|
9
|
-
* <examples>
|
|
10
|
-
* <request>
|
|
11
|
-
*
|
|
12
|
-
* POST / HTTP/1.1
|
|
13
|
-
* Content-Type: application/x-amz-json-1.1
|
|
14
|
-
* X-Amz-Target: DataPipeline.ListPipelines
|
|
15
|
-
* Content-Length: 14
|
|
16
|
-
* Host: datapipeline.us-east-1.amazonaws.com
|
|
17
|
-
* X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
|
|
18
|
-
* Authorization: AuthParams
|
|
19
|
-
*
|
|
20
|
-
* {}</request>
|
|
21
|
-
*
|
|
22
|
-
* <response>
|
|
23
|
-
*
|
|
24
|
-
* Status:
|
|
25
|
-
* x-amzn-RequestId: b3104dc5-0734-11e2-af6f-6bc7a6be60d9
|
|
26
|
-
* Content-Type: application/x-amz-json-1.1
|
|
27
|
-
* Content-Length: 39
|
|
28
|
-
* Date: Mon, 12 Nov 2012 17:50:53 GMT
|
|
29
|
-
*
|
|
30
|
-
* {"PipelineIdList":
|
|
31
|
-
* [
|
|
32
|
-
* {"id": "df-08785951KAKJEXAMPLE",
|
|
33
|
-
* "name": "MyPipeline"},
|
|
34
|
-
* {"id": "df-08662578ISYEXAMPLE",
|
|
35
|
-
* "name": "MySecondPipeline"}
|
|
36
|
-
* ]
|
|
37
|
-
* }</response>
|
|
38
|
-
* </examples>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { DataPipelineClient, ListPipelinesCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
|
|
43
|
-
* // const { DataPipelineClient, ListPipelinesCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
|
|
44
|
-
* const client = new DataPipelineClient(config);
|
|
45
|
-
* const command = new ListPipelinesCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link ListPipelinesCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link ListPipelinesCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
var ListPipelinesCommand = /** @class */ (function (_super) {
|
|
55
|
-
__extends(ListPipelinesCommand, _super);
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
function ListPipelinesCommand(input) {
|
|
59
|
-
var _this =
|
|
60
|
-
// Start section: command_constructor
|
|
61
|
-
_super.call(this) || this;
|
|
62
|
-
_this.input = input;
|
|
63
|
-
return _this;
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
ListPipelinesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
var logger = configuration.logger;
|
|
73
|
-
var clientName = "DataPipelineClient";
|
|
74
|
-
var commandName = "ListPipelinesCommand";
|
|
75
|
-
var handlerExecutionContext = {
|
|
76
|
-
logger: logger,
|
|
77
|
-
clientName: clientName,
|
|
78
|
-
commandName: commandName,
|
|
79
|
-
inputFilterSensitiveLog: ListPipelinesInput.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: ListPipelinesOutput.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
var requestHandler = configuration.requestHandler;
|
|
83
|
-
return stack.resolve(function (request) {
|
|
84
|
-
return requestHandler.handle(request.request, options || {});
|
|
85
|
-
}, handlerExecutionContext);
|
|
86
|
-
};
|
|
87
|
-
ListPipelinesCommand.prototype.serialize = function (input, context) {
|
|
88
|
-
return serializeAws_json1_1ListPipelinesCommand(input, context);
|
|
89
|
-
};
|
|
90
|
-
ListPipelinesCommand.prototype.deserialize = function (output, context) {
|
|
91
|
-
return deserializeAws_json1_1ListPipelinesCommand(output, context);
|
|
92
|
-
};
|
|
93
|
-
return ListPipelinesCommand;
|
|
94
|
-
}($Command));
|
|
95
|
-
export { ListPipelinesCommand };
|
|
96
|
-
//# sourceMappingURL=ListPipelinesCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListPipelinesCommand.js","sourceRoot":"","sources":["../../../commands/ListPipelinesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH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AC,AAtDD,CAA0C,QAAQ,GAsDjD"}
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { PollForTaskInput, PollForTaskOutput } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1PollForTaskCommand, serializeAws_json1_1PollForTaskCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <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
|
|
8
|
-
* by setting a value for the <code>workerGroup</code> parameter. The task returned can come from any of the pipelines that
|
|
9
|
-
* match the <code>workerGroup</code> value passed in by the task runner and that was launched using the IAM user credentials
|
|
10
|
-
* specified by the task runner.</p>
|
|
11
|
-
* <p>If tasks are ready in the work queue, <code>PollForTask</code> returns a response immediately. If no tasks are available in the queue,
|
|
12
|
-
* <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
|
|
13
|
-
* scheduled task is handed to the task runner. To accomodate this, set the socket timeout in your task runner to 90 seconds. The task
|
|
14
|
-
* 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.
|
|
15
|
-
* </p>
|
|
16
|
-
*
|
|
17
|
-
* <examples>
|
|
18
|
-
* <request>
|
|
19
|
-
*
|
|
20
|
-
* POST / HTTP/1.1
|
|
21
|
-
* Content-Type: application/x-amz-json-1.1
|
|
22
|
-
* X-Amz-Target: DataPipeline.PollForTask
|
|
23
|
-
* Content-Length: 59
|
|
24
|
-
* Host: datapipeline.us-east-1.amazonaws.com
|
|
25
|
-
* X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
|
|
26
|
-
* Authorization: AuthParams
|
|
27
|
-
*
|
|
28
|
-
* {"workerGroup": "MyworkerGroup",
|
|
29
|
-
* "hostname": "example.com"}
|
|
30
|
-
*
|
|
31
|
-
* </request>
|
|
32
|
-
*
|
|
33
|
-
* <response>
|
|
34
|
-
*
|
|
35
|
-
* x-amzn-RequestId: 41c713d2-0775-11e2-af6f-6bc7a6be60d9
|
|
36
|
-
* Content-Type: application/x-amz-json-1.1
|
|
37
|
-
* Content-Length: 39
|
|
38
|
-
* Date: Mon, 12 Nov 2012 17:50:53 GMT
|
|
39
|
-
*
|
|
40
|
-
* {"taskObject":
|
|
41
|
-
* {"attemptId": "@SayHello_2012-12-12T00:00:00_Attempt=1",
|
|
42
|
-
* "objects":
|
|
43
|
-
* {"@SayHello_2012-12-12T00:00:00_Attempt=1":
|
|
44
|
-
* {"fields":
|
|
45
|
-
* [
|
|
46
|
-
* {"key": "@componentParent",
|
|
47
|
-
* "refValue": "SayHello"},
|
|
48
|
-
* {"key": "@scheduledStartTime",
|
|
49
|
-
* "stringValue": "2012-12-12T00:00:00"},
|
|
50
|
-
* {"key": "parent",
|
|
51
|
-
* "refValue": "SayHello"},
|
|
52
|
-
* {"key": "@sphere",
|
|
53
|
-
* "stringValue": "ATTEMPT"},
|
|
54
|
-
* {"key": "workerGroup",
|
|
55
|
-
* "stringValue": "workerGroup"},
|
|
56
|
-
* {"key": "@instanceParent",
|
|
57
|
-
* "refValue": "@SayHello_2012-12-12T00:00:00"},
|
|
58
|
-
* {"key": "type",
|
|
59
|
-
* "stringValue": "ShellCommandActivity"},
|
|
60
|
-
* {"key": "@status",
|
|
61
|
-
* "stringValue": "WAITING_FOR_RUNNER"},
|
|
62
|
-
* {"key": "@version",
|
|
63
|
-
* "stringValue": "1"},
|
|
64
|
-
* {"key": "schedule",
|
|
65
|
-
* "refValue": "Schedule"},
|
|
66
|
-
* {"key": "@actualStartTime",
|
|
67
|
-
* "stringValue": "2012-12-13T01:40:50"},
|
|
68
|
-
* {"key": "command",
|
|
69
|
-
* "stringValue": "echo hello"},
|
|
70
|
-
* {"key": "@scheduledEndTime",
|
|
71
|
-
* "stringValue": "2012-12-12T01:00:00"},
|
|
72
|
-
* {"key": "@activeInstances",
|
|
73
|
-
* "refValue": "@SayHello_2012-12-12T00:00:00"},
|
|
74
|
-
* {"key": "@pipelineId",
|
|
75
|
-
* "stringValue": "df-0937003356ZJEXAMPLE"}
|
|
76
|
-
* ],
|
|
77
|
-
* "id": "@SayHello_2012-12-12T00:00:00_Attempt=1",
|
|
78
|
-
* "name": "@SayHello_2012-12-12T00:00:00_Attempt=1"}
|
|
79
|
-
* },
|
|
80
|
-
* "pipelineId": "df-0937003356ZJEXAMPLE",
|
|
81
|
-
* "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"}
|
|
82
|
-
* }
|
|
83
|
-
*
|
|
84
|
-
* </response>
|
|
85
|
-
* </examples>
|
|
86
|
-
* @example
|
|
87
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
88
|
-
* ```javascript
|
|
89
|
-
* import { DataPipelineClient, PollForTaskCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
|
|
90
|
-
* // const { DataPipelineClient, PollForTaskCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
|
|
91
|
-
* const client = new DataPipelineClient(config);
|
|
92
|
-
* const command = new PollForTaskCommand(input);
|
|
93
|
-
* const response = await client.send(command);
|
|
94
|
-
* ```
|
|
95
|
-
*
|
|
96
|
-
* @see {@link PollForTaskCommandInput} for command's `input` shape.
|
|
97
|
-
* @see {@link PollForTaskCommandOutput} for command's `response` shape.
|
|
98
|
-
* @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
|
|
99
|
-
*
|
|
100
|
-
*/
|
|
101
|
-
var PollForTaskCommand = /** @class */ (function (_super) {
|
|
102
|
-
__extends(PollForTaskCommand, _super);
|
|
103
|
-
// Start section: command_properties
|
|
104
|
-
// End section: command_properties
|
|
105
|
-
function PollForTaskCommand(input) {
|
|
106
|
-
var _this =
|
|
107
|
-
// Start section: command_constructor
|
|
108
|
-
_super.call(this) || this;
|
|
109
|
-
_this.input = input;
|
|
110
|
-
return _this;
|
|
111
|
-
// End section: command_constructor
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
116
|
-
PollForTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
117
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
118
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
119
|
-
var logger = configuration.logger;
|
|
120
|
-
var clientName = "DataPipelineClient";
|
|
121
|
-
var commandName = "PollForTaskCommand";
|
|
122
|
-
var handlerExecutionContext = {
|
|
123
|
-
logger: logger,
|
|
124
|
-
clientName: clientName,
|
|
125
|
-
commandName: commandName,
|
|
126
|
-
inputFilterSensitiveLog: PollForTaskInput.filterSensitiveLog,
|
|
127
|
-
outputFilterSensitiveLog: PollForTaskOutput.filterSensitiveLog,
|
|
128
|
-
};
|
|
129
|
-
var requestHandler = configuration.requestHandler;
|
|
130
|
-
return stack.resolve(function (request) {
|
|
131
|
-
return requestHandler.handle(request.request, options || {});
|
|
132
|
-
}, handlerExecutionContext);
|
|
133
|
-
};
|
|
134
|
-
PollForTaskCommand.prototype.serialize = function (input, context) {
|
|
135
|
-
return serializeAws_json1_1PollForTaskCommand(input, context);
|
|
136
|
-
};
|
|
137
|
-
PollForTaskCommand.prototype.deserialize = function (output, context) {
|
|
138
|
-
return deserializeAws_json1_1PollForTaskCommand(output, context);
|
|
139
|
-
};
|
|
140
|
-
return PollForTaskCommand;
|
|
141
|
-
}($Command));
|
|
142
|
-
export { PollForTaskCommand };
|
|
143
|
-
//# sourceMappingURL=PollForTaskCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PollForTaskCommand.js","sourceRoot":"","sources":["../../../commands/PollForTaskCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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