@aws-sdk/client-sfn 3.299.0 → 3.301.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-types/commands/CreateActivityCommand.d.ts +9 -0
- package/dist-types/commands/CreateStateMachineCommand.d.ts +26 -0
- package/dist-types/commands/DeleteActivityCommand.d.ts +3 -0
- package/dist-types/commands/DeleteStateMachineCommand.d.ts +3 -0
- package/dist-types/commands/DescribeActivityCommand.d.ts +3 -0
- package/dist-types/commands/DescribeExecutionCommand.d.ts +3 -0
- package/dist-types/commands/DescribeMapRunCommand.d.ts +3 -0
- package/dist-types/commands/DescribeStateMachineCommand.d.ts +3 -0
- package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +3 -0
- package/dist-types/commands/GetActivityTaskCommand.d.ts +4 -0
- package/dist-types/commands/GetExecutionHistoryCommand.d.ts +7 -0
- package/dist-types/commands/ListActivitiesCommand.d.ts +4 -0
- package/dist-types/commands/ListExecutionsCommand.d.ts +7 -0
- package/dist-types/commands/ListMapRunsCommand.d.ts +5 -0
- package/dist-types/commands/ListStateMachinesCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/SendTaskFailureCommand.d.ts +5 -0
- package/dist-types/commands/SendTaskHeartbeatCommand.d.ts +3 -0
- package/dist-types/commands/SendTaskSuccessCommand.d.ts +4 -0
- package/dist-types/commands/StartExecutionCommand.d.ts +6 -0
- package/dist-types/commands/StartSyncExecutionCommand.d.ts +6 -0
- package/dist-types/commands/StopExecutionCommand.d.ts +5 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateMapRunCommand.d.ts +6 -0
- package/dist-types/commands/UpdateStateMachineCommand.d.ts +19 -0
- package/package.json +8 -8
|
@@ -42,6 +42,15 @@ export interface CreateActivityCommandOutput extends CreateActivityOutput, __Met
|
|
|
42
42
|
* import { SFNClient, CreateActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
43
43
|
* // const { SFNClient, CreateActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
44
44
|
* const client = new SFNClient(config);
|
|
45
|
+
* const input = { // CreateActivityInput
|
|
46
|
+
* name: "STRING_VALUE", // required
|
|
47
|
+
* tags: [ // TagList
|
|
48
|
+
* { // Tag
|
|
49
|
+
* key: "STRING_VALUE",
|
|
50
|
+
* value: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* };
|
|
45
54
|
* const command = new CreateActivityCommand(input);
|
|
46
55
|
* const response = await client.send(command);
|
|
47
56
|
* ```
|
|
@@ -45,6 +45,32 @@ export interface CreateStateMachineCommandOutput extends CreateStateMachineOutpu
|
|
|
45
45
|
* import { SFNClient, CreateStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
46
46
|
* // const { SFNClient, CreateStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
47
47
|
* const client = new SFNClient(config);
|
|
48
|
+
* const input = { // CreateStateMachineInput
|
|
49
|
+
* name: "STRING_VALUE", // required
|
|
50
|
+
* definition: "STRING_VALUE", // required
|
|
51
|
+
* roleArn: "STRING_VALUE", // required
|
|
52
|
+
* type: "STANDARD" || "EXPRESS",
|
|
53
|
+
* loggingConfiguration: { // LoggingConfiguration
|
|
54
|
+
* level: "ALL" || "ERROR" || "FATAL" || "OFF",
|
|
55
|
+
* includeExecutionData: true || false,
|
|
56
|
+
* destinations: [ // LogDestinationList
|
|
57
|
+
* { // LogDestination
|
|
58
|
+
* cloudWatchLogsLogGroup: { // CloudWatchLogsLogGroup
|
|
59
|
+
* logGroupArn: "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* },
|
|
64
|
+
* tags: [ // TagList
|
|
65
|
+
* { // Tag
|
|
66
|
+
* key: "STRING_VALUE",
|
|
67
|
+
* value: "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* tracingConfiguration: { // TracingConfiguration
|
|
71
|
+
* enabled: true || false,
|
|
72
|
+
* },
|
|
73
|
+
* };
|
|
48
74
|
* const command = new CreateStateMachineCommand(input);
|
|
49
75
|
* const response = await client.send(command);
|
|
50
76
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteActivityCommandOutput extends DeleteActivityOutput, __Met
|
|
|
26
26
|
* import { SFNClient, DeleteActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
27
27
|
* // const { SFNClient, DeleteActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
28
28
|
* const client = new SFNClient(config);
|
|
29
|
+
* const input = { // DeleteActivityInput
|
|
30
|
+
* activityArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteActivityCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -37,6 +37,9 @@ export interface DeleteStateMachineCommandOutput extends DeleteStateMachineOutpu
|
|
|
37
37
|
* import { SFNClient, DeleteStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
38
38
|
* // const { SFNClient, DeleteStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
39
39
|
* const client = new SFNClient(config);
|
|
40
|
+
* const input = { // DeleteStateMachineInput
|
|
41
|
+
* stateMachineArn: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
40
43
|
* const command = new DeleteStateMachineCommand(input);
|
|
41
44
|
* const response = await client.send(command);
|
|
42
45
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DescribeActivityCommandOutput extends DescribeActivityOutput, _
|
|
|
29
29
|
* import { SFNClient, DescribeActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
30
30
|
* // const { SFNClient, DescribeActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
31
31
|
* const client = new SFNClient(config);
|
|
32
|
+
* const input = { // DescribeActivityInput
|
|
33
|
+
* activityArn: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DescribeActivityCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DescribeExecutionCommandOutput extends DescribeExecutionOutput,
|
|
|
30
30
|
* import { SFNClient, DescribeExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
31
31
|
* // const { SFNClient, DescribeExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
32
32
|
* const client = new SFNClient(config);
|
|
33
|
+
* const input = { // DescribeExecutionInput
|
|
34
|
+
* executionArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DescribeExecutionCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeMapRunCommandOutput extends DescribeMapRunOutput, __Met
|
|
|
26
26
|
* import { SFNClient, DescribeMapRunCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
27
27
|
* // const { SFNClient, DescribeMapRunCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
28
28
|
* const client = new SFNClient(config);
|
|
29
|
+
* const input = { // DescribeMapRunInput
|
|
30
|
+
* mapRunArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeMapRunCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -32,6 +32,9 @@ export interface DescribeStateMachineCommandOutput extends DescribeStateMachineO
|
|
|
32
32
|
* import { SFNClient, DescribeStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
33
33
|
* // const { SFNClient, DescribeStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
34
34
|
* const client = new SFNClient(config);
|
|
35
|
+
* const input = { // DescribeStateMachineInput
|
|
36
|
+
* stateMachineArn: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
35
38
|
* const command = new DescribeStateMachineCommand(input);
|
|
36
39
|
* const response = await client.send(command);
|
|
37
40
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DescribeStateMachineForExecutionCommandOutput extends DescribeS
|
|
|
30
30
|
* import { SFNClient, DescribeStateMachineForExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
31
31
|
* // const { SFNClient, DescribeStateMachineForExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
32
32
|
* const client = new SFNClient(config);
|
|
33
|
+
* const input = { // DescribeStateMachineForExecutionInput
|
|
34
|
+
* executionArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DescribeStateMachineForExecutionCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -43,6 +43,10 @@ export interface GetActivityTaskCommandOutput extends GetActivityTaskOutput, __M
|
|
|
43
43
|
* import { SFNClient, GetActivityTaskCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
44
44
|
* // const { SFNClient, GetActivityTaskCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
45
45
|
* const client = new SFNClient(config);
|
|
46
|
+
* const input = { // GetActivityTaskInput
|
|
47
|
+
* activityArn: "STRING_VALUE", // required
|
|
48
|
+
* workerName: "STRING_VALUE",
|
|
49
|
+
* };
|
|
46
50
|
* const command = new GetActivityTaskCommand(input);
|
|
47
51
|
* const response = await client.send(command);
|
|
48
52
|
* ```
|
|
@@ -31,6 +31,13 @@ export interface GetExecutionHistoryCommandOutput extends GetExecutionHistoryOut
|
|
|
31
31
|
* import { SFNClient, GetExecutionHistoryCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
32
32
|
* // const { SFNClient, GetExecutionHistoryCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
33
33
|
* const client = new SFNClient(config);
|
|
34
|
+
* const input = { // GetExecutionHistoryInput
|
|
35
|
+
* executionArn: "STRING_VALUE", // required
|
|
36
|
+
* maxResults: Number("int"),
|
|
37
|
+
* reverseOrder: true || false,
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* includeExecutionData: true || false,
|
|
40
|
+
* };
|
|
34
41
|
* const command = new GetExecutionHistoryCommand(input);
|
|
35
42
|
* const response = await client.send(command);
|
|
36
43
|
* ```
|
|
@@ -31,6 +31,10 @@ export interface ListActivitiesCommandOutput extends ListActivitiesOutput, __Met
|
|
|
31
31
|
* import { SFNClient, ListActivitiesCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
32
32
|
* // const { SFNClient, ListActivitiesCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
33
33
|
* const client = new SFNClient(config);
|
|
34
|
+
* const input = { // ListActivitiesInput
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* nextToken: "STRING_VALUE",
|
|
37
|
+
* };
|
|
34
38
|
* const command = new ListActivitiesCommand(input);
|
|
35
39
|
* const response = await client.send(command);
|
|
36
40
|
* ```
|
|
@@ -34,6 +34,13 @@ export interface ListExecutionsCommandOutput extends ListExecutionsOutput, __Met
|
|
|
34
34
|
* import { SFNClient, ListExecutionsCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
35
35
|
* // const { SFNClient, ListExecutionsCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
36
36
|
* const client = new SFNClient(config);
|
|
37
|
+
* const input = { // ListExecutionsInput
|
|
38
|
+
* stateMachineArn: "STRING_VALUE",
|
|
39
|
+
* statusFilter: "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "ABORTED",
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* mapRunArn: "STRING_VALUE",
|
|
43
|
+
* };
|
|
37
44
|
* const command = new ListExecutionsCommand(input);
|
|
38
45
|
* const response = await client.send(command);
|
|
39
46
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListMapRunsCommandOutput extends ListMapRunsOutput, __MetadataB
|
|
|
26
26
|
* import { SFNClient, ListMapRunsCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
27
27
|
* // const { SFNClient, ListMapRunsCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
28
28
|
* const client = new SFNClient(config);
|
|
29
|
+
* const input = { // ListMapRunsInput
|
|
30
|
+
* executionArn: "STRING_VALUE", // required
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListMapRunsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -31,6 +31,10 @@ export interface ListStateMachinesCommandOutput extends ListStateMachinesOutput,
|
|
|
31
31
|
* import { SFNClient, ListStateMachinesCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
32
32
|
* // const { SFNClient, ListStateMachinesCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
33
33
|
* const client = new SFNClient(config);
|
|
34
|
+
* const input = { // ListStateMachinesInput
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* nextToken: "STRING_VALUE",
|
|
37
|
+
* };
|
|
34
38
|
* const command = new ListStateMachinesCommand(input);
|
|
35
39
|
* const response = await client.send(command);
|
|
36
40
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
27
27
|
* import { SFNClient, ListTagsForResourceCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
28
28
|
* // const { SFNClient, ListTagsForResourceCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
29
29
|
* const client = new SFNClient(config);
|
|
30
|
+
* const input = { // ListTagsForResourceInput
|
|
31
|
+
* resourceArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new ListTagsForResourceCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface SendTaskFailureCommandOutput extends SendTaskFailureOutput, __M
|
|
|
27
27
|
* import { SFNClient, SendTaskFailureCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
28
28
|
* // const { SFNClient, SendTaskFailureCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
29
29
|
* const client = new SFNClient(config);
|
|
30
|
+
* const input = { // SendTaskFailureInput
|
|
31
|
+
* taskToken: "STRING_VALUE", // required
|
|
32
|
+
* error: "STRING_VALUE",
|
|
33
|
+
* cause: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new SendTaskFailureCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -40,6 +40,9 @@ export interface SendTaskHeartbeatCommandOutput extends SendTaskHeartbeatOutput,
|
|
|
40
40
|
* import { SFNClient, SendTaskHeartbeatCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
41
41
|
* // const { SFNClient, SendTaskHeartbeatCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
42
42
|
* const client = new SFNClient(config);
|
|
43
|
+
* const input = { // SendTaskHeartbeatInput
|
|
44
|
+
* taskToken: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
43
46
|
* const command = new SendTaskHeartbeatCommand(input);
|
|
44
47
|
* const response = await client.send(command);
|
|
45
48
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface SendTaskSuccessCommandOutput extends SendTaskSuccessOutput, __M
|
|
|
28
28
|
* import { SFNClient, SendTaskSuccessCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
29
29
|
* // const { SFNClient, SendTaskSuccessCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
30
30
|
* const client = new SFNClient(config);
|
|
31
|
+
* const input = { // SendTaskSuccessInput
|
|
32
|
+
* taskToken: "STRING_VALUE", // required
|
|
33
|
+
* output: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new SendTaskSuccessCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -39,6 +39,12 @@ export interface StartExecutionCommandOutput extends StartExecutionOutput, __Met
|
|
|
39
39
|
* import { SFNClient, StartExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
40
40
|
* // const { SFNClient, StartExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
41
41
|
* const client = new SFNClient(config);
|
|
42
|
+
* const input = { // StartExecutionInput
|
|
43
|
+
* stateMachineArn: "STRING_VALUE", // required
|
|
44
|
+
* name: "STRING_VALUE",
|
|
45
|
+
* input: "STRING_VALUE",
|
|
46
|
+
* traceHeader: "STRING_VALUE",
|
|
47
|
+
* };
|
|
42
48
|
* const command = new StartExecutionCommand(input);
|
|
43
49
|
* const response = await client.send(command);
|
|
44
50
|
* ```
|
|
@@ -38,6 +38,12 @@ export interface StartSyncExecutionCommandOutput extends StartSyncExecutionOutpu
|
|
|
38
38
|
* import { SFNClient, StartSyncExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
39
39
|
* // const { SFNClient, StartSyncExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
40
40
|
* const client = new SFNClient(config);
|
|
41
|
+
* const input = { // StartSyncExecutionInput
|
|
42
|
+
* stateMachineArn: "STRING_VALUE", // required
|
|
43
|
+
* name: "STRING_VALUE",
|
|
44
|
+
* input: "STRING_VALUE",
|
|
45
|
+
* traceHeader: "STRING_VALUE",
|
|
46
|
+
* };
|
|
41
47
|
* const command = new StartSyncExecutionCommand(input);
|
|
42
48
|
* const response = await client.send(command);
|
|
43
49
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface StopExecutionCommandOutput extends StopExecutionOutput, __Metad
|
|
|
27
27
|
* import { SFNClient, StopExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
28
28
|
* // const { SFNClient, StopExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
29
29
|
* const client = new SFNClient(config);
|
|
30
|
+
* const input = { // StopExecutionInput
|
|
31
|
+
* executionArn: "STRING_VALUE", // required
|
|
32
|
+
* error: "STRING_VALUE",
|
|
33
|
+
* cause: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new StopExecutionCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -31,6 +31,15 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
31
31
|
* import { SFNClient, TagResourceCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
32
32
|
* // const { SFNClient, TagResourceCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
33
33
|
* const client = new SFNClient(config);
|
|
34
|
+
* const input = { // TagResourceInput
|
|
35
|
+
* resourceArn: "STRING_VALUE", // required
|
|
36
|
+
* tags: [ // TagList // required
|
|
37
|
+
* { // Tag
|
|
38
|
+
* key: "STRING_VALUE",
|
|
39
|
+
* value: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
34
43
|
* const command = new TagResourceCommand(input);
|
|
35
44
|
* const response = await client.send(command);
|
|
36
45
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
26
26
|
* import { SFNClient, UntagResourceCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
27
27
|
* // const { SFNClient, UntagResourceCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
28
28
|
* const client = new SFNClient(config);
|
|
29
|
+
* const input = { // UntagResourceInput
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UpdateMapRunCommandOutput extends UpdateMapRunOutput, __Metadat
|
|
|
26
26
|
* import { SFNClient, UpdateMapRunCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
27
27
|
* // const { SFNClient, UpdateMapRunCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
28
28
|
* const client = new SFNClient(config);
|
|
29
|
+
* const input = { // UpdateMapRunInput
|
|
30
|
+
* mapRunArn: "STRING_VALUE", // required
|
|
31
|
+
* maxConcurrency: Number("int"),
|
|
32
|
+
* toleratedFailurePercentage: Number("float"),
|
|
33
|
+
* toleratedFailureCount: Number("long"),
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UpdateMapRunCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -41,6 +41,25 @@ export interface UpdateStateMachineCommandOutput extends UpdateStateMachineOutpu
|
|
|
41
41
|
* import { SFNClient, UpdateStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
42
42
|
* // const { SFNClient, UpdateStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
43
43
|
* const client = new SFNClient(config);
|
|
44
|
+
* const input = { // UpdateStateMachineInput
|
|
45
|
+
* stateMachineArn: "STRING_VALUE", // required
|
|
46
|
+
* definition: "STRING_VALUE",
|
|
47
|
+
* roleArn: "STRING_VALUE",
|
|
48
|
+
* loggingConfiguration: { // LoggingConfiguration
|
|
49
|
+
* level: "ALL" || "ERROR" || "FATAL" || "OFF",
|
|
50
|
+
* includeExecutionData: true || false,
|
|
51
|
+
* destinations: [ // LogDestinationList
|
|
52
|
+
* { // LogDestination
|
|
53
|
+
* cloudWatchLogsLogGroup: { // CloudWatchLogsLogGroup
|
|
54
|
+
* logGroupArn: "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* tracingConfiguration: { // TracingConfiguration
|
|
60
|
+
* enabled: true || false,
|
|
61
|
+
* },
|
|
62
|
+
* };
|
|
44
63
|
* const command = new UpdateStateMachineCommand(input);
|
|
45
64
|
* const response = await client.send(command);
|
|
46
65
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sfn",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sfn Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|