@aws-sdk/client-sfn 3.687.0 → 3.691.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.
@@ -15,8 +15,8 @@ export declare class ActivityDoesNotExist extends __BaseException {
15
15
  );
16
16
  }
17
17
  export interface ActivityFailedEventDetails {
18
- error?: string;
19
- cause?: string;
18
+ error?: string | undefined;
19
+ cause?: string | undefined;
20
20
  }
21
21
  export declare class ActivityLimitExceeded extends __BaseException {
22
22
  readonly name: "ActivityLimitExceeded";
@@ -31,29 +31,29 @@ export interface ActivityListItem {
31
31
  creationDate: Date | undefined;
32
32
  }
33
33
  export interface HistoryEventExecutionDataDetails {
34
- truncated?: boolean;
34
+ truncated?: boolean | undefined;
35
35
  }
36
36
  export interface ActivityScheduledEventDetails {
37
37
  resource: string | undefined;
38
- input?: string;
39
- inputDetails?: HistoryEventExecutionDataDetails;
40
- timeoutInSeconds?: number;
41
- heartbeatInSeconds?: number;
38
+ input?: string | undefined;
39
+ inputDetails?: HistoryEventExecutionDataDetails | undefined;
40
+ timeoutInSeconds?: number | undefined;
41
+ heartbeatInSeconds?: number | undefined;
42
42
  }
43
43
  export interface ActivityScheduleFailedEventDetails {
44
- error?: string;
45
- cause?: string;
44
+ error?: string | undefined;
45
+ cause?: string | undefined;
46
46
  }
47
47
  export interface ActivityStartedEventDetails {
48
- workerName?: string;
48
+ workerName?: string | undefined;
49
49
  }
50
50
  export interface ActivitySucceededEventDetails {
51
- output?: string;
52
- outputDetails?: HistoryEventExecutionDataDetails;
51
+ output?: string | undefined;
52
+ outputDetails?: HistoryEventExecutionDataDetails | undefined;
53
53
  }
54
54
  export interface ActivityTimedOutEventDetails {
55
- error?: string;
56
- cause?: string;
55
+ error?: string | undefined;
56
+ cause?: string | undefined;
57
57
  }
58
58
  export declare class ActivityWorkerLimitExceeded extends __BaseException {
59
59
  readonly name: "ActivityWorkerLimitExceeded";
@@ -69,18 +69,18 @@ export declare const EncryptionType: {
69
69
  export type EncryptionType =
70
70
  (typeof EncryptionType)[keyof typeof EncryptionType];
71
71
  export interface EncryptionConfiguration {
72
- kmsKeyId?: string;
73
- kmsDataKeyReusePeriodSeconds?: number;
72
+ kmsKeyId?: string | undefined;
73
+ kmsDataKeyReusePeriodSeconds?: number | undefined;
74
74
  type: EncryptionType | undefined;
75
75
  }
76
76
  export interface Tag {
77
- key?: string;
78
- value?: string;
77
+ key?: string | undefined;
78
+ value?: string | undefined;
79
79
  }
80
80
  export interface CreateActivityInput {
81
81
  name: string | undefined;
82
- tags?: Tag[];
83
- encryptionConfiguration?: EncryptionConfiguration;
82
+ tags?: Tag[] | undefined;
83
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
84
84
  }
85
85
  export interface CreateActivityOutput {
86
86
  activityArn: string | undefined;
@@ -115,7 +115,7 @@ export declare class KmsThrottlingException extends __BaseException {
115
115
  export declare class TooManyTags extends __BaseException {
116
116
  readonly name: "TooManyTags";
117
117
  readonly $fault: "client";
118
- resourceName?: string;
118
+ resourceName?: string | undefined;
119
119
  constructor(opts: __ExceptionOptionType<TooManyTags, __BaseException>);
120
120
  }
121
121
  export declare class ConflictException extends __BaseException {
@@ -124,10 +124,10 @@ export declare class ConflictException extends __BaseException {
124
124
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
125
125
  }
126
126
  export interface CloudWatchLogsLogGroup {
127
- logGroupArn?: string;
127
+ logGroupArn?: string | undefined;
128
128
  }
129
129
  export interface LogDestination {
130
- cloudWatchLogsLogGroup?: CloudWatchLogsLogGroup;
130
+ cloudWatchLogsLogGroup?: CloudWatchLogsLogGroup | undefined;
131
131
  }
132
132
  export declare const LogLevel: {
133
133
  readonly ALL: "ALL";
@@ -137,12 +137,12 @@ export declare const LogLevel: {
137
137
  };
138
138
  export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
139
139
  export interface LoggingConfiguration {
140
- level?: LogLevel;
141
- includeExecutionData?: boolean;
142
- destinations?: LogDestination[];
140
+ level?: LogLevel | undefined;
141
+ includeExecutionData?: boolean | undefined;
142
+ destinations?: LogDestination[] | undefined;
143
143
  }
144
144
  export interface TracingConfiguration {
145
- enabled?: boolean;
145
+ enabled?: boolean | undefined;
146
146
  }
147
147
  export declare const StateMachineType: {
148
148
  readonly EXPRESS: "EXPRESS";
@@ -154,18 +154,18 @@ export interface CreateStateMachineInput {
154
154
  name: string | undefined;
155
155
  definition: string | undefined;
156
156
  roleArn: string | undefined;
157
- type?: StateMachineType;
158
- loggingConfiguration?: LoggingConfiguration;
159
- tags?: Tag[];
160
- tracingConfiguration?: TracingConfiguration;
161
- publish?: boolean;
162
- versionDescription?: string;
163
- encryptionConfiguration?: EncryptionConfiguration;
157
+ type?: StateMachineType | undefined;
158
+ loggingConfiguration?: LoggingConfiguration | undefined;
159
+ tags?: Tag[] | undefined;
160
+ tracingConfiguration?: TracingConfiguration | undefined;
161
+ publish?: boolean | undefined;
162
+ versionDescription?: string | undefined;
163
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
164
164
  }
165
165
  export interface CreateStateMachineOutput {
166
166
  stateMachineArn: string | undefined;
167
167
  creationDate: Date | undefined;
168
- stateMachineVersionArn?: string;
168
+ stateMachineVersionArn?: string | undefined;
169
169
  }
170
170
  export declare class InvalidArn extends __BaseException {
171
171
  readonly name: "InvalidArn";
@@ -230,7 +230,7 @@ export type ValidationExceptionReason =
230
230
  export declare class ValidationException extends __BaseException {
231
231
  readonly name: "ValidationException";
232
232
  readonly $fault: "client";
233
- reason?: ValidationExceptionReason;
233
+ reason?: ValidationExceptionReason | undefined;
234
234
  constructor(
235
235
  opts: __ExceptionOptionType<ValidationException, __BaseException>
236
236
  );
@@ -240,7 +240,7 @@ export interface RoutingConfigurationListItem {
240
240
  weight: number | undefined;
241
241
  }
242
242
  export interface CreateStateMachineAliasInput {
243
- description?: string;
243
+ description?: string | undefined;
244
244
  name: string | undefined;
245
245
  routingConfiguration: RoutingConfigurationListItem[] | undefined;
246
246
  }
@@ -251,7 +251,7 @@ export interface CreateStateMachineAliasOutput {
251
251
  export declare class ResourceNotFound extends __BaseException {
252
252
  readonly name: "ResourceNotFound";
253
253
  readonly $fault: "client";
254
- resourceName?: string;
254
+ resourceName?: string | undefined;
255
255
  constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
256
256
  }
257
257
  export declare class ServiceQuotaExceededException extends __BaseException {
@@ -284,7 +284,7 @@ export interface DescribeActivityOutput {
284
284
  activityArn: string | undefined;
285
285
  name: string | undefined;
286
286
  creationDate: Date | undefined;
287
- encryptionConfiguration?: EncryptionConfiguration;
287
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
288
288
  }
289
289
  export declare const IncludedData: {
290
290
  readonly ALL_DATA: "ALL_DATA";
@@ -293,10 +293,10 @@ export declare const IncludedData: {
293
293
  export type IncludedData = (typeof IncludedData)[keyof typeof IncludedData];
294
294
  export interface DescribeExecutionInput {
295
295
  executionArn: string | undefined;
296
- includedData?: IncludedData;
296
+ includedData?: IncludedData | undefined;
297
297
  }
298
298
  export interface CloudWatchEventsExecutionDataDetails {
299
- included?: boolean;
299
+ included?: boolean | undefined;
300
300
  }
301
301
  export declare const ExecutionRedriveStatus: {
302
302
  readonly NOT_REDRIVABLE: "NOT_REDRIVABLE";
@@ -318,24 +318,24 @@ export type ExecutionStatus =
318
318
  export interface DescribeExecutionOutput {
319
319
  executionArn: string | undefined;
320
320
  stateMachineArn: string | undefined;
321
- name?: string;
321
+ name?: string | undefined;
322
322
  status: ExecutionStatus | undefined;
323
323
  startDate: Date | undefined;
324
- stopDate?: Date;
325
- input?: string;
326
- inputDetails?: CloudWatchEventsExecutionDataDetails;
327
- output?: string;
328
- outputDetails?: CloudWatchEventsExecutionDataDetails;
329
- traceHeader?: string;
330
- mapRunArn?: string;
331
- error?: string;
332
- cause?: string;
333
- stateMachineVersionArn?: string;
334
- stateMachineAliasArn?: string;
335
- redriveCount?: number;
336
- redriveDate?: Date;
337
- redriveStatus?: ExecutionRedriveStatus;
338
- redriveStatusReason?: string;
324
+ stopDate?: Date | undefined;
325
+ input?: string | undefined;
326
+ inputDetails?: CloudWatchEventsExecutionDataDetails | undefined;
327
+ output?: string | undefined;
328
+ outputDetails?: CloudWatchEventsExecutionDataDetails | undefined;
329
+ traceHeader?: string | undefined;
330
+ mapRunArn?: string | undefined;
331
+ error?: string | undefined;
332
+ cause?: string | undefined;
333
+ stateMachineVersionArn?: string | undefined;
334
+ stateMachineAliasArn?: string | undefined;
335
+ redriveCount?: number | undefined;
336
+ redriveDate?: Date | undefined;
337
+ redriveStatus?: ExecutionRedriveStatus | undefined;
338
+ redriveStatusReason?: string | undefined;
339
339
  }
340
340
  export declare class ExecutionDoesNotExist extends __BaseException {
341
341
  readonly name: "ExecutionDoesNotExist";
@@ -355,7 +355,7 @@ export type KmsKeyState = (typeof KmsKeyState)[keyof typeof KmsKeyState];
355
355
  export declare class KmsInvalidStateException extends __BaseException {
356
356
  readonly name: "KmsInvalidStateException";
357
357
  readonly $fault: "client";
358
- kmsKeyState?: KmsKeyState;
358
+ kmsKeyState?: KmsKeyState | undefined;
359
359
  constructor(
360
360
  opts: __ExceptionOptionType<KmsInvalidStateException, __BaseException>
361
361
  );
@@ -372,8 +372,8 @@ export interface MapRunExecutionCounts {
372
372
  aborted: number | undefined;
373
373
  total: number | undefined;
374
374
  resultsWritten: number | undefined;
375
- failuresNotRedrivable?: number;
376
- pendingRedrive?: number;
375
+ failuresNotRedrivable?: number | undefined;
376
+ pendingRedrive?: number | undefined;
377
377
  }
378
378
  export interface MapRunItemCounts {
379
379
  pending: number | undefined;
@@ -384,8 +384,8 @@ export interface MapRunItemCounts {
384
384
  aborted: number | undefined;
385
385
  total: number | undefined;
386
386
  resultsWritten: number | undefined;
387
- failuresNotRedrivable?: number;
388
- pendingRedrive?: number;
387
+ failuresNotRedrivable?: number | undefined;
388
+ pendingRedrive?: number | undefined;
389
389
  }
390
390
  export declare const MapRunStatus: {
391
391
  readonly ABORTED: "ABORTED";
@@ -399,18 +399,18 @@ export interface DescribeMapRunOutput {
399
399
  executionArn: string | undefined;
400
400
  status: MapRunStatus | undefined;
401
401
  startDate: Date | undefined;
402
- stopDate?: Date;
402
+ stopDate?: Date | undefined;
403
403
  maxConcurrency: number | undefined;
404
404
  toleratedFailurePercentage: number | undefined;
405
405
  toleratedFailureCount: number | undefined;
406
406
  itemCounts: MapRunItemCounts | undefined;
407
407
  executionCounts: MapRunExecutionCounts | undefined;
408
- redriveCount?: number;
409
- redriveDate?: Date;
408
+ redriveCount?: number | undefined;
409
+ redriveDate?: Date | undefined;
410
410
  }
411
411
  export interface DescribeStateMachineInput {
412
412
  stateMachineArn: string | undefined;
413
- includedData?: IncludedData;
413
+ includedData?: IncludedData | undefined;
414
414
  }
415
415
  export declare const StateMachineStatus: {
416
416
  readonly ACTIVE: "ACTIVE";
@@ -421,17 +421,17 @@ export type StateMachineStatus =
421
421
  export interface DescribeStateMachineOutput {
422
422
  stateMachineArn: string | undefined;
423
423
  name: string | undefined;
424
- status?: StateMachineStatus;
424
+ status?: StateMachineStatus | undefined;
425
425
  definition: string | undefined;
426
426
  roleArn: string | undefined;
427
427
  type: StateMachineType | undefined;
428
428
  creationDate: Date | undefined;
429
- loggingConfiguration?: LoggingConfiguration;
430
- tracingConfiguration?: TracingConfiguration;
431
- label?: string;
432
- revisionId?: string;
433
- description?: string;
434
- encryptionConfiguration?: EncryptionConfiguration;
429
+ loggingConfiguration?: LoggingConfiguration | undefined;
430
+ tracingConfiguration?: TracingConfiguration | undefined;
431
+ label?: string | undefined;
432
+ revisionId?: string | undefined;
433
+ description?: string | undefined;
434
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
435
435
  }
436
436
  export declare class StateMachineDoesNotExist extends __BaseException {
437
437
  readonly name: "StateMachineDoesNotExist";
@@ -444,16 +444,16 @@ export interface DescribeStateMachineAliasInput {
444
444
  stateMachineAliasArn: string | undefined;
445
445
  }
446
446
  export interface DescribeStateMachineAliasOutput {
447
- stateMachineAliasArn?: string;
448
- name?: string;
449
- description?: string;
450
- routingConfiguration?: RoutingConfigurationListItem[];
451
- creationDate?: Date;
452
- updateDate?: Date;
447
+ stateMachineAliasArn?: string | undefined;
448
+ name?: string | undefined;
449
+ description?: string | undefined;
450
+ routingConfiguration?: RoutingConfigurationListItem[] | undefined;
451
+ creationDate?: Date | undefined;
452
+ updateDate?: Date | undefined;
453
453
  }
454
454
  export interface DescribeStateMachineForExecutionInput {
455
455
  executionArn: string | undefined;
456
- includedData?: IncludedData;
456
+ includedData?: IncludedData | undefined;
457
457
  }
458
458
  export interface DescribeStateMachineForExecutionOutput {
459
459
  stateMachineArn: string | undefined;
@@ -461,126 +461,126 @@ export interface DescribeStateMachineForExecutionOutput {
461
461
  definition: string | undefined;
462
462
  roleArn: string | undefined;
463
463
  updateDate: Date | undefined;
464
- loggingConfiguration?: LoggingConfiguration;
465
- tracingConfiguration?: TracingConfiguration;
466
- mapRunArn?: string;
467
- label?: string;
468
- revisionId?: string;
469
- encryptionConfiguration?: EncryptionConfiguration;
464
+ loggingConfiguration?: LoggingConfiguration | undefined;
465
+ tracingConfiguration?: TracingConfiguration | undefined;
466
+ mapRunArn?: string | undefined;
467
+ label?: string | undefined;
468
+ revisionId?: string | undefined;
469
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
470
470
  }
471
471
  export interface GetActivityTaskInput {
472
472
  activityArn: string | undefined;
473
- workerName?: string;
473
+ workerName?: string | undefined;
474
474
  }
475
475
  export interface GetActivityTaskOutput {
476
- taskToken?: string;
477
- input?: string;
476
+ taskToken?: string | undefined;
477
+ input?: string | undefined;
478
478
  }
479
479
  export interface GetExecutionHistoryInput {
480
480
  executionArn: string | undefined;
481
- maxResults?: number;
482
- reverseOrder?: boolean;
483
- nextToken?: string;
484
- includeExecutionData?: boolean;
481
+ maxResults?: number | undefined;
482
+ reverseOrder?: boolean | undefined;
483
+ nextToken?: string | undefined;
484
+ includeExecutionData?: boolean | undefined;
485
485
  }
486
486
  export interface ExecutionAbortedEventDetails {
487
- error?: string;
488
- cause?: string;
487
+ error?: string | undefined;
488
+ cause?: string | undefined;
489
489
  }
490
490
  export interface ExecutionFailedEventDetails {
491
- error?: string;
492
- cause?: string;
491
+ error?: string | undefined;
492
+ cause?: string | undefined;
493
493
  }
494
494
  export interface ExecutionRedrivenEventDetails {
495
- redriveCount?: number;
495
+ redriveCount?: number | undefined;
496
496
  }
497
497
  export interface ExecutionStartedEventDetails {
498
- input?: string;
499
- inputDetails?: HistoryEventExecutionDataDetails;
500
- roleArn?: string;
501
- stateMachineAliasArn?: string;
502
- stateMachineVersionArn?: string;
498
+ input?: string | undefined;
499
+ inputDetails?: HistoryEventExecutionDataDetails | undefined;
500
+ roleArn?: string | undefined;
501
+ stateMachineAliasArn?: string | undefined;
502
+ stateMachineVersionArn?: string | undefined;
503
503
  }
504
504
  export interface ExecutionSucceededEventDetails {
505
- output?: string;
506
- outputDetails?: HistoryEventExecutionDataDetails;
505
+ output?: string | undefined;
506
+ outputDetails?: HistoryEventExecutionDataDetails | undefined;
507
507
  }
508
508
  export interface ExecutionTimedOutEventDetails {
509
- error?: string;
510
- cause?: string;
509
+ error?: string | undefined;
510
+ cause?: string | undefined;
511
511
  }
512
512
  export interface LambdaFunctionFailedEventDetails {
513
- error?: string;
514
- cause?: string;
513
+ error?: string | undefined;
514
+ cause?: string | undefined;
515
515
  }
516
516
  export interface TaskCredentials {
517
- roleArn?: string;
517
+ roleArn?: string | undefined;
518
518
  }
519
519
  export interface LambdaFunctionScheduledEventDetails {
520
520
  resource: string | undefined;
521
- input?: string;
522
- inputDetails?: HistoryEventExecutionDataDetails;
523
- timeoutInSeconds?: number;
524
- taskCredentials?: TaskCredentials;
521
+ input?: string | undefined;
522
+ inputDetails?: HistoryEventExecutionDataDetails | undefined;
523
+ timeoutInSeconds?: number | undefined;
524
+ taskCredentials?: TaskCredentials | undefined;
525
525
  }
526
526
  export interface LambdaFunctionScheduleFailedEventDetails {
527
- error?: string;
528
- cause?: string;
527
+ error?: string | undefined;
528
+ cause?: string | undefined;
529
529
  }
530
530
  export interface LambdaFunctionStartFailedEventDetails {
531
- error?: string;
532
- cause?: string;
531
+ error?: string | undefined;
532
+ cause?: string | undefined;
533
533
  }
534
534
  export interface LambdaFunctionSucceededEventDetails {
535
- output?: string;
536
- outputDetails?: HistoryEventExecutionDataDetails;
535
+ output?: string | undefined;
536
+ outputDetails?: HistoryEventExecutionDataDetails | undefined;
537
537
  }
538
538
  export interface LambdaFunctionTimedOutEventDetails {
539
- error?: string;
540
- cause?: string;
539
+ error?: string | undefined;
540
+ cause?: string | undefined;
541
541
  }
542
542
  export interface MapIterationEventDetails {
543
- name?: string;
544
- index?: number;
543
+ name?: string | undefined;
544
+ index?: number | undefined;
545
545
  }
546
546
  export interface MapRunFailedEventDetails {
547
- error?: string;
548
- cause?: string;
547
+ error?: string | undefined;
548
+ cause?: string | undefined;
549
549
  }
550
550
  export interface MapRunRedrivenEventDetails {
551
- mapRunArn?: string;
552
- redriveCount?: number;
551
+ mapRunArn?: string | undefined;
552
+ redriveCount?: number | undefined;
553
553
  }
554
554
  export interface MapRunStartedEventDetails {
555
- mapRunArn?: string;
555
+ mapRunArn?: string | undefined;
556
556
  }
557
557
  export interface MapStateStartedEventDetails {
558
- length?: number;
558
+ length?: number | undefined;
559
559
  }
560
560
  export interface StateEnteredEventDetails {
561
561
  name: string | undefined;
562
- input?: string;
563
- inputDetails?: HistoryEventExecutionDataDetails;
562
+ input?: string | undefined;
563
+ inputDetails?: HistoryEventExecutionDataDetails | undefined;
564
564
  }
565
565
  export interface StateExitedEventDetails {
566
566
  name: string | undefined;
567
- output?: string;
568
- outputDetails?: HistoryEventExecutionDataDetails;
567
+ output?: string | undefined;
568
+ outputDetails?: HistoryEventExecutionDataDetails | undefined;
569
569
  }
570
570
  export interface TaskFailedEventDetails {
571
571
  resourceType: string | undefined;
572
572
  resource: string | undefined;
573
- error?: string;
574
- cause?: string;
573
+ error?: string | undefined;
574
+ cause?: string | undefined;
575
575
  }
576
576
  export interface TaskScheduledEventDetails {
577
577
  resourceType: string | undefined;
578
578
  resource: string | undefined;
579
579
  region: string | undefined;
580
580
  parameters: string | undefined;
581
- timeoutInSeconds?: number;
582
- heartbeatInSeconds?: number;
583
- taskCredentials?: TaskCredentials;
581
+ timeoutInSeconds?: number | undefined;
582
+ heartbeatInSeconds?: number | undefined;
583
+ taskCredentials?: TaskCredentials | undefined;
584
584
  }
585
585
  export interface TaskStartedEventDetails {
586
586
  resourceType: string | undefined;
@@ -589,32 +589,32 @@ export interface TaskStartedEventDetails {
589
589
  export interface TaskStartFailedEventDetails {
590
590
  resourceType: string | undefined;
591
591
  resource: string | undefined;
592
- error?: string;
593
- cause?: string;
592
+ error?: string | undefined;
593
+ cause?: string | undefined;
594
594
  }
595
595
  export interface TaskSubmitFailedEventDetails {
596
596
  resourceType: string | undefined;
597
597
  resource: string | undefined;
598
- error?: string;
599
- cause?: string;
598
+ error?: string | undefined;
599
+ cause?: string | undefined;
600
600
  }
601
601
  export interface TaskSubmittedEventDetails {
602
602
  resourceType: string | undefined;
603
603
  resource: string | undefined;
604
- output?: string;
605
- outputDetails?: HistoryEventExecutionDataDetails;
604
+ output?: string | undefined;
605
+ outputDetails?: HistoryEventExecutionDataDetails | undefined;
606
606
  }
607
607
  export interface TaskSucceededEventDetails {
608
608
  resourceType: string | undefined;
609
609
  resource: string | undefined;
610
- output?: string;
611
- outputDetails?: HistoryEventExecutionDataDetails;
610
+ output?: string | undefined;
611
+ outputDetails?: HistoryEventExecutionDataDetails | undefined;
612
612
  }
613
613
  export interface TaskTimedOutEventDetails {
614
614
  resourceType: string | undefined;
615
615
  resource: string | undefined;
616
- error?: string;
617
- cause?: string;
616
+ error?: string | undefined;
617
+ cause?: string | undefined;
618
618
  }
619
619
  export declare const HistoryEventType: {
620
620
  readonly ActivityFailed: "ActivityFailed";
@@ -685,47 +685,61 @@ export interface HistoryEvent {
685
685
  timestamp: Date | undefined;
686
686
  type: HistoryEventType | undefined;
687
687
  id: number | undefined;
688
- previousEventId?: number;
689
- activityFailedEventDetails?: ActivityFailedEventDetails;
690
- activityScheduleFailedEventDetails?: ActivityScheduleFailedEventDetails;
691
- activityScheduledEventDetails?: ActivityScheduledEventDetails;
692
- activityStartedEventDetails?: ActivityStartedEventDetails;
693
- activitySucceededEventDetails?: ActivitySucceededEventDetails;
694
- activityTimedOutEventDetails?: ActivityTimedOutEventDetails;
695
- taskFailedEventDetails?: TaskFailedEventDetails;
696
- taskScheduledEventDetails?: TaskScheduledEventDetails;
697
- taskStartFailedEventDetails?: TaskStartFailedEventDetails;
698
- taskStartedEventDetails?: TaskStartedEventDetails;
699
- taskSubmitFailedEventDetails?: TaskSubmitFailedEventDetails;
700
- taskSubmittedEventDetails?: TaskSubmittedEventDetails;
701
- taskSucceededEventDetails?: TaskSucceededEventDetails;
702
- taskTimedOutEventDetails?: TaskTimedOutEventDetails;
703
- executionFailedEventDetails?: ExecutionFailedEventDetails;
704
- executionStartedEventDetails?: ExecutionStartedEventDetails;
705
- executionSucceededEventDetails?: ExecutionSucceededEventDetails;
706
- executionAbortedEventDetails?: ExecutionAbortedEventDetails;
707
- executionTimedOutEventDetails?: ExecutionTimedOutEventDetails;
708
- executionRedrivenEventDetails?: ExecutionRedrivenEventDetails;
709
- mapStateStartedEventDetails?: MapStateStartedEventDetails;
710
- mapIterationStartedEventDetails?: MapIterationEventDetails;
711
- mapIterationSucceededEventDetails?: MapIterationEventDetails;
712
- mapIterationFailedEventDetails?: MapIterationEventDetails;
713
- mapIterationAbortedEventDetails?: MapIterationEventDetails;
714
- lambdaFunctionFailedEventDetails?: LambdaFunctionFailedEventDetails;
715
- lambdaFunctionScheduleFailedEventDetails?: LambdaFunctionScheduleFailedEventDetails;
716
- lambdaFunctionScheduledEventDetails?: LambdaFunctionScheduledEventDetails;
717
- lambdaFunctionStartFailedEventDetails?: LambdaFunctionStartFailedEventDetails;
718
- lambdaFunctionSucceededEventDetails?: LambdaFunctionSucceededEventDetails;
719
- lambdaFunctionTimedOutEventDetails?: LambdaFunctionTimedOutEventDetails;
720
- stateEnteredEventDetails?: StateEnteredEventDetails;
721
- stateExitedEventDetails?: StateExitedEventDetails;
722
- mapRunStartedEventDetails?: MapRunStartedEventDetails;
723
- mapRunFailedEventDetails?: MapRunFailedEventDetails;
724
- mapRunRedrivenEventDetails?: MapRunRedrivenEventDetails;
688
+ previousEventId?: number | undefined;
689
+ activityFailedEventDetails?: ActivityFailedEventDetails | undefined;
690
+ activityScheduleFailedEventDetails?:
691
+ | ActivityScheduleFailedEventDetails
692
+ | undefined;
693
+ activityScheduledEventDetails?: ActivityScheduledEventDetails | undefined;
694
+ activityStartedEventDetails?: ActivityStartedEventDetails | undefined;
695
+ activitySucceededEventDetails?: ActivitySucceededEventDetails | undefined;
696
+ activityTimedOutEventDetails?: ActivityTimedOutEventDetails | undefined;
697
+ taskFailedEventDetails?: TaskFailedEventDetails | undefined;
698
+ taskScheduledEventDetails?: TaskScheduledEventDetails | undefined;
699
+ taskStartFailedEventDetails?: TaskStartFailedEventDetails | undefined;
700
+ taskStartedEventDetails?: TaskStartedEventDetails | undefined;
701
+ taskSubmitFailedEventDetails?: TaskSubmitFailedEventDetails | undefined;
702
+ taskSubmittedEventDetails?: TaskSubmittedEventDetails | undefined;
703
+ taskSucceededEventDetails?: TaskSucceededEventDetails | undefined;
704
+ taskTimedOutEventDetails?: TaskTimedOutEventDetails | undefined;
705
+ executionFailedEventDetails?: ExecutionFailedEventDetails | undefined;
706
+ executionStartedEventDetails?: ExecutionStartedEventDetails | undefined;
707
+ executionSucceededEventDetails?: ExecutionSucceededEventDetails | undefined;
708
+ executionAbortedEventDetails?: ExecutionAbortedEventDetails | undefined;
709
+ executionTimedOutEventDetails?: ExecutionTimedOutEventDetails | undefined;
710
+ executionRedrivenEventDetails?: ExecutionRedrivenEventDetails | undefined;
711
+ mapStateStartedEventDetails?: MapStateStartedEventDetails | undefined;
712
+ mapIterationStartedEventDetails?: MapIterationEventDetails | undefined;
713
+ mapIterationSucceededEventDetails?: MapIterationEventDetails | undefined;
714
+ mapIterationFailedEventDetails?: MapIterationEventDetails | undefined;
715
+ mapIterationAbortedEventDetails?: MapIterationEventDetails | undefined;
716
+ lambdaFunctionFailedEventDetails?:
717
+ | LambdaFunctionFailedEventDetails
718
+ | undefined;
719
+ lambdaFunctionScheduleFailedEventDetails?:
720
+ | LambdaFunctionScheduleFailedEventDetails
721
+ | undefined;
722
+ lambdaFunctionScheduledEventDetails?:
723
+ | LambdaFunctionScheduledEventDetails
724
+ | undefined;
725
+ lambdaFunctionStartFailedEventDetails?:
726
+ | LambdaFunctionStartFailedEventDetails
727
+ | undefined;
728
+ lambdaFunctionSucceededEventDetails?:
729
+ | LambdaFunctionSucceededEventDetails
730
+ | undefined;
731
+ lambdaFunctionTimedOutEventDetails?:
732
+ | LambdaFunctionTimedOutEventDetails
733
+ | undefined;
734
+ stateEnteredEventDetails?: StateEnteredEventDetails | undefined;
735
+ stateExitedEventDetails?: StateExitedEventDetails | undefined;
736
+ mapRunStartedEventDetails?: MapRunStartedEventDetails | undefined;
737
+ mapRunFailedEventDetails?: MapRunFailedEventDetails | undefined;
738
+ mapRunRedrivenEventDetails?: MapRunRedrivenEventDetails | undefined;
725
739
  }
726
740
  export interface GetExecutionHistoryOutput {
727
741
  events: HistoryEvent[] | undefined;
728
- nextToken?: string;
742
+ nextToken?: string | undefined;
729
743
  }
730
744
  export declare class InvalidToken extends __BaseException {
731
745
  readonly name: "InvalidToken";
@@ -733,12 +747,12 @@ export declare class InvalidToken extends __BaseException {
733
747
  constructor(opts: __ExceptionOptionType<InvalidToken, __BaseException>);
734
748
  }
735
749
  export interface ListActivitiesInput {
736
- maxResults?: number;
737
- nextToken?: string;
750
+ maxResults?: number | undefined;
751
+ nextToken?: string | undefined;
738
752
  }
739
753
  export interface ListActivitiesOutput {
740
754
  activities: ActivityListItem[] | undefined;
741
- nextToken?: string;
755
+ nextToken?: string | undefined;
742
756
  }
743
757
  export declare const ExecutionRedriveFilter: {
744
758
  readonly NOT_REDRIVEN: "NOT_REDRIVEN";
@@ -747,12 +761,12 @@ export declare const ExecutionRedriveFilter: {
747
761
  export type ExecutionRedriveFilter =
748
762
  (typeof ExecutionRedriveFilter)[keyof typeof ExecutionRedriveFilter];
749
763
  export interface ListExecutionsInput {
750
- stateMachineArn?: string;
751
- statusFilter?: ExecutionStatus;
752
- maxResults?: number;
753
- nextToken?: string;
754
- mapRunArn?: string;
755
- redriveFilter?: ExecutionRedriveFilter;
764
+ stateMachineArn?: string | undefined;
765
+ statusFilter?: ExecutionStatus | undefined;
766
+ maxResults?: number | undefined;
767
+ nextToken?: string | undefined;
768
+ mapRunArn?: string | undefined;
769
+ redriveFilter?: ExecutionRedriveFilter | undefined;
756
770
  }
757
771
  export interface ExecutionListItem {
758
772
  executionArn: string | undefined;
@@ -760,38 +774,38 @@ export interface ExecutionListItem {
760
774
  name: string | undefined;
761
775
  status: ExecutionStatus | undefined;
762
776
  startDate: Date | undefined;
763
- stopDate?: Date;
764
- mapRunArn?: string;
765
- itemCount?: number;
766
- stateMachineVersionArn?: string;
767
- stateMachineAliasArn?: string;
768
- redriveCount?: number;
769
- redriveDate?: Date;
777
+ stopDate?: Date | undefined;
778
+ mapRunArn?: string | undefined;
779
+ itemCount?: number | undefined;
780
+ stateMachineVersionArn?: string | undefined;
781
+ stateMachineAliasArn?: string | undefined;
782
+ redriveCount?: number | undefined;
783
+ redriveDate?: Date | undefined;
770
784
  }
771
785
  export interface ListExecutionsOutput {
772
786
  executions: ExecutionListItem[] | undefined;
773
- nextToken?: string;
787
+ nextToken?: string | undefined;
774
788
  }
775
789
  export interface ListMapRunsInput {
776
790
  executionArn: string | undefined;
777
- maxResults?: number;
778
- nextToken?: string;
791
+ maxResults?: number | undefined;
792
+ nextToken?: string | undefined;
779
793
  }
780
794
  export interface MapRunListItem {
781
795
  executionArn: string | undefined;
782
796
  mapRunArn: string | undefined;
783
797
  stateMachineArn: string | undefined;
784
798
  startDate: Date | undefined;
785
- stopDate?: Date;
799
+ stopDate?: Date | undefined;
786
800
  }
787
801
  export interface ListMapRunsOutput {
788
802
  mapRuns: MapRunListItem[] | undefined;
789
- nextToken?: string;
803
+ nextToken?: string | undefined;
790
804
  }
791
805
  export interface ListStateMachineAliasesInput {
792
806
  stateMachineArn: string | undefined;
793
- nextToken?: string;
794
- maxResults?: number;
807
+ nextToken?: string | undefined;
808
+ maxResults?: number | undefined;
795
809
  }
796
810
  export interface StateMachineAliasListItem {
797
811
  stateMachineAliasArn: string | undefined;
@@ -799,11 +813,11 @@ export interface StateMachineAliasListItem {
799
813
  }
800
814
  export interface ListStateMachineAliasesOutput {
801
815
  stateMachineAliases: StateMachineAliasListItem[] | undefined;
802
- nextToken?: string;
816
+ nextToken?: string | undefined;
803
817
  }
804
818
  export interface ListStateMachinesInput {
805
- maxResults?: number;
806
- nextToken?: string;
819
+ maxResults?: number | undefined;
820
+ nextToken?: string | undefined;
807
821
  }
808
822
  export interface StateMachineListItem {
809
823
  stateMachineArn: string | undefined;
@@ -813,12 +827,12 @@ export interface StateMachineListItem {
813
827
  }
814
828
  export interface ListStateMachinesOutput {
815
829
  stateMachines: StateMachineListItem[] | undefined;
816
- nextToken?: string;
830
+ nextToken?: string | undefined;
817
831
  }
818
832
  export interface ListStateMachineVersionsInput {
819
833
  stateMachineArn: string | undefined;
820
- nextToken?: string;
821
- maxResults?: number;
834
+ nextToken?: string | undefined;
835
+ maxResults?: number | undefined;
822
836
  }
823
837
  export interface StateMachineVersionListItem {
824
838
  stateMachineVersionArn: string | undefined;
@@ -826,18 +840,18 @@ export interface StateMachineVersionListItem {
826
840
  }
827
841
  export interface ListStateMachineVersionsOutput {
828
842
  stateMachineVersions: StateMachineVersionListItem[] | undefined;
829
- nextToken?: string;
843
+ nextToken?: string | undefined;
830
844
  }
831
845
  export interface ListTagsForResourceInput {
832
846
  resourceArn: string | undefined;
833
847
  }
834
848
  export interface ListTagsForResourceOutput {
835
- tags?: Tag[];
849
+ tags?: Tag[] | undefined;
836
850
  }
837
851
  export interface PublishStateMachineVersionInput {
838
852
  stateMachineArn: string | undefined;
839
- revisionId?: string;
840
- description?: string;
853
+ revisionId?: string | undefined;
854
+ description?: string | undefined;
841
855
  }
842
856
  export interface PublishStateMachineVersionOutput {
843
857
  creationDate: Date | undefined;
@@ -859,15 +873,15 @@ export declare class ExecutionNotRedrivable extends __BaseException {
859
873
  }
860
874
  export interface RedriveExecutionInput {
861
875
  executionArn: string | undefined;
862
- clientToken?: string;
876
+ clientToken?: string | undefined;
863
877
  }
864
878
  export interface RedriveExecutionOutput {
865
879
  redriveDate: Date | undefined;
866
880
  }
867
881
  export interface SendTaskFailureInput {
868
882
  taskToken: string | undefined;
869
- error?: string;
870
- cause?: string;
883
+ error?: string | undefined;
884
+ cause?: string | undefined;
871
885
  }
872
886
  export interface SendTaskFailureOutput {}
873
887
  export declare class TaskDoesNotExist extends __BaseException {
@@ -910,9 +924,9 @@ export declare class InvalidExecutionInput extends __BaseException {
910
924
  }
911
925
  export interface StartExecutionInput {
912
926
  stateMachineArn: string | undefined;
913
- name?: string;
914
- input?: string;
915
- traceHeader?: string;
927
+ name?: string | undefined;
928
+ input?: string | undefined;
929
+ traceHeader?: string | undefined;
916
930
  }
917
931
  export interface StartExecutionOutput {
918
932
  executionArn: string | undefined;
@@ -920,14 +934,14 @@ export interface StartExecutionOutput {
920
934
  }
921
935
  export interface StartSyncExecutionInput {
922
936
  stateMachineArn: string | undefined;
923
- name?: string;
924
- input?: string;
925
- traceHeader?: string;
926
- includedData?: IncludedData;
937
+ name?: string | undefined;
938
+ input?: string | undefined;
939
+ traceHeader?: string | undefined;
940
+ includedData?: IncludedData | undefined;
927
941
  }
928
942
  export interface BillingDetails {
929
- billedMemoryUsedInMB?: number;
930
- billedDurationInMilliseconds?: number;
943
+ billedMemoryUsedInMB?: number | undefined;
944
+ billedDurationInMilliseconds?: number | undefined;
931
945
  }
932
946
  export declare const SyncExecutionStatus: {
933
947
  readonly FAILED: "FAILED";
@@ -938,24 +952,24 @@ export type SyncExecutionStatus =
938
952
  (typeof SyncExecutionStatus)[keyof typeof SyncExecutionStatus];
939
953
  export interface StartSyncExecutionOutput {
940
954
  executionArn: string | undefined;
941
- stateMachineArn?: string;
942
- name?: string;
955
+ stateMachineArn?: string | undefined;
956
+ name?: string | undefined;
943
957
  startDate: Date | undefined;
944
958
  stopDate: Date | undefined;
945
959
  status: SyncExecutionStatus | undefined;
946
- error?: string;
947
- cause?: string;
948
- input?: string;
949
- inputDetails?: CloudWatchEventsExecutionDataDetails;
950
- output?: string;
951
- outputDetails?: CloudWatchEventsExecutionDataDetails;
952
- traceHeader?: string;
953
- billingDetails?: BillingDetails;
960
+ error?: string | undefined;
961
+ cause?: string | undefined;
962
+ input?: string | undefined;
963
+ inputDetails?: CloudWatchEventsExecutionDataDetails | undefined;
964
+ output?: string | undefined;
965
+ outputDetails?: CloudWatchEventsExecutionDataDetails | undefined;
966
+ traceHeader?: string | undefined;
967
+ billingDetails?: BillingDetails | undefined;
954
968
  }
955
969
  export interface StopExecutionInput {
956
970
  executionArn: string | undefined;
957
- error?: string;
958
- cause?: string;
971
+ error?: string | undefined;
972
+ cause?: string | undefined;
959
973
  }
960
974
  export interface StopExecutionOutput {
961
975
  stopDate: Date | undefined;
@@ -975,33 +989,33 @@ export type InspectionLevel =
975
989
  export interface TestStateInput {
976
990
  definition: string | undefined;
977
991
  roleArn: string | undefined;
978
- input?: string;
979
- inspectionLevel?: InspectionLevel;
980
- revealSecrets?: boolean;
992
+ input?: string | undefined;
993
+ inspectionLevel?: InspectionLevel | undefined;
994
+ revealSecrets?: boolean | undefined;
981
995
  }
982
996
  export interface InspectionDataRequest {
983
- protocol?: string;
984
- method?: string;
985
- url?: string;
986
- headers?: string;
987
- body?: string;
997
+ protocol?: string | undefined;
998
+ method?: string | undefined;
999
+ url?: string | undefined;
1000
+ headers?: string | undefined;
1001
+ body?: string | undefined;
988
1002
  }
989
1003
  export interface InspectionDataResponse {
990
- protocol?: string;
991
- statusCode?: string;
992
- statusMessage?: string;
993
- headers?: string;
994
- body?: string;
1004
+ protocol?: string | undefined;
1005
+ statusCode?: string | undefined;
1006
+ statusMessage?: string | undefined;
1007
+ headers?: string | undefined;
1008
+ body?: string | undefined;
995
1009
  }
996
1010
  export interface InspectionData {
997
- input?: string;
998
- afterInputPath?: string;
999
- afterParameters?: string;
1000
- result?: string;
1001
- afterResultSelector?: string;
1002
- afterResultPath?: string;
1003
- request?: InspectionDataRequest;
1004
- response?: InspectionDataResponse;
1011
+ input?: string | undefined;
1012
+ afterInputPath?: string | undefined;
1013
+ afterParameters?: string | undefined;
1014
+ result?: string | undefined;
1015
+ afterResultSelector?: string | undefined;
1016
+ afterResultPath?: string | undefined;
1017
+ request?: InspectionDataRequest | undefined;
1018
+ response?: InspectionDataResponse | undefined;
1005
1019
  }
1006
1020
  export declare const TestExecutionStatus: {
1007
1021
  readonly CAUGHT_ERROR: "CAUGHT_ERROR";
@@ -1012,12 +1026,12 @@ export declare const TestExecutionStatus: {
1012
1026
  export type TestExecutionStatus =
1013
1027
  (typeof TestExecutionStatus)[keyof typeof TestExecutionStatus];
1014
1028
  export interface TestStateOutput {
1015
- output?: string;
1016
- error?: string;
1017
- cause?: string;
1018
- inspectionData?: InspectionData;
1019
- nextState?: string;
1020
- status?: TestExecutionStatus;
1029
+ output?: string | undefined;
1030
+ error?: string | undefined;
1031
+ cause?: string | undefined;
1032
+ inspectionData?: InspectionData | undefined;
1033
+ nextState?: string | undefined;
1034
+ status?: TestExecutionStatus | undefined;
1021
1035
  }
1022
1036
  export interface UntagResourceInput {
1023
1037
  resourceArn: string | undefined;
@@ -1026,9 +1040,9 @@ export interface UntagResourceInput {
1026
1040
  export interface UntagResourceOutput {}
1027
1041
  export interface UpdateMapRunInput {
1028
1042
  mapRunArn: string | undefined;
1029
- maxConcurrency?: number;
1030
- toleratedFailurePercentage?: number;
1031
- toleratedFailureCount?: number;
1043
+ maxConcurrency?: number | undefined;
1044
+ toleratedFailurePercentage?: number | undefined;
1045
+ toleratedFailureCount?: number | undefined;
1032
1046
  }
1033
1047
  export interface UpdateMapRunOutput {}
1034
1048
  export declare class MissingRequiredParameter extends __BaseException {
@@ -1040,23 +1054,23 @@ export declare class MissingRequiredParameter extends __BaseException {
1040
1054
  }
1041
1055
  export interface UpdateStateMachineInput {
1042
1056
  stateMachineArn: string | undefined;
1043
- definition?: string;
1044
- roleArn?: string;
1045
- loggingConfiguration?: LoggingConfiguration;
1046
- tracingConfiguration?: TracingConfiguration;
1047
- publish?: boolean;
1048
- versionDescription?: string;
1049
- encryptionConfiguration?: EncryptionConfiguration;
1057
+ definition?: string | undefined;
1058
+ roleArn?: string | undefined;
1059
+ loggingConfiguration?: LoggingConfiguration | undefined;
1060
+ tracingConfiguration?: TracingConfiguration | undefined;
1061
+ publish?: boolean | undefined;
1062
+ versionDescription?: string | undefined;
1063
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
1050
1064
  }
1051
1065
  export interface UpdateStateMachineOutput {
1052
1066
  updateDate: Date | undefined;
1053
- revisionId?: string;
1054
- stateMachineVersionArn?: string;
1067
+ revisionId?: string | undefined;
1068
+ stateMachineVersionArn?: string | undefined;
1055
1069
  }
1056
1070
  export interface UpdateStateMachineAliasInput {
1057
1071
  stateMachineAliasArn: string | undefined;
1058
- description?: string;
1059
- routingConfiguration?: RoutingConfigurationListItem[];
1072
+ description?: string | undefined;
1073
+ routingConfiguration?: RoutingConfigurationListItem[] | undefined;
1060
1074
  }
1061
1075
  export interface UpdateStateMachineAliasOutput {
1062
1076
  updateDate: Date | undefined;
@@ -1069,15 +1083,15 @@ export type ValidateStateMachineDefinitionSeverity =
1069
1083
  (typeof ValidateStateMachineDefinitionSeverity)[keyof typeof ValidateStateMachineDefinitionSeverity];
1070
1084
  export interface ValidateStateMachineDefinitionInput {
1071
1085
  definition: string | undefined;
1072
- type?: StateMachineType;
1073
- severity?: ValidateStateMachineDefinitionSeverity;
1074
- maxResults?: number;
1086
+ type?: StateMachineType | undefined;
1087
+ severity?: ValidateStateMachineDefinitionSeverity | undefined;
1088
+ maxResults?: number | undefined;
1075
1089
  }
1076
1090
  export interface ValidateStateMachineDefinitionDiagnostic {
1077
1091
  severity: ValidateStateMachineDefinitionSeverity | undefined;
1078
1092
  code: string | undefined;
1079
1093
  message: string | undefined;
1080
- location?: string;
1094
+ location?: string | undefined;
1081
1095
  }
1082
1096
  export declare const ValidateStateMachineDefinitionResultCode: {
1083
1097
  readonly FAIL: "FAIL";
@@ -1088,7 +1102,7 @@ export type ValidateStateMachineDefinitionResultCode =
1088
1102
  export interface ValidateStateMachineDefinitionOutput {
1089
1103
  result: ValidateStateMachineDefinitionResultCode | undefined;
1090
1104
  diagnostics: ValidateStateMachineDefinitionDiagnostic[] | undefined;
1091
- truncated?: boolean;
1105
+ truncated?: boolean | undefined;
1092
1106
  }
1093
1107
  export declare const ActivityFailedEventDetailsFilterSensitiveLog: (
1094
1108
  obj: ActivityFailedEventDetails