@aws-sdk/client-sfn 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/CreateActivityCommand.js +18 -41
- package/dist-cjs/commands/CreateStateMachineAliasCommand.js +18 -41
- package/dist-cjs/commands/CreateStateMachineCommand.js +18 -41
- package/dist-cjs/commands/DeleteActivityCommand.js +18 -41
- package/dist-cjs/commands/DeleteStateMachineAliasCommand.js +18 -41
- package/dist-cjs/commands/DeleteStateMachineCommand.js +18 -41
- package/dist-cjs/commands/DeleteStateMachineVersionCommand.js +18 -41
- package/dist-cjs/commands/DescribeActivityCommand.js +18 -41
- package/dist-cjs/commands/DescribeExecutionCommand.js +18 -41
- package/dist-cjs/commands/DescribeMapRunCommand.js +18 -41
- package/dist-cjs/commands/DescribeStateMachineAliasCommand.js +18 -41
- package/dist-cjs/commands/DescribeStateMachineCommand.js +18 -41
- package/dist-cjs/commands/DescribeStateMachineForExecutionCommand.js +18 -41
- package/dist-cjs/commands/GetActivityTaskCommand.js +18 -41
- package/dist-cjs/commands/GetExecutionHistoryCommand.js +18 -41
- package/dist-cjs/commands/ListActivitiesCommand.js +18 -41
- package/dist-cjs/commands/ListExecutionsCommand.js +18 -41
- package/dist-cjs/commands/ListMapRunsCommand.js +18 -41
- package/dist-cjs/commands/ListStateMachineAliasesCommand.js +18 -41
- package/dist-cjs/commands/ListStateMachineVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListStateMachinesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PublishStateMachineVersionCommand.js +18 -41
- package/dist-cjs/commands/RedriveExecutionCommand.js +18 -41
- package/dist-cjs/commands/SendTaskFailureCommand.js +18 -41
- package/dist-cjs/commands/SendTaskHeartbeatCommand.js +18 -41
- package/dist-cjs/commands/SendTaskSuccessCommand.js +18 -41
- package/dist-cjs/commands/StartExecutionCommand.js +18 -41
- package/dist-cjs/commands/StartSyncExecutionCommand.js +18 -41
- package/dist-cjs/commands/StopExecutionCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/TestStateCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateMapRunCommand.js +18 -41
- package/dist-cjs/commands/UpdateStateMachineAliasCommand.js +18 -41
- package/dist-cjs/commands/UpdateStateMachineCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/GetExecutionHistoryPaginator.js +2 -24
- package/dist-cjs/pagination/ListActivitiesPaginator.js +2 -24
- package/dist-cjs/pagination/ListExecutionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMapRunsPaginator.js +2 -24
- package/dist-cjs/pagination/ListStateMachinesPaginator.js +2 -24
- package/dist-es/commands/CreateActivityCommand.js +18 -41
- package/dist-es/commands/CreateStateMachineAliasCommand.js +18 -41
- package/dist-es/commands/CreateStateMachineCommand.js +18 -41
- package/dist-es/commands/DeleteActivityCommand.js +18 -41
- package/dist-es/commands/DeleteStateMachineAliasCommand.js +18 -41
- package/dist-es/commands/DeleteStateMachineCommand.js +18 -41
- package/dist-es/commands/DeleteStateMachineVersionCommand.js +18 -41
- package/dist-es/commands/DescribeActivityCommand.js +18 -41
- package/dist-es/commands/DescribeExecutionCommand.js +18 -41
- package/dist-es/commands/DescribeMapRunCommand.js +18 -41
- package/dist-es/commands/DescribeStateMachineAliasCommand.js +18 -41
- package/dist-es/commands/DescribeStateMachineCommand.js +18 -41
- package/dist-es/commands/DescribeStateMachineForExecutionCommand.js +18 -41
- package/dist-es/commands/GetActivityTaskCommand.js +18 -41
- package/dist-es/commands/GetExecutionHistoryCommand.js +18 -41
- package/dist-es/commands/ListActivitiesCommand.js +18 -41
- package/dist-es/commands/ListExecutionsCommand.js +18 -41
- package/dist-es/commands/ListMapRunsCommand.js +18 -41
- package/dist-es/commands/ListStateMachineAliasesCommand.js +18 -41
- package/dist-es/commands/ListStateMachineVersionsCommand.js +18 -41
- package/dist-es/commands/ListStateMachinesCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PublishStateMachineVersionCommand.js +18 -41
- package/dist-es/commands/RedriveExecutionCommand.js +18 -41
- package/dist-es/commands/SendTaskFailureCommand.js +18 -41
- package/dist-es/commands/SendTaskHeartbeatCommand.js +18 -41
- package/dist-es/commands/SendTaskSuccessCommand.js +18 -41
- package/dist-es/commands/StartExecutionCommand.js +18 -41
- package/dist-es/commands/StartSyncExecutionCommand.js +18 -41
- package/dist-es/commands/StopExecutionCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/TestStateCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateMapRunCommand.js +18 -41
- package/dist-es/commands/UpdateStateMachineAliasCommand.js +18 -41
- package/dist-es/commands/UpdateStateMachineCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/GetExecutionHistoryPaginator.js +2 -23
- package/dist-es/pagination/ListActivitiesPaginator.js +2 -23
- package/dist-es/pagination/ListExecutionsPaginator.js +2 -23
- package/dist-es/pagination/ListMapRunsPaginator.js +2 -23
- package/dist-es/pagination/ListStateMachinesPaginator.js +2 -23
- package/dist-types/commands/CreateActivityCommand.d.ts +6 -21
- package/dist-types/commands/CreateStateMachineAliasCommand.d.ts +6 -21
- package/dist-types/commands/CreateStateMachineCommand.d.ts +6 -21
- package/dist-types/commands/DeleteActivityCommand.d.ts +6 -21
- package/dist-types/commands/DeleteStateMachineAliasCommand.d.ts +6 -21
- package/dist-types/commands/DeleteStateMachineCommand.d.ts +6 -21
- package/dist-types/commands/DeleteStateMachineVersionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeActivityCommand.d.ts +6 -21
- package/dist-types/commands/DescribeExecutionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeMapRunCommand.d.ts +6 -21
- package/dist-types/commands/DescribeStateMachineAliasCommand.d.ts +6 -21
- package/dist-types/commands/DescribeStateMachineCommand.d.ts +6 -21
- package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +6 -21
- package/dist-types/commands/GetActivityTaskCommand.d.ts +6 -21
- package/dist-types/commands/GetExecutionHistoryCommand.d.ts +6 -21
- package/dist-types/commands/ListActivitiesCommand.d.ts +6 -21
- package/dist-types/commands/ListExecutionsCommand.d.ts +6 -21
- package/dist-types/commands/ListMapRunsCommand.d.ts +6 -21
- package/dist-types/commands/ListStateMachineAliasesCommand.d.ts +6 -21
- package/dist-types/commands/ListStateMachineVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListStateMachinesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PublishStateMachineVersionCommand.d.ts +6 -21
- package/dist-types/commands/RedriveExecutionCommand.d.ts +6 -21
- package/dist-types/commands/SendTaskFailureCommand.d.ts +6 -21
- package/dist-types/commands/SendTaskHeartbeatCommand.d.ts +6 -21
- package/dist-types/commands/SendTaskSuccessCommand.d.ts +6 -21
- package/dist-types/commands/StartExecutionCommand.d.ts +6 -21
- package/dist-types/commands/StartSyncExecutionCommand.d.ts +6 -21
- package/dist-types/commands/StopExecutionCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/TestStateCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateMapRunCommand.d.ts +6 -21
- package/dist-types/commands/UpdateStateMachineAliasCommand.d.ts +6 -21
- package/dist-types/commands/UpdateStateMachineCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/GetExecutionHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListActivitiesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMapRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStateMachinesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateActivityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateStateMachineAliasCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateStateMachineCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteActivityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteStateMachineAliasCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteStateMachineCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteStateMachineVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeActivityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeMapRunCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeStateMachineAliasCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeStateMachineCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeStateMachineForExecutionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetActivityTaskCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetExecutionHistoryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListActivitiesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMapRunsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListStateMachineAliasesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListStateMachineVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListStateMachinesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PublishStateMachineVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RedriveExecutionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SendTaskFailureCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SendTaskHeartbeatCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SendTaskSuccessCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartExecutionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartSyncExecutionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopExecutionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TestStateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateMapRunCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateStateMachineAliasCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateStateMachineCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/GetExecutionHistoryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListActivitiesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListExecutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMapRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListStateMachinesPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetExecutionHistory = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetExecutionHistoryCommand_1 = require("../commands/GetExecutionHistoryCommand");
|
|
5
6
|
const SFNClient_1 = require("../SFNClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetExecutionHistoryCommand_1.GetExecutionHistoryCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetExecutionHistory(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SFNClient_1.SFNClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SFN | SFNClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetExecutionHistory = paginateGetExecutionHistory;
|
|
7
|
+
exports.paginateGetExecutionHistory = (0, core_1.createPaginator)(SFNClient_1.SFNClient, GetExecutionHistoryCommand_1.GetExecutionHistoryCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListActivities = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListActivitiesCommand_1 = require("../commands/ListActivitiesCommand");
|
|
5
6
|
const SFNClient_1 = require("../SFNClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListActivitiesCommand_1.ListActivitiesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListActivities(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SFNClient_1.SFNClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SFN | SFNClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListActivities = paginateListActivities;
|
|
7
|
+
exports.paginateListActivities = (0, core_1.createPaginator)(SFNClient_1.SFNClient, ListActivitiesCommand_1.ListActivitiesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListExecutions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListExecutionsCommand_1 = require("../commands/ListExecutionsCommand");
|
|
5
6
|
const SFNClient_1 = require("../SFNClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListExecutionsCommand_1.ListExecutionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListExecutions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SFNClient_1.SFNClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SFN | SFNClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListExecutions = paginateListExecutions;
|
|
7
|
+
exports.paginateListExecutions = (0, core_1.createPaginator)(SFNClient_1.SFNClient, ListExecutionsCommand_1.ListExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMapRuns = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListMapRunsCommand_1 = require("../commands/ListMapRunsCommand");
|
|
5
6
|
const SFNClient_1 = require("../SFNClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMapRunsCommand_1.ListMapRunsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMapRuns(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SFNClient_1.SFNClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SFN | SFNClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListMapRuns = paginateListMapRuns;
|
|
7
|
+
exports.paginateListMapRuns = (0, core_1.createPaginator)(SFNClient_1.SFNClient, ListMapRunsCommand_1.ListMapRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListStateMachines = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListStateMachinesCommand_1 = require("../commands/ListStateMachinesCommand");
|
|
5
6
|
const SFNClient_1 = require("../SFNClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListStateMachinesCommand_1.ListStateMachinesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListStateMachines(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SFNClient_1.SFNClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SFN | SFNClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListStateMachines = paginateListStateMachines;
|
|
7
|
+
exports.paginateListStateMachines = (0, core_1.createPaginator)(SFNClient_1.SFNClient, ListStateMachinesCommand_1.ListStateMachinesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -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_CreateActivityCommand, se_CreateActivityCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateActivityCommand 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 = "SFNClient";
|
|
26
|
-
const commandName = "CreateActivityCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSStepFunctions",
|
|
35
|
-
operation: "CreateActivity",
|
|
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_CreateActivityCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateActivityCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateActivityCommand 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("AWSStepFunctions", "CreateActivity", {})
|
|
19
|
+
.n("SFNClient", "CreateActivityCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateActivityCommand)
|
|
22
|
+
.de(de_CreateActivityCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
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 { CreateStateMachineAliasInputFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateStateMachineAliasCommand, se_CreateStateMachineAliasCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateStateMachineAliasCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "SFNClient";
|
|
27
|
-
const commandName = "CreateStateMachineAliasCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateStateMachineAliasInputFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSStepFunctions",
|
|
36
|
-
operation: "CreateStateMachineAlias",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateStateMachineAliasCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateStateMachineAliasCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateStateMachineAliasCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSStepFunctions", "CreateStateMachineAlias", {})
|
|
20
|
+
.n("SFNClient", "CreateStateMachineAliasCommand")
|
|
21
|
+
.f(CreateStateMachineAliasInputFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_CreateStateMachineAliasCommand)
|
|
23
|
+
.de(de_CreateStateMachineAliasCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
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 { CreateStateMachineInputFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateStateMachineCommand, se_CreateStateMachineCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateStateMachineCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "SFNClient";
|
|
27
|
-
const commandName = "CreateStateMachineCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateStateMachineInputFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSStepFunctions",
|
|
36
|
-
operation: "CreateStateMachine",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateStateMachineCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateStateMachineCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateStateMachineCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSStepFunctions", "CreateStateMachine", {})
|
|
20
|
+
.n("SFNClient", "CreateStateMachineCommand")
|
|
21
|
+
.f(CreateStateMachineInputFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_CreateStateMachineCommand)
|
|
23
|
+
.de(de_CreateStateMachineCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -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_DeleteActivityCommand, se_DeleteActivityCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteActivityCommand 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 = "SFNClient";
|
|
26
|
-
const commandName = "DeleteActivityCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSStepFunctions",
|
|
35
|
-
operation: "DeleteActivity",
|
|
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_DeleteActivityCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteActivityCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteActivityCommand 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("AWSStepFunctions", "DeleteActivity", {})
|
|
19
|
+
.n("SFNClient", "DeleteActivityCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteActivityCommand)
|
|
22
|
+
.de(de_DeleteActivityCommand)
|
|
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_DeleteStateMachineAliasCommand, se_DeleteStateMachineAliasCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteStateMachineAliasCommand 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 = "SFNClient";
|
|
26
|
-
const commandName = "DeleteStateMachineAliasCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSStepFunctions",
|
|
35
|
-
operation: "DeleteStateMachineAlias",
|
|
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_DeleteStateMachineAliasCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteStateMachineAliasCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteStateMachineAliasCommand 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("AWSStepFunctions", "DeleteStateMachineAlias", {})
|
|
19
|
+
.n("SFNClient", "DeleteStateMachineAliasCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteStateMachineAliasCommand)
|
|
22
|
+
.de(de_DeleteStateMachineAliasCommand)
|
|
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_DeleteStateMachineCommand, se_DeleteStateMachineCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteStateMachineCommand 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 = "SFNClient";
|
|
26
|
-
const commandName = "DeleteStateMachineCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSStepFunctions",
|
|
35
|
-
operation: "DeleteStateMachine",
|
|
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_DeleteStateMachineCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteStateMachineCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteStateMachineCommand 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("AWSStepFunctions", "DeleteStateMachine", {})
|
|
19
|
+
.n("SFNClient", "DeleteStateMachineCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteStateMachineCommand)
|
|
22
|
+
.de(de_DeleteStateMachineCommand)
|
|
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_DeleteStateMachineVersionCommand, se_DeleteStateMachineVersionCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteStateMachineVersionCommand 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 = "SFNClient";
|
|
26
|
-
const commandName = "DeleteStateMachineVersionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSStepFunctions",
|
|
35
|
-
operation: "DeleteStateMachineVersion",
|
|
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_DeleteStateMachineVersionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteStateMachineVersionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteStateMachineVersionCommand 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("AWSStepFunctions", "DeleteStateMachineVersion", {})
|
|
19
|
+
.n("SFNClient", "DeleteStateMachineVersionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteStateMachineVersionCommand)
|
|
22
|
+
.de(de_DeleteStateMachineVersionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|