@aws-sdk/client-sfn 3.934.0 → 3.935.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 +12 -12
- 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,30 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import {
|
|
2
|
+
EncryptionType,
|
|
3
|
+
ExecutionRedriveFilter,
|
|
4
|
+
ExecutionRedriveStatus,
|
|
5
|
+
ExecutionStatus,
|
|
6
|
+
HistoryEventType,
|
|
7
|
+
IncludedData,
|
|
8
|
+
InspectionLevel,
|
|
9
|
+
LogLevel,
|
|
10
|
+
MapRunStatus,
|
|
11
|
+
MockResponseValidationMode,
|
|
12
|
+
StateMachineStatus,
|
|
13
|
+
StateMachineType,
|
|
14
|
+
SyncExecutionStatus,
|
|
15
|
+
TestExecutionStatus,
|
|
16
|
+
ValidateStateMachineDefinitionResultCode,
|
|
17
|
+
ValidateStateMachineDefinitionSeverity,
|
|
18
|
+
} from "./enums";
|
|
17
19
|
export interface ActivityFailedEventDetails {
|
|
18
20
|
error?: string | undefined;
|
|
19
21
|
cause?: string | undefined;
|
|
20
22
|
}
|
|
21
|
-
export declare class ActivityLimitExceeded extends __BaseException {
|
|
22
|
-
readonly name: "ActivityLimitExceeded";
|
|
23
|
-
readonly $fault: "client";
|
|
24
|
-
constructor(
|
|
25
|
-
opts: __ExceptionOptionType<ActivityLimitExceeded, __BaseException>
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
23
|
export interface ActivityListItem {
|
|
29
24
|
activityArn: string | undefined;
|
|
30
25
|
name: string | undefined;
|
|
@@ -55,22 +50,9 @@ export interface ActivityTimedOutEventDetails {
|
|
|
55
50
|
error?: string | undefined;
|
|
56
51
|
cause?: string | undefined;
|
|
57
52
|
}
|
|
58
|
-
export declare class ActivityWorkerLimitExceeded extends __BaseException {
|
|
59
|
-
readonly name: "ActivityWorkerLimitExceeded";
|
|
60
|
-
readonly $fault: "client";
|
|
61
|
-
constructor(
|
|
62
|
-
opts: __ExceptionOptionType<ActivityWorkerLimitExceeded, __BaseException>
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
53
|
export interface AssignedVariablesDetails {
|
|
66
54
|
truncated?: boolean | undefined;
|
|
67
55
|
}
|
|
68
|
-
export declare const EncryptionType: {
|
|
69
|
-
readonly AWS_OWNED_KEY: "AWS_OWNED_KEY";
|
|
70
|
-
readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
|
|
71
|
-
};
|
|
72
|
-
export type EncryptionType =
|
|
73
|
-
(typeof EncryptionType)[keyof typeof EncryptionType];
|
|
74
56
|
export interface EncryptionConfiguration {
|
|
75
57
|
kmsKeyId?: string | undefined;
|
|
76
58
|
kmsDataKeyReusePeriodSeconds?: number | undefined;
|
|
@@ -89,56 +71,12 @@ export interface CreateActivityOutput {
|
|
|
89
71
|
activityArn: string | undefined;
|
|
90
72
|
creationDate: Date | undefined;
|
|
91
73
|
}
|
|
92
|
-
export declare class InvalidEncryptionConfiguration extends __BaseException {
|
|
93
|
-
readonly name: "InvalidEncryptionConfiguration";
|
|
94
|
-
readonly $fault: "client";
|
|
95
|
-
constructor(
|
|
96
|
-
opts: __ExceptionOptionType<InvalidEncryptionConfiguration, __BaseException>
|
|
97
|
-
);
|
|
98
|
-
}
|
|
99
|
-
export declare class InvalidName extends __BaseException {
|
|
100
|
-
readonly name: "InvalidName";
|
|
101
|
-
readonly $fault: "client";
|
|
102
|
-
constructor(opts: __ExceptionOptionType<InvalidName, __BaseException>);
|
|
103
|
-
}
|
|
104
|
-
export declare class KmsAccessDeniedException extends __BaseException {
|
|
105
|
-
readonly name: "KmsAccessDeniedException";
|
|
106
|
-
readonly $fault: "client";
|
|
107
|
-
constructor(
|
|
108
|
-
opts: __ExceptionOptionType<KmsAccessDeniedException, __BaseException>
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
export declare class KmsThrottlingException extends __BaseException {
|
|
112
|
-
readonly name: "KmsThrottlingException";
|
|
113
|
-
readonly $fault: "client";
|
|
114
|
-
constructor(
|
|
115
|
-
opts: __ExceptionOptionType<KmsThrottlingException, __BaseException>
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
|
-
export declare class TooManyTags extends __BaseException {
|
|
119
|
-
readonly name: "TooManyTags";
|
|
120
|
-
readonly $fault: "client";
|
|
121
|
-
resourceName?: string | undefined;
|
|
122
|
-
constructor(opts: __ExceptionOptionType<TooManyTags, __BaseException>);
|
|
123
|
-
}
|
|
124
|
-
export declare class ConflictException extends __BaseException {
|
|
125
|
-
readonly name: "ConflictException";
|
|
126
|
-
readonly $fault: "client";
|
|
127
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
128
|
-
}
|
|
129
74
|
export interface CloudWatchLogsLogGroup {
|
|
130
75
|
logGroupArn?: string | undefined;
|
|
131
76
|
}
|
|
132
77
|
export interface LogDestination {
|
|
133
78
|
cloudWatchLogsLogGroup?: CloudWatchLogsLogGroup | undefined;
|
|
134
79
|
}
|
|
135
|
-
export declare const LogLevel: {
|
|
136
|
-
readonly ALL: "ALL";
|
|
137
|
-
readonly ERROR: "ERROR";
|
|
138
|
-
readonly FATAL: "FATAL";
|
|
139
|
-
readonly OFF: "OFF";
|
|
140
|
-
};
|
|
141
|
-
export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
|
|
142
80
|
export interface LoggingConfiguration {
|
|
143
81
|
level?: LogLevel | undefined;
|
|
144
82
|
includeExecutionData?: boolean | undefined;
|
|
@@ -147,12 +85,6 @@ export interface LoggingConfiguration {
|
|
|
147
85
|
export interface TracingConfiguration {
|
|
148
86
|
enabled?: boolean | undefined;
|
|
149
87
|
}
|
|
150
|
-
export declare const StateMachineType: {
|
|
151
|
-
readonly EXPRESS: "EXPRESS";
|
|
152
|
-
readonly STANDARD: "STANDARD";
|
|
153
|
-
};
|
|
154
|
-
export type StateMachineType =
|
|
155
|
-
(typeof StateMachineType)[keyof typeof StateMachineType];
|
|
156
88
|
export interface CreateStateMachineInput {
|
|
157
89
|
name: string | undefined;
|
|
158
90
|
definition: string | undefined;
|
|
@@ -170,74 +102,6 @@ export interface CreateStateMachineOutput {
|
|
|
170
102
|
creationDate: Date | undefined;
|
|
171
103
|
stateMachineVersionArn?: string | undefined;
|
|
172
104
|
}
|
|
173
|
-
export declare class InvalidArn extends __BaseException {
|
|
174
|
-
readonly name: "InvalidArn";
|
|
175
|
-
readonly $fault: "client";
|
|
176
|
-
constructor(opts: __ExceptionOptionType<InvalidArn, __BaseException>);
|
|
177
|
-
}
|
|
178
|
-
export declare class InvalidDefinition extends __BaseException {
|
|
179
|
-
readonly name: "InvalidDefinition";
|
|
180
|
-
readonly $fault: "client";
|
|
181
|
-
constructor(opts: __ExceptionOptionType<InvalidDefinition, __BaseException>);
|
|
182
|
-
}
|
|
183
|
-
export declare class InvalidLoggingConfiguration extends __BaseException {
|
|
184
|
-
readonly name: "InvalidLoggingConfiguration";
|
|
185
|
-
readonly $fault: "client";
|
|
186
|
-
constructor(
|
|
187
|
-
opts: __ExceptionOptionType<InvalidLoggingConfiguration, __BaseException>
|
|
188
|
-
);
|
|
189
|
-
}
|
|
190
|
-
export declare class InvalidTracingConfiguration extends __BaseException {
|
|
191
|
-
readonly name: "InvalidTracingConfiguration";
|
|
192
|
-
readonly $fault: "client";
|
|
193
|
-
constructor(
|
|
194
|
-
opts: __ExceptionOptionType<InvalidTracingConfiguration, __BaseException>
|
|
195
|
-
);
|
|
196
|
-
}
|
|
197
|
-
export declare class StateMachineAlreadyExists extends __BaseException {
|
|
198
|
-
readonly name: "StateMachineAlreadyExists";
|
|
199
|
-
readonly $fault: "client";
|
|
200
|
-
constructor(
|
|
201
|
-
opts: __ExceptionOptionType<StateMachineAlreadyExists, __BaseException>
|
|
202
|
-
);
|
|
203
|
-
}
|
|
204
|
-
export declare class StateMachineDeleting extends __BaseException {
|
|
205
|
-
readonly name: "StateMachineDeleting";
|
|
206
|
-
readonly $fault: "client";
|
|
207
|
-
constructor(
|
|
208
|
-
opts: __ExceptionOptionType<StateMachineDeleting, __BaseException>
|
|
209
|
-
);
|
|
210
|
-
}
|
|
211
|
-
export declare class StateMachineLimitExceeded extends __BaseException {
|
|
212
|
-
readonly name: "StateMachineLimitExceeded";
|
|
213
|
-
readonly $fault: "client";
|
|
214
|
-
constructor(
|
|
215
|
-
opts: __ExceptionOptionType<StateMachineLimitExceeded, __BaseException>
|
|
216
|
-
);
|
|
217
|
-
}
|
|
218
|
-
export declare class StateMachineTypeNotSupported extends __BaseException {
|
|
219
|
-
readonly name: "StateMachineTypeNotSupported";
|
|
220
|
-
readonly $fault: "client";
|
|
221
|
-
constructor(
|
|
222
|
-
opts: __ExceptionOptionType<StateMachineTypeNotSupported, __BaseException>
|
|
223
|
-
);
|
|
224
|
-
}
|
|
225
|
-
export declare const ValidationExceptionReason: {
|
|
226
|
-
readonly API_DOES_NOT_SUPPORT_LABELED_ARNS: "API_DOES_NOT_SUPPORT_LABELED_ARNS";
|
|
227
|
-
readonly CANNOT_UPDATE_COMPLETED_MAP_RUN: "CANNOT_UPDATE_COMPLETED_MAP_RUN";
|
|
228
|
-
readonly INVALID_ROUTING_CONFIGURATION: "INVALID_ROUTING_CONFIGURATION";
|
|
229
|
-
readonly MISSING_REQUIRED_PARAMETER: "MISSING_REQUIRED_PARAMETER";
|
|
230
|
-
};
|
|
231
|
-
export type ValidationExceptionReason =
|
|
232
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
233
|
-
export declare class ValidationException extends __BaseException {
|
|
234
|
-
readonly name: "ValidationException";
|
|
235
|
-
readonly $fault: "client";
|
|
236
|
-
reason?: ValidationExceptionReason | undefined;
|
|
237
|
-
constructor(
|
|
238
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
239
|
-
);
|
|
240
|
-
}
|
|
241
105
|
export interface RoutingConfigurationListItem {
|
|
242
106
|
stateMachineVersionArn: string | undefined;
|
|
243
107
|
weight: number | undefined;
|
|
@@ -251,19 +115,6 @@ export interface CreateStateMachineAliasOutput {
|
|
|
251
115
|
stateMachineAliasArn: string | undefined;
|
|
252
116
|
creationDate: Date | undefined;
|
|
253
117
|
}
|
|
254
|
-
export declare class ResourceNotFound extends __BaseException {
|
|
255
|
-
readonly name: "ResourceNotFound";
|
|
256
|
-
readonly $fault: "client";
|
|
257
|
-
resourceName?: string | undefined;
|
|
258
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
|
|
259
|
-
}
|
|
260
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
261
|
-
readonly name: "ServiceQuotaExceededException";
|
|
262
|
-
readonly $fault: "client";
|
|
263
|
-
constructor(
|
|
264
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
265
|
-
);
|
|
266
|
-
}
|
|
267
118
|
export interface DeleteActivityInput {
|
|
268
119
|
activityArn: string | undefined;
|
|
269
120
|
}
|
|
@@ -289,11 +140,6 @@ export interface DescribeActivityOutput {
|
|
|
289
140
|
creationDate: Date | undefined;
|
|
290
141
|
encryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
291
142
|
}
|
|
292
|
-
export declare const IncludedData: {
|
|
293
|
-
readonly ALL_DATA: "ALL_DATA";
|
|
294
|
-
readonly METADATA_ONLY: "METADATA_ONLY";
|
|
295
|
-
};
|
|
296
|
-
export type IncludedData = (typeof IncludedData)[keyof typeof IncludedData];
|
|
297
143
|
export interface DescribeExecutionInput {
|
|
298
144
|
executionArn: string | undefined;
|
|
299
145
|
includedData?: IncludedData | undefined;
|
|
@@ -301,23 +147,6 @@ export interface DescribeExecutionInput {
|
|
|
301
147
|
export interface CloudWatchEventsExecutionDataDetails {
|
|
302
148
|
included?: boolean | undefined;
|
|
303
149
|
}
|
|
304
|
-
export declare const ExecutionRedriveStatus: {
|
|
305
|
-
readonly NOT_REDRIVABLE: "NOT_REDRIVABLE";
|
|
306
|
-
readonly REDRIVABLE: "REDRIVABLE";
|
|
307
|
-
readonly REDRIVABLE_BY_MAP_RUN: "REDRIVABLE_BY_MAP_RUN";
|
|
308
|
-
};
|
|
309
|
-
export type ExecutionRedriveStatus =
|
|
310
|
-
(typeof ExecutionRedriveStatus)[keyof typeof ExecutionRedriveStatus];
|
|
311
|
-
export declare const ExecutionStatus: {
|
|
312
|
-
readonly ABORTED: "ABORTED";
|
|
313
|
-
readonly FAILED: "FAILED";
|
|
314
|
-
readonly PENDING_REDRIVE: "PENDING_REDRIVE";
|
|
315
|
-
readonly RUNNING: "RUNNING";
|
|
316
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
317
|
-
readonly TIMED_OUT: "TIMED_OUT";
|
|
318
|
-
};
|
|
319
|
-
export type ExecutionStatus =
|
|
320
|
-
(typeof ExecutionStatus)[keyof typeof ExecutionStatus];
|
|
321
150
|
export interface DescribeExecutionOutput {
|
|
322
151
|
executionArn: string | undefined;
|
|
323
152
|
stateMachineArn: string | undefined;
|
|
@@ -340,29 +169,6 @@ export interface DescribeExecutionOutput {
|
|
|
340
169
|
redriveStatus?: ExecutionRedriveStatus | undefined;
|
|
341
170
|
redriveStatusReason?: string | undefined;
|
|
342
171
|
}
|
|
343
|
-
export declare class ExecutionDoesNotExist extends __BaseException {
|
|
344
|
-
readonly name: "ExecutionDoesNotExist";
|
|
345
|
-
readonly $fault: "client";
|
|
346
|
-
constructor(
|
|
347
|
-
opts: __ExceptionOptionType<ExecutionDoesNotExist, __BaseException>
|
|
348
|
-
);
|
|
349
|
-
}
|
|
350
|
-
export declare const KmsKeyState: {
|
|
351
|
-
readonly CREATING: "CREATING";
|
|
352
|
-
readonly DISABLED: "DISABLED";
|
|
353
|
-
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
354
|
-
readonly PENDING_IMPORT: "PENDING_IMPORT";
|
|
355
|
-
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
356
|
-
};
|
|
357
|
-
export type KmsKeyState = (typeof KmsKeyState)[keyof typeof KmsKeyState];
|
|
358
|
-
export declare class KmsInvalidStateException extends __BaseException {
|
|
359
|
-
readonly name: "KmsInvalidStateException";
|
|
360
|
-
readonly $fault: "client";
|
|
361
|
-
kmsKeyState?: KmsKeyState | undefined;
|
|
362
|
-
constructor(
|
|
363
|
-
opts: __ExceptionOptionType<KmsInvalidStateException, __BaseException>
|
|
364
|
-
);
|
|
365
|
-
}
|
|
366
172
|
export interface DescribeMapRunInput {
|
|
367
173
|
mapRunArn: string | undefined;
|
|
368
174
|
}
|
|
@@ -390,13 +196,6 @@ export interface MapRunItemCounts {
|
|
|
390
196
|
failuresNotRedrivable?: number | undefined;
|
|
391
197
|
pendingRedrive?: number | undefined;
|
|
392
198
|
}
|
|
393
|
-
export declare const MapRunStatus: {
|
|
394
|
-
readonly ABORTED: "ABORTED";
|
|
395
|
-
readonly FAILED: "FAILED";
|
|
396
|
-
readonly RUNNING: "RUNNING";
|
|
397
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
398
|
-
};
|
|
399
|
-
export type MapRunStatus = (typeof MapRunStatus)[keyof typeof MapRunStatus];
|
|
400
199
|
export interface DescribeMapRunOutput {
|
|
401
200
|
mapRunArn: string | undefined;
|
|
402
201
|
executionArn: string | undefined;
|
|
@@ -415,12 +214,6 @@ export interface DescribeStateMachineInput {
|
|
|
415
214
|
stateMachineArn: string | undefined;
|
|
416
215
|
includedData?: IncludedData | undefined;
|
|
417
216
|
}
|
|
418
|
-
export declare const StateMachineStatus: {
|
|
419
|
-
readonly ACTIVE: "ACTIVE";
|
|
420
|
-
readonly DELETING: "DELETING";
|
|
421
|
-
};
|
|
422
|
-
export type StateMachineStatus =
|
|
423
|
-
(typeof StateMachineStatus)[keyof typeof StateMachineStatus];
|
|
424
217
|
export interface DescribeStateMachineOutput {
|
|
425
218
|
stateMachineArn: string | undefined;
|
|
426
219
|
name: string | undefined;
|
|
@@ -437,13 +230,6 @@ export interface DescribeStateMachineOutput {
|
|
|
437
230
|
encryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
438
231
|
variableReferences?: Record<string, string[]> | undefined;
|
|
439
232
|
}
|
|
440
|
-
export declare class StateMachineDoesNotExist extends __BaseException {
|
|
441
|
-
readonly name: "StateMachineDoesNotExist";
|
|
442
|
-
readonly $fault: "client";
|
|
443
|
-
constructor(
|
|
444
|
-
opts: __ExceptionOptionType<StateMachineDoesNotExist, __BaseException>
|
|
445
|
-
);
|
|
446
|
-
}
|
|
447
233
|
export interface DescribeStateMachineAliasInput {
|
|
448
234
|
stateMachineAliasArn: string | undefined;
|
|
449
235
|
}
|
|
@@ -629,72 +415,6 @@ export interface TaskTimedOutEventDetails {
|
|
|
629
415
|
error?: string | undefined;
|
|
630
416
|
cause?: string | undefined;
|
|
631
417
|
}
|
|
632
|
-
export declare const HistoryEventType: {
|
|
633
|
-
readonly ActivityFailed: "ActivityFailed";
|
|
634
|
-
readonly ActivityScheduleFailed: "ActivityScheduleFailed";
|
|
635
|
-
readonly ActivityScheduled: "ActivityScheduled";
|
|
636
|
-
readonly ActivityStarted: "ActivityStarted";
|
|
637
|
-
readonly ActivitySucceeded: "ActivitySucceeded";
|
|
638
|
-
readonly ActivityTimedOut: "ActivityTimedOut";
|
|
639
|
-
readonly ChoiceStateEntered: "ChoiceStateEntered";
|
|
640
|
-
readonly ChoiceStateExited: "ChoiceStateExited";
|
|
641
|
-
readonly EvaluationFailed: "EvaluationFailed";
|
|
642
|
-
readonly ExecutionAborted: "ExecutionAborted";
|
|
643
|
-
readonly ExecutionFailed: "ExecutionFailed";
|
|
644
|
-
readonly ExecutionRedriven: "ExecutionRedriven";
|
|
645
|
-
readonly ExecutionStarted: "ExecutionStarted";
|
|
646
|
-
readonly ExecutionSucceeded: "ExecutionSucceeded";
|
|
647
|
-
readonly ExecutionTimedOut: "ExecutionTimedOut";
|
|
648
|
-
readonly FailStateEntered: "FailStateEntered";
|
|
649
|
-
readonly LambdaFunctionFailed: "LambdaFunctionFailed";
|
|
650
|
-
readonly LambdaFunctionScheduleFailed: "LambdaFunctionScheduleFailed";
|
|
651
|
-
readonly LambdaFunctionScheduled: "LambdaFunctionScheduled";
|
|
652
|
-
readonly LambdaFunctionStartFailed: "LambdaFunctionStartFailed";
|
|
653
|
-
readonly LambdaFunctionStarted: "LambdaFunctionStarted";
|
|
654
|
-
readonly LambdaFunctionSucceeded: "LambdaFunctionSucceeded";
|
|
655
|
-
readonly LambdaFunctionTimedOut: "LambdaFunctionTimedOut";
|
|
656
|
-
readonly MapIterationAborted: "MapIterationAborted";
|
|
657
|
-
readonly MapIterationFailed: "MapIterationFailed";
|
|
658
|
-
readonly MapIterationStarted: "MapIterationStarted";
|
|
659
|
-
readonly MapIterationSucceeded: "MapIterationSucceeded";
|
|
660
|
-
readonly MapRunAborted: "MapRunAborted";
|
|
661
|
-
readonly MapRunFailed: "MapRunFailed";
|
|
662
|
-
readonly MapRunRedriven: "MapRunRedriven";
|
|
663
|
-
readonly MapRunStarted: "MapRunStarted";
|
|
664
|
-
readonly MapRunSucceeded: "MapRunSucceeded";
|
|
665
|
-
readonly MapStateAborted: "MapStateAborted";
|
|
666
|
-
readonly MapStateEntered: "MapStateEntered";
|
|
667
|
-
readonly MapStateExited: "MapStateExited";
|
|
668
|
-
readonly MapStateFailed: "MapStateFailed";
|
|
669
|
-
readonly MapStateStarted: "MapStateStarted";
|
|
670
|
-
readonly MapStateSucceeded: "MapStateSucceeded";
|
|
671
|
-
readonly ParallelStateAborted: "ParallelStateAborted";
|
|
672
|
-
readonly ParallelStateEntered: "ParallelStateEntered";
|
|
673
|
-
readonly ParallelStateExited: "ParallelStateExited";
|
|
674
|
-
readonly ParallelStateFailed: "ParallelStateFailed";
|
|
675
|
-
readonly ParallelStateStarted: "ParallelStateStarted";
|
|
676
|
-
readonly ParallelStateSucceeded: "ParallelStateSucceeded";
|
|
677
|
-
readonly PassStateEntered: "PassStateEntered";
|
|
678
|
-
readonly PassStateExited: "PassStateExited";
|
|
679
|
-
readonly SucceedStateEntered: "SucceedStateEntered";
|
|
680
|
-
readonly SucceedStateExited: "SucceedStateExited";
|
|
681
|
-
readonly TaskFailed: "TaskFailed";
|
|
682
|
-
readonly TaskScheduled: "TaskScheduled";
|
|
683
|
-
readonly TaskStartFailed: "TaskStartFailed";
|
|
684
|
-
readonly TaskStarted: "TaskStarted";
|
|
685
|
-
readonly TaskStateAborted: "TaskStateAborted";
|
|
686
|
-
readonly TaskStateEntered: "TaskStateEntered";
|
|
687
|
-
readonly TaskStateExited: "TaskStateExited";
|
|
688
|
-
readonly TaskSubmitFailed: "TaskSubmitFailed";
|
|
689
|
-
readonly TaskSubmitted: "TaskSubmitted";
|
|
690
|
-
readonly TaskSucceeded: "TaskSucceeded";
|
|
691
|
-
readonly TaskTimedOut: "TaskTimedOut";
|
|
692
|
-
readonly WaitStateAborted: "WaitStateAborted";
|
|
693
|
-
readonly WaitStateEntered: "WaitStateEntered";
|
|
694
|
-
readonly WaitStateExited: "WaitStateExited";
|
|
695
|
-
};
|
|
696
|
-
export type HistoryEventType =
|
|
697
|
-
(typeof HistoryEventType)[keyof typeof HistoryEventType];
|
|
698
418
|
export interface HistoryEvent {
|
|
699
419
|
timestamp: Date | undefined;
|
|
700
420
|
type: HistoryEventType | undefined;
|
|
@@ -756,11 +476,6 @@ export interface GetExecutionHistoryOutput {
|
|
|
756
476
|
events: HistoryEvent[] | undefined;
|
|
757
477
|
nextToken?: string | undefined;
|
|
758
478
|
}
|
|
759
|
-
export declare class InvalidToken extends __BaseException {
|
|
760
|
-
readonly name: "InvalidToken";
|
|
761
|
-
readonly $fault: "client";
|
|
762
|
-
constructor(opts: __ExceptionOptionType<InvalidToken, __BaseException>);
|
|
763
|
-
}
|
|
764
479
|
export interface ListActivitiesInput {
|
|
765
480
|
maxResults?: number | undefined;
|
|
766
481
|
nextToken?: string | undefined;
|
|
@@ -769,12 +484,6 @@ export interface ListActivitiesOutput {
|
|
|
769
484
|
activities: ActivityListItem[] | undefined;
|
|
770
485
|
nextToken?: string | undefined;
|
|
771
486
|
}
|
|
772
|
-
export declare const ExecutionRedriveFilter: {
|
|
773
|
-
readonly NOT_REDRIVEN: "NOT_REDRIVEN";
|
|
774
|
-
readonly REDRIVEN: "REDRIVEN";
|
|
775
|
-
};
|
|
776
|
-
export type ExecutionRedriveFilter =
|
|
777
|
-
(typeof ExecutionRedriveFilter)[keyof typeof ExecutionRedriveFilter];
|
|
778
487
|
export interface ListExecutionsInput {
|
|
779
488
|
stateMachineArn?: string | undefined;
|
|
780
489
|
statusFilter?: ExecutionStatus | undefined;
|
|
@@ -872,20 +581,6 @@ export interface PublishStateMachineVersionOutput {
|
|
|
872
581
|
creationDate: Date | undefined;
|
|
873
582
|
stateMachineVersionArn: string | undefined;
|
|
874
583
|
}
|
|
875
|
-
export declare class ExecutionLimitExceeded extends __BaseException {
|
|
876
|
-
readonly name: "ExecutionLimitExceeded";
|
|
877
|
-
readonly $fault: "client";
|
|
878
|
-
constructor(
|
|
879
|
-
opts: __ExceptionOptionType<ExecutionLimitExceeded, __BaseException>
|
|
880
|
-
);
|
|
881
|
-
}
|
|
882
|
-
export declare class ExecutionNotRedrivable extends __BaseException {
|
|
883
|
-
readonly name: "ExecutionNotRedrivable";
|
|
884
|
-
readonly $fault: "client";
|
|
885
|
-
constructor(
|
|
886
|
-
opts: __ExceptionOptionType<ExecutionNotRedrivable, __BaseException>
|
|
887
|
-
);
|
|
888
|
-
}
|
|
889
584
|
export interface RedriveExecutionInput {
|
|
890
585
|
executionArn: string | undefined;
|
|
891
586
|
clientToken?: string | undefined;
|
|
@@ -899,44 +594,15 @@ export interface SendTaskFailureInput {
|
|
|
899
594
|
cause?: string | undefined;
|
|
900
595
|
}
|
|
901
596
|
export interface SendTaskFailureOutput {}
|
|
902
|
-
export declare class TaskDoesNotExist extends __BaseException {
|
|
903
|
-
readonly name: "TaskDoesNotExist";
|
|
904
|
-
readonly $fault: "client";
|
|
905
|
-
constructor(opts: __ExceptionOptionType<TaskDoesNotExist, __BaseException>);
|
|
906
|
-
}
|
|
907
|
-
export declare class TaskTimedOut extends __BaseException {
|
|
908
|
-
readonly name: "TaskTimedOut";
|
|
909
|
-
readonly $fault: "client";
|
|
910
|
-
constructor(opts: __ExceptionOptionType<TaskTimedOut, __BaseException>);
|
|
911
|
-
}
|
|
912
597
|
export interface SendTaskHeartbeatInput {
|
|
913
598
|
taskToken: string | undefined;
|
|
914
599
|
}
|
|
915
600
|
export interface SendTaskHeartbeatOutput {}
|
|
916
|
-
export declare class InvalidOutput extends __BaseException {
|
|
917
|
-
readonly name: "InvalidOutput";
|
|
918
|
-
readonly $fault: "client";
|
|
919
|
-
constructor(opts: __ExceptionOptionType<InvalidOutput, __BaseException>);
|
|
920
|
-
}
|
|
921
601
|
export interface SendTaskSuccessInput {
|
|
922
602
|
taskToken: string | undefined;
|
|
923
603
|
output: string | undefined;
|
|
924
604
|
}
|
|
925
605
|
export interface SendTaskSuccessOutput {}
|
|
926
|
-
export declare class ExecutionAlreadyExists extends __BaseException {
|
|
927
|
-
readonly name: "ExecutionAlreadyExists";
|
|
928
|
-
readonly $fault: "client";
|
|
929
|
-
constructor(
|
|
930
|
-
opts: __ExceptionOptionType<ExecutionAlreadyExists, __BaseException>
|
|
931
|
-
);
|
|
932
|
-
}
|
|
933
|
-
export declare class InvalidExecutionInput extends __BaseException {
|
|
934
|
-
readonly name: "InvalidExecutionInput";
|
|
935
|
-
readonly $fault: "client";
|
|
936
|
-
constructor(
|
|
937
|
-
opts: __ExceptionOptionType<InvalidExecutionInput, __BaseException>
|
|
938
|
-
);
|
|
939
|
-
}
|
|
940
606
|
export interface StartExecutionInput {
|
|
941
607
|
stateMachineArn: string | undefined;
|
|
942
608
|
name?: string | undefined;
|
|
@@ -958,13 +624,6 @@ export interface BillingDetails {
|
|
|
958
624
|
billedMemoryUsedInMB?: number | undefined;
|
|
959
625
|
billedDurationInMilliseconds?: number | undefined;
|
|
960
626
|
}
|
|
961
|
-
export declare const SyncExecutionStatus: {
|
|
962
|
-
readonly FAILED: "FAILED";
|
|
963
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
964
|
-
readonly TIMED_OUT: "TIMED_OUT";
|
|
965
|
-
};
|
|
966
|
-
export type SyncExecutionStatus =
|
|
967
|
-
(typeof SyncExecutionStatus)[keyof typeof SyncExecutionStatus];
|
|
968
627
|
export interface StartSyncExecutionOutput {
|
|
969
628
|
executionArn: string | undefined;
|
|
970
629
|
stateMachineArn?: string | undefined;
|
|
@@ -994,13 +653,21 @@ export interface TagResourceInput {
|
|
|
994
653
|
tags: Tag[] | undefined;
|
|
995
654
|
}
|
|
996
655
|
export interface TagResourceOutput {}
|
|
997
|
-
export
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
656
|
+
export interface MockErrorOutput {
|
|
657
|
+
error?: string | undefined;
|
|
658
|
+
cause?: string | undefined;
|
|
659
|
+
}
|
|
660
|
+
export interface MockInput {
|
|
661
|
+
result?: string | undefined;
|
|
662
|
+
errorOutput?: MockErrorOutput | undefined;
|
|
663
|
+
fieldValidationMode?: MockResponseValidationMode | undefined;
|
|
664
|
+
}
|
|
665
|
+
export interface TestStateConfiguration {
|
|
666
|
+
retrierRetryCount?: number | undefined;
|
|
667
|
+
errorCausedByState?: string | undefined;
|
|
668
|
+
mapIterationFailureCount?: number | undefined;
|
|
669
|
+
mapItemReaderData?: string | undefined;
|
|
670
|
+
}
|
|
1004
671
|
export interface TestStateInput {
|
|
1005
672
|
definition: string | undefined;
|
|
1006
673
|
roleArn?: string | undefined;
|
|
@@ -1008,6 +675,15 @@ export interface TestStateInput {
|
|
|
1008
675
|
inspectionLevel?: InspectionLevel | undefined;
|
|
1009
676
|
revealSecrets?: boolean | undefined;
|
|
1010
677
|
variables?: string | undefined;
|
|
678
|
+
stateName?: string | undefined;
|
|
679
|
+
mock?: MockInput | undefined;
|
|
680
|
+
context?: string | undefined;
|
|
681
|
+
stateConfiguration?: TestStateConfiguration | undefined;
|
|
682
|
+
}
|
|
683
|
+
export interface InspectionErrorDetails {
|
|
684
|
+
catchIndex?: number | undefined;
|
|
685
|
+
retryIndex?: number | undefined;
|
|
686
|
+
retryBackoffIntervalSeconds?: number | undefined;
|
|
1011
687
|
}
|
|
1012
688
|
export interface InspectionDataRequest {
|
|
1013
689
|
protocol?: string | undefined;
|
|
@@ -1034,15 +710,15 @@ export interface InspectionData {
|
|
|
1034
710
|
request?: InspectionDataRequest | undefined;
|
|
1035
711
|
response?: InspectionDataResponse | undefined;
|
|
1036
712
|
variables?: string | undefined;
|
|
713
|
+
errorDetails?: InspectionErrorDetails | undefined;
|
|
714
|
+
afterItemsPath?: string | undefined;
|
|
715
|
+
afterItemSelector?: string | undefined;
|
|
716
|
+
afterItemBatcher?: string | undefined;
|
|
717
|
+
afterItemsPointer?: string | undefined;
|
|
718
|
+
toleratedFailureCount?: number | undefined;
|
|
719
|
+
toleratedFailurePercentage?: number | undefined;
|
|
720
|
+
maxConcurrency?: number | undefined;
|
|
1037
721
|
}
|
|
1038
|
-
export declare const TestExecutionStatus: {
|
|
1039
|
-
readonly CAUGHT_ERROR: "CAUGHT_ERROR";
|
|
1040
|
-
readonly FAILED: "FAILED";
|
|
1041
|
-
readonly RETRIABLE: "RETRIABLE";
|
|
1042
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
1043
|
-
};
|
|
1044
|
-
export type TestExecutionStatus =
|
|
1045
|
-
(typeof TestExecutionStatus)[keyof typeof TestExecutionStatus];
|
|
1046
722
|
export interface TestStateOutput {
|
|
1047
723
|
output?: string | undefined;
|
|
1048
724
|
error?: string | undefined;
|
|
@@ -1063,13 +739,6 @@ export interface UpdateMapRunInput {
|
|
|
1063
739
|
toleratedFailureCount?: number | undefined;
|
|
1064
740
|
}
|
|
1065
741
|
export interface UpdateMapRunOutput {}
|
|
1066
|
-
export declare class MissingRequiredParameter extends __BaseException {
|
|
1067
|
-
readonly name: "MissingRequiredParameter";
|
|
1068
|
-
readonly $fault: "client";
|
|
1069
|
-
constructor(
|
|
1070
|
-
opts: __ExceptionOptionType<MissingRequiredParameter, __BaseException>
|
|
1071
|
-
);
|
|
1072
|
-
}
|
|
1073
742
|
export interface UpdateStateMachineInput {
|
|
1074
743
|
stateMachineArn: string | undefined;
|
|
1075
744
|
definition?: string | undefined;
|
|
@@ -1093,12 +762,6 @@ export interface UpdateStateMachineAliasInput {
|
|
|
1093
762
|
export interface UpdateStateMachineAliasOutput {
|
|
1094
763
|
updateDate: Date | undefined;
|
|
1095
764
|
}
|
|
1096
|
-
export declare const ValidateStateMachineDefinitionSeverity: {
|
|
1097
|
-
readonly ERROR: "ERROR";
|
|
1098
|
-
readonly WARNING: "WARNING";
|
|
1099
|
-
};
|
|
1100
|
-
export type ValidateStateMachineDefinitionSeverity =
|
|
1101
|
-
(typeof ValidateStateMachineDefinitionSeverity)[keyof typeof ValidateStateMachineDefinitionSeverity];
|
|
1102
765
|
export interface ValidateStateMachineDefinitionInput {
|
|
1103
766
|
definition: string | undefined;
|
|
1104
767
|
type?: StateMachineType | undefined;
|
|
@@ -1111,12 +774,6 @@ export interface ValidateStateMachineDefinitionDiagnostic {
|
|
|
1111
774
|
message: string | undefined;
|
|
1112
775
|
location?: string | undefined;
|
|
1113
776
|
}
|
|
1114
|
-
export declare const ValidateStateMachineDefinitionResultCode: {
|
|
1115
|
-
readonly FAIL: "FAIL";
|
|
1116
|
-
readonly OK: "OK";
|
|
1117
|
-
};
|
|
1118
|
-
export type ValidateStateMachineDefinitionResultCode =
|
|
1119
|
-
(typeof ValidateStateMachineDefinitionResultCode)[keyof typeof ValidateStateMachineDefinitionResultCode];
|
|
1120
777
|
export interface ValidateStateMachineDefinitionOutput {
|
|
1121
778
|
result: ValidateStateMachineDefinitionResultCode | undefined;
|
|
1122
779
|
diagnostics: ValidateStateMachineDefinitionDiagnostic[] | undefined;
|
|
@@ -10,10 +10,16 @@ export declare var AliasDescription: StaticSimpleSchema;
|
|
|
10
10
|
export declare var ConnectorParameters: StaticSimpleSchema;
|
|
11
11
|
export declare var Definition: StaticSimpleSchema;
|
|
12
12
|
export declare var EvaluationFailureLocation: StaticSimpleSchema;
|
|
13
|
+
export declare var ExceptionHandlerIndex: StaticSimpleSchema;
|
|
14
|
+
export declare var InspectionMaxConcurrency: StaticSimpleSchema;
|
|
15
|
+
export declare var InspectionToleratedFailureCount: StaticSimpleSchema;
|
|
16
|
+
export declare var InspectionToleratedFailurePercentage: StaticSimpleSchema;
|
|
17
|
+
export declare var RetryBackoffIntervalSeconds: StaticSimpleSchema;
|
|
13
18
|
export declare var SensitiveCause: StaticSimpleSchema;
|
|
14
19
|
export declare var SensitiveData: StaticSimpleSchema;
|
|
15
20
|
export declare var SensitiveDataJobInput: StaticSimpleSchema;
|
|
16
21
|
export declare var SensitiveError: StaticSimpleSchema;
|
|
22
|
+
export declare var TestStateStateName: StaticSimpleSchema;
|
|
17
23
|
export declare var ValidateStateMachineDefinitionCode: StaticSimpleSchema;
|
|
18
24
|
export declare var ValidateStateMachineDefinitionLocation: StaticSimpleSchema;
|
|
19
25
|
export declare var ValidateStateMachineDefinitionMessage: StaticSimpleSchema;
|
|
@@ -84,6 +90,7 @@ export declare var HistoryEventExecutionDataDetails: StaticStructureSchema;
|
|
|
84
90
|
export declare var InspectionData: StaticStructureSchema;
|
|
85
91
|
export declare var InspectionDataRequest: StaticStructureSchema;
|
|
86
92
|
export declare var InspectionDataResponse: StaticStructureSchema;
|
|
93
|
+
export declare var InspectionErrorDetails: StaticStructureSchema;
|
|
87
94
|
export declare var InvalidArn: StaticErrorSchema;
|
|
88
95
|
export declare var InvalidDefinition: StaticErrorSchema;
|
|
89
96
|
export declare var InvalidEncryptionConfiguration: StaticErrorSchema;
|
|
@@ -127,6 +134,8 @@ export declare var MapRunRedrivenEventDetails: StaticStructureSchema;
|
|
|
127
134
|
export declare var MapRunStartedEventDetails: StaticStructureSchema;
|
|
128
135
|
export declare var MapStateStartedEventDetails: StaticStructureSchema;
|
|
129
136
|
export declare var MissingRequiredParameter: StaticErrorSchema;
|
|
137
|
+
export declare var MockErrorOutput: StaticStructureSchema;
|
|
138
|
+
export declare var MockInput: StaticStructureSchema;
|
|
130
139
|
export declare var PublishStateMachineVersionInput: StaticStructureSchema;
|
|
131
140
|
export declare var PublishStateMachineVersionOutput: StaticStructureSchema;
|
|
132
141
|
export declare var RedriveExecutionInput: StaticStructureSchema;
|
|
@@ -170,6 +179,7 @@ export declare var TaskSubmittedEventDetails: StaticStructureSchema;
|
|
|
170
179
|
export declare var TaskSucceededEventDetails: StaticStructureSchema;
|
|
171
180
|
export declare var TaskTimedOut: StaticErrorSchema;
|
|
172
181
|
export declare var TaskTimedOutEventDetails: StaticStructureSchema;
|
|
182
|
+
export declare var TestStateConfiguration: StaticStructureSchema;
|
|
173
183
|
export declare var TestStateInput: StaticStructureSchema;
|
|
174
184
|
export declare var TestStateOutput: StaticStructureSchema;
|
|
175
185
|
export declare var TooManyTags: StaticErrorSchema;
|