@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.
@@ -0,0 +1,426 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { KmsKeyState, ValidationExceptionReason } from "./enums";
3
+ import { SFNServiceException as __BaseException } from "./SFNServiceException";
4
+ /**
5
+ * <p>Activity already exists. <code>EncryptionConfiguration</code> may not be updated.</p>
6
+ * @public
7
+ */
8
+ export declare class ActivityAlreadyExists extends __BaseException {
9
+ readonly name: "ActivityAlreadyExists";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<ActivityAlreadyExists, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>The specified activity does not exist.</p>
18
+ * @public
19
+ */
20
+ export declare class ActivityDoesNotExist extends __BaseException {
21
+ readonly name: "ActivityDoesNotExist";
22
+ readonly $fault: "client";
23
+ /**
24
+ * @internal
25
+ */
26
+ constructor(opts: __ExceptionOptionType<ActivityDoesNotExist, __BaseException>);
27
+ }
28
+ /**
29
+ * <p>The maximum number of activities has been reached. Existing activities must be deleted
30
+ * before a new activity can be created.</p>
31
+ * @public
32
+ */
33
+ export declare class ActivityLimitExceeded extends __BaseException {
34
+ readonly name: "ActivityLimitExceeded";
35
+ readonly $fault: "client";
36
+ /**
37
+ * @internal
38
+ */
39
+ constructor(opts: __ExceptionOptionType<ActivityLimitExceeded, __BaseException>);
40
+ }
41
+ /**
42
+ * <p>The maximum number of workers concurrently polling for activity tasks has been
43
+ * reached.</p>
44
+ * @public
45
+ */
46
+ export declare class ActivityWorkerLimitExceeded extends __BaseException {
47
+ readonly name: "ActivityWorkerLimitExceeded";
48
+ readonly $fault: "client";
49
+ /**
50
+ * @internal
51
+ */
52
+ constructor(opts: __ExceptionOptionType<ActivityWorkerLimitExceeded, __BaseException>);
53
+ }
54
+ /**
55
+ * <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>
56
+ * @public
57
+ */
58
+ export declare class InvalidEncryptionConfiguration extends __BaseException {
59
+ readonly name: "InvalidEncryptionConfiguration";
60
+ readonly $fault: "client";
61
+ /**
62
+ * @internal
63
+ */
64
+ constructor(opts: __ExceptionOptionType<InvalidEncryptionConfiguration, __BaseException>);
65
+ }
66
+ /**
67
+ * <p>The provided name is not valid.</p>
68
+ * @public
69
+ */
70
+ export declare class InvalidName extends __BaseException {
71
+ readonly name: "InvalidName";
72
+ readonly $fault: "client";
73
+ /**
74
+ * @internal
75
+ */
76
+ constructor(opts: __ExceptionOptionType<InvalidName, __BaseException>);
77
+ }
78
+ /**
79
+ * <p>Either your KMS key policy or API caller does not have the required permissions.</p>
80
+ * @public
81
+ */
82
+ export declare class KmsAccessDeniedException extends __BaseException {
83
+ readonly name: "KmsAccessDeniedException";
84
+ readonly $fault: "client";
85
+ /**
86
+ * @internal
87
+ */
88
+ constructor(opts: __ExceptionOptionType<KmsAccessDeniedException, __BaseException>);
89
+ }
90
+ /**
91
+ * <p>Received when KMS returns <code>ThrottlingException</code> for a KMS call that Step Functions makes on behalf of the caller.</p>
92
+ * @public
93
+ */
94
+ export declare class KmsThrottlingException extends __BaseException {
95
+ readonly name: "KmsThrottlingException";
96
+ readonly $fault: "client";
97
+ /**
98
+ * @internal
99
+ */
100
+ constructor(opts: __ExceptionOptionType<KmsThrottlingException, __BaseException>);
101
+ }
102
+ /**
103
+ * <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
104
+ * Step Functions Developer Guide.</p>
105
+ * @public
106
+ */
107
+ export declare class TooManyTags extends __BaseException {
108
+ readonly name: "TooManyTags";
109
+ readonly $fault: "client";
110
+ resourceName?: string | undefined;
111
+ /**
112
+ * @internal
113
+ */
114
+ constructor(opts: __ExceptionOptionType<TooManyTags, __BaseException>);
115
+ }
116
+ /**
117
+ * <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>
118
+ * <p>HTTP Status Code: 409</p>
119
+ * @public
120
+ */
121
+ export declare class ConflictException extends __BaseException {
122
+ readonly name: "ConflictException";
123
+ readonly $fault: "client";
124
+ /**
125
+ * @internal
126
+ */
127
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
128
+ }
129
+ /**
130
+ * <p>The provided Amazon Resource Name (ARN) is not valid.</p>
131
+ * @public
132
+ */
133
+ export declare class InvalidArn extends __BaseException {
134
+ readonly name: "InvalidArn";
135
+ readonly $fault: "client";
136
+ /**
137
+ * @internal
138
+ */
139
+ constructor(opts: __ExceptionOptionType<InvalidArn, __BaseException>);
140
+ }
141
+ /**
142
+ * <p>The provided Amazon States Language definition is not valid.</p>
143
+ * @public
144
+ */
145
+ export declare class InvalidDefinition extends __BaseException {
146
+ readonly name: "InvalidDefinition";
147
+ readonly $fault: "client";
148
+ /**
149
+ * @internal
150
+ */
151
+ constructor(opts: __ExceptionOptionType<InvalidDefinition, __BaseException>);
152
+ }
153
+ /**
154
+ * <p>Configuration is not valid.</p>
155
+ * @public
156
+ */
157
+ export declare class InvalidLoggingConfiguration extends __BaseException {
158
+ readonly name: "InvalidLoggingConfiguration";
159
+ readonly $fault: "client";
160
+ /**
161
+ * @internal
162
+ */
163
+ constructor(opts: __ExceptionOptionType<InvalidLoggingConfiguration, __BaseException>);
164
+ }
165
+ /**
166
+ * <p>Your <code>tracingConfiguration</code> key does not match, or <code>enabled</code> has not
167
+ * been set to <code>true</code> or <code>false</code>.</p>
168
+ * @public
169
+ */
170
+ export declare class InvalidTracingConfiguration extends __BaseException {
171
+ readonly name: "InvalidTracingConfiguration";
172
+ readonly $fault: "client";
173
+ /**
174
+ * @internal
175
+ */
176
+ constructor(opts: __ExceptionOptionType<InvalidTracingConfiguration, __BaseException>);
177
+ }
178
+ /**
179
+ * <p>A state machine with the same name but a different definition or role ARN already
180
+ * exists.</p>
181
+ * @public
182
+ */
183
+ export declare class StateMachineAlreadyExists extends __BaseException {
184
+ readonly name: "StateMachineAlreadyExists";
185
+ readonly $fault: "client";
186
+ /**
187
+ * @internal
188
+ */
189
+ constructor(opts: __ExceptionOptionType<StateMachineAlreadyExists, __BaseException>);
190
+ }
191
+ /**
192
+ * <p>The specified state machine is being deleted.</p>
193
+ * @public
194
+ */
195
+ export declare class StateMachineDeleting extends __BaseException {
196
+ readonly name: "StateMachineDeleting";
197
+ readonly $fault: "client";
198
+ /**
199
+ * @internal
200
+ */
201
+ constructor(opts: __ExceptionOptionType<StateMachineDeleting, __BaseException>);
202
+ }
203
+ /**
204
+ * <p>The maximum number of state machines has been reached. Existing state machines must be
205
+ * deleted before a new state machine can be created.</p>
206
+ * @public
207
+ */
208
+ export declare class StateMachineLimitExceeded extends __BaseException {
209
+ readonly name: "StateMachineLimitExceeded";
210
+ readonly $fault: "client";
211
+ /**
212
+ * @internal
213
+ */
214
+ constructor(opts: __ExceptionOptionType<StateMachineLimitExceeded, __BaseException>);
215
+ }
216
+ /**
217
+ * <p>State machine type is not supported.</p>
218
+ * @public
219
+ */
220
+ export declare class StateMachineTypeNotSupported extends __BaseException {
221
+ readonly name: "StateMachineTypeNotSupported";
222
+ readonly $fault: "client";
223
+ /**
224
+ * @internal
225
+ */
226
+ constructor(opts: __ExceptionOptionType<StateMachineTypeNotSupported, __BaseException>);
227
+ }
228
+ /**
229
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
230
+ * @public
231
+ */
232
+ export declare class ValidationException extends __BaseException {
233
+ readonly name: "ValidationException";
234
+ readonly $fault: "client";
235
+ /**
236
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
237
+ * @public
238
+ */
239
+ reason?: ValidationExceptionReason | undefined;
240
+ /**
241
+ * @internal
242
+ */
243
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
244
+ }
245
+ /**
246
+ * <p>Could not find the referenced resource.</p>
247
+ * @public
248
+ */
249
+ export declare class ResourceNotFound extends __BaseException {
250
+ readonly name: "ResourceNotFound";
251
+ readonly $fault: "client";
252
+ resourceName?: string | undefined;
253
+ /**
254
+ * @internal
255
+ */
256
+ constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
257
+ }
258
+ /**
259
+ * <p>The request would cause a service quota to be exceeded.</p>
260
+ * <p>HTTP Status Code: 402</p>
261
+ * @public
262
+ */
263
+ export declare class ServiceQuotaExceededException extends __BaseException {
264
+ readonly name: "ServiceQuotaExceededException";
265
+ readonly $fault: "client";
266
+ /**
267
+ * @internal
268
+ */
269
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
270
+ }
271
+ /**
272
+ * <p>The specified execution does not exist.</p>
273
+ * @public
274
+ */
275
+ export declare class ExecutionDoesNotExist extends __BaseException {
276
+ readonly name: "ExecutionDoesNotExist";
277
+ readonly $fault: "client";
278
+ /**
279
+ * @internal
280
+ */
281
+ constructor(opts: __ExceptionOptionType<ExecutionDoesNotExist, __BaseException>);
282
+ }
283
+ /**
284
+ * <p>The KMS key is not in valid state, for example: Disabled or Deleted.</p>
285
+ * @public
286
+ */
287
+ export declare class KmsInvalidStateException extends __BaseException {
288
+ readonly name: "KmsInvalidStateException";
289
+ readonly $fault: "client";
290
+ /**
291
+ * <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>
292
+ * @public
293
+ */
294
+ kmsKeyState?: KmsKeyState | undefined;
295
+ /**
296
+ * @internal
297
+ */
298
+ constructor(opts: __ExceptionOptionType<KmsInvalidStateException, __BaseException>);
299
+ }
300
+ /**
301
+ * <p>The specified state machine does not exist.</p>
302
+ * @public
303
+ */
304
+ export declare class StateMachineDoesNotExist extends __BaseException {
305
+ readonly name: "StateMachineDoesNotExist";
306
+ readonly $fault: "client";
307
+ /**
308
+ * @internal
309
+ */
310
+ constructor(opts: __ExceptionOptionType<StateMachineDoesNotExist, __BaseException>);
311
+ }
312
+ /**
313
+ * <p>The provided token is not valid.</p>
314
+ * @public
315
+ */
316
+ export declare class InvalidToken extends __BaseException {
317
+ readonly name: "InvalidToken";
318
+ readonly $fault: "client";
319
+ /**
320
+ * @internal
321
+ */
322
+ constructor(opts: __ExceptionOptionType<InvalidToken, __BaseException>);
323
+ }
324
+ /**
325
+ * <p>The maximum number of running executions has been reached. Running executions must end or
326
+ * be stopped before a new execution can be started.</p>
327
+ * @public
328
+ */
329
+ export declare class ExecutionLimitExceeded extends __BaseException {
330
+ readonly name: "ExecutionLimitExceeded";
331
+ readonly $fault: "client";
332
+ /**
333
+ * @internal
334
+ */
335
+ constructor(opts: __ExceptionOptionType<ExecutionLimitExceeded, __BaseException>);
336
+ }
337
+ /**
338
+ * <p>The execution Amazon Resource Name (ARN) that you specified for <code>executionArn</code> cannot be redriven.</p>
339
+ * @public
340
+ */
341
+ export declare class ExecutionNotRedrivable extends __BaseException {
342
+ readonly name: "ExecutionNotRedrivable";
343
+ readonly $fault: "client";
344
+ /**
345
+ * @internal
346
+ */
347
+ constructor(opts: __ExceptionOptionType<ExecutionNotRedrivable, __BaseException>);
348
+ }
349
+ /**
350
+ * <p>The activity does not exist.</p>
351
+ * @public
352
+ */
353
+ export declare class TaskDoesNotExist extends __BaseException {
354
+ readonly name: "TaskDoesNotExist";
355
+ readonly $fault: "client";
356
+ /**
357
+ * @internal
358
+ */
359
+ constructor(opts: __ExceptionOptionType<TaskDoesNotExist, __BaseException>);
360
+ }
361
+ /**
362
+ * <p>The task token has either expired or the task associated with the token has already been closed.</p>
363
+ * @public
364
+ */
365
+ export declare class TaskTimedOut extends __BaseException {
366
+ readonly name: "TaskTimedOut";
367
+ readonly $fault: "client";
368
+ /**
369
+ * @internal
370
+ */
371
+ constructor(opts: __ExceptionOptionType<TaskTimedOut, __BaseException>);
372
+ }
373
+ /**
374
+ * <p>The provided JSON output data is not valid.</p>
375
+ * @public
376
+ */
377
+ export declare class InvalidOutput extends __BaseException {
378
+ readonly name: "InvalidOutput";
379
+ readonly $fault: "client";
380
+ /**
381
+ * @internal
382
+ */
383
+ constructor(opts: __ExceptionOptionType<InvalidOutput, __BaseException>);
384
+ }
385
+ /**
386
+ * <p>The execution has the same <code>name</code> as another execution (but a different
387
+ * <code>input</code>).</p>
388
+ * <note>
389
+ * <p>Executions with the same <code>name</code> and <code>input</code> are considered
390
+ * idempotent.</p>
391
+ * </note>
392
+ * @public
393
+ */
394
+ export declare class ExecutionAlreadyExists extends __BaseException {
395
+ readonly name: "ExecutionAlreadyExists";
396
+ readonly $fault: "client";
397
+ /**
398
+ * @internal
399
+ */
400
+ constructor(opts: __ExceptionOptionType<ExecutionAlreadyExists, __BaseException>);
401
+ }
402
+ /**
403
+ * <p>The provided JSON input data is not valid.</p>
404
+ * @public
405
+ */
406
+ export declare class InvalidExecutionInput extends __BaseException {
407
+ readonly name: "InvalidExecutionInput";
408
+ readonly $fault: "client";
409
+ /**
410
+ * @internal
411
+ */
412
+ constructor(opts: __ExceptionOptionType<InvalidExecutionInput, __BaseException>);
413
+ }
414
+ /**
415
+ * <p>Request is missing a required parameter. This error occurs if both <code>definition</code>
416
+ * and <code>roleArn</code> are not specified.</p>
417
+ * @public
418
+ */
419
+ export declare class MissingRequiredParameter extends __BaseException {
420
+ readonly name: "MissingRequiredParameter";
421
+ readonly $fault: "client";
422
+ /**
423
+ * @internal
424
+ */
425
+ constructor(opts: __ExceptionOptionType<MissingRequiredParameter, __BaseException>);
426
+ }