@aws-sdk/client-sfn 3.934.0 → 3.936.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +250 -151
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +151 -0
- package/dist-es/models/errors.js +405 -0
- package/dist-es/models/models_0.js +1 -551
- package/dist-es/schemas/schemas_0.js +98 -6
- package/dist-types/commands/TestStateCommand.d.ts +29 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +295 -0
- package/dist-types/models/errors.d.ts +426 -0
- package/dist-types/models/models_0.d.ts +157 -703
- package/dist-types/schemas/schemas_0.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +183 -0
- package/dist-types/ts3.4/models/errors.d.ts +218 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -393
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SFNServiceException as __BaseException } from "./SFNServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>Activity already exists. <code>EncryptionConfiguration</code> may not be updated.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class ActivityAlreadyExists extends __BaseException {
|
|
8
|
-
readonly name: "ActivityAlreadyExists";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<ActivityAlreadyExists, __BaseException>);
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* <p>The specified activity does not exist.</p>
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export declare class ActivityDoesNotExist extends __BaseException {
|
|
20
|
-
readonly name: "ActivityDoesNotExist";
|
|
21
|
-
readonly $fault: "client";
|
|
22
|
-
/**
|
|
23
|
-
* @internal
|
|
24
|
-
*/
|
|
25
|
-
constructor(opts: __ExceptionOptionType<ActivityDoesNotExist, __BaseException>);
|
|
26
|
-
}
|
|
1
|
+
import { EncryptionType, ExecutionRedriveFilter, ExecutionRedriveStatus, ExecutionStatus, HistoryEventType, IncludedData, InspectionLevel, LogLevel, MapRunStatus, MockResponseValidationMode, StateMachineStatus, StateMachineType, SyncExecutionStatus, TestExecutionStatus, ValidateStateMachineDefinitionResultCode, ValidateStateMachineDefinitionSeverity } from "./enums";
|
|
27
2
|
/**
|
|
28
3
|
* <p>Contains details about an activity that failed during an execution.</p>
|
|
29
4
|
* @public
|
|
@@ -40,19 +15,6 @@ export interface ActivityFailedEventDetails {
|
|
|
40
15
|
*/
|
|
41
16
|
cause?: string | undefined;
|
|
42
17
|
}
|
|
43
|
-
/**
|
|
44
|
-
* <p>The maximum number of activities has been reached. Existing activities must be deleted
|
|
45
|
-
* before a new activity can be created.</p>
|
|
46
|
-
* @public
|
|
47
|
-
*/
|
|
48
|
-
export declare class ActivityLimitExceeded extends __BaseException {
|
|
49
|
-
readonly name: "ActivityLimitExceeded";
|
|
50
|
-
readonly $fault: "client";
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
|
-
constructor(opts: __ExceptionOptionType<ActivityLimitExceeded, __BaseException>);
|
|
55
|
-
}
|
|
56
18
|
/**
|
|
57
19
|
* <p>Contains details about an activity.</p>
|
|
58
20
|
* @public
|
|
@@ -207,19 +169,6 @@ export interface ActivityTimedOutEventDetails {
|
|
|
207
169
|
*/
|
|
208
170
|
cause?: string | undefined;
|
|
209
171
|
}
|
|
210
|
-
/**
|
|
211
|
-
* <p>The maximum number of workers concurrently polling for activity tasks has been
|
|
212
|
-
* reached.</p>
|
|
213
|
-
* @public
|
|
214
|
-
*/
|
|
215
|
-
export declare class ActivityWorkerLimitExceeded extends __BaseException {
|
|
216
|
-
readonly name: "ActivityWorkerLimitExceeded";
|
|
217
|
-
readonly $fault: "client";
|
|
218
|
-
/**
|
|
219
|
-
* @internal
|
|
220
|
-
*/
|
|
221
|
-
constructor(opts: __ExceptionOptionType<ActivityWorkerLimitExceeded, __BaseException>);
|
|
222
|
-
}
|
|
223
172
|
/**
|
|
224
173
|
* <p>Provides details about assigned variables in an execution history event.</p>
|
|
225
174
|
* @public
|
|
@@ -232,18 +181,6 @@ export interface AssignedVariablesDetails {
|
|
|
232
181
|
*/
|
|
233
182
|
truncated?: boolean | undefined;
|
|
234
183
|
}
|
|
235
|
-
/**
|
|
236
|
-
* @public
|
|
237
|
-
* @enum
|
|
238
|
-
*/
|
|
239
|
-
export declare const EncryptionType: {
|
|
240
|
-
readonly AWS_OWNED_KEY: "AWS_OWNED_KEY";
|
|
241
|
-
readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
|
|
242
|
-
};
|
|
243
|
-
/**
|
|
244
|
-
* @public
|
|
245
|
-
*/
|
|
246
|
-
export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
|
|
247
184
|
/**
|
|
248
185
|
* <p>Settings to configure server-side encryption. </p>
|
|
249
186
|
* <p>
|
|
@@ -365,81 +302,6 @@ export interface CreateActivityOutput {
|
|
|
365
302
|
*/
|
|
366
303
|
creationDate: Date | undefined;
|
|
367
304
|
}
|
|
368
|
-
/**
|
|
369
|
-
* <p>Received when <code>encryptionConfiguration</code> is specified but various conditions exist which make the configuration invalid. For example, if <code>type</code> is set to <code>CUSTOMER_MANAGED_KMS_KEY</code>, but <code>kmsKeyId</code> is null, or <code>kmsDataKeyReusePeriodSeconds</code> is not between 60 and 900, or the KMS key is not symmetric or inactive.</p>
|
|
370
|
-
* @public
|
|
371
|
-
*/
|
|
372
|
-
export declare class InvalidEncryptionConfiguration extends __BaseException {
|
|
373
|
-
readonly name: "InvalidEncryptionConfiguration";
|
|
374
|
-
readonly $fault: "client";
|
|
375
|
-
/**
|
|
376
|
-
* @internal
|
|
377
|
-
*/
|
|
378
|
-
constructor(opts: __ExceptionOptionType<InvalidEncryptionConfiguration, __BaseException>);
|
|
379
|
-
}
|
|
380
|
-
/**
|
|
381
|
-
* <p>The provided name is not valid.</p>
|
|
382
|
-
* @public
|
|
383
|
-
*/
|
|
384
|
-
export declare class InvalidName extends __BaseException {
|
|
385
|
-
readonly name: "InvalidName";
|
|
386
|
-
readonly $fault: "client";
|
|
387
|
-
/**
|
|
388
|
-
* @internal
|
|
389
|
-
*/
|
|
390
|
-
constructor(opts: __ExceptionOptionType<InvalidName, __BaseException>);
|
|
391
|
-
}
|
|
392
|
-
/**
|
|
393
|
-
* <p>Either your KMS key policy or API caller does not have the required permissions.</p>
|
|
394
|
-
* @public
|
|
395
|
-
*/
|
|
396
|
-
export declare class KmsAccessDeniedException extends __BaseException {
|
|
397
|
-
readonly name: "KmsAccessDeniedException";
|
|
398
|
-
readonly $fault: "client";
|
|
399
|
-
/**
|
|
400
|
-
* @internal
|
|
401
|
-
*/
|
|
402
|
-
constructor(opts: __ExceptionOptionType<KmsAccessDeniedException, __BaseException>);
|
|
403
|
-
}
|
|
404
|
-
/**
|
|
405
|
-
* <p>Received when KMS returns <code>ThrottlingException</code> for a KMS call that Step Functions makes on behalf of the caller.</p>
|
|
406
|
-
* @public
|
|
407
|
-
*/
|
|
408
|
-
export declare class KmsThrottlingException extends __BaseException {
|
|
409
|
-
readonly name: "KmsThrottlingException";
|
|
410
|
-
readonly $fault: "client";
|
|
411
|
-
/**
|
|
412
|
-
* @internal
|
|
413
|
-
*/
|
|
414
|
-
constructor(opts: __ExceptionOptionType<KmsThrottlingException, __BaseException>);
|
|
415
|
-
}
|
|
416
|
-
/**
|
|
417
|
-
* <p>You've exceeded the number of tags allowed for a resource. See the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/limits.html"> Limits Topic</a> in the
|
|
418
|
-
* Step Functions Developer Guide.</p>
|
|
419
|
-
* @public
|
|
420
|
-
*/
|
|
421
|
-
export declare class TooManyTags extends __BaseException {
|
|
422
|
-
readonly name: "TooManyTags";
|
|
423
|
-
readonly $fault: "client";
|
|
424
|
-
resourceName?: string | undefined;
|
|
425
|
-
/**
|
|
426
|
-
* @internal
|
|
427
|
-
*/
|
|
428
|
-
constructor(opts: __ExceptionOptionType<TooManyTags, __BaseException>);
|
|
429
|
-
}
|
|
430
|
-
/**
|
|
431
|
-
* <p>Updating or deleting a resource can cause an inconsistent state. This error occurs when there're concurrent requests for <a>DeleteStateMachineVersion</a>, <a>PublishStateMachineVersion</a>, or <a>UpdateStateMachine</a> with the <code>publish</code> parameter set to <code>true</code>.</p>
|
|
432
|
-
* <p>HTTP Status Code: 409</p>
|
|
433
|
-
* @public
|
|
434
|
-
*/
|
|
435
|
-
export declare class ConflictException extends __BaseException {
|
|
436
|
-
readonly name: "ConflictException";
|
|
437
|
-
readonly $fault: "client";
|
|
438
|
-
/**
|
|
439
|
-
* @internal
|
|
440
|
-
*/
|
|
441
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
442
|
-
}
|
|
443
305
|
/**
|
|
444
306
|
* <p></p>
|
|
445
307
|
* @public
|
|
@@ -464,20 +326,6 @@ export interface LogDestination {
|
|
|
464
326
|
*/
|
|
465
327
|
cloudWatchLogsLogGroup?: CloudWatchLogsLogGroup | undefined;
|
|
466
328
|
}
|
|
467
|
-
/**
|
|
468
|
-
* @public
|
|
469
|
-
* @enum
|
|
470
|
-
*/
|
|
471
|
-
export declare const LogLevel: {
|
|
472
|
-
readonly ALL: "ALL";
|
|
473
|
-
readonly ERROR: "ERROR";
|
|
474
|
-
readonly FATAL: "FATAL";
|
|
475
|
-
readonly OFF: "OFF";
|
|
476
|
-
};
|
|
477
|
-
/**
|
|
478
|
-
* @public
|
|
479
|
-
*/
|
|
480
|
-
export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
|
|
481
329
|
/**
|
|
482
330
|
* <p>The <code>LoggingConfiguration</code> data type is used to set CloudWatch Logs
|
|
483
331
|
* options.</p>
|
|
@@ -515,18 +363,6 @@ export interface TracingConfiguration {
|
|
|
515
363
|
*/
|
|
516
364
|
enabled?: boolean | undefined;
|
|
517
365
|
}
|
|
518
|
-
/**
|
|
519
|
-
* @public
|
|
520
|
-
* @enum
|
|
521
|
-
*/
|
|
522
|
-
export declare const StateMachineType: {
|
|
523
|
-
readonly EXPRESS: "EXPRESS";
|
|
524
|
-
readonly STANDARD: "STANDARD";
|
|
525
|
-
};
|
|
526
|
-
/**
|
|
527
|
-
* @public
|
|
528
|
-
*/
|
|
529
|
-
export type StateMachineType = (typeof StateMachineType)[keyof typeof StateMachineType];
|
|
530
366
|
/**
|
|
531
367
|
* @public
|
|
532
368
|
*/
|
|
@@ -642,136 +478,6 @@ export interface CreateStateMachineOutput {
|
|
|
642
478
|
*/
|
|
643
479
|
stateMachineVersionArn?: string | undefined;
|
|
644
480
|
}
|
|
645
|
-
/**
|
|
646
|
-
* <p>The provided Amazon Resource Name (ARN) is not valid.</p>
|
|
647
|
-
* @public
|
|
648
|
-
*/
|
|
649
|
-
export declare class InvalidArn extends __BaseException {
|
|
650
|
-
readonly name: "InvalidArn";
|
|
651
|
-
readonly $fault: "client";
|
|
652
|
-
/**
|
|
653
|
-
* @internal
|
|
654
|
-
*/
|
|
655
|
-
constructor(opts: __ExceptionOptionType<InvalidArn, __BaseException>);
|
|
656
|
-
}
|
|
657
|
-
/**
|
|
658
|
-
* <p>The provided Amazon States Language definition is not valid.</p>
|
|
659
|
-
* @public
|
|
660
|
-
*/
|
|
661
|
-
export declare class InvalidDefinition extends __BaseException {
|
|
662
|
-
readonly name: "InvalidDefinition";
|
|
663
|
-
readonly $fault: "client";
|
|
664
|
-
/**
|
|
665
|
-
* @internal
|
|
666
|
-
*/
|
|
667
|
-
constructor(opts: __ExceptionOptionType<InvalidDefinition, __BaseException>);
|
|
668
|
-
}
|
|
669
|
-
/**
|
|
670
|
-
* <p>Configuration is not valid.</p>
|
|
671
|
-
* @public
|
|
672
|
-
*/
|
|
673
|
-
export declare class InvalidLoggingConfiguration extends __BaseException {
|
|
674
|
-
readonly name: "InvalidLoggingConfiguration";
|
|
675
|
-
readonly $fault: "client";
|
|
676
|
-
/**
|
|
677
|
-
* @internal
|
|
678
|
-
*/
|
|
679
|
-
constructor(opts: __ExceptionOptionType<InvalidLoggingConfiguration, __BaseException>);
|
|
680
|
-
}
|
|
681
|
-
/**
|
|
682
|
-
* <p>Your <code>tracingConfiguration</code> key does not match, or <code>enabled</code> has not
|
|
683
|
-
* been set to <code>true</code> or <code>false</code>.</p>
|
|
684
|
-
* @public
|
|
685
|
-
*/
|
|
686
|
-
export declare class InvalidTracingConfiguration extends __BaseException {
|
|
687
|
-
readonly name: "InvalidTracingConfiguration";
|
|
688
|
-
readonly $fault: "client";
|
|
689
|
-
/**
|
|
690
|
-
* @internal
|
|
691
|
-
*/
|
|
692
|
-
constructor(opts: __ExceptionOptionType<InvalidTracingConfiguration, __BaseException>);
|
|
693
|
-
}
|
|
694
|
-
/**
|
|
695
|
-
* <p>A state machine with the same name but a different definition or role ARN already
|
|
696
|
-
* exists.</p>
|
|
697
|
-
* @public
|
|
698
|
-
*/
|
|
699
|
-
export declare class StateMachineAlreadyExists extends __BaseException {
|
|
700
|
-
readonly name: "StateMachineAlreadyExists";
|
|
701
|
-
readonly $fault: "client";
|
|
702
|
-
/**
|
|
703
|
-
* @internal
|
|
704
|
-
*/
|
|
705
|
-
constructor(opts: __ExceptionOptionType<StateMachineAlreadyExists, __BaseException>);
|
|
706
|
-
}
|
|
707
|
-
/**
|
|
708
|
-
* <p>The specified state machine is being deleted.</p>
|
|
709
|
-
* @public
|
|
710
|
-
*/
|
|
711
|
-
export declare class StateMachineDeleting extends __BaseException {
|
|
712
|
-
readonly name: "StateMachineDeleting";
|
|
713
|
-
readonly $fault: "client";
|
|
714
|
-
/**
|
|
715
|
-
* @internal
|
|
716
|
-
*/
|
|
717
|
-
constructor(opts: __ExceptionOptionType<StateMachineDeleting, __BaseException>);
|
|
718
|
-
}
|
|
719
|
-
/**
|
|
720
|
-
* <p>The maximum number of state machines has been reached. Existing state machines must be
|
|
721
|
-
* deleted before a new state machine can be created.</p>
|
|
722
|
-
* @public
|
|
723
|
-
*/
|
|
724
|
-
export declare class StateMachineLimitExceeded extends __BaseException {
|
|
725
|
-
readonly name: "StateMachineLimitExceeded";
|
|
726
|
-
readonly $fault: "client";
|
|
727
|
-
/**
|
|
728
|
-
* @internal
|
|
729
|
-
*/
|
|
730
|
-
constructor(opts: __ExceptionOptionType<StateMachineLimitExceeded, __BaseException>);
|
|
731
|
-
}
|
|
732
|
-
/**
|
|
733
|
-
* <p>State machine type is not supported.</p>
|
|
734
|
-
* @public
|
|
735
|
-
*/
|
|
736
|
-
export declare class StateMachineTypeNotSupported extends __BaseException {
|
|
737
|
-
readonly name: "StateMachineTypeNotSupported";
|
|
738
|
-
readonly $fault: "client";
|
|
739
|
-
/**
|
|
740
|
-
* @internal
|
|
741
|
-
*/
|
|
742
|
-
constructor(opts: __ExceptionOptionType<StateMachineTypeNotSupported, __BaseException>);
|
|
743
|
-
}
|
|
744
|
-
/**
|
|
745
|
-
* @public
|
|
746
|
-
* @enum
|
|
747
|
-
*/
|
|
748
|
-
export declare const ValidationExceptionReason: {
|
|
749
|
-
readonly API_DOES_NOT_SUPPORT_LABELED_ARNS: "API_DOES_NOT_SUPPORT_LABELED_ARNS";
|
|
750
|
-
readonly CANNOT_UPDATE_COMPLETED_MAP_RUN: "CANNOT_UPDATE_COMPLETED_MAP_RUN";
|
|
751
|
-
readonly INVALID_ROUTING_CONFIGURATION: "INVALID_ROUTING_CONFIGURATION";
|
|
752
|
-
readonly MISSING_REQUIRED_PARAMETER: "MISSING_REQUIRED_PARAMETER";
|
|
753
|
-
};
|
|
754
|
-
/**
|
|
755
|
-
* @public
|
|
756
|
-
*/
|
|
757
|
-
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
758
|
-
/**
|
|
759
|
-
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
760
|
-
* @public
|
|
761
|
-
*/
|
|
762
|
-
export declare class ValidationException extends __BaseException {
|
|
763
|
-
readonly name: "ValidationException";
|
|
764
|
-
readonly $fault: "client";
|
|
765
|
-
/**
|
|
766
|
-
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
767
|
-
* @public
|
|
768
|
-
*/
|
|
769
|
-
reason?: ValidationExceptionReason | undefined;
|
|
770
|
-
/**
|
|
771
|
-
* @internal
|
|
772
|
-
*/
|
|
773
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
774
|
-
}
|
|
775
481
|
/**
|
|
776
482
|
* <p>Contains details about the routing configuration of a state machine alias. In a routing
|
|
777
483
|
* configuration, you define an array of objects that specify up to two state machine versions.
|
|
@@ -832,32 +538,6 @@ export interface CreateStateMachineAliasOutput {
|
|
|
832
538
|
*/
|
|
833
539
|
creationDate: Date | undefined;
|
|
834
540
|
}
|
|
835
|
-
/**
|
|
836
|
-
* <p>Could not find the referenced resource.</p>
|
|
837
|
-
* @public
|
|
838
|
-
*/
|
|
839
|
-
export declare class ResourceNotFound extends __BaseException {
|
|
840
|
-
readonly name: "ResourceNotFound";
|
|
841
|
-
readonly $fault: "client";
|
|
842
|
-
resourceName?: string | undefined;
|
|
843
|
-
/**
|
|
844
|
-
* @internal
|
|
845
|
-
*/
|
|
846
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
|
|
847
|
-
}
|
|
848
|
-
/**
|
|
849
|
-
* <p>The request would cause a service quota to be exceeded.</p>
|
|
850
|
-
* <p>HTTP Status Code: 402</p>
|
|
851
|
-
* @public
|
|
852
|
-
*/
|
|
853
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
854
|
-
readonly name: "ServiceQuotaExceededException";
|
|
855
|
-
readonly $fault: "client";
|
|
856
|
-
/**
|
|
857
|
-
* @internal
|
|
858
|
-
*/
|
|
859
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
860
|
-
}
|
|
861
541
|
/**
|
|
862
542
|
* @public
|
|
863
543
|
*/
|
|
@@ -981,18 +661,6 @@ export interface DescribeActivityOutput {
|
|
|
981
661
|
*/
|
|
982
662
|
encryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
983
663
|
}
|
|
984
|
-
/**
|
|
985
|
-
* @public
|
|
986
|
-
* @enum
|
|
987
|
-
*/
|
|
988
|
-
export declare const IncludedData: {
|
|
989
|
-
readonly ALL_DATA: "ALL_DATA";
|
|
990
|
-
readonly METADATA_ONLY: "METADATA_ONLY";
|
|
991
|
-
};
|
|
992
|
-
/**
|
|
993
|
-
* @public
|
|
994
|
-
*/
|
|
995
|
-
export type IncludedData = (typeof IncludedData)[keyof typeof IncludedData];
|
|
996
664
|
/**
|
|
997
665
|
* @public
|
|
998
666
|
*/
|
|
@@ -1020,35 +688,6 @@ export interface CloudWatchEventsExecutionDataDetails {
|
|
|
1020
688
|
*/
|
|
1021
689
|
included?: boolean | undefined;
|
|
1022
690
|
}
|
|
1023
|
-
/**
|
|
1024
|
-
* @public
|
|
1025
|
-
* @enum
|
|
1026
|
-
*/
|
|
1027
|
-
export declare const ExecutionRedriveStatus: {
|
|
1028
|
-
readonly NOT_REDRIVABLE: "NOT_REDRIVABLE";
|
|
1029
|
-
readonly REDRIVABLE: "REDRIVABLE";
|
|
1030
|
-
readonly REDRIVABLE_BY_MAP_RUN: "REDRIVABLE_BY_MAP_RUN";
|
|
1031
|
-
};
|
|
1032
|
-
/**
|
|
1033
|
-
* @public
|
|
1034
|
-
*/
|
|
1035
|
-
export type ExecutionRedriveStatus = (typeof ExecutionRedriveStatus)[keyof typeof ExecutionRedriveStatus];
|
|
1036
|
-
/**
|
|
1037
|
-
* @public
|
|
1038
|
-
* @enum
|
|
1039
|
-
*/
|
|
1040
|
-
export declare const ExecutionStatus: {
|
|
1041
|
-
readonly ABORTED: "ABORTED";
|
|
1042
|
-
readonly FAILED: "FAILED";
|
|
1043
|
-
readonly PENDING_REDRIVE: "PENDING_REDRIVE";
|
|
1044
|
-
readonly RUNNING: "RUNNING";
|
|
1045
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
1046
|
-
readonly TIMED_OUT: "TIMED_OUT";
|
|
1047
|
-
};
|
|
1048
|
-
/**
|
|
1049
|
-
* @public
|
|
1050
|
-
*/
|
|
1051
|
-
export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
|
|
1052
691
|
/**
|
|
1053
692
|
* @public
|
|
1054
693
|
*/
|
|
@@ -1246,50 +885,6 @@ export interface DescribeExecutionOutput {
|
|
|
1246
885
|
*/
|
|
1247
886
|
redriveStatusReason?: string | undefined;
|
|
1248
887
|
}
|
|
1249
|
-
/**
|
|
1250
|
-
* <p>The specified execution does not exist.</p>
|
|
1251
|
-
* @public
|
|
1252
|
-
*/
|
|
1253
|
-
export declare class ExecutionDoesNotExist extends __BaseException {
|
|
1254
|
-
readonly name: "ExecutionDoesNotExist";
|
|
1255
|
-
readonly $fault: "client";
|
|
1256
|
-
/**
|
|
1257
|
-
* @internal
|
|
1258
|
-
*/
|
|
1259
|
-
constructor(opts: __ExceptionOptionType<ExecutionDoesNotExist, __BaseException>);
|
|
1260
|
-
}
|
|
1261
|
-
/**
|
|
1262
|
-
* @public
|
|
1263
|
-
* @enum
|
|
1264
|
-
*/
|
|
1265
|
-
export declare const KmsKeyState: {
|
|
1266
|
-
readonly CREATING: "CREATING";
|
|
1267
|
-
readonly DISABLED: "DISABLED";
|
|
1268
|
-
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
1269
|
-
readonly PENDING_IMPORT: "PENDING_IMPORT";
|
|
1270
|
-
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
1271
|
-
};
|
|
1272
|
-
/**
|
|
1273
|
-
* @public
|
|
1274
|
-
*/
|
|
1275
|
-
export type KmsKeyState = (typeof KmsKeyState)[keyof typeof KmsKeyState];
|
|
1276
|
-
/**
|
|
1277
|
-
* <p>The KMS key is not in valid state, for example: Disabled or Deleted.</p>
|
|
1278
|
-
* @public
|
|
1279
|
-
*/
|
|
1280
|
-
export declare class KmsInvalidStateException extends __BaseException {
|
|
1281
|
-
readonly name: "KmsInvalidStateException";
|
|
1282
|
-
readonly $fault: "client";
|
|
1283
|
-
/**
|
|
1284
|
-
* <p>Current status of the KMS; key. For example: <code>DISABLED</code>, <code>PENDING_DELETION</code>, <code>PENDING_IMPORT</code>, <code>UNAVAILABLE</code>, <code>CREATING</code>.</p>
|
|
1285
|
-
* @public
|
|
1286
|
-
*/
|
|
1287
|
-
kmsKeyState?: KmsKeyState | undefined;
|
|
1288
|
-
/**
|
|
1289
|
-
* @internal
|
|
1290
|
-
*/
|
|
1291
|
-
constructor(opts: __ExceptionOptionType<KmsInvalidStateException, __BaseException>);
|
|
1292
|
-
}
|
|
1293
888
|
/**
|
|
1294
889
|
* @public
|
|
1295
890
|
*/
|
|
@@ -1412,20 +1007,6 @@ export interface MapRunItemCounts {
|
|
|
1412
1007
|
*/
|
|
1413
1008
|
pendingRedrive?: number | undefined;
|
|
1414
1009
|
}
|
|
1415
|
-
/**
|
|
1416
|
-
* @public
|
|
1417
|
-
* @enum
|
|
1418
|
-
*/
|
|
1419
|
-
export declare const MapRunStatus: {
|
|
1420
|
-
readonly ABORTED: "ABORTED";
|
|
1421
|
-
readonly FAILED: "FAILED";
|
|
1422
|
-
readonly RUNNING: "RUNNING";
|
|
1423
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
1424
|
-
};
|
|
1425
|
-
/**
|
|
1426
|
-
* @public
|
|
1427
|
-
*/
|
|
1428
|
-
export type MapRunStatus = (typeof MapRunStatus)[keyof typeof MapRunStatus];
|
|
1429
1010
|
/**
|
|
1430
1011
|
* @public
|
|
1431
1012
|
*/
|
|
@@ -1512,18 +1093,6 @@ export interface DescribeStateMachineInput {
|
|
|
1512
1093
|
*/
|
|
1513
1094
|
includedData?: IncludedData | undefined;
|
|
1514
1095
|
}
|
|
1515
|
-
/**
|
|
1516
|
-
* @public
|
|
1517
|
-
* @enum
|
|
1518
|
-
*/
|
|
1519
|
-
export declare const StateMachineStatus: {
|
|
1520
|
-
readonly ACTIVE: "ACTIVE";
|
|
1521
|
-
readonly DELETING: "DELETING";
|
|
1522
|
-
};
|
|
1523
|
-
/**
|
|
1524
|
-
* @public
|
|
1525
|
-
*/
|
|
1526
|
-
export type StateMachineStatus = (typeof StateMachineStatus)[keyof typeof StateMachineStatus];
|
|
1527
1096
|
/**
|
|
1528
1097
|
* @public
|
|
1529
1098
|
*/
|
|
@@ -1636,18 +1205,6 @@ export interface DescribeStateMachineOutput {
|
|
|
1636
1205
|
*/
|
|
1637
1206
|
variableReferences?: Record<string, string[]> | undefined;
|
|
1638
1207
|
}
|
|
1639
|
-
/**
|
|
1640
|
-
* <p>The specified state machine does not exist.</p>
|
|
1641
|
-
* @public
|
|
1642
|
-
*/
|
|
1643
|
-
export declare class StateMachineDoesNotExist extends __BaseException {
|
|
1644
|
-
readonly name: "StateMachineDoesNotExist";
|
|
1645
|
-
readonly $fault: "client";
|
|
1646
|
-
/**
|
|
1647
|
-
* @internal
|
|
1648
|
-
*/
|
|
1649
|
-
constructor(opts: __ExceptionOptionType<StateMachineDoesNotExist, __BaseException>);
|
|
1650
|
-
}
|
|
1651
1208
|
/**
|
|
1652
1209
|
* @public
|
|
1653
1210
|
*/
|
|
@@ -2467,85 +2024,13 @@ export interface TaskTimedOutEventDetails {
|
|
|
2467
2024
|
*/
|
|
2468
2025
|
cause?: string | undefined;
|
|
2469
2026
|
}
|
|
2470
|
-
/**
|
|
2471
|
-
* @public
|
|
2472
|
-
* @enum
|
|
2473
|
-
*/
|
|
2474
|
-
export declare const HistoryEventType: {
|
|
2475
|
-
readonly ActivityFailed: "ActivityFailed";
|
|
2476
|
-
readonly ActivityScheduleFailed: "ActivityScheduleFailed";
|
|
2477
|
-
readonly ActivityScheduled: "ActivityScheduled";
|
|
2478
|
-
readonly ActivityStarted: "ActivityStarted";
|
|
2479
|
-
readonly ActivitySucceeded: "ActivitySucceeded";
|
|
2480
|
-
readonly ActivityTimedOut: "ActivityTimedOut";
|
|
2481
|
-
readonly ChoiceStateEntered: "ChoiceStateEntered";
|
|
2482
|
-
readonly ChoiceStateExited: "ChoiceStateExited";
|
|
2483
|
-
readonly EvaluationFailed: "EvaluationFailed";
|
|
2484
|
-
readonly ExecutionAborted: "ExecutionAborted";
|
|
2485
|
-
readonly ExecutionFailed: "ExecutionFailed";
|
|
2486
|
-
readonly ExecutionRedriven: "ExecutionRedriven";
|
|
2487
|
-
readonly ExecutionStarted: "ExecutionStarted";
|
|
2488
|
-
readonly ExecutionSucceeded: "ExecutionSucceeded";
|
|
2489
|
-
readonly ExecutionTimedOut: "ExecutionTimedOut";
|
|
2490
|
-
readonly FailStateEntered: "FailStateEntered";
|
|
2491
|
-
readonly LambdaFunctionFailed: "LambdaFunctionFailed";
|
|
2492
|
-
readonly LambdaFunctionScheduleFailed: "LambdaFunctionScheduleFailed";
|
|
2493
|
-
readonly LambdaFunctionScheduled: "LambdaFunctionScheduled";
|
|
2494
|
-
readonly LambdaFunctionStartFailed: "LambdaFunctionStartFailed";
|
|
2495
|
-
readonly LambdaFunctionStarted: "LambdaFunctionStarted";
|
|
2496
|
-
readonly LambdaFunctionSucceeded: "LambdaFunctionSucceeded";
|
|
2497
|
-
readonly LambdaFunctionTimedOut: "LambdaFunctionTimedOut";
|
|
2498
|
-
readonly MapIterationAborted: "MapIterationAborted";
|
|
2499
|
-
readonly MapIterationFailed: "MapIterationFailed";
|
|
2500
|
-
readonly MapIterationStarted: "MapIterationStarted";
|
|
2501
|
-
readonly MapIterationSucceeded: "MapIterationSucceeded";
|
|
2502
|
-
readonly MapRunAborted: "MapRunAborted";
|
|
2503
|
-
readonly MapRunFailed: "MapRunFailed";
|
|
2504
|
-
readonly MapRunRedriven: "MapRunRedriven";
|
|
2505
|
-
readonly MapRunStarted: "MapRunStarted";
|
|
2506
|
-
readonly MapRunSucceeded: "MapRunSucceeded";
|
|
2507
|
-
readonly MapStateAborted: "MapStateAborted";
|
|
2508
|
-
readonly MapStateEntered: "MapStateEntered";
|
|
2509
|
-
readonly MapStateExited: "MapStateExited";
|
|
2510
|
-
readonly MapStateFailed: "MapStateFailed";
|
|
2511
|
-
readonly MapStateStarted: "MapStateStarted";
|
|
2512
|
-
readonly MapStateSucceeded: "MapStateSucceeded";
|
|
2513
|
-
readonly ParallelStateAborted: "ParallelStateAborted";
|
|
2514
|
-
readonly ParallelStateEntered: "ParallelStateEntered";
|
|
2515
|
-
readonly ParallelStateExited: "ParallelStateExited";
|
|
2516
|
-
readonly ParallelStateFailed: "ParallelStateFailed";
|
|
2517
|
-
readonly ParallelStateStarted: "ParallelStateStarted";
|
|
2518
|
-
readonly ParallelStateSucceeded: "ParallelStateSucceeded";
|
|
2519
|
-
readonly PassStateEntered: "PassStateEntered";
|
|
2520
|
-
readonly PassStateExited: "PassStateExited";
|
|
2521
|
-
readonly SucceedStateEntered: "SucceedStateEntered";
|
|
2522
|
-
readonly SucceedStateExited: "SucceedStateExited";
|
|
2523
|
-
readonly TaskFailed: "TaskFailed";
|
|
2524
|
-
readonly TaskScheduled: "TaskScheduled";
|
|
2525
|
-
readonly TaskStartFailed: "TaskStartFailed";
|
|
2526
|
-
readonly TaskStarted: "TaskStarted";
|
|
2527
|
-
readonly TaskStateAborted: "TaskStateAborted";
|
|
2528
|
-
readonly TaskStateEntered: "TaskStateEntered";
|
|
2529
|
-
readonly TaskStateExited: "TaskStateExited";
|
|
2530
|
-
readonly TaskSubmitFailed: "TaskSubmitFailed";
|
|
2531
|
-
readonly TaskSubmitted: "TaskSubmitted";
|
|
2532
|
-
readonly TaskSucceeded: "TaskSucceeded";
|
|
2533
|
-
readonly TaskTimedOut: "TaskTimedOut";
|
|
2534
|
-
readonly WaitStateAborted: "WaitStateAborted";
|
|
2535
|
-
readonly WaitStateEntered: "WaitStateEntered";
|
|
2536
|
-
readonly WaitStateExited: "WaitStateExited";
|
|
2537
|
-
};
|
|
2538
|
-
/**
|
|
2539
|
-
* @public
|
|
2540
|
-
*/
|
|
2541
|
-
export type HistoryEventType = (typeof HistoryEventType)[keyof typeof HistoryEventType];
|
|
2542
2027
|
/**
|
|
2543
2028
|
* <p>Contains details about the events of an execution.</p>
|
|
2544
2029
|
* @public
|
|
2545
2030
|
*/
|
|
2546
2031
|
export interface HistoryEvent {
|
|
2547
2032
|
/**
|
|
2548
|
-
* <p>The date and time the event occurred.</p>
|
|
2033
|
+
* <p>The date and time the event occurred, expressed in seconds and fractional milliseconds since the Unix epoch, which is defined as January 1, 1970, at 00:00:00 Coordinated Universal Time (UTC).</p>
|
|
2549
2034
|
* @public
|
|
2550
2035
|
*/
|
|
2551
2036
|
timestamp: Date | undefined;
|
|
@@ -2769,18 +2254,6 @@ export interface GetExecutionHistoryOutput {
|
|
|
2769
2254
|
*/
|
|
2770
2255
|
nextToken?: string | undefined;
|
|
2771
2256
|
}
|
|
2772
|
-
/**
|
|
2773
|
-
* <p>The provided token is not valid.</p>
|
|
2774
|
-
* @public
|
|
2775
|
-
*/
|
|
2776
|
-
export declare class InvalidToken extends __BaseException {
|
|
2777
|
-
readonly name: "InvalidToken";
|
|
2778
|
-
readonly $fault: "client";
|
|
2779
|
-
/**
|
|
2780
|
-
* @internal
|
|
2781
|
-
*/
|
|
2782
|
-
constructor(opts: __ExceptionOptionType<InvalidToken, __BaseException>);
|
|
2783
|
-
}
|
|
2784
2257
|
/**
|
|
2785
2258
|
* @public
|
|
2786
2259
|
*/
|
|
@@ -2815,18 +2288,6 @@ export interface ListActivitiesOutput {
|
|
|
2815
2288
|
*/
|
|
2816
2289
|
nextToken?: string | undefined;
|
|
2817
2290
|
}
|
|
2818
|
-
/**
|
|
2819
|
-
* @public
|
|
2820
|
-
* @enum
|
|
2821
|
-
*/
|
|
2822
|
-
export declare const ExecutionRedriveFilter: {
|
|
2823
|
-
readonly NOT_REDRIVEN: "NOT_REDRIVEN";
|
|
2824
|
-
readonly REDRIVEN: "REDRIVEN";
|
|
2825
|
-
};
|
|
2826
|
-
/**
|
|
2827
|
-
* @public
|
|
2828
|
-
*/
|
|
2829
|
-
export type ExecutionRedriveFilter = (typeof ExecutionRedriveFilter)[keyof typeof ExecutionRedriveFilter];
|
|
2830
2291
|
/**
|
|
2831
2292
|
* @public
|
|
2832
2293
|
*/
|
|
@@ -3319,31 +2780,6 @@ export interface PublishStateMachineVersionOutput {
|
|
|
3319
2780
|
*/
|
|
3320
2781
|
stateMachineVersionArn: string | undefined;
|
|
3321
2782
|
}
|
|
3322
|
-
/**
|
|
3323
|
-
* <p>The maximum number of running executions has been reached. Running executions must end or
|
|
3324
|
-
* be stopped before a new execution can be started.</p>
|
|
3325
|
-
* @public
|
|
3326
|
-
*/
|
|
3327
|
-
export declare class ExecutionLimitExceeded extends __BaseException {
|
|
3328
|
-
readonly name: "ExecutionLimitExceeded";
|
|
3329
|
-
readonly $fault: "client";
|
|
3330
|
-
/**
|
|
3331
|
-
* @internal
|
|
3332
|
-
*/
|
|
3333
|
-
constructor(opts: __ExceptionOptionType<ExecutionLimitExceeded, __BaseException>);
|
|
3334
|
-
}
|
|
3335
|
-
/**
|
|
3336
|
-
* <p>The execution Amazon Resource Name (ARN) that you specified for <code>executionArn</code> cannot be redriven.</p>
|
|
3337
|
-
* @public
|
|
3338
|
-
*/
|
|
3339
|
-
export declare class ExecutionNotRedrivable extends __BaseException {
|
|
3340
|
-
readonly name: "ExecutionNotRedrivable";
|
|
3341
|
-
readonly $fault: "client";
|
|
3342
|
-
/**
|
|
3343
|
-
* @internal
|
|
3344
|
-
*/
|
|
3345
|
-
constructor(opts: __ExceptionOptionType<ExecutionNotRedrivable, __BaseException>);
|
|
3346
|
-
}
|
|
3347
2783
|
/**
|
|
3348
2784
|
* @public
|
|
3349
2785
|
*/
|
|
@@ -3396,30 +2832,6 @@ export interface SendTaskFailureInput {
|
|
|
3396
2832
|
*/
|
|
3397
2833
|
export interface SendTaskFailureOutput {
|
|
3398
2834
|
}
|
|
3399
|
-
/**
|
|
3400
|
-
* <p>The activity does not exist.</p>
|
|
3401
|
-
* @public
|
|
3402
|
-
*/
|
|
3403
|
-
export declare class TaskDoesNotExist extends __BaseException {
|
|
3404
|
-
readonly name: "TaskDoesNotExist";
|
|
3405
|
-
readonly $fault: "client";
|
|
3406
|
-
/**
|
|
3407
|
-
* @internal
|
|
3408
|
-
*/
|
|
3409
|
-
constructor(opts: __ExceptionOptionType<TaskDoesNotExist, __BaseException>);
|
|
3410
|
-
}
|
|
3411
|
-
/**
|
|
3412
|
-
* <p>The task token has either expired or the task associated with the token has already been closed.</p>
|
|
3413
|
-
* @public
|
|
3414
|
-
*/
|
|
3415
|
-
export declare class TaskTimedOut extends __BaseException {
|
|
3416
|
-
readonly name: "TaskTimedOut";
|
|
3417
|
-
readonly $fault: "client";
|
|
3418
|
-
/**
|
|
3419
|
-
* @internal
|
|
3420
|
-
*/
|
|
3421
|
-
constructor(opts: __ExceptionOptionType<TaskTimedOut, __BaseException>);
|
|
3422
|
-
}
|
|
3423
2835
|
/**
|
|
3424
2836
|
* @public
|
|
3425
2837
|
*/
|
|
@@ -3437,18 +2849,6 @@ export interface SendTaskHeartbeatInput {
|
|
|
3437
2849
|
*/
|
|
3438
2850
|
export interface SendTaskHeartbeatOutput {
|
|
3439
2851
|
}
|
|
3440
|
-
/**
|
|
3441
|
-
* <p>The provided JSON output data is not valid.</p>
|
|
3442
|
-
* @public
|
|
3443
|
-
*/
|
|
3444
|
-
export declare class InvalidOutput extends __BaseException {
|
|
3445
|
-
readonly name: "InvalidOutput";
|
|
3446
|
-
readonly $fault: "client";
|
|
3447
|
-
/**
|
|
3448
|
-
* @internal
|
|
3449
|
-
*/
|
|
3450
|
-
constructor(opts: __ExceptionOptionType<InvalidOutput, __BaseException>);
|
|
3451
|
-
}
|
|
3452
2852
|
/**
|
|
3453
2853
|
* @public
|
|
3454
2854
|
*/
|
|
@@ -3471,35 +2871,6 @@ export interface SendTaskSuccessInput {
|
|
|
3471
2871
|
*/
|
|
3472
2872
|
export interface SendTaskSuccessOutput {
|
|
3473
2873
|
}
|
|
3474
|
-
/**
|
|
3475
|
-
* <p>The execution has the same <code>name</code> as another execution (but a different
|
|
3476
|
-
* <code>input</code>).</p>
|
|
3477
|
-
* <note>
|
|
3478
|
-
* <p>Executions with the same <code>name</code> and <code>input</code> are considered
|
|
3479
|
-
* idempotent.</p>
|
|
3480
|
-
* </note>
|
|
3481
|
-
* @public
|
|
3482
|
-
*/
|
|
3483
|
-
export declare class ExecutionAlreadyExists extends __BaseException {
|
|
3484
|
-
readonly name: "ExecutionAlreadyExists";
|
|
3485
|
-
readonly $fault: "client";
|
|
3486
|
-
/**
|
|
3487
|
-
* @internal
|
|
3488
|
-
*/
|
|
3489
|
-
constructor(opts: __ExceptionOptionType<ExecutionAlreadyExists, __BaseException>);
|
|
3490
|
-
}
|
|
3491
|
-
/**
|
|
3492
|
-
* <p>The provided JSON input data is not valid.</p>
|
|
3493
|
-
* @public
|
|
3494
|
-
*/
|
|
3495
|
-
export declare class InvalidExecutionInput extends __BaseException {
|
|
3496
|
-
readonly name: "InvalidExecutionInput";
|
|
3497
|
-
readonly $fault: "client";
|
|
3498
|
-
/**
|
|
3499
|
-
* @internal
|
|
3500
|
-
*/
|
|
3501
|
-
constructor(opts: __ExceptionOptionType<InvalidExecutionInput, __BaseException>);
|
|
3502
|
-
}
|
|
3503
2874
|
/**
|
|
3504
2875
|
* @public
|
|
3505
2876
|
*/
|
|
@@ -3676,19 +3047,6 @@ export interface BillingDetails {
|
|
|
3676
3047
|
*/
|
|
3677
3048
|
billedDurationInMilliseconds?: number | undefined;
|
|
3678
3049
|
}
|
|
3679
|
-
/**
|
|
3680
|
-
* @public
|
|
3681
|
-
* @enum
|
|
3682
|
-
*/
|
|
3683
|
-
export declare const SyncExecutionStatus: {
|
|
3684
|
-
readonly FAILED: "FAILED";
|
|
3685
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
3686
|
-
readonly TIMED_OUT: "TIMED_OUT";
|
|
3687
|
-
};
|
|
3688
|
-
/**
|
|
3689
|
-
* @public
|
|
3690
|
-
*/
|
|
3691
|
-
export type SyncExecutionStatus = (typeof SyncExecutionStatus)[keyof typeof SyncExecutionStatus];
|
|
3692
3050
|
/**
|
|
3693
3051
|
* @public
|
|
3694
3052
|
*/
|
|
@@ -3826,24 +3184,89 @@ export interface TagResourceInput {
|
|
|
3826
3184
|
export interface TagResourceOutput {
|
|
3827
3185
|
}
|
|
3828
3186
|
/**
|
|
3187
|
+
* <p>A JSON object that contains a mocked error.</p>
|
|
3829
3188
|
* @public
|
|
3830
|
-
* @enum
|
|
3831
3189
|
*/
|
|
3832
|
-
export
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3190
|
+
export interface MockErrorOutput {
|
|
3191
|
+
/**
|
|
3192
|
+
* <p>A string denoting the error code of the exception thrown when invoking the tested state. This field is required if <code>mock.errorOutput</code> is specified.</p>
|
|
3193
|
+
* @public
|
|
3194
|
+
*/
|
|
3195
|
+
error?: string | undefined;
|
|
3196
|
+
/**
|
|
3197
|
+
* <p>A string containing the cause of the exception thrown when executing the state's logic.</p>
|
|
3198
|
+
* @public
|
|
3199
|
+
*/
|
|
3200
|
+
cause?: string | undefined;
|
|
3201
|
+
}
|
|
3202
|
+
/**
|
|
3203
|
+
* <p>A JSON object that contains a mocked <code>result</code> or <code>errorOutput</code>.</p>
|
|
3204
|
+
* @public
|
|
3205
|
+
*/
|
|
3206
|
+
export interface MockInput {
|
|
3207
|
+
/**
|
|
3208
|
+
* <p>A JSON string containing the mocked result of the state invocation.</p>
|
|
3209
|
+
* @public
|
|
3210
|
+
*/
|
|
3211
|
+
result?: string | undefined;
|
|
3212
|
+
/**
|
|
3213
|
+
* <p>The mocked error output when calling TestState. When specified, the mocked response is returned as a JSON object that contains an <code>error</code> and <code>cause</code> field.</p>
|
|
3214
|
+
* @public
|
|
3215
|
+
*/
|
|
3216
|
+
errorOutput?: MockErrorOutput | undefined;
|
|
3217
|
+
/**
|
|
3218
|
+
* <p>Determines the level of strictness when validating mocked results against their respective API models. Values include:</p>
|
|
3219
|
+
* <ul>
|
|
3220
|
+
* <li>
|
|
3221
|
+
* <p>
|
|
3222
|
+
* <code>STRICT</code>: All required fields must be present, and all present fields must conform to the API's schema.</p>
|
|
3223
|
+
* </li>
|
|
3224
|
+
* <li>
|
|
3225
|
+
* <p>
|
|
3226
|
+
* <code>PRESENT</code>: All present fields must conform to the API's schema.</p>
|
|
3227
|
+
* </li>
|
|
3228
|
+
* <li>
|
|
3229
|
+
* <p>
|
|
3230
|
+
* <code>NONE</code>: No validation is performed.</p>
|
|
3231
|
+
* </li>
|
|
3232
|
+
* </ul>
|
|
3233
|
+
* <p>If no value is specified, the default value is <code>STRICT</code>.</p>
|
|
3234
|
+
* @public
|
|
3235
|
+
*/
|
|
3236
|
+
fieldValidationMode?: MockResponseValidationMode | undefined;
|
|
3237
|
+
}
|
|
3837
3238
|
/**
|
|
3239
|
+
* <p>Contains configurations for the tested state.</p>
|
|
3838
3240
|
* @public
|
|
3839
3241
|
*/
|
|
3840
|
-
export
|
|
3242
|
+
export interface TestStateConfiguration {
|
|
3243
|
+
/**
|
|
3244
|
+
* <p>The number of retry attempts that have occurred for the state's Retry that applies to the mocked error.</p>
|
|
3245
|
+
* @public
|
|
3246
|
+
*/
|
|
3247
|
+
retrierRetryCount?: number | undefined;
|
|
3248
|
+
/**
|
|
3249
|
+
* <p>The name of the state from which an error originates when an error is mocked for a Map or Parallel state.</p>
|
|
3250
|
+
* @public
|
|
3251
|
+
*/
|
|
3252
|
+
errorCausedByState?: string | undefined;
|
|
3253
|
+
/**
|
|
3254
|
+
* <p>The number of Map state iterations that failed during the Map state invocation.</p>
|
|
3255
|
+
* @public
|
|
3256
|
+
*/
|
|
3257
|
+
mapIterationFailureCount?: number | undefined;
|
|
3258
|
+
/**
|
|
3259
|
+
* <p>The data read by ItemReader in Distributed Map states as found in its original source.</p>
|
|
3260
|
+
* @public
|
|
3261
|
+
*/
|
|
3262
|
+
mapItemReaderData?: string | undefined;
|
|
3263
|
+
}
|
|
3841
3264
|
/**
|
|
3842
3265
|
* @public
|
|
3843
3266
|
*/
|
|
3844
3267
|
export interface TestStateInput {
|
|
3845
3268
|
/**
|
|
3846
|
-
* <p>The <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States Language</a> (ASL) definition of the state.</p>
|
|
3269
|
+
* <p>The <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States Language</a> (ASL) definition of the state or state machine.</p>
|
|
3847
3270
|
* @public
|
|
3848
3271
|
*/
|
|
3849
3272
|
definition: string | undefined;
|
|
@@ -3889,6 +3312,48 @@ export interface TestStateInput {
|
|
|
3889
3312
|
* @public
|
|
3890
3313
|
*/
|
|
3891
3314
|
variables?: string | undefined;
|
|
3315
|
+
/**
|
|
3316
|
+
* <p>Denotes the particular state within a state machine definition to be tested. If this field is specified, the <code>definition</code> must contain a fully-formed state machine definition.</p>
|
|
3317
|
+
* @public
|
|
3318
|
+
*/
|
|
3319
|
+
stateName?: string | undefined;
|
|
3320
|
+
/**
|
|
3321
|
+
* <p>Defines a mocked result or error for the state under test.</p>
|
|
3322
|
+
* <p>A mock can only be specified for Task, Map, or Parallel states. If it is specified for another state type, an exception will be thrown.</p>
|
|
3323
|
+
* @public
|
|
3324
|
+
*/
|
|
3325
|
+
mock?: MockInput | undefined;
|
|
3326
|
+
/**
|
|
3327
|
+
* <p>A JSON string representing a valid Context object for the state under test. This field may only be specified if a mock is specified in the same request.</p>
|
|
3328
|
+
* @public
|
|
3329
|
+
*/
|
|
3330
|
+
context?: string | undefined;
|
|
3331
|
+
/**
|
|
3332
|
+
* <p>Contains configurations for the state under test.</p>
|
|
3333
|
+
* @public
|
|
3334
|
+
*/
|
|
3335
|
+
stateConfiguration?: TestStateConfiguration | undefined;
|
|
3336
|
+
}
|
|
3337
|
+
/**
|
|
3338
|
+
* <p>An object containing data about a handled exception in the tested state.</p>
|
|
3339
|
+
* @public
|
|
3340
|
+
*/
|
|
3341
|
+
export interface InspectionErrorDetails {
|
|
3342
|
+
/**
|
|
3343
|
+
* <p>The array index of the Catch which handled the exception.</p>
|
|
3344
|
+
* @public
|
|
3345
|
+
*/
|
|
3346
|
+
catchIndex?: number | undefined;
|
|
3347
|
+
/**
|
|
3348
|
+
* <p>The array index of the Retry which handled the exception.</p>
|
|
3349
|
+
* @public
|
|
3350
|
+
*/
|
|
3351
|
+
retryIndex?: number | undefined;
|
|
3352
|
+
/**
|
|
3353
|
+
* <p>The duration in seconds of the backoff for a retry on a failed state invocation.</p>
|
|
3354
|
+
* @public
|
|
3355
|
+
*/
|
|
3356
|
+
retryBackoffIntervalSeconds?: number | undefined;
|
|
3892
3357
|
}
|
|
3893
3358
|
/**
|
|
3894
3359
|
* <p>Contains additional details about the state's execution, including its input and output data processing flow, and HTTP request information.</p>
|
|
@@ -4007,21 +3472,47 @@ export interface InspectionData {
|
|
|
4007
3472
|
* @public
|
|
4008
3473
|
*/
|
|
4009
3474
|
variables?: string | undefined;
|
|
3475
|
+
/**
|
|
3476
|
+
* <p>An object containing data about a handled exception in the tested state.</p>
|
|
3477
|
+
* @public
|
|
3478
|
+
*/
|
|
3479
|
+
errorDetails?: InspectionErrorDetails | undefined;
|
|
3480
|
+
/**
|
|
3481
|
+
* <p>The effective input after the ItemsPath filter is applied. Not populated when the QueryLanguage is JSONata.</p>
|
|
3482
|
+
* @public
|
|
3483
|
+
*/
|
|
3484
|
+
afterItemsPath?: string | undefined;
|
|
3485
|
+
/**
|
|
3486
|
+
* <p>An array containing the inputs for each Map iteration, transformed by the ItemSelector specified in a Map state.</p>
|
|
3487
|
+
* @public
|
|
3488
|
+
*/
|
|
3489
|
+
afterItemSelector?: string | undefined;
|
|
3490
|
+
/**
|
|
3491
|
+
* <p>The effective input after the ItemBatcher filter is applied in a Map state.</p>
|
|
3492
|
+
* @public
|
|
3493
|
+
*/
|
|
3494
|
+
afterItemBatcher?: string | undefined;
|
|
3495
|
+
/**
|
|
3496
|
+
* <p>The effective input after the ItemsPointer filter is applied in a Map state.</p>
|
|
3497
|
+
* @public
|
|
3498
|
+
*/
|
|
3499
|
+
afterItemsPointer?: string | undefined;
|
|
3500
|
+
/**
|
|
3501
|
+
* <p>The tolerated failure threshold for a Map state as defined in number of Map state iterations.</p>
|
|
3502
|
+
* @public
|
|
3503
|
+
*/
|
|
3504
|
+
toleratedFailureCount?: number | undefined;
|
|
3505
|
+
/**
|
|
3506
|
+
* <p>The tolerated failure threshold for a Map state as defined in percentage of Map state iterations.</p>
|
|
3507
|
+
* @public
|
|
3508
|
+
*/
|
|
3509
|
+
toleratedFailurePercentage?: number | undefined;
|
|
3510
|
+
/**
|
|
3511
|
+
* <p>The max concurrency of the Map state.</p>
|
|
3512
|
+
* @public
|
|
3513
|
+
*/
|
|
3514
|
+
maxConcurrency?: number | undefined;
|
|
4010
3515
|
}
|
|
4011
|
-
/**
|
|
4012
|
-
* @public
|
|
4013
|
-
* @enum
|
|
4014
|
-
*/
|
|
4015
|
-
export declare const TestExecutionStatus: {
|
|
4016
|
-
readonly CAUGHT_ERROR: "CAUGHT_ERROR";
|
|
4017
|
-
readonly FAILED: "FAILED";
|
|
4018
|
-
readonly RETRIABLE: "RETRIABLE";
|
|
4019
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
4020
|
-
};
|
|
4021
|
-
/**
|
|
4022
|
-
* @public
|
|
4023
|
-
*/
|
|
4024
|
-
export type TestExecutionStatus = (typeof TestExecutionStatus)[keyof typeof TestExecutionStatus];
|
|
4025
3516
|
/**
|
|
4026
3517
|
* @public
|
|
4027
3518
|
*/
|
|
@@ -4107,19 +3598,6 @@ export interface UpdateMapRunInput {
|
|
|
4107
3598
|
*/
|
|
4108
3599
|
export interface UpdateMapRunOutput {
|
|
4109
3600
|
}
|
|
4110
|
-
/**
|
|
4111
|
-
* <p>Request is missing a required parameter. This error occurs if both <code>definition</code>
|
|
4112
|
-
* and <code>roleArn</code> are not specified.</p>
|
|
4113
|
-
* @public
|
|
4114
|
-
*/
|
|
4115
|
-
export declare class MissingRequiredParameter extends __BaseException {
|
|
4116
|
-
readonly name: "MissingRequiredParameter";
|
|
4117
|
-
readonly $fault: "client";
|
|
4118
|
-
/**
|
|
4119
|
-
* @internal
|
|
4120
|
-
*/
|
|
4121
|
-
constructor(opts: __ExceptionOptionType<MissingRequiredParameter, __BaseException>);
|
|
4122
|
-
}
|
|
4123
3601
|
/**
|
|
4124
3602
|
* @public
|
|
4125
3603
|
*/
|
|
@@ -4221,18 +3699,6 @@ export interface UpdateStateMachineAliasOutput {
|
|
|
4221
3699
|
*/
|
|
4222
3700
|
updateDate: Date | undefined;
|
|
4223
3701
|
}
|
|
4224
|
-
/**
|
|
4225
|
-
* @public
|
|
4226
|
-
* @enum
|
|
4227
|
-
*/
|
|
4228
|
-
export declare const ValidateStateMachineDefinitionSeverity: {
|
|
4229
|
-
readonly ERROR: "ERROR";
|
|
4230
|
-
readonly WARNING: "WARNING";
|
|
4231
|
-
};
|
|
4232
|
-
/**
|
|
4233
|
-
* @public
|
|
4234
|
-
*/
|
|
4235
|
-
export type ValidateStateMachineDefinitionSeverity = (typeof ValidateStateMachineDefinitionSeverity)[keyof typeof ValidateStateMachineDefinitionSeverity];
|
|
4236
3702
|
/**
|
|
4237
3703
|
* @public
|
|
4238
3704
|
*/
|
|
@@ -4379,18 +3845,6 @@ export interface ValidateStateMachineDefinitionDiagnostic {
|
|
|
4379
3845
|
*/
|
|
4380
3846
|
location?: string | undefined;
|
|
4381
3847
|
}
|
|
4382
|
-
/**
|
|
4383
|
-
* @public
|
|
4384
|
-
* @enum
|
|
4385
|
-
*/
|
|
4386
|
-
export declare const ValidateStateMachineDefinitionResultCode: {
|
|
4387
|
-
readonly FAIL: "FAIL";
|
|
4388
|
-
readonly OK: "OK";
|
|
4389
|
-
};
|
|
4390
|
-
/**
|
|
4391
|
-
* @public
|
|
4392
|
-
*/
|
|
4393
|
-
export type ValidateStateMachineDefinitionResultCode = (typeof ValidateStateMachineDefinitionResultCode)[keyof typeof ValidateStateMachineDefinitionResultCode];
|
|
4394
3848
|
/**
|
|
4395
3849
|
* @public
|
|
4396
3850
|
*/
|