@aws-sdk/client-sfn 3.300.0 → 3.303.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.
Files changed (31) hide show
  1. package/dist-cjs/models/models_0.js +98 -106
  2. package/dist-es/models/models_0.js +98 -106
  3. package/dist-types/commands/CreateActivityCommand.d.ts +3 -3
  4. package/dist-types/commands/CreateStateMachineCommand.d.ts +8 -8
  5. package/dist-types/commands/DeleteActivityCommand.d.ts +1 -1
  6. package/dist-types/commands/DeleteStateMachineCommand.d.ts +1 -1
  7. package/dist-types/commands/DescribeActivityCommand.d.ts +1 -1
  8. package/dist-types/commands/DescribeExecutionCommand.d.ts +1 -1
  9. package/dist-types/commands/DescribeMapRunCommand.d.ts +1 -1
  10. package/dist-types/commands/DescribeStateMachineCommand.d.ts +1 -1
  11. package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +1 -1
  12. package/dist-types/commands/GetActivityTaskCommand.d.ts +1 -1
  13. package/dist-types/commands/GetExecutionHistoryCommand.d.ts +1 -1
  14. package/dist-types/commands/ListActivitiesCommand.d.ts +1 -1
  15. package/dist-types/commands/ListExecutionsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListMapRunsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListStateMachinesCommand.d.ts +1 -1
  18. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  19. package/dist-types/commands/SendTaskFailureCommand.d.ts +1 -1
  20. package/dist-types/commands/SendTaskHeartbeatCommand.d.ts +1 -1
  21. package/dist-types/commands/SendTaskSuccessCommand.d.ts +1 -1
  22. package/dist-types/commands/StartExecutionCommand.d.ts +1 -1
  23. package/dist-types/commands/StartSyncExecutionCommand.d.ts +1 -1
  24. package/dist-types/commands/StopExecutionCommand.d.ts +1 -1
  25. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  26. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  27. package/dist-types/commands/UpdateMapRunCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdateStateMachineCommand.d.ts +6 -6
  29. package/dist-types/models/models_0.d.ts +139 -99
  30. package/dist-types/ts3.4/models/models_0.d.ts +112 -98
  31. package/package.json +34 -34
@@ -84,12 +84,13 @@ export interface CloudWatchLogsLogGroup {
84
84
  export interface LogDestination {
85
85
  cloudWatchLogsLogGroup?: CloudWatchLogsLogGroup;
86
86
  }
87
- export declare enum LogLevel {
88
- ALL = "ALL",
89
- ERROR = "ERROR",
90
- FATAL = "FATAL",
91
- OFF = "OFF",
92
- }
87
+ export declare const LogLevel: {
88
+ readonly ALL: "ALL";
89
+ readonly ERROR: "ERROR";
90
+ readonly FATAL: "FATAL";
91
+ readonly OFF: "OFF";
92
+ };
93
+ export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
93
94
  export interface LoggingConfiguration {
94
95
  level?: LogLevel | string;
95
96
  includeExecutionData?: boolean;
@@ -98,10 +99,12 @@ export interface LoggingConfiguration {
98
99
  export interface TracingConfiguration {
99
100
  enabled?: boolean;
100
101
  }
101
- export declare enum StateMachineType {
102
- EXPRESS = "EXPRESS",
103
- STANDARD = "STANDARD",
104
- }
102
+ export declare const StateMachineType: {
103
+ readonly EXPRESS: "EXPRESS";
104
+ readonly STANDARD: "STANDARD";
105
+ };
106
+ export type StateMachineType =
107
+ (typeof StateMachineType)[keyof typeof StateMachineType];
105
108
  export interface CreateStateMachineInput {
106
109
  name: string | undefined;
107
110
  definition: string | undefined;
@@ -175,11 +178,13 @@ export interface DeleteStateMachineInput {
175
178
  stateMachineArn: string | undefined;
176
179
  }
177
180
  export interface DeleteStateMachineOutput {}
178
- export declare enum ValidationExceptionReason {
179
- API_DOES_NOT_SUPPORT_LABELED_ARNS = "API_DOES_NOT_SUPPORT_LABELED_ARNS",
180
- CANNOT_UPDATE_COMPLETED_MAP_RUN = "CANNOT_UPDATE_COMPLETED_MAP_RUN",
181
- MISSING_REQUIRED_PARAMETER = "MISSING_REQUIRED_PARAMETER",
182
- }
181
+ export declare const ValidationExceptionReason: {
182
+ readonly API_DOES_NOT_SUPPORT_LABELED_ARNS: "API_DOES_NOT_SUPPORT_LABELED_ARNS";
183
+ readonly CANNOT_UPDATE_COMPLETED_MAP_RUN: "CANNOT_UPDATE_COMPLETED_MAP_RUN";
184
+ readonly MISSING_REQUIRED_PARAMETER: "MISSING_REQUIRED_PARAMETER";
185
+ };
186
+ export type ValidationExceptionReason =
187
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
183
188
  export declare class ValidationException extends __BaseException {
184
189
  readonly name: "ValidationException";
185
190
  readonly $fault: "client";
@@ -202,13 +207,15 @@ export interface DescribeExecutionInput {
202
207
  export interface CloudWatchEventsExecutionDataDetails {
203
208
  included?: boolean;
204
209
  }
205
- export declare enum ExecutionStatus {
206
- ABORTED = "ABORTED",
207
- FAILED = "FAILED",
208
- RUNNING = "RUNNING",
209
- SUCCEEDED = "SUCCEEDED",
210
- TIMED_OUT = "TIMED_OUT",
211
- }
210
+ export declare const ExecutionStatus: {
211
+ readonly ABORTED: "ABORTED";
212
+ readonly FAILED: "FAILED";
213
+ readonly RUNNING: "RUNNING";
214
+ readonly SUCCEEDED: "SUCCEEDED";
215
+ readonly TIMED_OUT: "TIMED_OUT";
216
+ };
217
+ export type ExecutionStatus =
218
+ (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
212
219
  export interface DescribeExecutionOutput {
213
220
  executionArn: string | undefined;
214
221
  stateMachineArn: string | undefined;
@@ -255,12 +262,13 @@ export interface MapRunItemCounts {
255
262
  total: number | undefined;
256
263
  resultsWritten: number | undefined;
257
264
  }
258
- export declare enum MapRunStatus {
259
- ABORTED = "ABORTED",
260
- FAILED = "FAILED",
261
- RUNNING = "RUNNING",
262
- SUCCEEDED = "SUCCEEDED",
263
- }
265
+ export declare const MapRunStatus: {
266
+ readonly ABORTED: "ABORTED";
267
+ readonly FAILED: "FAILED";
268
+ readonly RUNNING: "RUNNING";
269
+ readonly SUCCEEDED: "SUCCEEDED";
270
+ };
271
+ export type MapRunStatus = (typeof MapRunStatus)[keyof typeof MapRunStatus];
264
272
  export interface DescribeMapRunOutput {
265
273
  mapRunArn: string | undefined;
266
274
  executionArn: string | undefined;
@@ -282,10 +290,12 @@ export declare class ResourceNotFound extends __BaseException {
282
290
  export interface DescribeStateMachineInput {
283
291
  stateMachineArn: string | undefined;
284
292
  }
285
- export declare enum StateMachineStatus {
286
- ACTIVE = "ACTIVE",
287
- DELETING = "DELETING",
288
- }
293
+ export declare const StateMachineStatus: {
294
+ readonly ACTIVE: "ACTIVE";
295
+ readonly DELETING: "DELETING";
296
+ };
297
+ export type StateMachineStatus =
298
+ (typeof StateMachineStatus)[keyof typeof StateMachineStatus];
289
299
  export interface DescribeStateMachineOutput {
290
300
  stateMachineArn: string | undefined;
291
301
  name: string | undefined;
@@ -458,67 +468,69 @@ export interface TaskTimedOutEventDetails {
458
468
  error?: string;
459
469
  cause?: string;
460
470
  }
461
- export declare enum HistoryEventType {
462
- ActivityFailed = "ActivityFailed",
463
- ActivityScheduleFailed = "ActivityScheduleFailed",
464
- ActivityScheduled = "ActivityScheduled",
465
- ActivityStarted = "ActivityStarted",
466
- ActivitySucceeded = "ActivitySucceeded",
467
- ActivityTimedOut = "ActivityTimedOut",
468
- ChoiceStateEntered = "ChoiceStateEntered",
469
- ChoiceStateExited = "ChoiceStateExited",
470
- ExecutionAborted = "ExecutionAborted",
471
- ExecutionFailed = "ExecutionFailed",
472
- ExecutionStarted = "ExecutionStarted",
473
- ExecutionSucceeded = "ExecutionSucceeded",
474
- ExecutionTimedOut = "ExecutionTimedOut",
475
- FailStateEntered = "FailStateEntered",
476
- LambdaFunctionFailed = "LambdaFunctionFailed",
477
- LambdaFunctionScheduleFailed = "LambdaFunctionScheduleFailed",
478
- LambdaFunctionScheduled = "LambdaFunctionScheduled",
479
- LambdaFunctionStartFailed = "LambdaFunctionStartFailed",
480
- LambdaFunctionStarted = "LambdaFunctionStarted",
481
- LambdaFunctionSucceeded = "LambdaFunctionSucceeded",
482
- LambdaFunctionTimedOut = "LambdaFunctionTimedOut",
483
- MapIterationAborted = "MapIterationAborted",
484
- MapIterationFailed = "MapIterationFailed",
485
- MapIterationStarted = "MapIterationStarted",
486
- MapIterationSucceeded = "MapIterationSucceeded",
487
- MapRunAborted = "MapRunAborted",
488
- MapRunFailed = "MapRunFailed",
489
- MapRunStarted = "MapRunStarted",
490
- MapRunSucceeded = "MapRunSucceeded",
491
- MapStateAborted = "MapStateAborted",
492
- MapStateEntered = "MapStateEntered",
493
- MapStateExited = "MapStateExited",
494
- MapStateFailed = "MapStateFailed",
495
- MapStateStarted = "MapStateStarted",
496
- MapStateSucceeded = "MapStateSucceeded",
497
- ParallelStateAborted = "ParallelStateAborted",
498
- ParallelStateEntered = "ParallelStateEntered",
499
- ParallelStateExited = "ParallelStateExited",
500
- ParallelStateFailed = "ParallelStateFailed",
501
- ParallelStateStarted = "ParallelStateStarted",
502
- ParallelStateSucceeded = "ParallelStateSucceeded",
503
- PassStateEntered = "PassStateEntered",
504
- PassStateExited = "PassStateExited",
505
- SucceedStateEntered = "SucceedStateEntered",
506
- SucceedStateExited = "SucceedStateExited",
507
- TaskFailed = "TaskFailed",
508
- TaskScheduled = "TaskScheduled",
509
- TaskStartFailed = "TaskStartFailed",
510
- TaskStarted = "TaskStarted",
511
- TaskStateAborted = "TaskStateAborted",
512
- TaskStateEntered = "TaskStateEntered",
513
- TaskStateExited = "TaskStateExited",
514
- TaskSubmitFailed = "TaskSubmitFailed",
515
- TaskSubmitted = "TaskSubmitted",
516
- TaskSucceeded = "TaskSucceeded",
517
- TaskTimedOut = "TaskTimedOut",
518
- WaitStateAborted = "WaitStateAborted",
519
- WaitStateEntered = "WaitStateEntered",
520
- WaitStateExited = "WaitStateExited",
521
- }
471
+ export declare const HistoryEventType: {
472
+ readonly ActivityFailed: "ActivityFailed";
473
+ readonly ActivityScheduleFailed: "ActivityScheduleFailed";
474
+ readonly ActivityScheduled: "ActivityScheduled";
475
+ readonly ActivityStarted: "ActivityStarted";
476
+ readonly ActivitySucceeded: "ActivitySucceeded";
477
+ readonly ActivityTimedOut: "ActivityTimedOut";
478
+ readonly ChoiceStateEntered: "ChoiceStateEntered";
479
+ readonly ChoiceStateExited: "ChoiceStateExited";
480
+ readonly ExecutionAborted: "ExecutionAborted";
481
+ readonly ExecutionFailed: "ExecutionFailed";
482
+ readonly ExecutionStarted: "ExecutionStarted";
483
+ readonly ExecutionSucceeded: "ExecutionSucceeded";
484
+ readonly ExecutionTimedOut: "ExecutionTimedOut";
485
+ readonly FailStateEntered: "FailStateEntered";
486
+ readonly LambdaFunctionFailed: "LambdaFunctionFailed";
487
+ readonly LambdaFunctionScheduleFailed: "LambdaFunctionScheduleFailed";
488
+ readonly LambdaFunctionScheduled: "LambdaFunctionScheduled";
489
+ readonly LambdaFunctionStartFailed: "LambdaFunctionStartFailed";
490
+ readonly LambdaFunctionStarted: "LambdaFunctionStarted";
491
+ readonly LambdaFunctionSucceeded: "LambdaFunctionSucceeded";
492
+ readonly LambdaFunctionTimedOut: "LambdaFunctionTimedOut";
493
+ readonly MapIterationAborted: "MapIterationAborted";
494
+ readonly MapIterationFailed: "MapIterationFailed";
495
+ readonly MapIterationStarted: "MapIterationStarted";
496
+ readonly MapIterationSucceeded: "MapIterationSucceeded";
497
+ readonly MapRunAborted: "MapRunAborted";
498
+ readonly MapRunFailed: "MapRunFailed";
499
+ readonly MapRunStarted: "MapRunStarted";
500
+ readonly MapRunSucceeded: "MapRunSucceeded";
501
+ readonly MapStateAborted: "MapStateAborted";
502
+ readonly MapStateEntered: "MapStateEntered";
503
+ readonly MapStateExited: "MapStateExited";
504
+ readonly MapStateFailed: "MapStateFailed";
505
+ readonly MapStateStarted: "MapStateStarted";
506
+ readonly MapStateSucceeded: "MapStateSucceeded";
507
+ readonly ParallelStateAborted: "ParallelStateAborted";
508
+ readonly ParallelStateEntered: "ParallelStateEntered";
509
+ readonly ParallelStateExited: "ParallelStateExited";
510
+ readonly ParallelStateFailed: "ParallelStateFailed";
511
+ readonly ParallelStateStarted: "ParallelStateStarted";
512
+ readonly ParallelStateSucceeded: "ParallelStateSucceeded";
513
+ readonly PassStateEntered: "PassStateEntered";
514
+ readonly PassStateExited: "PassStateExited";
515
+ readonly SucceedStateEntered: "SucceedStateEntered";
516
+ readonly SucceedStateExited: "SucceedStateExited";
517
+ readonly TaskFailed: "TaskFailed";
518
+ readonly TaskScheduled: "TaskScheduled";
519
+ readonly TaskStartFailed: "TaskStartFailed";
520
+ readonly TaskStarted: "TaskStarted";
521
+ readonly TaskStateAborted: "TaskStateAborted";
522
+ readonly TaskStateEntered: "TaskStateEntered";
523
+ readonly TaskStateExited: "TaskStateExited";
524
+ readonly TaskSubmitFailed: "TaskSubmitFailed";
525
+ readonly TaskSubmitted: "TaskSubmitted";
526
+ readonly TaskSucceeded: "TaskSucceeded";
527
+ readonly TaskTimedOut: "TaskTimedOut";
528
+ readonly WaitStateAborted: "WaitStateAborted";
529
+ readonly WaitStateEntered: "WaitStateEntered";
530
+ readonly WaitStateExited: "WaitStateExited";
531
+ };
532
+ export type HistoryEventType =
533
+ (typeof HistoryEventType)[keyof typeof HistoryEventType];
522
534
  export interface HistoryEvent {
523
535
  timestamp: Date | undefined;
524
536
  type: HistoryEventType | string | undefined;
@@ -704,11 +716,13 @@ export interface BillingDetails {
704
716
  billedMemoryUsedInMB?: number;
705
717
  billedDurationInMilliseconds?: number;
706
718
  }
707
- export declare enum SyncExecutionStatus {
708
- FAILED = "FAILED",
709
- SUCCEEDED = "SUCCEEDED",
710
- TIMED_OUT = "TIMED_OUT",
711
- }
719
+ export declare const SyncExecutionStatus: {
720
+ readonly FAILED: "FAILED";
721
+ readonly SUCCEEDED: "SUCCEEDED";
722
+ readonly TIMED_OUT: "TIMED_OUT";
723
+ };
724
+ export type SyncExecutionStatus =
725
+ (typeof SyncExecutionStatus)[keyof typeof SyncExecutionStatus];
712
726
  export interface StartSyncExecutionOutput {
713
727
  executionArn: string | undefined;
714
728
  stateMachineArn?: string;
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.300.0",
4
+ "version": "3.303.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,42 +21,42 @@
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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",