@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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-sfn
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SFNServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./SFN"), exports);
5
6
  tslib_1.__exportStar(require("./SFNClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var SFNServiceException_1 = require("./models/SFNServiceException");
11
+ Object.defineProperty(exports, "SFNServiceException", { enumerable: true, get: function () { return SFNServiceException_1.SFNServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SFNServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class SFNServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, SFNServiceException.prototype);
9
+ }
10
+ }
11
+ exports.SFNServiceException = SFNServiceException;
@@ -1,8 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TaskScheduledEventDetails = exports.TaskFailedEventDetails = exports.StateExitedEventDetails = exports.StateEnteredEventDetails = exports.MapStateStartedEventDetails = exports.MapIterationEventDetails = exports.LambdaFunctionTimedOutEventDetails = exports.LambdaFunctionSucceededEventDetails = exports.LambdaFunctionStartFailedEventDetails = exports.LambdaFunctionScheduleFailedEventDetails = exports.LambdaFunctionScheduledEventDetails = exports.LambdaFunctionFailedEventDetails = exports.ExecutionTimedOutEventDetails = exports.ExecutionSucceededEventDetails = exports.ExecutionStartedEventDetails = exports.ExecutionFailedEventDetails = exports.ExecutionAbortedEventDetails = exports.GetExecutionHistoryInput = exports.GetActivityTaskOutput = exports.GetActivityTaskInput = exports.DescribeStateMachineForExecutionOutput = exports.DescribeStateMachineForExecutionInput = exports.DescribeStateMachineOutput = exports.DescribeStateMachineInput = exports.DescribeExecutionOutput = exports.CloudWatchEventsExecutionDataDetails = exports.DescribeExecutionInput = exports.DescribeActivityOutput = exports.DescribeActivityInput = exports.DeleteStateMachineOutput = exports.DeleteStateMachineInput = exports.DeleteActivityOutput = exports.DeleteActivityInput = exports.CreateStateMachineOutput = exports.CreateStateMachineInput = exports.TracingConfiguration = exports.LoggingConfiguration = exports.LogDestination = exports.CloudWatchLogsLogGroup = exports.CreateActivityOutput = exports.CreateActivityInput = exports.Tag = exports.ActivityTimedOutEventDetails = exports.ActivitySucceededEventDetails = exports.ActivityStartedEventDetails = exports.ActivityScheduleFailedEventDetails = exports.ActivityScheduledEventDetails = exports.HistoryEventExecutionDataDetails = exports.ActivityListItem = exports.ActivityFailedEventDetails = void 0;
4
- exports.UpdateStateMachineOutput = exports.UpdateStateMachineInput = exports.UntagResourceOutput = exports.UntagResourceInput = exports.TagResourceOutput = exports.TagResourceInput = exports.StopExecutionOutput = exports.StopExecutionInput = exports.StartSyncExecutionOutput = exports.BillingDetails = exports.StartSyncExecutionInput = exports.StartExecutionOutput = exports.StartExecutionInput = exports.SendTaskSuccessOutput = exports.SendTaskSuccessInput = exports.SendTaskHeartbeatOutput = exports.SendTaskHeartbeatInput = exports.SendTaskFailureOutput = exports.SendTaskFailureInput = exports.ListTagsForResourceOutput = exports.ListTagsForResourceInput = exports.ListStateMachinesOutput = exports.StateMachineListItem = exports.ListStateMachinesInput = exports.ListExecutionsOutput = exports.ExecutionListItem = exports.ListExecutionsInput = exports.ListActivitiesOutput = exports.ListActivitiesInput = exports.GetExecutionHistoryOutput = exports.HistoryEvent = exports.TaskTimedOutEventDetails = exports.TaskSucceededEventDetails = exports.TaskSubmittedEventDetails = exports.TaskSubmitFailedEventDetails = exports.TaskStartFailedEventDetails = exports.TaskStartedEventDetails = void 0;
3
+ exports.ExecutionFailedEventDetails = exports.ExecutionAbortedEventDetails = exports.GetExecutionHistoryInput = exports.GetActivityTaskOutput = exports.GetActivityTaskInput = exports.DescribeStateMachineForExecutionOutput = exports.DescribeStateMachineForExecutionInput = exports.StateMachineDoesNotExist = exports.DescribeStateMachineOutput = exports.DescribeStateMachineInput = exports.ExecutionDoesNotExist = exports.DescribeExecutionOutput = exports.CloudWatchEventsExecutionDataDetails = exports.DescribeExecutionInput = exports.DescribeActivityOutput = exports.DescribeActivityInput = exports.DeleteStateMachineOutput = exports.DeleteStateMachineInput = exports.DeleteActivityOutput = exports.DeleteActivityInput = exports.StateMachineTypeNotSupported = exports.StateMachineLimitExceeded = exports.StateMachineDeleting = exports.StateMachineAlreadyExists = exports.InvalidTracingConfiguration = exports.InvalidLoggingConfiguration = exports.InvalidDefinition = exports.InvalidArn = exports.CreateStateMachineOutput = exports.CreateStateMachineInput = exports.TracingConfiguration = exports.LoggingConfiguration = exports.LogDestination = exports.CloudWatchLogsLogGroup = exports.TooManyTags = exports.InvalidName = exports.CreateActivityOutput = exports.CreateActivityInput = exports.Tag = exports.ActivityWorkerLimitExceeded = exports.ActivityTimedOutEventDetails = exports.ActivitySucceededEventDetails = exports.ActivityStartedEventDetails = exports.ActivityScheduleFailedEventDetails = exports.ActivityScheduledEventDetails = exports.HistoryEventExecutionDataDetails = exports.ActivityListItem = exports.ActivityLimitExceeded = exports.ActivityFailedEventDetails = exports.ActivityDoesNotExist = void 0;
4
+ exports.StartSyncExecutionInput = exports.StartExecutionOutput = exports.StartExecutionInput = exports.InvalidExecutionInput = exports.ExecutionLimitExceeded = exports.ExecutionAlreadyExists = exports.SendTaskSuccessOutput = exports.SendTaskSuccessInput = exports.InvalidOutput = exports.SendTaskHeartbeatOutput = exports.SendTaskHeartbeatInput = exports.TaskTimedOut = exports.TaskDoesNotExist = exports.SendTaskFailureOutput = exports.SendTaskFailureInput = exports.ResourceNotFound = exports.ListTagsForResourceOutput = exports.ListTagsForResourceInput = exports.ListStateMachinesOutput = exports.StateMachineListItem = exports.ListStateMachinesInput = exports.ListExecutionsOutput = exports.ExecutionListItem = exports.ListExecutionsInput = exports.ListActivitiesOutput = exports.ListActivitiesInput = exports.InvalidToken = exports.GetExecutionHistoryOutput = exports.HistoryEvent = exports.TaskTimedOutEventDetails = exports.TaskSucceededEventDetails = exports.TaskSubmittedEventDetails = exports.TaskSubmitFailedEventDetails = exports.TaskStartFailedEventDetails = exports.TaskStartedEventDetails = exports.TaskScheduledEventDetails = exports.TaskFailedEventDetails = exports.StateExitedEventDetails = exports.StateEnteredEventDetails = exports.MapStateStartedEventDetails = exports.MapIterationEventDetails = exports.LambdaFunctionTimedOutEventDetails = exports.LambdaFunctionSucceededEventDetails = exports.LambdaFunctionStartFailedEventDetails = exports.LambdaFunctionScheduleFailedEventDetails = exports.LambdaFunctionScheduledEventDetails = exports.LambdaFunctionFailedEventDetails = exports.ExecutionTimedOutEventDetails = exports.ExecutionSucceededEventDetails = exports.ExecutionStartedEventDetails = void 0;
5
+ exports.UpdateStateMachineOutput = exports.UpdateStateMachineInput = exports.MissingRequiredParameter = exports.UntagResourceOutput = exports.UntagResourceInput = exports.TagResourceOutput = exports.TagResourceInput = exports.StopExecutionOutput = exports.StopExecutionInput = exports.StartSyncExecutionOutput = exports.BillingDetails = void 0;
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const SFNServiceException_1 = require("./SFNServiceException");
8
+ class ActivityDoesNotExist extends SFNServiceException_1.SFNServiceException {
9
+ constructor(opts) {
10
+ super({
11
+ name: "ActivityDoesNotExist",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ this.name = "ActivityDoesNotExist";
16
+ this.$fault = "client";
17
+ Object.setPrototypeOf(this, ActivityDoesNotExist.prototype);
18
+ }
19
+ }
20
+ exports.ActivityDoesNotExist = ActivityDoesNotExist;
6
21
  var ActivityFailedEventDetails;
7
22
  (function (ActivityFailedEventDetails) {
8
23
  ActivityFailedEventDetails.filterSensitiveLog = (obj) => ({
@@ -11,6 +26,19 @@ var ActivityFailedEventDetails;
11
26
  ...(obj.cause && { cause: smithy_client_1.SENSITIVE_STRING }),
12
27
  });
13
28
  })(ActivityFailedEventDetails = exports.ActivityFailedEventDetails || (exports.ActivityFailedEventDetails = {}));
29
+ class ActivityLimitExceeded extends SFNServiceException_1.SFNServiceException {
30
+ constructor(opts) {
31
+ super({
32
+ name: "ActivityLimitExceeded",
33
+ $fault: "client",
34
+ ...opts,
35
+ });
36
+ this.name = "ActivityLimitExceeded";
37
+ this.$fault = "client";
38
+ Object.setPrototypeOf(this, ActivityLimitExceeded.prototype);
39
+ }
40
+ }
41
+ exports.ActivityLimitExceeded = ActivityLimitExceeded;
14
42
  var ActivityListItem;
15
43
  (function (ActivityListItem) {
16
44
  ActivityListItem.filterSensitiveLog = (obj) => ({
@@ -59,6 +87,19 @@ var ActivityTimedOutEventDetails;
59
87
  ...(obj.cause && { cause: smithy_client_1.SENSITIVE_STRING }),
60
88
  });
61
89
  })(ActivityTimedOutEventDetails = exports.ActivityTimedOutEventDetails || (exports.ActivityTimedOutEventDetails = {}));
90
+ class ActivityWorkerLimitExceeded extends SFNServiceException_1.SFNServiceException {
91
+ constructor(opts) {
92
+ super({
93
+ name: "ActivityWorkerLimitExceeded",
94
+ $fault: "client",
95
+ ...opts,
96
+ });
97
+ this.name = "ActivityWorkerLimitExceeded";
98
+ this.$fault = "client";
99
+ Object.setPrototypeOf(this, ActivityWorkerLimitExceeded.prototype);
100
+ }
101
+ }
102
+ exports.ActivityWorkerLimitExceeded = ActivityWorkerLimitExceeded;
62
103
  var Tag;
63
104
  (function (Tag) {
64
105
  Tag.filterSensitiveLog = (obj) => ({
@@ -77,6 +118,33 @@ var CreateActivityOutput;
77
118
  ...obj,
78
119
  });
79
120
  })(CreateActivityOutput = exports.CreateActivityOutput || (exports.CreateActivityOutput = {}));
121
+ class InvalidName extends SFNServiceException_1.SFNServiceException {
122
+ constructor(opts) {
123
+ super({
124
+ name: "InvalidName",
125
+ $fault: "client",
126
+ ...opts,
127
+ });
128
+ this.name = "InvalidName";
129
+ this.$fault = "client";
130
+ Object.setPrototypeOf(this, InvalidName.prototype);
131
+ }
132
+ }
133
+ exports.InvalidName = InvalidName;
134
+ class TooManyTags extends SFNServiceException_1.SFNServiceException {
135
+ constructor(opts) {
136
+ super({
137
+ name: "TooManyTags",
138
+ $fault: "client",
139
+ ...opts,
140
+ });
141
+ this.name = "TooManyTags";
142
+ this.$fault = "client";
143
+ Object.setPrototypeOf(this, TooManyTags.prototype);
144
+ this.resourceName = opts.resourceName;
145
+ }
146
+ }
147
+ exports.TooManyTags = TooManyTags;
80
148
  var CloudWatchLogsLogGroup;
81
149
  (function (CloudWatchLogsLogGroup) {
82
150
  CloudWatchLogsLogGroup.filterSensitiveLog = (obj) => ({
@@ -114,6 +182,110 @@ var CreateStateMachineOutput;
114
182
  ...obj,
115
183
  });
116
184
  })(CreateStateMachineOutput = exports.CreateStateMachineOutput || (exports.CreateStateMachineOutput = {}));
185
+ class InvalidArn extends SFNServiceException_1.SFNServiceException {
186
+ constructor(opts) {
187
+ super({
188
+ name: "InvalidArn",
189
+ $fault: "client",
190
+ ...opts,
191
+ });
192
+ this.name = "InvalidArn";
193
+ this.$fault = "client";
194
+ Object.setPrototypeOf(this, InvalidArn.prototype);
195
+ }
196
+ }
197
+ exports.InvalidArn = InvalidArn;
198
+ class InvalidDefinition extends SFNServiceException_1.SFNServiceException {
199
+ constructor(opts) {
200
+ super({
201
+ name: "InvalidDefinition",
202
+ $fault: "client",
203
+ ...opts,
204
+ });
205
+ this.name = "InvalidDefinition";
206
+ this.$fault = "client";
207
+ Object.setPrototypeOf(this, InvalidDefinition.prototype);
208
+ }
209
+ }
210
+ exports.InvalidDefinition = InvalidDefinition;
211
+ class InvalidLoggingConfiguration extends SFNServiceException_1.SFNServiceException {
212
+ constructor(opts) {
213
+ super({
214
+ name: "InvalidLoggingConfiguration",
215
+ $fault: "client",
216
+ ...opts,
217
+ });
218
+ this.name = "InvalidLoggingConfiguration";
219
+ this.$fault = "client";
220
+ Object.setPrototypeOf(this, InvalidLoggingConfiguration.prototype);
221
+ }
222
+ }
223
+ exports.InvalidLoggingConfiguration = InvalidLoggingConfiguration;
224
+ class InvalidTracingConfiguration extends SFNServiceException_1.SFNServiceException {
225
+ constructor(opts) {
226
+ super({
227
+ name: "InvalidTracingConfiguration",
228
+ $fault: "client",
229
+ ...opts,
230
+ });
231
+ this.name = "InvalidTracingConfiguration";
232
+ this.$fault = "client";
233
+ Object.setPrototypeOf(this, InvalidTracingConfiguration.prototype);
234
+ }
235
+ }
236
+ exports.InvalidTracingConfiguration = InvalidTracingConfiguration;
237
+ class StateMachineAlreadyExists extends SFNServiceException_1.SFNServiceException {
238
+ constructor(opts) {
239
+ super({
240
+ name: "StateMachineAlreadyExists",
241
+ $fault: "client",
242
+ ...opts,
243
+ });
244
+ this.name = "StateMachineAlreadyExists";
245
+ this.$fault = "client";
246
+ Object.setPrototypeOf(this, StateMachineAlreadyExists.prototype);
247
+ }
248
+ }
249
+ exports.StateMachineAlreadyExists = StateMachineAlreadyExists;
250
+ class StateMachineDeleting extends SFNServiceException_1.SFNServiceException {
251
+ constructor(opts) {
252
+ super({
253
+ name: "StateMachineDeleting",
254
+ $fault: "client",
255
+ ...opts,
256
+ });
257
+ this.name = "StateMachineDeleting";
258
+ this.$fault = "client";
259
+ Object.setPrototypeOf(this, StateMachineDeleting.prototype);
260
+ }
261
+ }
262
+ exports.StateMachineDeleting = StateMachineDeleting;
263
+ class StateMachineLimitExceeded extends SFNServiceException_1.SFNServiceException {
264
+ constructor(opts) {
265
+ super({
266
+ name: "StateMachineLimitExceeded",
267
+ $fault: "client",
268
+ ...opts,
269
+ });
270
+ this.name = "StateMachineLimitExceeded";
271
+ this.$fault = "client";
272
+ Object.setPrototypeOf(this, StateMachineLimitExceeded.prototype);
273
+ }
274
+ }
275
+ exports.StateMachineLimitExceeded = StateMachineLimitExceeded;
276
+ class StateMachineTypeNotSupported extends SFNServiceException_1.SFNServiceException {
277
+ constructor(opts) {
278
+ super({
279
+ name: "StateMachineTypeNotSupported",
280
+ $fault: "client",
281
+ ...opts,
282
+ });
283
+ this.name = "StateMachineTypeNotSupported";
284
+ this.$fault = "client";
285
+ Object.setPrototypeOf(this, StateMachineTypeNotSupported.prototype);
286
+ }
287
+ }
288
+ exports.StateMachineTypeNotSupported = StateMachineTypeNotSupported;
117
289
  var DeleteActivityInput;
118
290
  (function (DeleteActivityInput) {
119
291
  DeleteActivityInput.filterSensitiveLog = (obj) => ({
@@ -170,6 +342,19 @@ var DescribeExecutionOutput;
170
342
  ...(obj.output && { output: smithy_client_1.SENSITIVE_STRING }),
171
343
  });
172
344
  })(DescribeExecutionOutput = exports.DescribeExecutionOutput || (exports.DescribeExecutionOutput = {}));
345
+ class ExecutionDoesNotExist extends SFNServiceException_1.SFNServiceException {
346
+ constructor(opts) {
347
+ super({
348
+ name: "ExecutionDoesNotExist",
349
+ $fault: "client",
350
+ ...opts,
351
+ });
352
+ this.name = "ExecutionDoesNotExist";
353
+ this.$fault = "client";
354
+ Object.setPrototypeOf(this, ExecutionDoesNotExist.prototype);
355
+ }
356
+ }
357
+ exports.ExecutionDoesNotExist = ExecutionDoesNotExist;
173
358
  var DescribeStateMachineInput;
174
359
  (function (DescribeStateMachineInput) {
175
360
  DescribeStateMachineInput.filterSensitiveLog = (obj) => ({
@@ -183,6 +368,19 @@ var DescribeStateMachineOutput;
183
368
  ...(obj.definition && { definition: smithy_client_1.SENSITIVE_STRING }),
184
369
  });
185
370
  })(DescribeStateMachineOutput = exports.DescribeStateMachineOutput || (exports.DescribeStateMachineOutput = {}));
371
+ class StateMachineDoesNotExist extends SFNServiceException_1.SFNServiceException {
372
+ constructor(opts) {
373
+ super({
374
+ name: "StateMachineDoesNotExist",
375
+ $fault: "client",
376
+ ...opts,
377
+ });
378
+ this.name = "StateMachineDoesNotExist";
379
+ this.$fault = "client";
380
+ Object.setPrototypeOf(this, StateMachineDoesNotExist.prototype);
381
+ }
382
+ }
383
+ exports.StateMachineDoesNotExist = StateMachineDoesNotExist;
186
384
  var DescribeStateMachineForExecutionInput;
187
385
  (function (DescribeStateMachineForExecutionInput) {
188
386
  DescribeStateMachineForExecutionInput.filterSensitiveLog = (obj) => ({
@@ -472,6 +670,19 @@ var GetExecutionHistoryOutput;
472
670
  ...(obj.events && { events: obj.events.map((item) => HistoryEvent.filterSensitiveLog(item)) }),
473
671
  });
474
672
  })(GetExecutionHistoryOutput = exports.GetExecutionHistoryOutput || (exports.GetExecutionHistoryOutput = {}));
673
+ class InvalidToken extends SFNServiceException_1.SFNServiceException {
674
+ constructor(opts) {
675
+ super({
676
+ name: "InvalidToken",
677
+ $fault: "client",
678
+ ...opts,
679
+ });
680
+ this.name = "InvalidToken";
681
+ this.$fault = "client";
682
+ Object.setPrototypeOf(this, InvalidToken.prototype);
683
+ }
684
+ }
685
+ exports.InvalidToken = InvalidToken;
475
686
  var ListActivitiesInput;
476
687
  (function (ListActivitiesInput) {
477
688
  ListActivitiesInput.filterSensitiveLog = (obj) => ({
@@ -532,6 +743,20 @@ var ListTagsForResourceOutput;
532
743
  ...obj,
533
744
  });
534
745
  })(ListTagsForResourceOutput = exports.ListTagsForResourceOutput || (exports.ListTagsForResourceOutput = {}));
746
+ class ResourceNotFound extends SFNServiceException_1.SFNServiceException {
747
+ constructor(opts) {
748
+ super({
749
+ name: "ResourceNotFound",
750
+ $fault: "client",
751
+ ...opts,
752
+ });
753
+ this.name = "ResourceNotFound";
754
+ this.$fault = "client";
755
+ Object.setPrototypeOf(this, ResourceNotFound.prototype);
756
+ this.resourceName = opts.resourceName;
757
+ }
758
+ }
759
+ exports.ResourceNotFound = ResourceNotFound;
535
760
  var SendTaskFailureInput;
536
761
  (function (SendTaskFailureInput) {
537
762
  SendTaskFailureInput.filterSensitiveLog = (obj) => ({
@@ -546,6 +771,32 @@ var SendTaskFailureOutput;
546
771
  ...obj,
547
772
  });
548
773
  })(SendTaskFailureOutput = exports.SendTaskFailureOutput || (exports.SendTaskFailureOutput = {}));
774
+ class TaskDoesNotExist extends SFNServiceException_1.SFNServiceException {
775
+ constructor(opts) {
776
+ super({
777
+ name: "TaskDoesNotExist",
778
+ $fault: "client",
779
+ ...opts,
780
+ });
781
+ this.name = "TaskDoesNotExist";
782
+ this.$fault = "client";
783
+ Object.setPrototypeOf(this, TaskDoesNotExist.prototype);
784
+ }
785
+ }
786
+ exports.TaskDoesNotExist = TaskDoesNotExist;
787
+ class TaskTimedOut extends SFNServiceException_1.SFNServiceException {
788
+ constructor(opts) {
789
+ super({
790
+ name: "TaskTimedOut",
791
+ $fault: "client",
792
+ ...opts,
793
+ });
794
+ this.name = "TaskTimedOut";
795
+ this.$fault = "client";
796
+ Object.setPrototypeOf(this, TaskTimedOut.prototype);
797
+ }
798
+ }
799
+ exports.TaskTimedOut = TaskTimedOut;
549
800
  var SendTaskHeartbeatInput;
550
801
  (function (SendTaskHeartbeatInput) {
551
802
  SendTaskHeartbeatInput.filterSensitiveLog = (obj) => ({
@@ -558,6 +809,19 @@ var SendTaskHeartbeatOutput;
558
809
  ...obj,
559
810
  });
560
811
  })(SendTaskHeartbeatOutput = exports.SendTaskHeartbeatOutput || (exports.SendTaskHeartbeatOutput = {}));
812
+ class InvalidOutput extends SFNServiceException_1.SFNServiceException {
813
+ constructor(opts) {
814
+ super({
815
+ name: "InvalidOutput",
816
+ $fault: "client",
817
+ ...opts,
818
+ });
819
+ this.name = "InvalidOutput";
820
+ this.$fault = "client";
821
+ Object.setPrototypeOf(this, InvalidOutput.prototype);
822
+ }
823
+ }
824
+ exports.InvalidOutput = InvalidOutput;
561
825
  var SendTaskSuccessInput;
562
826
  (function (SendTaskSuccessInput) {
563
827
  SendTaskSuccessInput.filterSensitiveLog = (obj) => ({
@@ -571,6 +835,45 @@ var SendTaskSuccessOutput;
571
835
  ...obj,
572
836
  });
573
837
  })(SendTaskSuccessOutput = exports.SendTaskSuccessOutput || (exports.SendTaskSuccessOutput = {}));
838
+ class ExecutionAlreadyExists extends SFNServiceException_1.SFNServiceException {
839
+ constructor(opts) {
840
+ super({
841
+ name: "ExecutionAlreadyExists",
842
+ $fault: "client",
843
+ ...opts,
844
+ });
845
+ this.name = "ExecutionAlreadyExists";
846
+ this.$fault = "client";
847
+ Object.setPrototypeOf(this, ExecutionAlreadyExists.prototype);
848
+ }
849
+ }
850
+ exports.ExecutionAlreadyExists = ExecutionAlreadyExists;
851
+ class ExecutionLimitExceeded extends SFNServiceException_1.SFNServiceException {
852
+ constructor(opts) {
853
+ super({
854
+ name: "ExecutionLimitExceeded",
855
+ $fault: "client",
856
+ ...opts,
857
+ });
858
+ this.name = "ExecutionLimitExceeded";
859
+ this.$fault = "client";
860
+ Object.setPrototypeOf(this, ExecutionLimitExceeded.prototype);
861
+ }
862
+ }
863
+ exports.ExecutionLimitExceeded = ExecutionLimitExceeded;
864
+ class InvalidExecutionInput extends SFNServiceException_1.SFNServiceException {
865
+ constructor(opts) {
866
+ super({
867
+ name: "InvalidExecutionInput",
868
+ $fault: "client",
869
+ ...opts,
870
+ });
871
+ this.name = "InvalidExecutionInput";
872
+ this.$fault = "client";
873
+ Object.setPrototypeOf(this, InvalidExecutionInput.prototype);
874
+ }
875
+ }
876
+ exports.InvalidExecutionInput = InvalidExecutionInput;
574
877
  var StartExecutionInput;
575
878
  (function (StartExecutionInput) {
576
879
  StartExecutionInput.filterSensitiveLog = (obj) => ({
@@ -645,6 +948,19 @@ var UntagResourceOutput;
645
948
  ...obj,
646
949
  });
647
950
  })(UntagResourceOutput = exports.UntagResourceOutput || (exports.UntagResourceOutput = {}));
951
+ class MissingRequiredParameter extends SFNServiceException_1.SFNServiceException {
952
+ constructor(opts) {
953
+ super({
954
+ name: "MissingRequiredParameter",
955
+ $fault: "client",
956
+ ...opts,
957
+ });
958
+ this.name = "MissingRequiredParameter";
959
+ this.$fault = "client";
960
+ Object.setPrototypeOf(this, MissingRequiredParameter.prototype);
961
+ }
962
+ }
963
+ exports.MissingRequiredParameter = MissingRequiredParameter;
648
964
  var UpdateStateMachineInput;
649
965
  (function (UpdateStateMachineInput) {
650
966
  UpdateStateMachineInput.filterSensitiveLog = (obj) => ({