@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,220 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PutPipelineDefinitionCommand = 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>Adds tasks, schedules, and preconditions to the specified pipeline. You can use <code>PutPipelineDefinition</code> to populate a new pipeline.</p>
|
|
10
|
-
* <p>
|
|
11
|
-
* <code>PutPipelineDefinition</code> also validates the configuration as it adds it to the pipeline. Changes to the pipeline are saved unless one
|
|
12
|
-
* of the following three validation errors exists in the pipeline.
|
|
13
|
-
* </p>
|
|
14
|
-
* <ol>
|
|
15
|
-
* <li>An object is missing a name or identifier field.</li>
|
|
16
|
-
* <li>A string or reference field is empty.</li>
|
|
17
|
-
* <li>The number of objects in the pipeline exceeds the maximum allowed objects.</li>
|
|
18
|
-
* <li>The pipeline is in a FINISHED state.</li>
|
|
19
|
-
* </ol>
|
|
20
|
-
* <p>
|
|
21
|
-
* Pipeline object definitions are passed to the <code>PutPipelineDefinition</code> action and returned by the <a>GetPipelineDefinition</a> action.
|
|
22
|
-
* </p>
|
|
23
|
-
* <examples>
|
|
24
|
-
* <example>
|
|
25
|
-
* <name>Example 1</name>
|
|
26
|
-
* <description>
|
|
27
|
-
* This example sets an valid pipeline configuration and returns success.
|
|
28
|
-
* </description>
|
|
29
|
-
* <request>
|
|
30
|
-
*
|
|
31
|
-
* POST / HTTP/1.1
|
|
32
|
-
* Content-Type: application/x-amz-json-1.1
|
|
33
|
-
* X-Amz-Target: DataPipeline.PutPipelineDefinition
|
|
34
|
-
* Content-Length: 914
|
|
35
|
-
* Host: datapipeline.us-east-1.amazonaws.com
|
|
36
|
-
* X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
|
|
37
|
-
* Authorization: AuthParams
|
|
38
|
-
*
|
|
39
|
-
* {"pipelineId": "df-0937003356ZJEXAMPLE",
|
|
40
|
-
* "pipelineObjects":
|
|
41
|
-
* [
|
|
42
|
-
* {"id": "Default",
|
|
43
|
-
* "name": "Default",
|
|
44
|
-
* "fields":
|
|
45
|
-
* [
|
|
46
|
-
* {"key": "workerGroup",
|
|
47
|
-
* "stringValue": "workerGroup"}
|
|
48
|
-
* ]
|
|
49
|
-
* },
|
|
50
|
-
* {"id": "Schedule",
|
|
51
|
-
* "name": "Schedule",
|
|
52
|
-
* "fields":
|
|
53
|
-
* [
|
|
54
|
-
* {"key": "startDateTime",
|
|
55
|
-
* "stringValue": "2012-12-12T00:00:00"},
|
|
56
|
-
* {"key": "type",
|
|
57
|
-
* "stringValue": "Schedule"},
|
|
58
|
-
* {"key": "period",
|
|
59
|
-
* "stringValue": "1 hour"},
|
|
60
|
-
* {"key": "endDateTime",
|
|
61
|
-
* "stringValue": "2012-12-21T18:00:00"}
|
|
62
|
-
* ]
|
|
63
|
-
* },
|
|
64
|
-
* {"id": "SayHello",
|
|
65
|
-
* "name": "SayHello",
|
|
66
|
-
* "fields":
|
|
67
|
-
* [
|
|
68
|
-
* {"key": "type",
|
|
69
|
-
* "stringValue": "ShellCommandActivity"},
|
|
70
|
-
* {"key": "command",
|
|
71
|
-
* "stringValue": "echo hello"},
|
|
72
|
-
* {"key": "parent",
|
|
73
|
-
* "refValue": "Default"},
|
|
74
|
-
* {"key": "schedule",
|
|
75
|
-
* "refValue": "Schedule"}
|
|
76
|
-
* ]
|
|
77
|
-
* }
|
|
78
|
-
* ]
|
|
79
|
-
* }
|
|
80
|
-
*
|
|
81
|
-
* </request>
|
|
82
|
-
* <response>
|
|
83
|
-
*
|
|
84
|
-
* HTTP/1.1 200
|
|
85
|
-
* x-amzn-RequestId: f74afc14-0754-11e2-af6f-6bc7a6be60d9
|
|
86
|
-
* Content-Type: application/x-amz-json-1.1
|
|
87
|
-
* Content-Length: 18
|
|
88
|
-
* Date: Mon, 12 Nov 2012 17:50:53 GMT
|
|
89
|
-
*
|
|
90
|
-
* {"errored": false}
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
* </response>
|
|
94
|
-
* </example>
|
|
95
|
-
* <example>
|
|
96
|
-
* <name>Example 2</name>
|
|
97
|
-
* <description>
|
|
98
|
-
* This example sets an invalid pipeline configuration (the value for <code>workerGroup</code> is an empty string) and returns an error message.
|
|
99
|
-
* </description>
|
|
100
|
-
* <request>
|
|
101
|
-
*
|
|
102
|
-
* POST / HTTP/1.1
|
|
103
|
-
* Content-Type: application/x-amz-json-1.1
|
|
104
|
-
* X-Amz-Target: DataPipeline.PutPipelineDefinition
|
|
105
|
-
* Content-Length: 903
|
|
106
|
-
* Host: datapipeline.us-east-1.amazonaws.com
|
|
107
|
-
* X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
|
|
108
|
-
* Authorization: AuthParams
|
|
109
|
-
*
|
|
110
|
-
* {"pipelineId": "df-06372391ZG65EXAMPLE",
|
|
111
|
-
* "pipelineObjects":
|
|
112
|
-
* [
|
|
113
|
-
* {"id": "Default",
|
|
114
|
-
* "name": "Default",
|
|
115
|
-
* "fields":
|
|
116
|
-
* [
|
|
117
|
-
* {"key": "workerGroup",
|
|
118
|
-
* "stringValue": ""}
|
|
119
|
-
* ]
|
|
120
|
-
* },
|
|
121
|
-
* {"id": "Schedule",
|
|
122
|
-
* "name": "Schedule",
|
|
123
|
-
* "fields":
|
|
124
|
-
* [
|
|
125
|
-
* {"key": "startDateTime",
|
|
126
|
-
* "stringValue": "2012-09-25T17:00:00"},
|
|
127
|
-
* {"key": "type",
|
|
128
|
-
* "stringValue": "Schedule"},
|
|
129
|
-
* {"key": "period",
|
|
130
|
-
* "stringValue": "1 hour"},
|
|
131
|
-
* {"key": "endDateTime",
|
|
132
|
-
* "stringValue": "2012-09-25T18:00:00"}
|
|
133
|
-
* ]
|
|
134
|
-
* },
|
|
135
|
-
* {"id": "SayHello",
|
|
136
|
-
* "name": "SayHello",
|
|
137
|
-
* "fields":
|
|
138
|
-
* [
|
|
139
|
-
* {"key": "type",
|
|
140
|
-
* "stringValue": "ShellCommandActivity"},
|
|
141
|
-
* {"key": "command",
|
|
142
|
-
* "stringValue": "echo hello"},
|
|
143
|
-
* {"key": "parent",
|
|
144
|
-
* "refValue": "Default"},
|
|
145
|
-
* {"key": "schedule",
|
|
146
|
-
* "refValue": "Schedule"}
|
|
147
|
-
*
|
|
148
|
-
* ]
|
|
149
|
-
* }
|
|
150
|
-
* ]
|
|
151
|
-
* }
|
|
152
|
-
*
|
|
153
|
-
* </request>
|
|
154
|
-
* <response>
|
|
155
|
-
*
|
|
156
|
-
* HTTP/1.1 200
|
|
157
|
-
* x-amzn-RequestId: f74afc14-0754-11e2-af6f-6bc7a6be60d9
|
|
158
|
-
* Content-Type: application/x-amz-json-1.1
|
|
159
|
-
* Content-Length: 18
|
|
160
|
-
* Date: Mon, 12 Nov 2012 17:50:53 GMT
|
|
161
|
-
*
|
|
162
|
-
* {"__type": "com.amazon.setl.webservice#InvalidRequestException",
|
|
163
|
-
* "message": "Pipeline definition has errors: Could not save the pipeline definition due to FATAL errors: [com.amazon.setl.webservice.ValidationError@108d7ea9] Please call Validate to validate your pipeline"}
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
* </response>
|
|
167
|
-
* </example>
|
|
168
|
-
* </examples>
|
|
169
|
-
* @example
|
|
170
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
171
|
-
* ```javascript
|
|
172
|
-
* import { DataPipelineClient, PutPipelineDefinitionCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
|
|
173
|
-
* // const { DataPipelineClient, PutPipelineDefinitionCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
|
|
174
|
-
* const client = new DataPipelineClient(config);
|
|
175
|
-
* const command = new PutPipelineDefinitionCommand(input);
|
|
176
|
-
* const response = await client.send(command);
|
|
177
|
-
* ```
|
|
178
|
-
*
|
|
179
|
-
* @see {@link PutPipelineDefinitionCommandInput} for command's `input` shape.
|
|
180
|
-
* @see {@link PutPipelineDefinitionCommandOutput} for command's `response` shape.
|
|
181
|
-
* @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
|
|
182
|
-
*
|
|
183
|
-
*/
|
|
184
|
-
class PutPipelineDefinitionCommand extends smithy_client_1.Command {
|
|
185
|
-
// Start section: command_properties
|
|
186
|
-
// End section: command_properties
|
|
187
|
-
constructor(input) {
|
|
188
|
-
// Start section: command_constructor
|
|
189
|
-
super();
|
|
190
|
-
this.input = input;
|
|
191
|
-
// End section: command_constructor
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* @internal
|
|
195
|
-
*/
|
|
196
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
197
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
198
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
199
|
-
const { logger } = configuration;
|
|
200
|
-
const clientName = "DataPipelineClient";
|
|
201
|
-
const commandName = "PutPipelineDefinitionCommand";
|
|
202
|
-
const handlerExecutionContext = {
|
|
203
|
-
logger,
|
|
204
|
-
clientName,
|
|
205
|
-
commandName,
|
|
206
|
-
inputFilterSensitiveLog: models_0_1.PutPipelineDefinitionInput.filterSensitiveLog,
|
|
207
|
-
outputFilterSensitiveLog: models_0_1.PutPipelineDefinitionOutput.filterSensitiveLog,
|
|
208
|
-
};
|
|
209
|
-
const { requestHandler } = configuration;
|
|
210
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
211
|
-
}
|
|
212
|
-
serialize(input, context) {
|
|
213
|
-
return Aws_json1_1_1.serializeAws_json1_1PutPipelineDefinitionCommand(input, context);
|
|
214
|
-
}
|
|
215
|
-
deserialize(output, context) {
|
|
216
|
-
return Aws_json1_1_1.deserializeAws_json1_1PutPipelineDefinitionCommand(output, context);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
exports.PutPipelineDefinitionCommand = PutPipelineDefinitionCommand;
|
|
220
|
-
//# sourceMappingURL=PutPipelineDefinitionCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PutPipelineDefinitionCommand.js","sourceRoot":"","sources":["../../../commands/PutPipelineDefinitionCommand.ts"],"names":[],"mappings":";;;AACA,iDAA6F;AAC7F,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+KG;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,99 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryObjectsCommand = 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>Queries the specified pipeline for the names of objects that match the specified set of conditions.</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.QueryObjects
|
|
17
|
-
* Content-Length: 123
|
|
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
|
-
* {"pipelineId": "df-06372391ZG65EXAMPLE",
|
|
23
|
-
* "query":
|
|
24
|
-
* {"selectors":
|
|
25
|
-
* [
|
|
26
|
-
* ]
|
|
27
|
-
* },
|
|
28
|
-
* "sphere": "INSTANCE",
|
|
29
|
-
* "marker": "",
|
|
30
|
-
* "limit": 10}
|
|
31
|
-
*
|
|
32
|
-
* </request>
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* <response>
|
|
36
|
-
*
|
|
37
|
-
* x-amzn-RequestId: 14d704c1-0775-11e2-af6f-6bc7a6be60d9
|
|
38
|
-
* Content-Type: application/x-amz-json-1.1
|
|
39
|
-
* Content-Length: 72
|
|
40
|
-
* Date: Mon, 12 Nov 2012 17:50:53 GMT
|
|
41
|
-
*
|
|
42
|
-
* {"hasMoreResults": false,
|
|
43
|
-
* "ids":
|
|
44
|
-
* ["@SayHello_1_2012-09-25T17:00:00"]
|
|
45
|
-
* }
|
|
46
|
-
* </response>
|
|
47
|
-
* </examples>
|
|
48
|
-
* @example
|
|
49
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
50
|
-
* ```javascript
|
|
51
|
-
* import { DataPipelineClient, QueryObjectsCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
|
|
52
|
-
* // const { DataPipelineClient, QueryObjectsCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
|
|
53
|
-
* const client = new DataPipelineClient(config);
|
|
54
|
-
* const command = new QueryObjectsCommand(input);
|
|
55
|
-
* const response = await client.send(command);
|
|
56
|
-
* ```
|
|
57
|
-
*
|
|
58
|
-
* @see {@link QueryObjectsCommandInput} for command's `input` shape.
|
|
59
|
-
* @see {@link QueryObjectsCommandOutput} for command's `response` shape.
|
|
60
|
-
* @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
class QueryObjectsCommand extends smithy_client_1.Command {
|
|
64
|
-
// Start section: command_properties
|
|
65
|
-
// End section: command_properties
|
|
66
|
-
constructor(input) {
|
|
67
|
-
// Start section: command_constructor
|
|
68
|
-
super();
|
|
69
|
-
this.input = input;
|
|
70
|
-
// End section: command_constructor
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
76
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
77
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
78
|
-
const { logger } = configuration;
|
|
79
|
-
const clientName = "DataPipelineClient";
|
|
80
|
-
const commandName = "QueryObjectsCommand";
|
|
81
|
-
const handlerExecutionContext = {
|
|
82
|
-
logger,
|
|
83
|
-
clientName,
|
|
84
|
-
commandName,
|
|
85
|
-
inputFilterSensitiveLog: models_0_1.QueryObjectsInput.filterSensitiveLog,
|
|
86
|
-
outputFilterSensitiveLog: models_0_1.QueryObjectsOutput.filterSensitiveLog,
|
|
87
|
-
};
|
|
88
|
-
const { requestHandler } = configuration;
|
|
89
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
90
|
-
}
|
|
91
|
-
serialize(input, context) {
|
|
92
|
-
return Aws_json1_1_1.serializeAws_json1_1QueryObjectsCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
deserialize(output, context) {
|
|
95
|
-
return Aws_json1_1_1.deserializeAws_json1_1QueryObjectsCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
exports.QueryObjectsCommand = QueryObjectsCommand;
|
|
99
|
-
//# sourceMappingURL=QueryObjectsCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryObjectsCommand.js","sourceRoot":"","sources":["../../../commands/QueryObjectsCommand.ts"],"names":[],"mappings":";;;AACA,iDAA2E;AAC3E,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAa,mBAAoB,SAAQ,uBAIxC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA+B;QAClD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA0B;QAGlD,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,qBAAqB,CAAC;QAC1C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,4BAAiB,CAAC,kBAAkB;YAC7D,wBAAwB,EAAE,6BAAkB,CAAC,kBAAkB;SAChE,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,KAA+B,EAAE,OAAuB;QACxE,OAAO,qDAAuC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,uDAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CAIF;AAtDD,kDAsDC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RemoveTagsCommand.js","sourceRoot":"","sources":["../../../commands/RemoveTagsCommand.ts"],"names":[],"mappings":";;;AACA,iDAAuE;AACvE,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,iBAAkB,SAAQ,uBAItC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA6B;QAChD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAwB;QAGhD,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,mBAAmB,CAAC;QACxC,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,0BAAe,CAAC,kBAAkB;YAC3D,wBAAwB,EAAE,2BAAgB,CAAC,kBAAkB;SAC9D,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,KAA6B,EAAE,OAAuB;QACtE,OAAO,mDAAqC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,qDAAuC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CAIF;AAtDD,8CAsDC"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReportTaskProgressCommand = 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>ReportTaskProgress</code> when assigned a task to acknowledge that it has the task. If the web service does not
|
|
10
|
-
* receive this acknowledgement within 2 minutes, it assigns the task in a subsequent <a>PollForTask</a> call. After this initial acknowledgement,
|
|
11
|
-
* the task runner only needs to report progress every 15 minutes to maintain its ownership of the task. You can change this reporting time
|
|
12
|
-
* from 15 minutes by specifying a <code>reportProgressTimeout</code> field in your pipeline.</p>
|
|
13
|
-
* <p>If a task runner does not report its status after 5 minutes, AWS Data Pipeline assumes that the task runner is unable to process the task
|
|
14
|
-
* and reassigns the task in a subsequent response to <a>PollForTask</a>. Task runners should call <code>ReportTaskProgress</code> every 60 seconds.</p>
|
|
15
|
-
* <examples>
|
|
16
|
-
* <request>
|
|
17
|
-
*
|
|
18
|
-
* POST / HTTP/1.1
|
|
19
|
-
* Content-Type: application/x-amz-json-1.1
|
|
20
|
-
* X-Amz-Target: DataPipeline.ReportTaskProgress
|
|
21
|
-
* Content-Length: 832
|
|
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
|
-
* {"taskId": "aaGgHT4LuH0T0Y0oLrJRjas5qH0d8cDPADxqq3tn+zCWGELkCdV2JprLreXm1oxeP5EFZHFLJ69kjSsLYE0iYHYBYVGBrB+E/pYq7ANEEeGJFnSBMRiXZVA+8UJ3OzcInvXeinqBmBaKwii7hnnKb/AXjXiNTXyxgydX1KAyg1AxkwBYG4cfPYMZbuEbQJFJvv5C/2+GVXz1w94nKYTeUeepwUOFOuRLS6JVtZoYwpF56E+Yfk1IcGpFOvCZ01B4Bkuu7x3J+MD/j6kJgZLAgbCJQtI3eiW3kdGmX0p0I2BdY1ZsX6b4UiSvM3OMj6NEHJCJL4E0ZfitnhCoe24Kvjo6C2hFbZq+ei/HPgSXBQMSagkr4vS9c0ChzxH2+LNYvec6bY4kymkaZI1dvOzmpa0FcnGf5AjSK4GpsViZ/ujz6zxFv81qBXzjF0/4M1775rjV1VUdyKaixiA/sJiACNezqZqETidp8d24BDPRhGsj6pBCrnelqGFrk/gXEXUsJ+xwMifRC8UVwiKekpAvHUywVk7Ku4jH/n3i2VoLRP6FXwpUbelu34iiZ9czpXyLtyPKwxa87dlrnRVURwkcVjOt2Mcrcaqe+cbWHvNRhyrPkkdfSF3ac8/wfgVbXvLEB2k9mKc67aD9rvdc1PKX09Tk8BKklsMTpZ3TRCd4NzQlJKigMe8Jat9+1tKj4Ole5ZzW6uyTu2s2iFjEV8KXu4MaiRJyNKCdKeGhhZWY37Qk4NBK4Ppgu+C6Y41dpfOh288SLDEVx0/UySlqOEdhba7c6BiPp5r3hKj3mk9lFy5OYp1aoGLeeFmjXveTnPdf2gkWqXXg7AUbJ7jEs1F0lKZQg4szep2gcKyAJXgvXLfJJHcha8Lfb/Ee7wYmyOcAaRpDBoFNSbtoVXar46teIrpho+ZDvynUXvU0grHWGOk=:wn3SgymHZM99bEXAMPLE",
|
|
27
|
-
* "fields":
|
|
28
|
-
* [
|
|
29
|
-
* {"key": "percentComplete",
|
|
30
|
-
* "stringValue": "50"}
|
|
31
|
-
* ]
|
|
32
|
-
* }
|
|
33
|
-
*
|
|
34
|
-
* </request>
|
|
35
|
-
*
|
|
36
|
-
* <response>
|
|
37
|
-
*
|
|
38
|
-
* x-amzn-RequestId: 640bd023-0775-11e2-af6f-6bc7a6be60d9
|
|
39
|
-
* Content-Type: application/x-amz-json-1.1
|
|
40
|
-
* Content-Length: 18
|
|
41
|
-
* Date: Mon, 12 Nov 2012 17:50:53 GMT
|
|
42
|
-
*
|
|
43
|
-
* {"canceled": false}
|
|
44
|
-
*
|
|
45
|
-
* </response>
|
|
46
|
-
* </examples>
|
|
47
|
-
* @example
|
|
48
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
49
|
-
* ```javascript
|
|
50
|
-
* import { DataPipelineClient, ReportTaskProgressCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
|
|
51
|
-
* // const { DataPipelineClient, ReportTaskProgressCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
|
|
52
|
-
* const client = new DataPipelineClient(config);
|
|
53
|
-
* const command = new ReportTaskProgressCommand(input);
|
|
54
|
-
* const response = await client.send(command);
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
|
-
* @see {@link ReportTaskProgressCommandInput} for command's `input` shape.
|
|
58
|
-
* @see {@link ReportTaskProgressCommandOutput} for command's `response` shape.
|
|
59
|
-
* @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
|
|
60
|
-
*
|
|
61
|
-
*/
|
|
62
|
-
class ReportTaskProgressCommand extends smithy_client_1.Command {
|
|
63
|
-
// Start section: command_properties
|
|
64
|
-
// End section: command_properties
|
|
65
|
-
constructor(input) {
|
|
66
|
-
// Start section: command_constructor
|
|
67
|
-
super();
|
|
68
|
-
this.input = input;
|
|
69
|
-
// End section: command_constructor
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
75
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
76
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
77
|
-
const { logger } = configuration;
|
|
78
|
-
const clientName = "DataPipelineClient";
|
|
79
|
-
const commandName = "ReportTaskProgressCommand";
|
|
80
|
-
const handlerExecutionContext = {
|
|
81
|
-
logger,
|
|
82
|
-
clientName,
|
|
83
|
-
commandName,
|
|
84
|
-
inputFilterSensitiveLog: models_0_1.ReportTaskProgressInput.filterSensitiveLog,
|
|
85
|
-
outputFilterSensitiveLog: models_0_1.ReportTaskProgressOutput.filterSensitiveLog,
|
|
86
|
-
};
|
|
87
|
-
const { requestHandler } = configuration;
|
|
88
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
89
|
-
}
|
|
90
|
-
serialize(input, context) {
|
|
91
|
-
return Aws_json1_1_1.serializeAws_json1_1ReportTaskProgressCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
deserialize(output, context) {
|
|
94
|
-
return Aws_json1_1_1.deserializeAws_json1_1ReportTaskProgressCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
exports.ReportTaskProgressCommand = ReportTaskProgressCommand;
|
|
98
|
-
//# sourceMappingURL=ReportTaskProgressCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReportTaskProgressCommand.js","sourceRoot":"","sources":["../../../commands/ReportTaskProgressCommand.ts"],"names":[],"mappings":";;;AACA,iDAAuF;AACvF,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;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,93 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReportTaskRunnerHeartbeatCommand = 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>ReportTaskRunnerHeartbeat</code> every 15 minutes to indicate that they are operational.
|
|
10
|
-
* If the AWS Data Pipeline Task Runner is launched on a resource managed by AWS Data Pipeline, the web service can use
|
|
11
|
-
* this call to detect when the task runner application has failed and restart a new instance.</p>
|
|
12
|
-
*
|
|
13
|
-
* <examples>
|
|
14
|
-
* <request>
|
|
15
|
-
*
|
|
16
|
-
* POST / HTTP/1.1
|
|
17
|
-
* Content-Type: application/x-amz-json-1.1
|
|
18
|
-
* X-Amz-Target: DataPipeline.ReportTaskRunnerHeartbeat
|
|
19
|
-
* Content-Length: 84
|
|
20
|
-
* Host: datapipeline.us-east-1.amazonaws.com
|
|
21
|
-
* X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
|
|
22
|
-
* Authorization: AuthParams
|
|
23
|
-
*
|
|
24
|
-
* {"taskrunnerId": "1234567890",
|
|
25
|
-
* "workerGroup": "wg-12345",
|
|
26
|
-
* "hostname": "example.com"}
|
|
27
|
-
*
|
|
28
|
-
* </request>
|
|
29
|
-
*
|
|
30
|
-
* <response>
|
|
31
|
-
*
|
|
32
|
-
* Status:
|
|
33
|
-
* x-amzn-RequestId: b3104dc5-0734-11e2-af6f-6bc7a6be60d9
|
|
34
|
-
* Content-Type: application/x-amz-json-1.1
|
|
35
|
-
* Content-Length: 20
|
|
36
|
-
* Date: Mon, 12 Nov 2012 17:50:53 GMT
|
|
37
|
-
*
|
|
38
|
-
* {"terminate": false}
|
|
39
|
-
*
|
|
40
|
-
* </response>
|
|
41
|
-
* </examples>
|
|
42
|
-
* @example
|
|
43
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
44
|
-
* ```javascript
|
|
45
|
-
* import { DataPipelineClient, ReportTaskRunnerHeartbeatCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
|
|
46
|
-
* // const { DataPipelineClient, ReportTaskRunnerHeartbeatCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
|
|
47
|
-
* const client = new DataPipelineClient(config);
|
|
48
|
-
* const command = new ReportTaskRunnerHeartbeatCommand(input);
|
|
49
|
-
* const response = await client.send(command);
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* @see {@link ReportTaskRunnerHeartbeatCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link ReportTaskRunnerHeartbeatCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
|
-
class ReportTaskRunnerHeartbeatCommand extends smithy_client_1.Command {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
|
-
constructor(input) {
|
|
61
|
-
// Start section: command_constructor
|
|
62
|
-
super();
|
|
63
|
-
this.input = input;
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
70
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "DataPipelineClient";
|
|
74
|
-
const commandName = "ReportTaskRunnerHeartbeatCommand";
|
|
75
|
-
const handlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: models_0_1.ReportTaskRunnerHeartbeatInput.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: models_0_1.ReportTaskRunnerHeartbeatOutput.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
84
|
-
}
|
|
85
|
-
serialize(input, context) {
|
|
86
|
-
return Aws_json1_1_1.serializeAws_json1_1ReportTaskRunnerHeartbeatCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
deserialize(output, context) {
|
|
89
|
-
return Aws_json1_1_1.deserializeAws_json1_1ReportTaskRunnerHeartbeatCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
exports.ReportTaskRunnerHeartbeatCommand = ReportTaskRunnerHeartbeatCommand;
|
|
93
|
-
//# sourceMappingURL=ReportTaskRunnerHeartbeatCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReportTaskRunnerHeartbeatCommand.js","sourceRoot":"","sources":["../../../commands/ReportTaskRunnerHeartbeatCommand.ts"],"names":[],"mappings":";;;AACA,iDAAqG;AACrG,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,gCAAiC,SAAQ,uBAIrD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA4C;QAC/D,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAuC;QAG/D,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,kCAAkC,CAAC;QACvD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,yCAA8B,CAAC,kBAAkB;YAC1E,wBAAwB,EAAE,0CAA+B,CAAC,kBAAkB;SAC7E,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,KAA4C,EAAE,OAAuB;QACrF,OAAO,kEAAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,WAAW,CACjB,MAAsB,EACtB,OAAuB;QAEvB,OAAO,oEAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CAIF;AAzDD,4EAyDC"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SetStatusCommand = 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>Requests that the status of the specified physical or logical pipeline objects be updated in the specified pipeline.
|
|
10
|
-
* This update might not occur immediately, but is eventually consistent. The status that can be set depends on the type of object (for example, DataNode or Activity).
|
|
11
|
-
* You cannot perform this operation on <code>FINISHED</code> pipelines and attempting to do so returns <code>InvalidRequestException</code>.</p>
|
|
12
|
-
*
|
|
13
|
-
* <examples>
|
|
14
|
-
* <request>
|
|
15
|
-
*
|
|
16
|
-
* POST / HTTP/1.1
|
|
17
|
-
* Content-Type: application/x-amz-json-1.1
|
|
18
|
-
* X-Amz-Target: DataPipeline.SetStatus
|
|
19
|
-
* Content-Length: 100
|
|
20
|
-
* Host: datapipeline.us-east-1.amazonaws.com
|
|
21
|
-
* X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
|
|
22
|
-
* Authorization: AuthParams
|
|
23
|
-
*
|
|
24
|
-
* {"pipelineId": "df-0634701J7KEXAMPLE",
|
|
25
|
-
* "objectIds":
|
|
26
|
-
* ["o-08600941GHJWMBR9E2"],
|
|
27
|
-
* "status": "pause"}
|
|
28
|
-
*
|
|
29
|
-
* </request>
|
|
30
|
-
*
|
|
31
|
-
* <response>
|
|
32
|
-
*
|
|
33
|
-
* x-amzn-RequestId: e83b8ab7-076a-11e2-af6f-6bc7a6be60d9
|
|
34
|
-
* Content-Type: application/x-amz-json-1.1
|
|
35
|
-
* Content-Length: 0
|
|
36
|
-
* Date: Mon, 12 Nov 2012 17:50:53 GMT
|
|
37
|
-
*
|
|
38
|
-
* Unexpected response: 200, OK, undefined
|
|
39
|
-
*
|
|
40
|
-
* </response>
|
|
41
|
-
* </examples>
|
|
42
|
-
* @example
|
|
43
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
44
|
-
* ```javascript
|
|
45
|
-
* import { DataPipelineClient, SetStatusCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
|
|
46
|
-
* // const { DataPipelineClient, SetStatusCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
|
|
47
|
-
* const client = new DataPipelineClient(config);
|
|
48
|
-
* const command = new SetStatusCommand(input);
|
|
49
|
-
* const response = await client.send(command);
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* @see {@link SetStatusCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link SetStatusCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
|
-
class SetStatusCommand extends smithy_client_1.Command {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
|
-
constructor(input) {
|
|
61
|
-
// Start section: command_constructor
|
|
62
|
-
super();
|
|
63
|
-
this.input = input;
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
70
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "DataPipelineClient";
|
|
74
|
-
const commandName = "SetStatusCommand";
|
|
75
|
-
const handlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: models_0_1.SetStatusInput.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: (output) => output,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
84
|
-
}
|
|
85
|
-
serialize(input, context) {
|
|
86
|
-
return Aws_json1_1_1.serializeAws_json1_1SetStatusCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
deserialize(output, context) {
|
|
89
|
-
return Aws_json1_1_1.deserializeAws_json1_1SetStatusCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
exports.SetStatusCommand = SetStatusCommand;
|
|
93
|
-
//# sourceMappingURL=SetStatusCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SetStatusCommand.js","sourceRoot":"","sources":["../../../commands/SetStatusCommand.ts"],"names":[],"mappings":";;;AACA,iDAAoD;AACpD,0DAAwH;AACxH,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,gBAAiB,SAAQ,uBAIrC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA4B;QAC/C,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAuB;QAG/C,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,kBAAkB,CAAC;QACvC,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,yBAAc,CAAC,kBAAkB;YAC1D,wBAAwB,EAAE,CAAC,MAAW,EAAE,EAAE,CAAC,MAAM;SAClD,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,KAA4B,EAAE,OAAuB;QACrE,OAAO,kDAAoC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,oDAAsC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CAIF;AAtDD,4CAsDC"}
|