@aws-sdk/client-sfn 3.212.0 → 3.214.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/README.md +5 -5
- package/dist-cjs/models/models_0.js +96 -3
- package/dist-cjs/protocols/Aws_json1_0.js +11 -0
- package/dist-es/models/models_0.js +92 -0
- package/dist-es/protocols/Aws_json1_0.js +11 -0
- package/dist-types/SFN.d.ts +38 -18
- package/dist-types/SFNClient.d.ts +5 -5
- package/dist-types/commands/CreateActivityCommand.d.ts +1 -1
- package/dist-types/commands/CreateStateMachineCommand.d.ts +5 -4
- package/dist-types/commands/DeleteStateMachineCommand.d.ts +1 -1
- package/dist-types/commands/GetActivityTaskCommand.d.ts +5 -0
- package/dist-types/commands/StartExecutionCommand.d.ts +7 -5
- package/dist-types/commands/StartSyncExecutionCommand.d.ts +13 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +167 -65
- package/dist-types/ts3.4/models/models_0.d.ts +91 -66
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript SFN Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<fullname>
|
|
12
|
+
<fullname>Step Functions</fullname>
|
|
13
13
|
|
|
14
|
-
<p>
|
|
14
|
+
<p>Step Functions is a service that lets you coordinate the components of distributed applications
|
|
15
15
|
and microservices using visual workflows.</p>
|
|
16
16
|
<p>You can use Step Functions to build applications from individual components, each of which performs
|
|
17
17
|
a discrete function, or <i>task</i>, allowing you to scale and change
|
|
@@ -21,10 +21,10 @@ retries steps when there are errors, so your application executes predictably an
|
|
|
21
21
|
order every time. Step Functions logs the state of each step, so you can quickly diagnose and debug any
|
|
22
22
|
issues.</p>
|
|
23
23
|
<p>Step Functions manages operations and underlying infrastructure to ensure your application is
|
|
24
|
-
available at any scale. You can run tasks on
|
|
25
|
-
access to
|
|
24
|
+
available at any scale. You can run tasks on Amazon Web Services, your own servers, or any system that has
|
|
25
|
+
access to Amazon Web Services. You can access and use Step Functions using the console, the Amazon Web Services SDKs, or an HTTP API.
|
|
26
26
|
For more information about Step Functions, see the <i>
|
|
27
|
-
<a href="https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html">
|
|
27
|
+
<a href="https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html">Step Functions Developer Guide</a>
|
|
28
28
|
</i>.</p>
|
|
29
29
|
|
|
30
30
|
## Installing
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateStateMachineOutputFilterSensitiveLog = exports.UpdateStateMachineInputFilterSensitiveLog = exports.UntagResourceOutputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.TagResourceOutputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.StopExecutionOutputFilterSensitiveLog = exports.StopExecutionInputFilterSensitiveLog = exports.StartSyncExecutionOutputFilterSensitiveLog = exports.BillingDetailsFilterSensitiveLog = exports.StartSyncExecutionInputFilterSensitiveLog = void 0;
|
|
3
|
+
exports.DeleteStateMachineInputFilterSensitiveLog = exports.DeleteActivityOutputFilterSensitiveLog = exports.DeleteActivityInputFilterSensitiveLog = exports.CreateStateMachineOutputFilterSensitiveLog = exports.CreateStateMachineInputFilterSensitiveLog = exports.TracingConfigurationFilterSensitiveLog = exports.LoggingConfigurationFilterSensitiveLog = exports.LogDestinationFilterSensitiveLog = exports.CloudWatchLogsLogGroupFilterSensitiveLog = exports.CreateActivityOutputFilterSensitiveLog = exports.CreateActivityInputFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.ActivityTimedOutEventDetailsFilterSensitiveLog = exports.ActivitySucceededEventDetailsFilterSensitiveLog = exports.ActivityStartedEventDetailsFilterSensitiveLog = exports.ActivityScheduleFailedEventDetailsFilterSensitiveLog = exports.ActivityScheduledEventDetailsFilterSensitiveLog = exports.HistoryEventExecutionDataDetailsFilterSensitiveLog = exports.ActivityListItemFilterSensitiveLog = exports.ActivityFailedEventDetailsFilterSensitiveLog = exports.MissingRequiredParameter = exports.SyncExecutionStatus = exports.InvalidExecutionInput = exports.ExecutionLimitExceeded = exports.ExecutionAlreadyExists = exports.InvalidOutput = exports.TaskTimedOut = exports.TaskDoesNotExist = exports.ResourceNotFound = exports.InvalidToken = exports.HistoryEventType = exports.StateMachineDoesNotExist = exports.StateMachineStatus = exports.ExecutionDoesNotExist = exports.ExecutionStatus = exports.StateMachineTypeNotSupported = exports.StateMachineLimitExceeded = exports.StateMachineDeleting = exports.StateMachineAlreadyExists = exports.InvalidTracingConfiguration = exports.InvalidLoggingConfiguration = exports.InvalidDefinition = exports.InvalidArn = exports.StateMachineType = exports.LogLevel = exports.TooManyTags = exports.InvalidName = exports.ActivityWorkerLimitExceeded = exports.ActivityLimitExceeded = exports.ActivityDoesNotExist = void 0;
|
|
4
|
+
exports.SendTaskFailureInputFilterSensitiveLog = exports.ListTagsForResourceOutputFilterSensitiveLog = exports.ListTagsForResourceInputFilterSensitiveLog = exports.ListStateMachinesOutputFilterSensitiveLog = exports.StateMachineListItemFilterSensitiveLog = exports.ListStateMachinesInputFilterSensitiveLog = exports.ListExecutionsOutputFilterSensitiveLog = exports.ExecutionListItemFilterSensitiveLog = exports.ListExecutionsInputFilterSensitiveLog = exports.ListActivitiesOutputFilterSensitiveLog = exports.ListActivitiesInputFilterSensitiveLog = exports.GetExecutionHistoryOutputFilterSensitiveLog = exports.HistoryEventFilterSensitiveLog = exports.TaskTimedOutEventDetailsFilterSensitiveLog = exports.TaskSucceededEventDetailsFilterSensitiveLog = exports.TaskSubmittedEventDetailsFilterSensitiveLog = exports.TaskSubmitFailedEventDetailsFilterSensitiveLog = exports.TaskStartFailedEventDetailsFilterSensitiveLog = exports.TaskStartedEventDetailsFilterSensitiveLog = exports.TaskScheduledEventDetailsFilterSensitiveLog = exports.TaskFailedEventDetailsFilterSensitiveLog = exports.StateExitedEventDetailsFilterSensitiveLog = exports.StateEnteredEventDetailsFilterSensitiveLog = exports.MapStateStartedEventDetailsFilterSensitiveLog = exports.MapIterationEventDetailsFilterSensitiveLog = exports.LambdaFunctionTimedOutEventDetailsFilterSensitiveLog = exports.LambdaFunctionSucceededEventDetailsFilterSensitiveLog = exports.LambdaFunctionStartFailedEventDetailsFilterSensitiveLog = exports.LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog = exports.LambdaFunctionScheduledEventDetailsFilterSensitiveLog = exports.TaskCredentialsFilterSensitiveLog = exports.LambdaFunctionFailedEventDetailsFilterSensitiveLog = exports.ExecutionTimedOutEventDetailsFilterSensitiveLog = exports.ExecutionSucceededEventDetailsFilterSensitiveLog = exports.ExecutionStartedEventDetailsFilterSensitiveLog = exports.ExecutionFailedEventDetailsFilterSensitiveLog = exports.ExecutionAbortedEventDetailsFilterSensitiveLog = exports.GetExecutionHistoryInputFilterSensitiveLog = exports.GetActivityTaskOutputFilterSensitiveLog = exports.GetActivityTaskInputFilterSensitiveLog = exports.DescribeStateMachineForExecutionOutputFilterSensitiveLog = exports.DescribeStateMachineForExecutionInputFilterSensitiveLog = exports.DescribeStateMachineOutputFilterSensitiveLog = exports.DescribeStateMachineInputFilterSensitiveLog = exports.DescribeExecutionOutputFilterSensitiveLog = exports.CloudWatchEventsExecutionDataDetailsFilterSensitiveLog = exports.DescribeExecutionInputFilterSensitiveLog = exports.DescribeActivityOutputFilterSensitiveLog = exports.DescribeActivityInputFilterSensitiveLog = exports.DeleteStateMachineOutputFilterSensitiveLog = void 0;
|
|
5
|
+
exports.UpdateStateMachineOutputFilterSensitiveLog = exports.UpdateStateMachineInputFilterSensitiveLog = exports.UntagResourceOutputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.TagResourceOutputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.StopExecutionOutputFilterSensitiveLog = exports.StopExecutionInputFilterSensitiveLog = exports.StartSyncExecutionOutputFilterSensitiveLog = exports.BillingDetailsFilterSensitiveLog = exports.StartSyncExecutionInputFilterSensitiveLog = exports.StartExecutionOutputFilterSensitiveLog = exports.StartExecutionInputFilterSensitiveLog = exports.SendTaskSuccessOutputFilterSensitiveLog = exports.SendTaskSuccessInputFilterSensitiveLog = exports.SendTaskHeartbeatOutputFilterSensitiveLog = exports.SendTaskHeartbeatInputFilterSensitiveLog = exports.SendTaskFailureOutputFilterSensitiveLog = void 0;
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const SFNServiceException_1 = require("./SFNServiceException");
|
|
8
8
|
class ActivityDoesNotExist extends SFNServiceException_1.SFNServiceException {
|
|
@@ -71,6 +71,18 @@ class TooManyTags extends SFNServiceException_1.SFNServiceException {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
exports.TooManyTags = TooManyTags;
|
|
74
|
+
var LogLevel;
|
|
75
|
+
(function (LogLevel) {
|
|
76
|
+
LogLevel["ALL"] = "ALL";
|
|
77
|
+
LogLevel["ERROR"] = "ERROR";
|
|
78
|
+
LogLevel["FATAL"] = "FATAL";
|
|
79
|
+
LogLevel["OFF"] = "OFF";
|
|
80
|
+
})(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
|
|
81
|
+
var StateMachineType;
|
|
82
|
+
(function (StateMachineType) {
|
|
83
|
+
StateMachineType["EXPRESS"] = "EXPRESS";
|
|
84
|
+
StateMachineType["STANDARD"] = "STANDARD";
|
|
85
|
+
})(StateMachineType = exports.StateMachineType || (exports.StateMachineType = {}));
|
|
74
86
|
class InvalidArn extends SFNServiceException_1.SFNServiceException {
|
|
75
87
|
constructor(opts) {
|
|
76
88
|
super({
|
|
@@ -175,6 +187,14 @@ class StateMachineTypeNotSupported extends SFNServiceException_1.SFNServiceExcep
|
|
|
175
187
|
}
|
|
176
188
|
}
|
|
177
189
|
exports.StateMachineTypeNotSupported = StateMachineTypeNotSupported;
|
|
190
|
+
var ExecutionStatus;
|
|
191
|
+
(function (ExecutionStatus) {
|
|
192
|
+
ExecutionStatus["ABORTED"] = "ABORTED";
|
|
193
|
+
ExecutionStatus["FAILED"] = "FAILED";
|
|
194
|
+
ExecutionStatus["RUNNING"] = "RUNNING";
|
|
195
|
+
ExecutionStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
196
|
+
ExecutionStatus["TIMED_OUT"] = "TIMED_OUT";
|
|
197
|
+
})(ExecutionStatus = exports.ExecutionStatus || (exports.ExecutionStatus = {}));
|
|
178
198
|
class ExecutionDoesNotExist extends SFNServiceException_1.SFNServiceException {
|
|
179
199
|
constructor(opts) {
|
|
180
200
|
super({
|
|
@@ -188,6 +208,11 @@ class ExecutionDoesNotExist extends SFNServiceException_1.SFNServiceException {
|
|
|
188
208
|
}
|
|
189
209
|
}
|
|
190
210
|
exports.ExecutionDoesNotExist = ExecutionDoesNotExist;
|
|
211
|
+
var StateMachineStatus;
|
|
212
|
+
(function (StateMachineStatus) {
|
|
213
|
+
StateMachineStatus["ACTIVE"] = "ACTIVE";
|
|
214
|
+
StateMachineStatus["DELETING"] = "DELETING";
|
|
215
|
+
})(StateMachineStatus = exports.StateMachineStatus || (exports.StateMachineStatus = {}));
|
|
191
216
|
class StateMachineDoesNotExist extends SFNServiceException_1.SFNServiceException {
|
|
192
217
|
constructor(opts) {
|
|
193
218
|
super({
|
|
@@ -201,6 +226,64 @@ class StateMachineDoesNotExist extends SFNServiceException_1.SFNServiceException
|
|
|
201
226
|
}
|
|
202
227
|
}
|
|
203
228
|
exports.StateMachineDoesNotExist = StateMachineDoesNotExist;
|
|
229
|
+
var HistoryEventType;
|
|
230
|
+
(function (HistoryEventType) {
|
|
231
|
+
HistoryEventType["ActivityFailed"] = "ActivityFailed";
|
|
232
|
+
HistoryEventType["ActivityScheduleFailed"] = "ActivityScheduleFailed";
|
|
233
|
+
HistoryEventType["ActivityScheduled"] = "ActivityScheduled";
|
|
234
|
+
HistoryEventType["ActivityStarted"] = "ActivityStarted";
|
|
235
|
+
HistoryEventType["ActivitySucceeded"] = "ActivitySucceeded";
|
|
236
|
+
HistoryEventType["ActivityTimedOut"] = "ActivityTimedOut";
|
|
237
|
+
HistoryEventType["ChoiceStateEntered"] = "ChoiceStateEntered";
|
|
238
|
+
HistoryEventType["ChoiceStateExited"] = "ChoiceStateExited";
|
|
239
|
+
HistoryEventType["ExecutionAborted"] = "ExecutionAborted";
|
|
240
|
+
HistoryEventType["ExecutionFailed"] = "ExecutionFailed";
|
|
241
|
+
HistoryEventType["ExecutionStarted"] = "ExecutionStarted";
|
|
242
|
+
HistoryEventType["ExecutionSucceeded"] = "ExecutionSucceeded";
|
|
243
|
+
HistoryEventType["ExecutionTimedOut"] = "ExecutionTimedOut";
|
|
244
|
+
HistoryEventType["FailStateEntered"] = "FailStateEntered";
|
|
245
|
+
HistoryEventType["LambdaFunctionFailed"] = "LambdaFunctionFailed";
|
|
246
|
+
HistoryEventType["LambdaFunctionScheduleFailed"] = "LambdaFunctionScheduleFailed";
|
|
247
|
+
HistoryEventType["LambdaFunctionScheduled"] = "LambdaFunctionScheduled";
|
|
248
|
+
HistoryEventType["LambdaFunctionStartFailed"] = "LambdaFunctionStartFailed";
|
|
249
|
+
HistoryEventType["LambdaFunctionStarted"] = "LambdaFunctionStarted";
|
|
250
|
+
HistoryEventType["LambdaFunctionSucceeded"] = "LambdaFunctionSucceeded";
|
|
251
|
+
HistoryEventType["LambdaFunctionTimedOut"] = "LambdaFunctionTimedOut";
|
|
252
|
+
HistoryEventType["MapIterationAborted"] = "MapIterationAborted";
|
|
253
|
+
HistoryEventType["MapIterationFailed"] = "MapIterationFailed";
|
|
254
|
+
HistoryEventType["MapIterationStarted"] = "MapIterationStarted";
|
|
255
|
+
HistoryEventType["MapIterationSucceeded"] = "MapIterationSucceeded";
|
|
256
|
+
HistoryEventType["MapStateAborted"] = "MapStateAborted";
|
|
257
|
+
HistoryEventType["MapStateEntered"] = "MapStateEntered";
|
|
258
|
+
HistoryEventType["MapStateExited"] = "MapStateExited";
|
|
259
|
+
HistoryEventType["MapStateFailed"] = "MapStateFailed";
|
|
260
|
+
HistoryEventType["MapStateStarted"] = "MapStateStarted";
|
|
261
|
+
HistoryEventType["MapStateSucceeded"] = "MapStateSucceeded";
|
|
262
|
+
HistoryEventType["ParallelStateAborted"] = "ParallelStateAborted";
|
|
263
|
+
HistoryEventType["ParallelStateEntered"] = "ParallelStateEntered";
|
|
264
|
+
HistoryEventType["ParallelStateExited"] = "ParallelStateExited";
|
|
265
|
+
HistoryEventType["ParallelStateFailed"] = "ParallelStateFailed";
|
|
266
|
+
HistoryEventType["ParallelStateStarted"] = "ParallelStateStarted";
|
|
267
|
+
HistoryEventType["ParallelStateSucceeded"] = "ParallelStateSucceeded";
|
|
268
|
+
HistoryEventType["PassStateEntered"] = "PassStateEntered";
|
|
269
|
+
HistoryEventType["PassStateExited"] = "PassStateExited";
|
|
270
|
+
HistoryEventType["SucceedStateEntered"] = "SucceedStateEntered";
|
|
271
|
+
HistoryEventType["SucceedStateExited"] = "SucceedStateExited";
|
|
272
|
+
HistoryEventType["TaskFailed"] = "TaskFailed";
|
|
273
|
+
HistoryEventType["TaskScheduled"] = "TaskScheduled";
|
|
274
|
+
HistoryEventType["TaskStartFailed"] = "TaskStartFailed";
|
|
275
|
+
HistoryEventType["TaskStarted"] = "TaskStarted";
|
|
276
|
+
HistoryEventType["TaskStateAborted"] = "TaskStateAborted";
|
|
277
|
+
HistoryEventType["TaskStateEntered"] = "TaskStateEntered";
|
|
278
|
+
HistoryEventType["TaskStateExited"] = "TaskStateExited";
|
|
279
|
+
HistoryEventType["TaskSubmitFailed"] = "TaskSubmitFailed";
|
|
280
|
+
HistoryEventType["TaskSubmitted"] = "TaskSubmitted";
|
|
281
|
+
HistoryEventType["TaskSucceeded"] = "TaskSucceeded";
|
|
282
|
+
HistoryEventType["TaskTimedOut"] = "TaskTimedOut";
|
|
283
|
+
HistoryEventType["WaitStateAborted"] = "WaitStateAborted";
|
|
284
|
+
HistoryEventType["WaitStateEntered"] = "WaitStateEntered";
|
|
285
|
+
HistoryEventType["WaitStateExited"] = "WaitStateExited";
|
|
286
|
+
})(HistoryEventType = exports.HistoryEventType || (exports.HistoryEventType = {}));
|
|
204
287
|
class InvalidToken extends SFNServiceException_1.SFNServiceException {
|
|
205
288
|
constructor(opts) {
|
|
206
289
|
super({
|
|
@@ -306,6 +389,12 @@ class InvalidExecutionInput extends SFNServiceException_1.SFNServiceException {
|
|
|
306
389
|
}
|
|
307
390
|
}
|
|
308
391
|
exports.InvalidExecutionInput = InvalidExecutionInput;
|
|
392
|
+
var SyncExecutionStatus;
|
|
393
|
+
(function (SyncExecutionStatus) {
|
|
394
|
+
SyncExecutionStatus["FAILED"] = "FAILED";
|
|
395
|
+
SyncExecutionStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
396
|
+
SyncExecutionStatus["TIMED_OUT"] = "TIMED_OUT";
|
|
397
|
+
})(SyncExecutionStatus = exports.SyncExecutionStatus || (exports.SyncExecutionStatus = {}));
|
|
309
398
|
class MissingRequiredParameter extends SFNServiceException_1.SFNServiceException {
|
|
310
399
|
constructor(opts) {
|
|
311
400
|
super({
|
|
@@ -499,6 +588,10 @@ const LambdaFunctionFailedEventDetailsFilterSensitiveLog = (obj) => ({
|
|
|
499
588
|
...(obj.cause && { cause: smithy_client_1.SENSITIVE_STRING }),
|
|
500
589
|
});
|
|
501
590
|
exports.LambdaFunctionFailedEventDetailsFilterSensitiveLog = LambdaFunctionFailedEventDetailsFilterSensitiveLog;
|
|
591
|
+
const TaskCredentialsFilterSensitiveLog = (obj) => ({
|
|
592
|
+
...obj,
|
|
593
|
+
});
|
|
594
|
+
exports.TaskCredentialsFilterSensitiveLog = TaskCredentialsFilterSensitiveLog;
|
|
502
595
|
const LambdaFunctionScheduledEventDetailsFilterSensitiveLog = (obj) => ({
|
|
503
596
|
...obj,
|
|
504
597
|
...(obj.input && { input: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -2036,6 +2036,9 @@ const deserializeAws_json1_0LambdaFunctionScheduledEventDetails = (output, conte
|
|
|
2036
2036
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
|
|
2037
2037
|
: undefined,
|
|
2038
2038
|
resource: (0, smithy_client_1.expectString)(output.resource),
|
|
2039
|
+
taskCredentials: output.taskCredentials != null
|
|
2040
|
+
? deserializeAws_json1_0TaskCredentials(output.taskCredentials, context)
|
|
2041
|
+
: undefined,
|
|
2039
2042
|
timeoutInSeconds: (0, smithy_client_1.expectLong)(output.timeoutInSeconds),
|
|
2040
2043
|
};
|
|
2041
2044
|
};
|
|
@@ -2261,6 +2264,11 @@ const deserializeAws_json1_0TagList = (output, context) => {
|
|
|
2261
2264
|
const deserializeAws_json1_0TagResourceOutput = (output, context) => {
|
|
2262
2265
|
return {};
|
|
2263
2266
|
};
|
|
2267
|
+
const deserializeAws_json1_0TaskCredentials = (output, context) => {
|
|
2268
|
+
return {
|
|
2269
|
+
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
2270
|
+
};
|
|
2271
|
+
};
|
|
2264
2272
|
const deserializeAws_json1_0TaskDoesNotExist = (output, context) => {
|
|
2265
2273
|
return {
|
|
2266
2274
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
@@ -2281,6 +2289,9 @@ const deserializeAws_json1_0TaskScheduledEventDetails = (output, context) => {
|
|
|
2281
2289
|
region: (0, smithy_client_1.expectString)(output.region),
|
|
2282
2290
|
resource: (0, smithy_client_1.expectString)(output.resource),
|
|
2283
2291
|
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
2292
|
+
taskCredentials: output.taskCredentials != null
|
|
2293
|
+
? deserializeAws_json1_0TaskCredentials(output.taskCredentials, context)
|
|
2294
|
+
: undefined,
|
|
2284
2295
|
timeoutInSeconds: (0, smithy_client_1.expectLong)(output.timeoutInSeconds),
|
|
2285
2296
|
};
|
|
2286
2297
|
};
|
|
@@ -61,6 +61,18 @@ export class TooManyTags extends __BaseException {
|
|
|
61
61
|
this.resourceName = opts.resourceName;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
+
export var LogLevel;
|
|
65
|
+
(function (LogLevel) {
|
|
66
|
+
LogLevel["ALL"] = "ALL";
|
|
67
|
+
LogLevel["ERROR"] = "ERROR";
|
|
68
|
+
LogLevel["FATAL"] = "FATAL";
|
|
69
|
+
LogLevel["OFF"] = "OFF";
|
|
70
|
+
})(LogLevel || (LogLevel = {}));
|
|
71
|
+
export var StateMachineType;
|
|
72
|
+
(function (StateMachineType) {
|
|
73
|
+
StateMachineType["EXPRESS"] = "EXPRESS";
|
|
74
|
+
StateMachineType["STANDARD"] = "STANDARD";
|
|
75
|
+
})(StateMachineType || (StateMachineType = {}));
|
|
64
76
|
export class InvalidArn extends __BaseException {
|
|
65
77
|
constructor(opts) {
|
|
66
78
|
super({
|
|
@@ -157,6 +169,14 @@ export class StateMachineTypeNotSupported extends __BaseException {
|
|
|
157
169
|
Object.setPrototypeOf(this, StateMachineTypeNotSupported.prototype);
|
|
158
170
|
}
|
|
159
171
|
}
|
|
172
|
+
export var ExecutionStatus;
|
|
173
|
+
(function (ExecutionStatus) {
|
|
174
|
+
ExecutionStatus["ABORTED"] = "ABORTED";
|
|
175
|
+
ExecutionStatus["FAILED"] = "FAILED";
|
|
176
|
+
ExecutionStatus["RUNNING"] = "RUNNING";
|
|
177
|
+
ExecutionStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
178
|
+
ExecutionStatus["TIMED_OUT"] = "TIMED_OUT";
|
|
179
|
+
})(ExecutionStatus || (ExecutionStatus = {}));
|
|
160
180
|
export class ExecutionDoesNotExist extends __BaseException {
|
|
161
181
|
constructor(opts) {
|
|
162
182
|
super({
|
|
@@ -169,6 +189,11 @@ export class ExecutionDoesNotExist extends __BaseException {
|
|
|
169
189
|
Object.setPrototypeOf(this, ExecutionDoesNotExist.prototype);
|
|
170
190
|
}
|
|
171
191
|
}
|
|
192
|
+
export var StateMachineStatus;
|
|
193
|
+
(function (StateMachineStatus) {
|
|
194
|
+
StateMachineStatus["ACTIVE"] = "ACTIVE";
|
|
195
|
+
StateMachineStatus["DELETING"] = "DELETING";
|
|
196
|
+
})(StateMachineStatus || (StateMachineStatus = {}));
|
|
172
197
|
export class StateMachineDoesNotExist extends __BaseException {
|
|
173
198
|
constructor(opts) {
|
|
174
199
|
super({
|
|
@@ -181,6 +206,64 @@ export class StateMachineDoesNotExist extends __BaseException {
|
|
|
181
206
|
Object.setPrototypeOf(this, StateMachineDoesNotExist.prototype);
|
|
182
207
|
}
|
|
183
208
|
}
|
|
209
|
+
export var HistoryEventType;
|
|
210
|
+
(function (HistoryEventType) {
|
|
211
|
+
HistoryEventType["ActivityFailed"] = "ActivityFailed";
|
|
212
|
+
HistoryEventType["ActivityScheduleFailed"] = "ActivityScheduleFailed";
|
|
213
|
+
HistoryEventType["ActivityScheduled"] = "ActivityScheduled";
|
|
214
|
+
HistoryEventType["ActivityStarted"] = "ActivityStarted";
|
|
215
|
+
HistoryEventType["ActivitySucceeded"] = "ActivitySucceeded";
|
|
216
|
+
HistoryEventType["ActivityTimedOut"] = "ActivityTimedOut";
|
|
217
|
+
HistoryEventType["ChoiceStateEntered"] = "ChoiceStateEntered";
|
|
218
|
+
HistoryEventType["ChoiceStateExited"] = "ChoiceStateExited";
|
|
219
|
+
HistoryEventType["ExecutionAborted"] = "ExecutionAborted";
|
|
220
|
+
HistoryEventType["ExecutionFailed"] = "ExecutionFailed";
|
|
221
|
+
HistoryEventType["ExecutionStarted"] = "ExecutionStarted";
|
|
222
|
+
HistoryEventType["ExecutionSucceeded"] = "ExecutionSucceeded";
|
|
223
|
+
HistoryEventType["ExecutionTimedOut"] = "ExecutionTimedOut";
|
|
224
|
+
HistoryEventType["FailStateEntered"] = "FailStateEntered";
|
|
225
|
+
HistoryEventType["LambdaFunctionFailed"] = "LambdaFunctionFailed";
|
|
226
|
+
HistoryEventType["LambdaFunctionScheduleFailed"] = "LambdaFunctionScheduleFailed";
|
|
227
|
+
HistoryEventType["LambdaFunctionScheduled"] = "LambdaFunctionScheduled";
|
|
228
|
+
HistoryEventType["LambdaFunctionStartFailed"] = "LambdaFunctionStartFailed";
|
|
229
|
+
HistoryEventType["LambdaFunctionStarted"] = "LambdaFunctionStarted";
|
|
230
|
+
HistoryEventType["LambdaFunctionSucceeded"] = "LambdaFunctionSucceeded";
|
|
231
|
+
HistoryEventType["LambdaFunctionTimedOut"] = "LambdaFunctionTimedOut";
|
|
232
|
+
HistoryEventType["MapIterationAborted"] = "MapIterationAborted";
|
|
233
|
+
HistoryEventType["MapIterationFailed"] = "MapIterationFailed";
|
|
234
|
+
HistoryEventType["MapIterationStarted"] = "MapIterationStarted";
|
|
235
|
+
HistoryEventType["MapIterationSucceeded"] = "MapIterationSucceeded";
|
|
236
|
+
HistoryEventType["MapStateAborted"] = "MapStateAborted";
|
|
237
|
+
HistoryEventType["MapStateEntered"] = "MapStateEntered";
|
|
238
|
+
HistoryEventType["MapStateExited"] = "MapStateExited";
|
|
239
|
+
HistoryEventType["MapStateFailed"] = "MapStateFailed";
|
|
240
|
+
HistoryEventType["MapStateStarted"] = "MapStateStarted";
|
|
241
|
+
HistoryEventType["MapStateSucceeded"] = "MapStateSucceeded";
|
|
242
|
+
HistoryEventType["ParallelStateAborted"] = "ParallelStateAborted";
|
|
243
|
+
HistoryEventType["ParallelStateEntered"] = "ParallelStateEntered";
|
|
244
|
+
HistoryEventType["ParallelStateExited"] = "ParallelStateExited";
|
|
245
|
+
HistoryEventType["ParallelStateFailed"] = "ParallelStateFailed";
|
|
246
|
+
HistoryEventType["ParallelStateStarted"] = "ParallelStateStarted";
|
|
247
|
+
HistoryEventType["ParallelStateSucceeded"] = "ParallelStateSucceeded";
|
|
248
|
+
HistoryEventType["PassStateEntered"] = "PassStateEntered";
|
|
249
|
+
HistoryEventType["PassStateExited"] = "PassStateExited";
|
|
250
|
+
HistoryEventType["SucceedStateEntered"] = "SucceedStateEntered";
|
|
251
|
+
HistoryEventType["SucceedStateExited"] = "SucceedStateExited";
|
|
252
|
+
HistoryEventType["TaskFailed"] = "TaskFailed";
|
|
253
|
+
HistoryEventType["TaskScheduled"] = "TaskScheduled";
|
|
254
|
+
HistoryEventType["TaskStartFailed"] = "TaskStartFailed";
|
|
255
|
+
HistoryEventType["TaskStarted"] = "TaskStarted";
|
|
256
|
+
HistoryEventType["TaskStateAborted"] = "TaskStateAborted";
|
|
257
|
+
HistoryEventType["TaskStateEntered"] = "TaskStateEntered";
|
|
258
|
+
HistoryEventType["TaskStateExited"] = "TaskStateExited";
|
|
259
|
+
HistoryEventType["TaskSubmitFailed"] = "TaskSubmitFailed";
|
|
260
|
+
HistoryEventType["TaskSubmitted"] = "TaskSubmitted";
|
|
261
|
+
HistoryEventType["TaskSucceeded"] = "TaskSucceeded";
|
|
262
|
+
HistoryEventType["TaskTimedOut"] = "TaskTimedOut";
|
|
263
|
+
HistoryEventType["WaitStateAborted"] = "WaitStateAborted";
|
|
264
|
+
HistoryEventType["WaitStateEntered"] = "WaitStateEntered";
|
|
265
|
+
HistoryEventType["WaitStateExited"] = "WaitStateExited";
|
|
266
|
+
})(HistoryEventType || (HistoryEventType = {}));
|
|
184
267
|
export class InvalidToken extends __BaseException {
|
|
185
268
|
constructor(opts) {
|
|
186
269
|
super({
|
|
@@ -278,6 +361,12 @@ export class InvalidExecutionInput extends __BaseException {
|
|
|
278
361
|
Object.setPrototypeOf(this, InvalidExecutionInput.prototype);
|
|
279
362
|
}
|
|
280
363
|
}
|
|
364
|
+
export var SyncExecutionStatus;
|
|
365
|
+
(function (SyncExecutionStatus) {
|
|
366
|
+
SyncExecutionStatus["FAILED"] = "FAILED";
|
|
367
|
+
SyncExecutionStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
368
|
+
SyncExecutionStatus["TIMED_OUT"] = "TIMED_OUT";
|
|
369
|
+
})(SyncExecutionStatus || (SyncExecutionStatus = {}));
|
|
281
370
|
export class MissingRequiredParameter extends __BaseException {
|
|
282
371
|
constructor(opts) {
|
|
283
372
|
super({
|
|
@@ -431,6 +520,9 @@ export const LambdaFunctionFailedEventDetailsFilterSensitiveLog = (obj) => ({
|
|
|
431
520
|
...(obj.error && { error: SENSITIVE_STRING }),
|
|
432
521
|
...(obj.cause && { cause: SENSITIVE_STRING }),
|
|
433
522
|
});
|
|
523
|
+
export const TaskCredentialsFilterSensitiveLog = (obj) => ({
|
|
524
|
+
...obj,
|
|
525
|
+
});
|
|
434
526
|
export const LambdaFunctionScheduledEventDetailsFilterSensitiveLog = (obj) => ({
|
|
435
527
|
...obj,
|
|
436
528
|
...(obj.input && { input: SENSITIVE_STRING }),
|
|
@@ -1987,6 +1987,9 @@ const deserializeAws_json1_0LambdaFunctionScheduledEventDetails = (output, conte
|
|
|
1987
1987
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
|
|
1988
1988
|
: undefined,
|
|
1989
1989
|
resource: __expectString(output.resource),
|
|
1990
|
+
taskCredentials: output.taskCredentials != null
|
|
1991
|
+
? deserializeAws_json1_0TaskCredentials(output.taskCredentials, context)
|
|
1992
|
+
: undefined,
|
|
1990
1993
|
timeoutInSeconds: __expectLong(output.timeoutInSeconds),
|
|
1991
1994
|
};
|
|
1992
1995
|
};
|
|
@@ -2212,6 +2215,11 @@ const deserializeAws_json1_0TagList = (output, context) => {
|
|
|
2212
2215
|
const deserializeAws_json1_0TagResourceOutput = (output, context) => {
|
|
2213
2216
|
return {};
|
|
2214
2217
|
};
|
|
2218
|
+
const deserializeAws_json1_0TaskCredentials = (output, context) => {
|
|
2219
|
+
return {
|
|
2220
|
+
roleArn: __expectString(output.roleArn),
|
|
2221
|
+
};
|
|
2222
|
+
};
|
|
2215
2223
|
const deserializeAws_json1_0TaskDoesNotExist = (output, context) => {
|
|
2216
2224
|
return {
|
|
2217
2225
|
message: __expectString(output.message),
|
|
@@ -2232,6 +2240,9 @@ const deserializeAws_json1_0TaskScheduledEventDetails = (output, context) => {
|
|
|
2232
2240
|
region: __expectString(output.region),
|
|
2233
2241
|
resource: __expectString(output.resource),
|
|
2234
2242
|
resourceType: __expectString(output.resourceType),
|
|
2243
|
+
taskCredentials: output.taskCredentials != null
|
|
2244
|
+
? deserializeAws_json1_0TaskCredentials(output.taskCredentials, context)
|
|
2245
|
+
: undefined,
|
|
2235
2246
|
timeoutInSeconds: __expectLong(output.timeoutInSeconds),
|
|
2236
2247
|
};
|
|
2237
2248
|
};
|
package/dist-types/SFN.d.ts
CHANGED
|
@@ -24,8 +24,8 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
24
24
|
import { UpdateStateMachineCommandInput, UpdateStateMachineCommandOutput } from "./commands/UpdateStateMachineCommand";
|
|
25
25
|
import { SFNClient } from "./SFNClient";
|
|
26
26
|
/**
|
|
27
|
-
* <fullname>
|
|
28
|
-
* <p>
|
|
27
|
+
* <fullname>Step Functions</fullname>
|
|
28
|
+
* <p>Step Functions is a service that lets you coordinate the components of distributed applications
|
|
29
29
|
* and microservices using visual workflows.</p>
|
|
30
30
|
* <p>You can use Step Functions to build applications from individual components, each of which performs
|
|
31
31
|
* a discrete function, or <i>task</i>, allowing you to scale and change
|
|
@@ -35,16 +35,16 @@ import { SFNClient } from "./SFNClient";
|
|
|
35
35
|
* order every time. Step Functions logs the state of each step, so you can quickly diagnose and debug any
|
|
36
36
|
* issues.</p>
|
|
37
37
|
* <p>Step Functions manages operations and underlying infrastructure to ensure your application is
|
|
38
|
-
* available at any scale. You can run tasks on
|
|
39
|
-
* access to
|
|
38
|
+
* available at any scale. You can run tasks on Amazon Web Services, your own servers, or any system that has
|
|
39
|
+
* access to Amazon Web Services. You can access and use Step Functions using the console, the Amazon Web Services SDKs, or an HTTP API.
|
|
40
40
|
* For more information about Step Functions, see the <i>
|
|
41
|
-
* <a href="https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html">
|
|
41
|
+
* <a href="https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html">Step Functions Developer Guide</a>
|
|
42
42
|
* </i>.</p>
|
|
43
43
|
*/
|
|
44
44
|
export declare class SFN extends SFNClient {
|
|
45
45
|
/**
|
|
46
46
|
* <p>Creates an activity. An activity is a task that you write in any programming language and
|
|
47
|
-
* host on any machine that has access to
|
|
47
|
+
* host on any machine that has access to Step Functions. Activities must poll Step Functions using the
|
|
48
48
|
* <code>GetActivityTask</code> API action and respond using <code>SendTask*</code> API
|
|
49
49
|
* actions. This function lets Step Functions know the existence of your activity and returns an
|
|
50
50
|
* identifier for use in a state machine and when polling from the activity.</p>
|
|
@@ -70,7 +70,7 @@ export declare class SFN extends SFNClient {
|
|
|
70
70
|
* (<code>Choice</code> states), stop an execution with an error (<code>Fail</code> states),
|
|
71
71
|
* and so on. State machines are specified using a JSON-based, structured language. For more
|
|
72
72
|
* information, see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States
|
|
73
|
-
* Language</a> in the
|
|
73
|
+
* Language</a> in the Step Functions User Guide.</p>
|
|
74
74
|
* <note>
|
|
75
75
|
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
76
76
|
* </note>
|
|
@@ -79,9 +79,10 @@ export declare class SFN extends SFNClient {
|
|
|
79
79
|
* <code>CreateStateMachine</code> is an idempotent API. Subsequent requests won’t create a
|
|
80
80
|
* duplicate resource if it was already created. <code>CreateStateMachine</code>'s idempotency
|
|
81
81
|
* check is based on the state machine <code>name</code>, <code>definition</code>,
|
|
82
|
-
* <code>type</code>, <code>LoggingConfiguration</code> and
|
|
83
|
-
*
|
|
84
|
-
*
|
|
82
|
+
* <code>type</code>, <code>LoggingConfiguration</code> and
|
|
83
|
+
* <code>TracingConfiguration</code>. If a following request has a different
|
|
84
|
+
* <code>roleArn</code> or <code>tags</code>, Step Functions will ignore these differences and treat
|
|
85
|
+
* it as an idempotent request of the previous. In this case, <code>roleArn</code> and
|
|
85
86
|
* <code>tags</code> will not be updated, even if they are different.</p>
|
|
86
87
|
* </note>
|
|
87
88
|
*/
|
|
@@ -98,7 +99,7 @@ export declare class SFN extends SFNClient {
|
|
|
98
99
|
* <p>Deletes a state machine. This is an asynchronous operation: It sets the state machine's
|
|
99
100
|
* status to <code>DELETING</code> and begins the deletion process. </p>
|
|
100
101
|
* <note>
|
|
101
|
-
* <p>For <code>EXPRESS</code>state machines, the deletion will happen eventually (usually
|
|
102
|
+
* <p>For <code>EXPRESS</code> state machines, the deletion will happen eventually (usually
|
|
102
103
|
* less than a minute). Running executions may emit logs after <code>DeleteStateMachine</code>
|
|
103
104
|
* API is called.</p>
|
|
104
105
|
* </note>
|
|
@@ -151,6 +152,11 @@ export declare class SFN extends SFNClient {
|
|
|
151
152
|
* an execution of a task of this type is needed.) The maximum time the service holds on to the
|
|
152
153
|
* request before responding is 60 seconds. If no task is available within 60 seconds, the poll
|
|
153
154
|
* returns a <code>taskToken</code> with a null string.</p>
|
|
155
|
+
*
|
|
156
|
+
* <note>
|
|
157
|
+
* <p>This API action isn't logged in CloudTrail.</p>
|
|
158
|
+
* </note>
|
|
159
|
+
*
|
|
154
160
|
* <important>
|
|
155
161
|
* <p>Workers should set their client side socket timeout to at least 65 seconds (5 seconds
|
|
156
162
|
* higher than the maximum time the service may hold the poll request).</p>
|
|
@@ -254,18 +260,32 @@ export declare class SFN extends SFNClient {
|
|
|
254
260
|
* <p>Starts a state machine execution.</p>
|
|
255
261
|
* <note>
|
|
256
262
|
* <p>
|
|
257
|
-
* <code>StartExecution</code> is idempotent
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
* days. </p>
|
|
263
|
+
* <code>StartExecution</code> is idempotent for <code>STANDARD</code> workflows. For a
|
|
264
|
+
* <code>STANDARD</code> workflow, if <code>StartExecution</code> is called with the same
|
|
265
|
+
* name and input as a running execution, the call will succeed and return the same response as
|
|
266
|
+
* the original request. If the execution is closed or if the input is different, it will
|
|
267
|
+
* return a <code>400 ExecutionAlreadyExists</code> error. Names can be reused after 90 days. </p>
|
|
268
|
+
* <p>
|
|
269
|
+
* <code>StartExecution</code> is not idempotent for <code>EXPRESS</code> workflows. </p>
|
|
262
270
|
* </note>
|
|
263
271
|
*/
|
|
264
272
|
startExecution(args: StartExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartExecutionCommandOutput>;
|
|
265
273
|
startExecution(args: StartExecutionCommandInput, cb: (err: any, data?: StartExecutionCommandOutput) => void): void;
|
|
266
274
|
startExecution(args: StartExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartExecutionCommandOutput) => void): void;
|
|
267
275
|
/**
|
|
268
|
-
* <p>Starts a Synchronous Express state machine execution
|
|
276
|
+
* <p>Starts a Synchronous Express state machine execution. <code>StartSyncExecution</code>
|
|
277
|
+
* is not available for <code>STANDARD</code> workflows.</p>
|
|
278
|
+
* <note>
|
|
279
|
+
* <p>
|
|
280
|
+
* <code>StartSyncExecution</code> will return a <code>200 OK</code> response, even if your
|
|
281
|
+
* execution fails, because the status code in the API response doesn't reflect function
|
|
282
|
+
* errors. Error codes are reserved for errors that prevent your execution from running, such
|
|
283
|
+
* as permissions errors, limit errors, or issues with your state machine code and
|
|
284
|
+
* configuration. </p>
|
|
285
|
+
* </note>
|
|
286
|
+
* <note>
|
|
287
|
+
* <p>This API action isn't logged in CloudTrail.</p>
|
|
288
|
+
* </note>
|
|
269
289
|
*/
|
|
270
290
|
startSyncExecution(args: StartSyncExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartSyncExecutionCommandOutput>;
|
|
271
291
|
startSyncExecution(args: StartSyncExecutionCommandInput, cb: (err: any, data?: StartSyncExecutionCommandOutput) => void): void;
|
|
@@ -280,7 +300,7 @@ export declare class SFN extends SFNClient {
|
|
|
280
300
|
/**
|
|
281
301
|
* <p>Add a tag to a Step Functions resource.</p>
|
|
282
302
|
* <p>An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using
|
|
283
|
-
* Cost Allocation Tags</a> in the <i>
|
|
303
|
+
* Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management User
|
|
284
304
|
* Guide</i>, and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html">Controlling Access Using IAM
|
|
285
305
|
* Tags</a>.</p>
|
|
286
306
|
* <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>
|
|
@@ -146,8 +146,8 @@ declare type SFNClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpH
|
|
|
146
146
|
export interface SFNClientResolvedConfig extends SFNClientResolvedConfigType {
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
|
-
* <fullname>
|
|
150
|
-
* <p>
|
|
149
|
+
* <fullname>Step Functions</fullname>
|
|
150
|
+
* <p>Step Functions is a service that lets you coordinate the components of distributed applications
|
|
151
151
|
* and microservices using visual workflows.</p>
|
|
152
152
|
* <p>You can use Step Functions to build applications from individual components, each of which performs
|
|
153
153
|
* a discrete function, or <i>task</i>, allowing you to scale and change
|
|
@@ -157,10 +157,10 @@ export interface SFNClientResolvedConfig extends SFNClientResolvedConfigType {
|
|
|
157
157
|
* order every time. Step Functions logs the state of each step, so you can quickly diagnose and debug any
|
|
158
158
|
* issues.</p>
|
|
159
159
|
* <p>Step Functions manages operations and underlying infrastructure to ensure your application is
|
|
160
|
-
* available at any scale. You can run tasks on
|
|
161
|
-
* access to
|
|
160
|
+
* available at any scale. You can run tasks on Amazon Web Services, your own servers, or any system that has
|
|
161
|
+
* access to Amazon Web Services. You can access and use Step Functions using the console, the Amazon Web Services SDKs, or an HTTP API.
|
|
162
162
|
* For more information about Step Functions, see the <i>
|
|
163
|
-
* <a href="https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html">
|
|
163
|
+
* <a href="https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html">Step Functions Developer Guide</a>
|
|
164
164
|
* </i>.</p>
|
|
165
165
|
*/
|
|
166
166
|
export declare class SFNClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig> {
|
|
@@ -9,7 +9,7 @@ export interface CreateActivityCommandOutput extends CreateActivityOutput, __Met
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates an activity. An activity is a task that you write in any programming language and
|
|
12
|
-
* host on any machine that has access to
|
|
12
|
+
* host on any machine that has access to Step Functions. Activities must poll Step Functions using the
|
|
13
13
|
* <code>GetActivityTask</code> API action and respond using <code>SendTask*</code> API
|
|
14
14
|
* actions. This function lets Step Functions know the existence of your activity and returns an
|
|
15
15
|
* identifier for use in a state machine and when polling from the activity.</p>
|
|
@@ -13,7 +13,7 @@ export interface CreateStateMachineCommandOutput extends CreateStateMachineOutpu
|
|
|
13
13
|
* (<code>Choice</code> states), stop an execution with an error (<code>Fail</code> states),
|
|
14
14
|
* and so on. State machines are specified using a JSON-based, structured language. For more
|
|
15
15
|
* information, see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States
|
|
16
|
-
* Language</a> in the
|
|
16
|
+
* Language</a> in the Step Functions User Guide.</p>
|
|
17
17
|
* <note>
|
|
18
18
|
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
19
19
|
* </note>
|
|
@@ -22,9 +22,10 @@ export interface CreateStateMachineCommandOutput extends CreateStateMachineOutpu
|
|
|
22
22
|
* <code>CreateStateMachine</code> is an idempotent API. Subsequent requests won’t create a
|
|
23
23
|
* duplicate resource if it was already created. <code>CreateStateMachine</code>'s idempotency
|
|
24
24
|
* check is based on the state machine <code>name</code>, <code>definition</code>,
|
|
25
|
-
* <code>type</code>, <code>LoggingConfiguration</code> and
|
|
26
|
-
*
|
|
27
|
-
*
|
|
25
|
+
* <code>type</code>, <code>LoggingConfiguration</code> and
|
|
26
|
+
* <code>TracingConfiguration</code>. If a following request has a different
|
|
27
|
+
* <code>roleArn</code> or <code>tags</code>, Step Functions will ignore these differences and treat
|
|
28
|
+
* it as an idempotent request of the previous. In this case, <code>roleArn</code> and
|
|
28
29
|
* <code>tags</code> will not be updated, even if they are different.</p>
|
|
29
30
|
* </note>
|
|
30
31
|
* @example
|
|
@@ -11,7 +11,7 @@ export interface DeleteStateMachineCommandOutput extends DeleteStateMachineOutpu
|
|
|
11
11
|
* <p>Deletes a state machine. This is an asynchronous operation: It sets the state machine's
|
|
12
12
|
* status to <code>DELETING</code> and begins the deletion process. </p>
|
|
13
13
|
* <note>
|
|
14
|
-
* <p>For <code>EXPRESS</code>state machines, the deletion will happen eventually (usually
|
|
14
|
+
* <p>For <code>EXPRESS</code> state machines, the deletion will happen eventually (usually
|
|
15
15
|
* less than a minute). Running executions may emit logs after <code>DeleteStateMachine</code>
|
|
16
16
|
* API is called.</p>
|
|
17
17
|
* </note>
|
|
@@ -14,6 +14,11 @@ export interface GetActivityTaskCommandOutput extends GetActivityTaskOutput, __M
|
|
|
14
14
|
* an execution of a task of this type is needed.) The maximum time the service holds on to the
|
|
15
15
|
* request before responding is 60 seconds. If no task is available within 60 seconds, the poll
|
|
16
16
|
* returns a <code>taskToken</code> with a null string.</p>
|
|
17
|
+
*
|
|
18
|
+
* <note>
|
|
19
|
+
* <p>This API action isn't logged in CloudTrail.</p>
|
|
20
|
+
* </note>
|
|
21
|
+
*
|
|
17
22
|
* <important>
|
|
18
23
|
* <p>Workers should set their client side socket timeout to at least 65 seconds (5 seconds
|
|
19
24
|
* higher than the maximum time the service may hold the poll request).</p>
|
|
@@ -11,11 +11,13 @@ export interface StartExecutionCommandOutput extends StartExecutionOutput, __Met
|
|
|
11
11
|
* <p>Starts a state machine execution.</p>
|
|
12
12
|
* <note>
|
|
13
13
|
* <p>
|
|
14
|
-
* <code>StartExecution</code> is idempotent
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* days. </p>
|
|
14
|
+
* <code>StartExecution</code> is idempotent for <code>STANDARD</code> workflows. For a
|
|
15
|
+
* <code>STANDARD</code> workflow, if <code>StartExecution</code> is called with the same
|
|
16
|
+
* name and input as a running execution, the call will succeed and return the same response as
|
|
17
|
+
* the original request. If the execution is closed or if the input is different, it will
|
|
18
|
+
* return a <code>400 ExecutionAlreadyExists</code> error. Names can be reused after 90 days. </p>
|
|
19
|
+
* <p>
|
|
20
|
+
* <code>StartExecution</code> is not idempotent for <code>EXPRESS</code> workflows. </p>
|
|
19
21
|
* </note>
|
|
20
22
|
* @example
|
|
21
23
|
* Use a bare-bones client and the command you need to make an API call.
|