@aws-sdk/client-sfn 3.213.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 +1 -1
|
@@ -84,7 +84,12 @@ export interface CloudWatchLogsLogGroup {
|
|
|
84
84
|
export interface LogDestination {
|
|
85
85
|
cloudWatchLogsLogGroup?: CloudWatchLogsLogGroup;
|
|
86
86
|
}
|
|
87
|
-
export declare
|
|
87
|
+
export declare enum LogLevel {
|
|
88
|
+
ALL = "ALL",
|
|
89
|
+
ERROR = "ERROR",
|
|
90
|
+
FATAL = "FATAL",
|
|
91
|
+
OFF = "OFF",
|
|
92
|
+
}
|
|
88
93
|
export interface LoggingConfiguration {
|
|
89
94
|
level?: LogLevel | string;
|
|
90
95
|
includeExecutionData?: boolean;
|
|
@@ -93,7 +98,10 @@ export interface LoggingConfiguration {
|
|
|
93
98
|
export interface TracingConfiguration {
|
|
94
99
|
enabled?: boolean;
|
|
95
100
|
}
|
|
96
|
-
export declare
|
|
101
|
+
export declare enum StateMachineType {
|
|
102
|
+
EXPRESS = "EXPRESS",
|
|
103
|
+
STANDARD = "STANDARD",
|
|
104
|
+
}
|
|
97
105
|
export interface CreateStateMachineInput {
|
|
98
106
|
name: string | undefined;
|
|
99
107
|
definition: string | undefined;
|
|
@@ -181,12 +189,13 @@ export interface DescribeExecutionInput {
|
|
|
181
189
|
export interface CloudWatchEventsExecutionDataDetails {
|
|
182
190
|
included?: boolean;
|
|
183
191
|
}
|
|
184
|
-
export declare
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
192
|
+
export declare enum ExecutionStatus {
|
|
193
|
+
ABORTED = "ABORTED",
|
|
194
|
+
FAILED = "FAILED",
|
|
195
|
+
RUNNING = "RUNNING",
|
|
196
|
+
SUCCEEDED = "SUCCEEDED",
|
|
197
|
+
TIMED_OUT = "TIMED_OUT",
|
|
198
|
+
}
|
|
190
199
|
export interface DescribeExecutionOutput {
|
|
191
200
|
executionArn: string | undefined;
|
|
192
201
|
stateMachineArn: string | undefined;
|
|
@@ -210,7 +219,10 @@ export declare class ExecutionDoesNotExist extends __BaseException {
|
|
|
210
219
|
export interface DescribeStateMachineInput {
|
|
211
220
|
stateMachineArn: string | undefined;
|
|
212
221
|
}
|
|
213
|
-
export declare
|
|
222
|
+
export declare enum StateMachineStatus {
|
|
223
|
+
ACTIVE = "ACTIVE",
|
|
224
|
+
DELETING = "DELETING",
|
|
225
|
+
}
|
|
214
226
|
export interface DescribeStateMachineOutput {
|
|
215
227
|
stateMachineArn: string | undefined;
|
|
216
228
|
name: string | undefined;
|
|
@@ -281,11 +293,15 @@ export interface LambdaFunctionFailedEventDetails {
|
|
|
281
293
|
error?: string;
|
|
282
294
|
cause?: string;
|
|
283
295
|
}
|
|
296
|
+
export interface TaskCredentials {
|
|
297
|
+
roleArn?: string;
|
|
298
|
+
}
|
|
284
299
|
export interface LambdaFunctionScheduledEventDetails {
|
|
285
300
|
resource: string | undefined;
|
|
286
301
|
input?: string;
|
|
287
302
|
inputDetails?: HistoryEventExecutionDataDetails;
|
|
288
303
|
timeoutInSeconds?: number;
|
|
304
|
+
taskCredentials?: TaskCredentials;
|
|
289
305
|
}
|
|
290
306
|
export interface LambdaFunctionScheduleFailedEventDetails {
|
|
291
307
|
error?: string;
|
|
@@ -333,6 +349,7 @@ export interface TaskScheduledEventDetails {
|
|
|
333
349
|
parameters: string | undefined;
|
|
334
350
|
timeoutInSeconds?: number;
|
|
335
351
|
heartbeatInSeconds?: number;
|
|
352
|
+
taskCredentials?: TaskCredentials;
|
|
336
353
|
}
|
|
337
354
|
export interface TaskStartedEventDetails {
|
|
338
355
|
resourceType: string | undefined;
|
|
@@ -368,62 +385,63 @@ export interface TaskTimedOutEventDetails {
|
|
|
368
385
|
error?: string;
|
|
369
386
|
cause?: string;
|
|
370
387
|
}
|
|
371
|
-
export declare
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
388
|
+
export declare enum HistoryEventType {
|
|
389
|
+
ActivityFailed = "ActivityFailed",
|
|
390
|
+
ActivityScheduleFailed = "ActivityScheduleFailed",
|
|
391
|
+
ActivityScheduled = "ActivityScheduled",
|
|
392
|
+
ActivityStarted = "ActivityStarted",
|
|
393
|
+
ActivitySucceeded = "ActivitySucceeded",
|
|
394
|
+
ActivityTimedOut = "ActivityTimedOut",
|
|
395
|
+
ChoiceStateEntered = "ChoiceStateEntered",
|
|
396
|
+
ChoiceStateExited = "ChoiceStateExited",
|
|
397
|
+
ExecutionAborted = "ExecutionAborted",
|
|
398
|
+
ExecutionFailed = "ExecutionFailed",
|
|
399
|
+
ExecutionStarted = "ExecutionStarted",
|
|
400
|
+
ExecutionSucceeded = "ExecutionSucceeded",
|
|
401
|
+
ExecutionTimedOut = "ExecutionTimedOut",
|
|
402
|
+
FailStateEntered = "FailStateEntered",
|
|
403
|
+
LambdaFunctionFailed = "LambdaFunctionFailed",
|
|
404
|
+
LambdaFunctionScheduleFailed = "LambdaFunctionScheduleFailed",
|
|
405
|
+
LambdaFunctionScheduled = "LambdaFunctionScheduled",
|
|
406
|
+
LambdaFunctionStartFailed = "LambdaFunctionStartFailed",
|
|
407
|
+
LambdaFunctionStarted = "LambdaFunctionStarted",
|
|
408
|
+
LambdaFunctionSucceeded = "LambdaFunctionSucceeded",
|
|
409
|
+
LambdaFunctionTimedOut = "LambdaFunctionTimedOut",
|
|
410
|
+
MapIterationAborted = "MapIterationAborted",
|
|
411
|
+
MapIterationFailed = "MapIterationFailed",
|
|
412
|
+
MapIterationStarted = "MapIterationStarted",
|
|
413
|
+
MapIterationSucceeded = "MapIterationSucceeded",
|
|
414
|
+
MapStateAborted = "MapStateAborted",
|
|
415
|
+
MapStateEntered = "MapStateEntered",
|
|
416
|
+
MapStateExited = "MapStateExited",
|
|
417
|
+
MapStateFailed = "MapStateFailed",
|
|
418
|
+
MapStateStarted = "MapStateStarted",
|
|
419
|
+
MapStateSucceeded = "MapStateSucceeded",
|
|
420
|
+
ParallelStateAborted = "ParallelStateAborted",
|
|
421
|
+
ParallelStateEntered = "ParallelStateEntered",
|
|
422
|
+
ParallelStateExited = "ParallelStateExited",
|
|
423
|
+
ParallelStateFailed = "ParallelStateFailed",
|
|
424
|
+
ParallelStateStarted = "ParallelStateStarted",
|
|
425
|
+
ParallelStateSucceeded = "ParallelStateSucceeded",
|
|
426
|
+
PassStateEntered = "PassStateEntered",
|
|
427
|
+
PassStateExited = "PassStateExited",
|
|
428
|
+
SucceedStateEntered = "SucceedStateEntered",
|
|
429
|
+
SucceedStateExited = "SucceedStateExited",
|
|
430
|
+
TaskFailed = "TaskFailed",
|
|
431
|
+
TaskScheduled = "TaskScheduled",
|
|
432
|
+
TaskStartFailed = "TaskStartFailed",
|
|
433
|
+
TaskStarted = "TaskStarted",
|
|
434
|
+
TaskStateAborted = "TaskStateAborted",
|
|
435
|
+
TaskStateEntered = "TaskStateEntered",
|
|
436
|
+
TaskStateExited = "TaskStateExited",
|
|
437
|
+
TaskSubmitFailed = "TaskSubmitFailed",
|
|
438
|
+
TaskSubmitted = "TaskSubmitted",
|
|
439
|
+
TaskSucceeded = "TaskSucceeded",
|
|
440
|
+
TaskTimedOut = "TaskTimedOut",
|
|
441
|
+
WaitStateAborted = "WaitStateAborted",
|
|
442
|
+
WaitStateEntered = "WaitStateEntered",
|
|
443
|
+
WaitStateExited = "WaitStateExited",
|
|
444
|
+
}
|
|
427
445
|
export interface HistoryEvent {
|
|
428
446
|
timestamp: Date | undefined;
|
|
429
447
|
type: HistoryEventType | string | undefined;
|
|
@@ -594,7 +612,11 @@ export interface BillingDetails {
|
|
|
594
612
|
billedMemoryUsedInMB?: number;
|
|
595
613
|
billedDurationInMilliseconds?: number;
|
|
596
614
|
}
|
|
597
|
-
export declare
|
|
615
|
+
export declare enum SyncExecutionStatus {
|
|
616
|
+
FAILED = "FAILED",
|
|
617
|
+
SUCCEEDED = "SUCCEEDED",
|
|
618
|
+
TIMED_OUT = "TIMED_OUT",
|
|
619
|
+
}
|
|
598
620
|
export interface StartSyncExecutionOutput {
|
|
599
621
|
executionArn: string | undefined;
|
|
600
622
|
stateMachineArn?: string;
|
|
@@ -761,6 +783,9 @@ export declare const ExecutionTimedOutEventDetailsFilterSensitiveLog: (
|
|
|
761
783
|
export declare const LambdaFunctionFailedEventDetailsFilterSensitiveLog: (
|
|
762
784
|
obj: LambdaFunctionFailedEventDetails
|
|
763
785
|
) => any;
|
|
786
|
+
export declare const TaskCredentialsFilterSensitiveLog: (
|
|
787
|
+
obj: TaskCredentials
|
|
788
|
+
) => any;
|
|
764
789
|
export declare const LambdaFunctionScheduledEventDetailsFilterSensitiveLog: (
|
|
765
790
|
obj: LambdaFunctionScheduledEventDetails
|
|
766
791
|
) => any;
|
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.214.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",
|