@aws-sdk/client-sfn 3.926.0 → 3.928.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/index.js +2040 -2279
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/SFNClient.js +2 -0
- package/dist-es/commands/CreateActivityCommand.js +3 -9
- package/dist-es/commands/CreateStateMachineAliasCommand.js +3 -10
- package/dist-es/commands/CreateStateMachineCommand.js +3 -10
- package/dist-es/commands/DeleteActivityCommand.js +3 -9
- package/dist-es/commands/DeleteStateMachineAliasCommand.js +3 -9
- package/dist-es/commands/DeleteStateMachineCommand.js +3 -9
- package/dist-es/commands/DeleteStateMachineVersionCommand.js +3 -9
- package/dist-es/commands/DescribeActivityCommand.js +3 -9
- package/dist-es/commands/DescribeExecutionCommand.js +3 -10
- package/dist-es/commands/DescribeMapRunCommand.js +3 -9
- package/dist-es/commands/DescribeStateMachineAliasCommand.js +3 -10
- package/dist-es/commands/DescribeStateMachineCommand.js +3 -10
- package/dist-es/commands/DescribeStateMachineForExecutionCommand.js +3 -10
- package/dist-es/commands/GetActivityTaskCommand.js +3 -10
- package/dist-es/commands/GetExecutionHistoryCommand.js +3 -10
- package/dist-es/commands/ListActivitiesCommand.js +3 -9
- package/dist-es/commands/ListExecutionsCommand.js +3 -9
- package/dist-es/commands/ListMapRunsCommand.js +3 -9
- package/dist-es/commands/ListStateMachineAliasesCommand.js +3 -9
- package/dist-es/commands/ListStateMachineVersionsCommand.js +3 -9
- package/dist-es/commands/ListStateMachinesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PublishStateMachineVersionCommand.js +3 -10
- package/dist-es/commands/RedriveExecutionCommand.js +3 -9
- package/dist-es/commands/SendTaskFailureCommand.js +3 -10
- package/dist-es/commands/SendTaskHeartbeatCommand.js +3 -9
- package/dist-es/commands/SendTaskSuccessCommand.js +3 -10
- package/dist-es/commands/StartExecutionCommand.js +3 -10
- package/dist-es/commands/StartSyncExecutionCommand.js +3 -10
- package/dist-es/commands/StopExecutionCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/TestStateCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateMapRunCommand.js +3 -9
- package/dist-es/commands/UpdateStateMachineAliasCommand.js +3 -10
- package/dist-es/commands/UpdateStateMachineCommand.js +3 -10
- package/dist-es/commands/ValidateStateMachineDefinitionCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -333
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1867 -0
- package/dist-types/SFNClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -204
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +235 -0
- package/dist-types/ts3.4/SFNClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -151
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +242 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_0.js +0 -1539
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -335
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -449
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_PublishStateMachineVersionCommand, se_PublishStateMachineVersionCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { PublishStateMachineVersion } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class PublishStateMachineVersionCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSStepFunctions", "PublishStateMachineVersion", {})
|
|
18
13
|
.n("SFNClient", "PublishStateMachineVersionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_PublishStateMachineVersionCommand)
|
|
21
|
-
.de(de_PublishStateMachineVersionCommand)
|
|
14
|
+
.sc(PublishStateMachineVersion)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RedriveExecution } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RedriveExecutionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSStepFunctions", "RedriveExecution", {})
|
|
17
13
|
.n("SFNClient", "RedriveExecutionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RedriveExecutionCommand)
|
|
20
|
-
.de(de_RedriveExecutionCommand)
|
|
14
|
+
.sc(RedriveExecution)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_SendTaskFailureCommand, se_SendTaskFailureCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { SendTaskFailure } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class SendTaskFailureCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSStepFunctions", "SendTaskFailure", {})
|
|
18
13
|
.n("SFNClient", "SendTaskFailureCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_SendTaskFailureCommand)
|
|
21
|
-
.de(de_SendTaskFailureCommand)
|
|
14
|
+
.sc(SendTaskFailure)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SendTaskHeartbeat } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SendTaskHeartbeatCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSStepFunctions", "SendTaskHeartbeat", {})
|
|
17
13
|
.n("SFNClient", "SendTaskHeartbeatCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SendTaskHeartbeatCommand)
|
|
20
|
-
.de(de_SendTaskHeartbeatCommand)
|
|
14
|
+
.sc(SendTaskHeartbeat)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_SendTaskSuccessCommand, se_SendTaskSuccessCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { SendTaskSuccess } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class SendTaskSuccessCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSStepFunctions", "SendTaskSuccess", {})
|
|
18
13
|
.n("SFNClient", "SendTaskSuccessCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_SendTaskSuccessCommand)
|
|
21
|
-
.de(de_SendTaskSuccessCommand)
|
|
14
|
+
.sc(SendTaskSuccess)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_StartExecutionCommand, se_StartExecutionCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { StartExecution } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class StartExecutionCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSStepFunctions", "StartExecution", {})
|
|
18
13
|
.n("SFNClient", "StartExecutionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_StartExecutionCommand)
|
|
21
|
-
.de(de_StartExecutionCommand)
|
|
14
|
+
.sc(StartExecution)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_StartSyncExecutionCommand, se_StartSyncExecutionCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { StartSyncExecution } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class StartSyncExecutionCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSStepFunctions", "StartSyncExecution", {})
|
|
18
13
|
.n("SFNClient", "StartSyncExecutionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_StartSyncExecutionCommand)
|
|
21
|
-
.de(de_StartSyncExecutionCommand)
|
|
14
|
+
.sc(StartSyncExecution)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_StopExecutionCommand, se_StopExecutionCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { StopExecution } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class StopExecutionCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSStepFunctions", "StopExecution", {})
|
|
18
13
|
.n("SFNClient", "StopExecutionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_StopExecutionCommand)
|
|
21
|
-
.de(de_StopExecutionCommand)
|
|
14
|
+
.sc(StopExecution)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSStepFunctions", "TagResource", {})
|
|
17
13
|
.n("SFNClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_TestStateCommand, se_TestStateCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { TestState } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class TestStateCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSStepFunctions", "TestState", {})
|
|
18
13
|
.n("SFNClient", "TestStateCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_TestStateCommand)
|
|
21
|
-
.de(de_TestStateCommand)
|
|
14
|
+
.sc(TestState)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSStepFunctions", "UntagResource", {})
|
|
17
13
|
.n("SFNClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateMapRun } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateMapRunCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSStepFunctions", "UpdateMapRun", {})
|
|
17
13
|
.n("SFNClient", "UpdateMapRunCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateMapRunCommand)
|
|
20
|
-
.de(de_UpdateMapRunCommand)
|
|
14
|
+
.sc(UpdateMapRun)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateStateMachineAliasCommand, se_UpdateStateMachineAliasCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { UpdateStateMachineAlias } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateStateMachineAliasCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSStepFunctions", "UpdateStateMachineAlias", {})
|
|
18
13
|
.n("SFNClient", "UpdateStateMachineAliasCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateStateMachineAliasCommand)
|
|
21
|
-
.de(de_UpdateStateMachineAliasCommand)
|
|
14
|
+
.sc(UpdateStateMachineAlias)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateStateMachineCommand, se_UpdateStateMachineCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { UpdateStateMachine } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateStateMachineCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSStepFunctions", "UpdateStateMachine", {})
|
|
18
13
|
.n("SFNClient", "UpdateStateMachineCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateStateMachineCommand)
|
|
21
|
-
.de(de_UpdateStateMachineCommand)
|
|
14
|
+
.sc(UpdateStateMachine)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ValidateStateMachineDefinitionCommand, se_ValidateStateMachineDefinitionCommand, } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { ValidateStateMachineDefinition } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ValidateStateMachineDefinitionCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSStepFunctions", "ValidateStateMachineDefinition", {})
|
|
18
13
|
.n("SFNClient", "ValidateStateMachineDefinitionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ValidateStateMachineDefinitionCommand)
|
|
21
|
-
.de(de_ValidateStateMachineDefinitionCommand)
|
|
14
|
+
.sc(ValidateStateMachineDefinition)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|