@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,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 { UpdateStateMachineAliasInputFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_UpdateStateMachineAliasCommand, se_UpdateStateMachineAliasCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateStateMachineAliasCommand 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 = "UpdateStateMachineAliasCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UpdateStateMachineAliasInputFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSStepFunctions",
|
|
36
|
-
operation: "UpdateStateMachineAlias",
|
|
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_UpdateStateMachineAliasCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateStateMachineAliasCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateStateMachineAliasCommand 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", "UpdateStateMachineAlias", {})
|
|
20
|
+
.n("SFNClient", "UpdateStateMachineAliasCommand")
|
|
21
|
+
.f(UpdateStateMachineAliasInputFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_UpdateStateMachineAliasCommand)
|
|
23
|
+
.de(de_UpdateStateMachineAliasCommand)
|
|
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 { UpdateStateMachineInputFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_UpdateStateMachineCommand, se_UpdateStateMachineCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateStateMachineCommand 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 = "UpdateStateMachineCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UpdateStateMachineInputFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSStepFunctions",
|
|
36
|
-
operation: "UpdateStateMachine",
|
|
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_UpdateStateMachineCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateStateMachineCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateStateMachineCommand 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", "UpdateStateMachine", {})
|
|
20
|
+
.n("SFNClient", "UpdateStateMachineCommand")
|
|
21
|
+
.f(UpdateStateMachineInputFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_UpdateStateMachineCommand)
|
|
23
|
+
.de(de_UpdateStateMachineCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "states",
|
|
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,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetExecutionHistoryCommand, } from "../commands/GetExecutionHistoryCommand";
|
|
2
3
|
import { SFNClient } from "../SFNClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetExecutionHistoryCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetExecutionHistory(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SFNClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SFN | SFNClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetExecutionHistory = createPaginator(SFNClient, GetExecutionHistoryCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListActivitiesCommand, } from "../commands/ListActivitiesCommand";
|
|
2
3
|
import { SFNClient } from "../SFNClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListActivitiesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListActivities(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SFNClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SFN | SFNClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListActivities = createPaginator(SFNClient, ListActivitiesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListExecutionsCommand, } from "../commands/ListExecutionsCommand";
|
|
2
3
|
import { SFNClient } from "../SFNClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListExecutionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListExecutions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SFNClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SFN | SFNClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListExecutions = createPaginator(SFNClient, ListExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMapRunsCommand } from "../commands/ListMapRunsCommand";
|
|
2
3
|
import { SFNClient } from "../SFNClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMapRunsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMapRuns(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SFNClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SFN | SFNClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListMapRuns = createPaginator(SFNClient, ListMapRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListStateMachinesCommand, } from "../commands/ListStateMachinesCommand";
|
|
2
3
|
import { SFNClient } from "../SFNClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListStateMachinesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListStateMachines(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SFNClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SFN | SFNClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListStateMachines = createPaginator(SFNClient, ListStateMachinesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -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 { CreateActivityInput, CreateActivityOutput } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateActivityCommandInput extends CreateActivityInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateActivityCommandOutput extends CreateActivityOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateActivityCommand_base: {
|
|
24
|
+
new (input: CreateActivityCommandInput): import("@smithy/smithy-client").CommandImpl<CreateActivityCommandInput, CreateActivityCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates an activity. An activity is a task that you write in any programming language and
|
|
@@ -85,23 +88,5 @@ export interface CreateActivityCommandOutput extends CreateActivityOutput, __Met
|
|
|
85
88
|
* <p>Base exception class for all service exceptions from SFN service.</p>
|
|
86
89
|
*
|
|
87
90
|
*/
|
|
88
|
-
export declare class CreateActivityCommand extends
|
|
89
|
-
readonly input: CreateActivityCommandInput;
|
|
90
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
91
|
-
/**
|
|
92
|
-
* @public
|
|
93
|
-
*/
|
|
94
|
-
constructor(input: CreateActivityCommandInput);
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateActivityCommandInput, CreateActivityCommandOutput>;
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
|
-
private serialize;
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
private deserialize;
|
|
91
|
+
export declare class CreateActivityCommand extends CreateActivityCommand_base {
|
|
107
92
|
}
|
|
@@ -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 { CreateStateMachineAliasInput, CreateStateMachineAliasOutput } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateStateMachineAliasCommandInput extends CreateStateMachineA
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateStateMachineAliasCommandOutput extends CreateStateMachineAliasOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateStateMachineAliasCommand_base: {
|
|
24
|
+
new (input: CreateStateMachineAliasCommandInput): import("@smithy/smithy-client").CommandImpl<CreateStateMachineAliasCommandInput, CreateStateMachineAliasCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates an <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-state-machine-alias.html">alias</a> for a state machine that points to one or two <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-state-machine-version.html">versions</a> of the same state machine. You can set your application to call <a>StartExecution</a> with an alias and update the version the alias uses without changing the client's code.</p>
|
|
@@ -122,23 +125,5 @@ export interface CreateStateMachineAliasCommandOutput extends CreateStateMachine
|
|
|
122
125
|
* <p>Base exception class for all service exceptions from SFN service.</p>
|
|
123
126
|
*
|
|
124
127
|
*/
|
|
125
|
-
export declare class CreateStateMachineAliasCommand extends
|
|
126
|
-
readonly input: CreateStateMachineAliasCommandInput;
|
|
127
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
128
|
-
/**
|
|
129
|
-
* @public
|
|
130
|
-
*/
|
|
131
|
-
constructor(input: CreateStateMachineAliasCommandInput);
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateStateMachineAliasCommandInput, CreateStateMachineAliasCommandOutput>;
|
|
136
|
-
/**
|
|
137
|
-
* @internal
|
|
138
|
-
*/
|
|
139
|
-
private serialize;
|
|
140
|
-
/**
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
143
|
-
private deserialize;
|
|
128
|
+
export declare class CreateStateMachineAliasCommand extends CreateStateMachineAliasCommand_base {
|
|
144
129
|
}
|
|
@@ -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 { CreateStateMachineInput, CreateStateMachineOutput } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateStateMachineCommandInput extends CreateStateMachineInput
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateStateMachineCommandOutput extends CreateStateMachineOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateStateMachineCommand_base: {
|
|
24
|
+
new (input: CreateStateMachineCommandInput): import("@smithy/smithy-client").CommandImpl<CreateStateMachineCommandInput, CreateStateMachineCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a state machine. A state machine consists of a collection of states that can do
|
|
@@ -140,23 +143,5 @@ export interface CreateStateMachineCommandOutput extends CreateStateMachineOutpu
|
|
|
140
143
|
* <p>Base exception class for all service exceptions from SFN service.</p>
|
|
141
144
|
*
|
|
142
145
|
*/
|
|
143
|
-
export declare class CreateStateMachineCommand extends
|
|
144
|
-
readonly input: CreateStateMachineCommandInput;
|
|
145
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
146
|
-
/**
|
|
147
|
-
* @public
|
|
148
|
-
*/
|
|
149
|
-
constructor(input: CreateStateMachineCommandInput);
|
|
150
|
-
/**
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
153
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateStateMachineCommandInput, CreateStateMachineCommandOutput>;
|
|
154
|
-
/**
|
|
155
|
-
* @internal
|
|
156
|
-
*/
|
|
157
|
-
private serialize;
|
|
158
|
-
/**
|
|
159
|
-
* @internal
|
|
160
|
-
*/
|
|
161
|
-
private deserialize;
|
|
146
|
+
export declare class CreateStateMachineCommand extends CreateStateMachineCommand_base {
|
|
162
147
|
}
|
|
@@ -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 { DeleteActivityInput, DeleteActivityOutput } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteActivityCommandInput extends DeleteActivityInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteActivityCommandOutput extends DeleteActivityOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteActivityCommand_base: {
|
|
24
|
+
new (input: DeleteActivityCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteActivityCommandInput, DeleteActivityCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes an activity.</p>
|
|
@@ -52,23 +55,5 @@ export interface DeleteActivityCommandOutput extends DeleteActivityOutput, __Met
|
|
|
52
55
|
* <p>Base exception class for all service exceptions from SFN service.</p>
|
|
53
56
|
*
|
|
54
57
|
*/
|
|
55
|
-
export declare class DeleteActivityCommand extends
|
|
56
|
-
readonly input: DeleteActivityCommandInput;
|
|
57
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
58
|
-
/**
|
|
59
|
-
* @public
|
|
60
|
-
*/
|
|
61
|
-
constructor(input: DeleteActivityCommandInput);
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteActivityCommandInput, DeleteActivityCommandOutput>;
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
private serialize;
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
73
|
-
private deserialize;
|
|
58
|
+
export declare class DeleteActivityCommand extends DeleteActivityCommand_base {
|
|
74
59
|
}
|
|
@@ -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 { DeleteStateMachineAliasInput, DeleteStateMachineAliasOutput } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteStateMachineAliasCommandInput extends DeleteStateMachineA
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteStateMachineAliasCommandOutput extends DeleteStateMachineAliasOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteStateMachineAliasCommand_base: {
|
|
24
|
+
new (input: DeleteStateMachineAliasCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteStateMachineAliasCommandInput, DeleteStateMachineAliasCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes a state machine <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-state-machine-alias.html">alias</a>.</p>
|
|
@@ -90,23 +93,5 @@ export interface DeleteStateMachineAliasCommandOutput extends DeleteStateMachine
|
|
|
90
93
|
* <p>Base exception class for all service exceptions from SFN service.</p>
|
|
91
94
|
*
|
|
92
95
|
*/
|
|
93
|
-
export declare class DeleteStateMachineAliasCommand extends
|
|
94
|
-
readonly input: DeleteStateMachineAliasCommandInput;
|
|
95
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
96
|
-
/**
|
|
97
|
-
* @public
|
|
98
|
-
*/
|
|
99
|
-
constructor(input: DeleteStateMachineAliasCommandInput);
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
103
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteStateMachineAliasCommandInput, DeleteStateMachineAliasCommandOutput>;
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
private serialize;
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
|
-
private deserialize;
|
|
96
|
+
export declare class DeleteStateMachineAliasCommand extends DeleteStateMachineAliasCommand_base {
|
|
112
97
|
}
|
|
@@ -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 { DeleteStateMachineInput, DeleteStateMachineOutput } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteStateMachineCommandInput extends DeleteStateMachineInput
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteStateMachineCommandOutput extends DeleteStateMachineOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteStateMachineCommand_base: {
|
|
24
|
+
new (input: DeleteStateMachineCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteStateMachineCommandInput, DeleteStateMachineCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes a state machine. This is an asynchronous operation. It sets the state machine's
|
|
@@ -81,23 +84,5 @@ export interface DeleteStateMachineCommandOutput extends DeleteStateMachineOutpu
|
|
|
81
84
|
* <p>Base exception class for all service exceptions from SFN service.</p>
|
|
82
85
|
*
|
|
83
86
|
*/
|
|
84
|
-
export declare class DeleteStateMachineCommand extends
|
|
85
|
-
readonly input: DeleteStateMachineCommandInput;
|
|
86
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
87
|
-
/**
|
|
88
|
-
* @public
|
|
89
|
-
*/
|
|
90
|
-
constructor(input: DeleteStateMachineCommandInput);
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteStateMachineCommandInput, DeleteStateMachineCommandOutput>;
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
private serialize;
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
|
-
private deserialize;
|
|
87
|
+
export declare class DeleteStateMachineCommand extends DeleteStateMachineCommand_base {
|
|
103
88
|
}
|
|
@@ -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 { DeleteStateMachineVersionInput, DeleteStateMachineVersionOutput } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteStateMachineVersionCommandInput extends DeleteStateMachin
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteStateMachineVersionCommandOutput extends DeleteStateMachineVersionOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteStateMachineVersionCommand_base: {
|
|
24
|
+
new (input: DeleteStateMachineVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteStateMachineVersionCommandInput, DeleteStateMachineVersionCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes a state machine <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-state-machine-version.html">version</a>. After
|
|
@@ -84,23 +87,5 @@ export interface DeleteStateMachineVersionCommandOutput extends DeleteStateMachi
|
|
|
84
87
|
* <p>Base exception class for all service exceptions from SFN service.</p>
|
|
85
88
|
*
|
|
86
89
|
*/
|
|
87
|
-
export declare class DeleteStateMachineVersionCommand extends
|
|
88
|
-
readonly input: DeleteStateMachineVersionCommandInput;
|
|
89
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
-
/**
|
|
91
|
-
* @public
|
|
92
|
-
*/
|
|
93
|
-
constructor(input: DeleteStateMachineVersionCommandInput);
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteStateMachineVersionCommandInput, DeleteStateMachineVersionCommandOutput>;
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
private serialize;
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
|
-
private deserialize;
|
|
90
|
+
export declare class DeleteStateMachineVersionCommand extends DeleteStateMachineVersionCommand_base {
|
|
106
91
|
}
|
|
@@ -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 { DescribeActivityInput, DescribeActivityOutput } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeActivityCommandInput extends DescribeActivityInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeActivityCommandOutput extends DescribeActivityOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeActivityCommand_base: {
|
|
24
|
+
new (input: DescribeActivityCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeActivityCommandInput, DescribeActivityCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Describes an activity.</p>
|
|
@@ -62,23 +65,5 @@ export interface DescribeActivityCommandOutput extends DescribeActivityOutput, _
|
|
|
62
65
|
* <p>Base exception class for all service exceptions from SFN service.</p>
|
|
63
66
|
*
|
|
64
67
|
*/
|
|
65
|
-
export declare class DescribeActivityCommand extends
|
|
66
|
-
readonly input: DescribeActivityCommandInput;
|
|
67
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
-
/**
|
|
69
|
-
* @public
|
|
70
|
-
*/
|
|
71
|
-
constructor(input: DescribeActivityCommandInput);
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeActivityCommandInput, DescribeActivityCommandOutput>;
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
|
-
private serialize;
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
private deserialize;
|
|
68
|
+
export declare class DescribeActivityCommand extends DescribeActivityCommand_base {
|
|
84
69
|
}
|