@aws-sdk/client-sfn 3.52.0 → 3.53.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-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./SFNClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SFNServiceException } from "./models/SFNServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var SFNServiceException = (function (_super) {
4
+ __extends(SFNServiceException, _super);
5
+ function SFNServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, SFNServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return SFNServiceException;
11
+ }(__ServiceException));
12
+ export { SFNServiceException };
@@ -1,9 +1,34 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { SFNServiceException as __BaseException } from "./SFNServiceException";
4
+ var ActivityDoesNotExist = (function (_super) {
5
+ __extends(ActivityDoesNotExist, _super);
6
+ function ActivityDoesNotExist(opts) {
7
+ var _this = _super.call(this, __assign({ name: "ActivityDoesNotExist", $fault: "client" }, opts)) || this;
8
+ _this.name = "ActivityDoesNotExist";
9
+ _this.$fault = "client";
10
+ Object.setPrototypeOf(_this, ActivityDoesNotExist.prototype);
11
+ return _this;
12
+ }
13
+ return ActivityDoesNotExist;
14
+ }(__BaseException));
15
+ export { ActivityDoesNotExist };
3
16
  export var ActivityFailedEventDetails;
4
17
  (function (ActivityFailedEventDetails) {
5
18
  ActivityFailedEventDetails.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.error && { error: SENSITIVE_STRING })), (obj.cause && { cause: SENSITIVE_STRING }))); };
6
19
  })(ActivityFailedEventDetails || (ActivityFailedEventDetails = {}));
20
+ var ActivityLimitExceeded = (function (_super) {
21
+ __extends(ActivityLimitExceeded, _super);
22
+ function ActivityLimitExceeded(opts) {
23
+ var _this = _super.call(this, __assign({ name: "ActivityLimitExceeded", $fault: "client" }, opts)) || this;
24
+ _this.name = "ActivityLimitExceeded";
25
+ _this.$fault = "client";
26
+ Object.setPrototypeOf(_this, ActivityLimitExceeded.prototype);
27
+ return _this;
28
+ }
29
+ return ActivityLimitExceeded;
30
+ }(__BaseException));
31
+ export { ActivityLimitExceeded };
7
32
  export var ActivityListItem;
8
33
  (function (ActivityListItem) {
9
34
  ActivityListItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -32,6 +57,18 @@ export var ActivityTimedOutEventDetails;
32
57
  (function (ActivityTimedOutEventDetails) {
33
58
  ActivityTimedOutEventDetails.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.error && { error: SENSITIVE_STRING })), (obj.cause && { cause: SENSITIVE_STRING }))); };
34
59
  })(ActivityTimedOutEventDetails || (ActivityTimedOutEventDetails = {}));
60
+ var ActivityWorkerLimitExceeded = (function (_super) {
61
+ __extends(ActivityWorkerLimitExceeded, _super);
62
+ function ActivityWorkerLimitExceeded(opts) {
63
+ var _this = _super.call(this, __assign({ name: "ActivityWorkerLimitExceeded", $fault: "client" }, opts)) || this;
64
+ _this.name = "ActivityWorkerLimitExceeded";
65
+ _this.$fault = "client";
66
+ Object.setPrototypeOf(_this, ActivityWorkerLimitExceeded.prototype);
67
+ return _this;
68
+ }
69
+ return ActivityWorkerLimitExceeded;
70
+ }(__BaseException));
71
+ export { ActivityWorkerLimitExceeded };
35
72
  export var Tag;
36
73
  (function (Tag) {
37
74
  Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -44,6 +81,31 @@ export var CreateActivityOutput;
44
81
  (function (CreateActivityOutput) {
45
82
  CreateActivityOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
46
83
  })(CreateActivityOutput || (CreateActivityOutput = {}));
84
+ var InvalidName = (function (_super) {
85
+ __extends(InvalidName, _super);
86
+ function InvalidName(opts) {
87
+ var _this = _super.call(this, __assign({ name: "InvalidName", $fault: "client" }, opts)) || this;
88
+ _this.name = "InvalidName";
89
+ _this.$fault = "client";
90
+ Object.setPrototypeOf(_this, InvalidName.prototype);
91
+ return _this;
92
+ }
93
+ return InvalidName;
94
+ }(__BaseException));
95
+ export { InvalidName };
96
+ var TooManyTags = (function (_super) {
97
+ __extends(TooManyTags, _super);
98
+ function TooManyTags(opts) {
99
+ var _this = _super.call(this, __assign({ name: "TooManyTags", $fault: "client" }, opts)) || this;
100
+ _this.name = "TooManyTags";
101
+ _this.$fault = "client";
102
+ Object.setPrototypeOf(_this, TooManyTags.prototype);
103
+ _this.resourceName = opts.resourceName;
104
+ return _this;
105
+ }
106
+ return TooManyTags;
107
+ }(__BaseException));
108
+ export { TooManyTags };
47
109
  export var CloudWatchLogsLogGroup;
48
110
  (function (CloudWatchLogsLogGroup) {
49
111
  CloudWatchLogsLogGroup.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -68,6 +130,102 @@ export var CreateStateMachineOutput;
68
130
  (function (CreateStateMachineOutput) {
69
131
  CreateStateMachineOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
70
132
  })(CreateStateMachineOutput || (CreateStateMachineOutput = {}));
133
+ var InvalidArn = (function (_super) {
134
+ __extends(InvalidArn, _super);
135
+ function InvalidArn(opts) {
136
+ var _this = _super.call(this, __assign({ name: "InvalidArn", $fault: "client" }, opts)) || this;
137
+ _this.name = "InvalidArn";
138
+ _this.$fault = "client";
139
+ Object.setPrototypeOf(_this, InvalidArn.prototype);
140
+ return _this;
141
+ }
142
+ return InvalidArn;
143
+ }(__BaseException));
144
+ export { InvalidArn };
145
+ var InvalidDefinition = (function (_super) {
146
+ __extends(InvalidDefinition, _super);
147
+ function InvalidDefinition(opts) {
148
+ var _this = _super.call(this, __assign({ name: "InvalidDefinition", $fault: "client" }, opts)) || this;
149
+ _this.name = "InvalidDefinition";
150
+ _this.$fault = "client";
151
+ Object.setPrototypeOf(_this, InvalidDefinition.prototype);
152
+ return _this;
153
+ }
154
+ return InvalidDefinition;
155
+ }(__BaseException));
156
+ export { InvalidDefinition };
157
+ var InvalidLoggingConfiguration = (function (_super) {
158
+ __extends(InvalidLoggingConfiguration, _super);
159
+ function InvalidLoggingConfiguration(opts) {
160
+ var _this = _super.call(this, __assign({ name: "InvalidLoggingConfiguration", $fault: "client" }, opts)) || this;
161
+ _this.name = "InvalidLoggingConfiguration";
162
+ _this.$fault = "client";
163
+ Object.setPrototypeOf(_this, InvalidLoggingConfiguration.prototype);
164
+ return _this;
165
+ }
166
+ return InvalidLoggingConfiguration;
167
+ }(__BaseException));
168
+ export { InvalidLoggingConfiguration };
169
+ var InvalidTracingConfiguration = (function (_super) {
170
+ __extends(InvalidTracingConfiguration, _super);
171
+ function InvalidTracingConfiguration(opts) {
172
+ var _this = _super.call(this, __assign({ name: "InvalidTracingConfiguration", $fault: "client" }, opts)) || this;
173
+ _this.name = "InvalidTracingConfiguration";
174
+ _this.$fault = "client";
175
+ Object.setPrototypeOf(_this, InvalidTracingConfiguration.prototype);
176
+ return _this;
177
+ }
178
+ return InvalidTracingConfiguration;
179
+ }(__BaseException));
180
+ export { InvalidTracingConfiguration };
181
+ var StateMachineAlreadyExists = (function (_super) {
182
+ __extends(StateMachineAlreadyExists, _super);
183
+ function StateMachineAlreadyExists(opts) {
184
+ var _this = _super.call(this, __assign({ name: "StateMachineAlreadyExists", $fault: "client" }, opts)) || this;
185
+ _this.name = "StateMachineAlreadyExists";
186
+ _this.$fault = "client";
187
+ Object.setPrototypeOf(_this, StateMachineAlreadyExists.prototype);
188
+ return _this;
189
+ }
190
+ return StateMachineAlreadyExists;
191
+ }(__BaseException));
192
+ export { StateMachineAlreadyExists };
193
+ var StateMachineDeleting = (function (_super) {
194
+ __extends(StateMachineDeleting, _super);
195
+ function StateMachineDeleting(opts) {
196
+ var _this = _super.call(this, __assign({ name: "StateMachineDeleting", $fault: "client" }, opts)) || this;
197
+ _this.name = "StateMachineDeleting";
198
+ _this.$fault = "client";
199
+ Object.setPrototypeOf(_this, StateMachineDeleting.prototype);
200
+ return _this;
201
+ }
202
+ return StateMachineDeleting;
203
+ }(__BaseException));
204
+ export { StateMachineDeleting };
205
+ var StateMachineLimitExceeded = (function (_super) {
206
+ __extends(StateMachineLimitExceeded, _super);
207
+ function StateMachineLimitExceeded(opts) {
208
+ var _this = _super.call(this, __assign({ name: "StateMachineLimitExceeded", $fault: "client" }, opts)) || this;
209
+ _this.name = "StateMachineLimitExceeded";
210
+ _this.$fault = "client";
211
+ Object.setPrototypeOf(_this, StateMachineLimitExceeded.prototype);
212
+ return _this;
213
+ }
214
+ return StateMachineLimitExceeded;
215
+ }(__BaseException));
216
+ export { StateMachineLimitExceeded };
217
+ var StateMachineTypeNotSupported = (function (_super) {
218
+ __extends(StateMachineTypeNotSupported, _super);
219
+ function StateMachineTypeNotSupported(opts) {
220
+ var _this = _super.call(this, __assign({ name: "StateMachineTypeNotSupported", $fault: "client" }, opts)) || this;
221
+ _this.name = "StateMachineTypeNotSupported";
222
+ _this.$fault = "client";
223
+ Object.setPrototypeOf(_this, StateMachineTypeNotSupported.prototype);
224
+ return _this;
225
+ }
226
+ return StateMachineTypeNotSupported;
227
+ }(__BaseException));
228
+ export { StateMachineTypeNotSupported };
71
229
  export var DeleteActivityInput;
72
230
  (function (DeleteActivityInput) {
73
231
  DeleteActivityInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -104,6 +262,18 @@ export var DescribeExecutionOutput;
104
262
  (function (DescribeExecutionOutput) {
105
263
  DescribeExecutionOutput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.input && { input: SENSITIVE_STRING })), (obj.output && { output: SENSITIVE_STRING }))); };
106
264
  })(DescribeExecutionOutput || (DescribeExecutionOutput = {}));
265
+ var ExecutionDoesNotExist = (function (_super) {
266
+ __extends(ExecutionDoesNotExist, _super);
267
+ function ExecutionDoesNotExist(opts) {
268
+ var _this = _super.call(this, __assign({ name: "ExecutionDoesNotExist", $fault: "client" }, opts)) || this;
269
+ _this.name = "ExecutionDoesNotExist";
270
+ _this.$fault = "client";
271
+ Object.setPrototypeOf(_this, ExecutionDoesNotExist.prototype);
272
+ return _this;
273
+ }
274
+ return ExecutionDoesNotExist;
275
+ }(__BaseException));
276
+ export { ExecutionDoesNotExist };
107
277
  export var DescribeStateMachineInput;
108
278
  (function (DescribeStateMachineInput) {
109
279
  DescribeStateMachineInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -112,6 +282,18 @@ export var DescribeStateMachineOutput;
112
282
  (function (DescribeStateMachineOutput) {
113
283
  DescribeStateMachineOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.definition && { definition: SENSITIVE_STRING }))); };
114
284
  })(DescribeStateMachineOutput || (DescribeStateMachineOutput = {}));
285
+ var StateMachineDoesNotExist = (function (_super) {
286
+ __extends(StateMachineDoesNotExist, _super);
287
+ function StateMachineDoesNotExist(opts) {
288
+ var _this = _super.call(this, __assign({ name: "StateMachineDoesNotExist", $fault: "client" }, opts)) || this;
289
+ _this.name = "StateMachineDoesNotExist";
290
+ _this.$fault = "client";
291
+ Object.setPrototypeOf(_this, StateMachineDoesNotExist.prototype);
292
+ return _this;
293
+ }
294
+ return StateMachineDoesNotExist;
295
+ }(__BaseException));
296
+ export { StateMachineDoesNotExist };
115
297
  export var DescribeStateMachineForExecutionInput;
116
298
  (function (DescribeStateMachineForExecutionInput) {
117
299
  DescribeStateMachineForExecutionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -282,6 +464,18 @@ export var GetExecutionHistoryOutput;
282
464
  (function (GetExecutionHistoryOutput) {
283
465
  GetExecutionHistoryOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.events && { events: obj.events.map(function (item) { return HistoryEvent.filterSensitiveLog(item); }) }))); };
284
466
  })(GetExecutionHistoryOutput || (GetExecutionHistoryOutput = {}));
467
+ var InvalidToken = (function (_super) {
468
+ __extends(InvalidToken, _super);
469
+ function InvalidToken(opts) {
470
+ var _this = _super.call(this, __assign({ name: "InvalidToken", $fault: "client" }, opts)) || this;
471
+ _this.name = "InvalidToken";
472
+ _this.$fault = "client";
473
+ Object.setPrototypeOf(_this, InvalidToken.prototype);
474
+ return _this;
475
+ }
476
+ return InvalidToken;
477
+ }(__BaseException));
478
+ export { InvalidToken };
285
479
  export var ListActivitiesInput;
286
480
  (function (ListActivitiesInput) {
287
481
  ListActivitiesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -322,6 +516,19 @@ export var ListTagsForResourceOutput;
322
516
  (function (ListTagsForResourceOutput) {
323
517
  ListTagsForResourceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
324
518
  })(ListTagsForResourceOutput || (ListTagsForResourceOutput = {}));
519
+ var ResourceNotFound = (function (_super) {
520
+ __extends(ResourceNotFound, _super);
521
+ function ResourceNotFound(opts) {
522
+ var _this = _super.call(this, __assign({ name: "ResourceNotFound", $fault: "client" }, opts)) || this;
523
+ _this.name = "ResourceNotFound";
524
+ _this.$fault = "client";
525
+ Object.setPrototypeOf(_this, ResourceNotFound.prototype);
526
+ _this.resourceName = opts.resourceName;
527
+ return _this;
528
+ }
529
+ return ResourceNotFound;
530
+ }(__BaseException));
531
+ export { ResourceNotFound };
325
532
  export var SendTaskFailureInput;
326
533
  (function (SendTaskFailureInput) {
327
534
  SendTaskFailureInput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.error && { error: SENSITIVE_STRING })), (obj.cause && { cause: SENSITIVE_STRING }))); };
@@ -330,6 +537,30 @@ export var SendTaskFailureOutput;
330
537
  (function (SendTaskFailureOutput) {
331
538
  SendTaskFailureOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
332
539
  })(SendTaskFailureOutput || (SendTaskFailureOutput = {}));
540
+ var TaskDoesNotExist = (function (_super) {
541
+ __extends(TaskDoesNotExist, _super);
542
+ function TaskDoesNotExist(opts) {
543
+ var _this = _super.call(this, __assign({ name: "TaskDoesNotExist", $fault: "client" }, opts)) || this;
544
+ _this.name = "TaskDoesNotExist";
545
+ _this.$fault = "client";
546
+ Object.setPrototypeOf(_this, TaskDoesNotExist.prototype);
547
+ return _this;
548
+ }
549
+ return TaskDoesNotExist;
550
+ }(__BaseException));
551
+ export { TaskDoesNotExist };
552
+ var TaskTimedOut = (function (_super) {
553
+ __extends(TaskTimedOut, _super);
554
+ function TaskTimedOut(opts) {
555
+ var _this = _super.call(this, __assign({ name: "TaskTimedOut", $fault: "client" }, opts)) || this;
556
+ _this.name = "TaskTimedOut";
557
+ _this.$fault = "client";
558
+ Object.setPrototypeOf(_this, TaskTimedOut.prototype);
559
+ return _this;
560
+ }
561
+ return TaskTimedOut;
562
+ }(__BaseException));
563
+ export { TaskTimedOut };
333
564
  export var SendTaskHeartbeatInput;
334
565
  (function (SendTaskHeartbeatInput) {
335
566
  SendTaskHeartbeatInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -338,6 +569,18 @@ export var SendTaskHeartbeatOutput;
338
569
  (function (SendTaskHeartbeatOutput) {
339
570
  SendTaskHeartbeatOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
340
571
  })(SendTaskHeartbeatOutput || (SendTaskHeartbeatOutput = {}));
572
+ var InvalidOutput = (function (_super) {
573
+ __extends(InvalidOutput, _super);
574
+ function InvalidOutput(opts) {
575
+ var _this = _super.call(this, __assign({ name: "InvalidOutput", $fault: "client" }, opts)) || this;
576
+ _this.name = "InvalidOutput";
577
+ _this.$fault = "client";
578
+ Object.setPrototypeOf(_this, InvalidOutput.prototype);
579
+ return _this;
580
+ }
581
+ return InvalidOutput;
582
+ }(__BaseException));
583
+ export { InvalidOutput };
341
584
  export var SendTaskSuccessInput;
342
585
  (function (SendTaskSuccessInput) {
343
586
  SendTaskSuccessInput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.output && { output: SENSITIVE_STRING }))); };
@@ -346,6 +589,42 @@ export var SendTaskSuccessOutput;
346
589
  (function (SendTaskSuccessOutput) {
347
590
  SendTaskSuccessOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
348
591
  })(SendTaskSuccessOutput || (SendTaskSuccessOutput = {}));
592
+ var ExecutionAlreadyExists = (function (_super) {
593
+ __extends(ExecutionAlreadyExists, _super);
594
+ function ExecutionAlreadyExists(opts) {
595
+ var _this = _super.call(this, __assign({ name: "ExecutionAlreadyExists", $fault: "client" }, opts)) || this;
596
+ _this.name = "ExecutionAlreadyExists";
597
+ _this.$fault = "client";
598
+ Object.setPrototypeOf(_this, ExecutionAlreadyExists.prototype);
599
+ return _this;
600
+ }
601
+ return ExecutionAlreadyExists;
602
+ }(__BaseException));
603
+ export { ExecutionAlreadyExists };
604
+ var ExecutionLimitExceeded = (function (_super) {
605
+ __extends(ExecutionLimitExceeded, _super);
606
+ function ExecutionLimitExceeded(opts) {
607
+ var _this = _super.call(this, __assign({ name: "ExecutionLimitExceeded", $fault: "client" }, opts)) || this;
608
+ _this.name = "ExecutionLimitExceeded";
609
+ _this.$fault = "client";
610
+ Object.setPrototypeOf(_this, ExecutionLimitExceeded.prototype);
611
+ return _this;
612
+ }
613
+ return ExecutionLimitExceeded;
614
+ }(__BaseException));
615
+ export { ExecutionLimitExceeded };
616
+ var InvalidExecutionInput = (function (_super) {
617
+ __extends(InvalidExecutionInput, _super);
618
+ function InvalidExecutionInput(opts) {
619
+ var _this = _super.call(this, __assign({ name: "InvalidExecutionInput", $fault: "client" }, opts)) || this;
620
+ _this.name = "InvalidExecutionInput";
621
+ _this.$fault = "client";
622
+ Object.setPrototypeOf(_this, InvalidExecutionInput.prototype);
623
+ return _this;
624
+ }
625
+ return InvalidExecutionInput;
626
+ }(__BaseException));
627
+ export { InvalidExecutionInput };
349
628
  export var StartExecutionInput;
350
629
  (function (StartExecutionInput) {
351
630
  StartExecutionInput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.input && { input: SENSITIVE_STRING }))); };
@@ -390,6 +669,18 @@ export var UntagResourceOutput;
390
669
  (function (UntagResourceOutput) {
391
670
  UntagResourceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
392
671
  })(UntagResourceOutput || (UntagResourceOutput = {}));
672
+ var MissingRequiredParameter = (function (_super) {
673
+ __extends(MissingRequiredParameter, _super);
674
+ function MissingRequiredParameter(opts) {
675
+ var _this = _super.call(this, __assign({ name: "MissingRequiredParameter", $fault: "client" }, opts)) || this;
676
+ _this.name = "MissingRequiredParameter";
677
+ _this.$fault = "client";
678
+ Object.setPrototypeOf(_this, MissingRequiredParameter.prototype);
679
+ return _this;
680
+ }
681
+ return MissingRequiredParameter;
682
+ }(__BaseException));
683
+ export { MissingRequiredParameter };
393
684
  export var UpdateStateMachineInput;
394
685
  (function (UpdateStateMachineInput) {
395
686
  UpdateStateMachineInput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.definition && { definition: SENSITIVE_STRING }))); };