@aws-sdk/client-data-pipeline 3.477.0 → 3.481.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/dist-cjs/commands/ActivatePipelineCommand.js +18 -41
- package/dist-cjs/commands/AddTagsCommand.js +18 -41
- package/dist-cjs/commands/CreatePipelineCommand.js +18 -41
- package/dist-cjs/commands/DeactivatePipelineCommand.js +18 -41
- package/dist-cjs/commands/DeletePipelineCommand.js +18 -41
- package/dist-cjs/commands/DescribeObjectsCommand.js +18 -41
- package/dist-cjs/commands/DescribePipelinesCommand.js +18 -41
- package/dist-cjs/commands/EvaluateExpressionCommand.js +18 -41
- package/dist-cjs/commands/GetPipelineDefinitionCommand.js +18 -41
- package/dist-cjs/commands/ListPipelinesCommand.js +18 -41
- package/dist-cjs/commands/PollForTaskCommand.js +18 -41
- package/dist-cjs/commands/PutPipelineDefinitionCommand.js +18 -41
- package/dist-cjs/commands/QueryObjectsCommand.js +18 -41
- package/dist-cjs/commands/RemoveTagsCommand.js +18 -41
- package/dist-cjs/commands/ReportTaskProgressCommand.js +18 -41
- package/dist-cjs/commands/ReportTaskRunnerHeartbeatCommand.js +18 -41
- package/dist-cjs/commands/SetStatusCommand.js +18 -41
- package/dist-cjs/commands/SetTaskStatusCommand.js +18 -41
- package/dist-cjs/commands/ValidatePipelineDefinitionCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeObjectsPaginator.js +2 -23
- package/dist-cjs/pagination/ListPipelinesPaginator.js +2 -23
- package/dist-cjs/pagination/QueryObjectsPaginator.js +2 -24
- package/dist-es/commands/ActivatePipelineCommand.js +18 -41
- package/dist-es/commands/AddTagsCommand.js +18 -41
- package/dist-es/commands/CreatePipelineCommand.js +18 -41
- package/dist-es/commands/DeactivatePipelineCommand.js +18 -41
- package/dist-es/commands/DeletePipelineCommand.js +18 -41
- package/dist-es/commands/DescribeObjectsCommand.js +18 -41
- package/dist-es/commands/DescribePipelinesCommand.js +18 -41
- package/dist-es/commands/EvaluateExpressionCommand.js +18 -41
- package/dist-es/commands/GetPipelineDefinitionCommand.js +18 -41
- package/dist-es/commands/ListPipelinesCommand.js +18 -41
- package/dist-es/commands/PollForTaskCommand.js +18 -41
- package/dist-es/commands/PutPipelineDefinitionCommand.js +18 -41
- package/dist-es/commands/QueryObjectsCommand.js +18 -41
- package/dist-es/commands/RemoveTagsCommand.js +18 -41
- package/dist-es/commands/ReportTaskProgressCommand.js +18 -41
- package/dist-es/commands/ReportTaskRunnerHeartbeatCommand.js +18 -41
- package/dist-es/commands/SetStatusCommand.js +18 -41
- package/dist-es/commands/SetTaskStatusCommand.js +18 -41
- package/dist-es/commands/ValidatePipelineDefinitionCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeObjectsPaginator.js +2 -22
- package/dist-es/pagination/ListPipelinesPaginator.js +2 -22
- package/dist-es/pagination/QueryObjectsPaginator.js +2 -23
- package/dist-types/commands/ActivatePipelineCommand.d.ts +6 -21
- package/dist-types/commands/AddTagsCommand.d.ts +6 -21
- package/dist-types/commands/CreatePipelineCommand.d.ts +6 -21
- package/dist-types/commands/DeactivatePipelineCommand.d.ts +6 -21
- package/dist-types/commands/DeletePipelineCommand.d.ts +6 -21
- package/dist-types/commands/DescribeObjectsCommand.d.ts +6 -21
- package/dist-types/commands/DescribePipelinesCommand.d.ts +6 -21
- package/dist-types/commands/EvaluateExpressionCommand.d.ts +6 -21
- package/dist-types/commands/GetPipelineDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/ListPipelinesCommand.d.ts +6 -21
- package/dist-types/commands/PollForTaskCommand.d.ts +6 -21
- package/dist-types/commands/PutPipelineDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/QueryObjectsCommand.d.ts +6 -21
- package/dist-types/commands/RemoveTagsCommand.d.ts +6 -21
- package/dist-types/commands/ReportTaskProgressCommand.d.ts +6 -21
- package/dist-types/commands/ReportTaskRunnerHeartbeatCommand.d.ts +6 -21
- package/dist-types/commands/SetStatusCommand.d.ts +6 -21
- package/dist-types/commands/SetTaskStatusCommand.d.ts +6 -21
- package/dist-types/commands/ValidatePipelineDefinitionCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeObjectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPipelinesPaginator.d.ts +1 -1
- package/dist-types/pagination/QueryObjectsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/ActivatePipelineCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeactivatePipelineCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeObjectsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribePipelinesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EvaluateExpressionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPipelineDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PollForTaskCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutPipelineDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/QueryObjectsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ReportTaskProgressCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ReportTaskRunnerHeartbeatCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SetStatusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SetTaskStatusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ValidatePipelineDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeObjectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPipelinesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/QueryObjectsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ReportTaskRunnerHeartbeatCommand, se_ReportTaskRunnerHeartbeatCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ReportTaskRunnerHeartbeatCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DataPipelineClient";
|
|
26
|
-
const commandName = "ReportTaskRunnerHeartbeatCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DataPipeline",
|
|
35
|
-
operation: "ReportTaskRunnerHeartbeat",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ReportTaskRunnerHeartbeatCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ReportTaskRunnerHeartbeatCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ReportTaskRunnerHeartbeatCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DataPipeline", "ReportTaskRunnerHeartbeat", {})
|
|
19
|
+
.n("DataPipelineClient", "ReportTaskRunnerHeartbeatCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ReportTaskRunnerHeartbeatCommand)
|
|
22
|
+
.de(de_ReportTaskRunnerHeartbeatCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SetStatusCommand, se_SetStatusCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SetStatusCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DataPipelineClient";
|
|
26
|
-
const commandName = "SetStatusCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DataPipeline",
|
|
35
|
-
operation: "SetStatus",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SetStatusCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SetStatusCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SetStatusCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DataPipeline", "SetStatus", {})
|
|
19
|
+
.n("DataPipelineClient", "SetStatusCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SetStatusCommand)
|
|
22
|
+
.de(de_SetStatusCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SetTaskStatusCommand, se_SetTaskStatusCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SetTaskStatusCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DataPipelineClient";
|
|
26
|
-
const commandName = "SetTaskStatusCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DataPipeline",
|
|
35
|
-
operation: "SetTaskStatus",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SetTaskStatusCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SetTaskStatusCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SetTaskStatusCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DataPipeline", "SetTaskStatus", {})
|
|
19
|
+
.n("DataPipelineClient", "SetTaskStatusCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SetTaskStatusCommand)
|
|
22
|
+
.de(de_SetTaskStatusCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ValidatePipelineDefinitionCommand, se_ValidatePipelineDefinitionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ValidatePipelineDefinitionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DataPipelineClient";
|
|
26
|
-
const commandName = "ValidatePipelineDefinitionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DataPipeline",
|
|
35
|
-
operation: "ValidatePipelineDefinition",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ValidatePipelineDefinitionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ValidatePipelineDefinitionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ValidatePipelineDefinitionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DataPipeline", "ValidatePipelineDefinition", {})
|
|
19
|
+
.n("DataPipelineClient", "ValidatePipelineDefinitionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ValidatePipelineDefinitionCommand)
|
|
22
|
+
.de(de_ValidatePipelineDefinitionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "datapipeline",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeObjectsCommand, } from "../commands/DescribeObjectsCommand";
|
|
2
3
|
import { DataPipelineClient } from "../DataPipelineClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeObjectsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeObjects(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.marker = token;
|
|
12
|
-
if (config.client instanceof DataPipelineClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected DataPipeline | DataPipelineClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.marker;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateDescribeObjects = createPaginator(DataPipelineClient, DescribeObjectsCommand, "marker", "marker", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPipelinesCommand, } from "../commands/ListPipelinesCommand";
|
|
2
3
|
import { DataPipelineClient } from "../DataPipelineClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPipelinesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPipelines(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.marker = token;
|
|
12
|
-
if (config.client instanceof DataPipelineClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected DataPipeline | DataPipelineClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.marker;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListPipelines = createPaginator(DataPipelineClient, ListPipelinesCommand, "marker", "marker", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { QueryObjectsCommand, } from "../commands/QueryObjectsCommand";
|
|
2
3
|
import { DataPipelineClient } from "../DataPipelineClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new QueryObjectsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateQueryObjects(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.marker = token;
|
|
12
|
-
input["limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DataPipelineClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DataPipeline | DataPipelineClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateQueryObjects = createPaginator(DataPipelineClient, QueryObjectsCommand, "marker", "marker", "limit");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
|
|
5
4
|
import { ActivatePipelineInput, ActivatePipelineOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ActivatePipelineCommandInput extends ActivatePipelineInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ActivatePipelineCommandOutput extends ActivatePipelineOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ActivatePipelineCommand_base: {
|
|
24
|
+
new (input: ActivatePipelineCommandInput): import("@smithy/smithy-client").CommandImpl<ActivatePipelineCommandInput, ActivatePipelineCommandOutput, DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Validates the specified pipeline and starts processing pipeline tasks. If the pipeline does not pass validation,
|
|
@@ -98,23 +101,5 @@ export interface ActivatePipelineCommandOutput extends ActivatePipelineOutput, _
|
|
|
98
101
|
* <p>Base exception class for all service exceptions from DataPipeline service.</p>
|
|
99
102
|
*
|
|
100
103
|
*/
|
|
101
|
-
export declare class ActivatePipelineCommand extends
|
|
102
|
-
readonly input: ActivatePipelineCommandInput;
|
|
103
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
104
|
-
/**
|
|
105
|
-
* @public
|
|
106
|
-
*/
|
|
107
|
-
constructor(input: ActivatePipelineCommandInput);
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ActivatePipelineCommandInput, ActivatePipelineCommandOutput>;
|
|
112
|
-
/**
|
|
113
|
-
* @internal
|
|
114
|
-
*/
|
|
115
|
-
private serialize;
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
private deserialize;
|
|
104
|
+
export declare class ActivatePipelineCommand extends ActivatePipelineCommand_base {
|
|
120
105
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
|
|
5
4
|
import { AddTagsInput, AddTagsOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AddTagsCommandInput extends AddTagsInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AddTagsCommand_base: {
|
|
24
|
+
new (input: AddTagsCommandInput): import("@smithy/smithy-client").CommandImpl<AddTagsCommandInput, AddTagsCommandOutput, DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Adds or modifies tags for the specified pipeline.</p>
|
|
@@ -67,23 +70,5 @@ export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {
|
|
|
67
70
|
* <p>Base exception class for all service exceptions from DataPipeline service.</p>
|
|
68
71
|
*
|
|
69
72
|
*/
|
|
70
|
-
export declare class AddTagsCommand extends
|
|
71
|
-
readonly input: AddTagsCommandInput;
|
|
72
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
-
/**
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
constructor(input: AddTagsCommandInput);
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddTagsCommandInput, AddTagsCommandOutput>;
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
private serialize;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
private deserialize;
|
|
73
|
+
export declare class AddTagsCommand extends AddTagsCommand_base {
|
|
89
74
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
|
|
5
4
|
import { CreatePipelineInput, CreatePipelineOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreatePipelineCommandInput extends CreatePipelineInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreatePipelineCommand_base: {
|
|
24
|
+
new (input: CreatePipelineCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePipelineCommandInput, CreatePipelineCommandOutput, DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a new, empty pipeline. Use <a>PutPipelineDefinition</a> to populate the pipeline.</p>
|
|
@@ -95,23 +98,5 @@ export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __Met
|
|
|
95
98
|
* <p>Base exception class for all service exceptions from DataPipeline service.</p>
|
|
96
99
|
*
|
|
97
100
|
*/
|
|
98
|
-
export declare class CreatePipelineCommand extends
|
|
99
|
-
readonly input: CreatePipelineCommandInput;
|
|
100
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
101
|
-
/**
|
|
102
|
-
* @public
|
|
103
|
-
*/
|
|
104
|
-
constructor(input: CreatePipelineCommandInput);
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePipelineCommandInput, CreatePipelineCommandOutput>;
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
|
-
private serialize;
|
|
113
|
-
/**
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
116
|
-
private deserialize;
|
|
101
|
+
export declare class CreatePipelineCommand extends CreatePipelineCommand_base {
|
|
117
102
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
|
|
5
4
|
import { DeactivatePipelineInput, DeactivatePipelineOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeactivatePipelineCommandInput extends DeactivatePipelineInput
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeactivatePipelineCommandOutput extends DeactivatePipelineOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeactivatePipelineCommand_base: {
|
|
24
|
+
new (input: DeactivatePipelineCommandInput): import("@smithy/smithy-client").CommandImpl<DeactivatePipelineCommandInput, DeactivatePipelineCommandOutput, DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deactivates the specified running pipeline. The pipeline is set to the <code>DEACTIVATING</code>
|
|
@@ -65,23 +68,5 @@ export interface DeactivatePipelineCommandOutput extends DeactivatePipelineOutpu
|
|
|
65
68
|
* <p>Base exception class for all service exceptions from DataPipeline service.</p>
|
|
66
69
|
*
|
|
67
70
|
*/
|
|
68
|
-
export declare class DeactivatePipelineCommand extends
|
|
69
|
-
readonly input: DeactivatePipelineCommandInput;
|
|
70
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
-
/**
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
constructor(input: DeactivatePipelineCommandInput);
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeactivatePipelineCommandInput, DeactivatePipelineCommandOutput>;
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
private serialize;
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
private deserialize;
|
|
71
|
+
export declare class DeactivatePipelineCommand extends DeactivatePipelineCommand_base {
|
|
87
72
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
|
|
5
4
|
import { DeletePipelineInput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeletePipelineCommandInput extends DeletePipelineInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeletePipelineCommandOutput extends __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeletePipelineCommand_base: {
|
|
24
|
+
new (input: DeletePipelineCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePipelineCommandInput, DeletePipelineCommandOutput, DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes a pipeline, its pipeline definition, and its run history.
|
|
@@ -89,23 +92,5 @@ export interface DeletePipelineCommandOutput extends __MetadataBearer {
|
|
|
89
92
|
* <p>Base exception class for all service exceptions from DataPipeline service.</p>
|
|
90
93
|
*
|
|
91
94
|
*/
|
|
92
|
-
export declare class DeletePipelineCommand extends
|
|
93
|
-
readonly input: DeletePipelineCommandInput;
|
|
94
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
95
|
-
/**
|
|
96
|
-
* @public
|
|
97
|
-
*/
|
|
98
|
-
constructor(input: DeletePipelineCommandInput);
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePipelineCommandInput, DeletePipelineCommandOutput>;
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
private serialize;
|
|
107
|
-
/**
|
|
108
|
-
* @internal
|
|
109
|
-
*/
|
|
110
|
-
private deserialize;
|
|
95
|
+
export declare class DeletePipelineCommand extends DeletePipelineCommand_base {
|
|
111
96
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
|
|
5
4
|
import { DescribeObjectsInput, DescribeObjectsOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeObjectsCommandInput extends DescribeObjectsInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeObjectsCommandOutput extends DescribeObjectsOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeObjectsCommand_base: {
|
|
24
|
+
new (input: DescribeObjectsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeObjectsCommandInput, DescribeObjectsCommandOutput, DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Gets the object definitions for a set of objects associated with the pipeline. Object definitions are composed of
|
|
@@ -140,23 +143,5 @@ export interface DescribeObjectsCommandOutput extends DescribeObjectsOutput, __M
|
|
|
140
143
|
* <p>Base exception class for all service exceptions from DataPipeline service.</p>
|
|
141
144
|
*
|
|
142
145
|
*/
|
|
143
|
-
export declare class DescribeObjectsCommand extends
|
|
144
|
-
readonly input: DescribeObjectsCommandInput;
|
|
145
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
146
|
-
/**
|
|
147
|
-
* @public
|
|
148
|
-
*/
|
|
149
|
-
constructor(input: DescribeObjectsCommandInput);
|
|
150
|
-
/**
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
153
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeObjectsCommandInput, DescribeObjectsCommandOutput>;
|
|
154
|
-
/**
|
|
155
|
-
* @internal
|
|
156
|
-
*/
|
|
157
|
-
private serialize;
|
|
158
|
-
/**
|
|
159
|
-
* @internal
|
|
160
|
-
*/
|
|
161
|
-
private deserialize;
|
|
146
|
+
export declare class DescribeObjectsCommand extends DescribeObjectsCommand_base {
|
|
162
147
|
}
|