@aws-sdk/client-swf 3.52.0 → 3.54.1

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 "./SWFClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SWFServiceException } from "./models/SWFServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var SWFServiceException = (function (_super) {
4
+ __extends(SWFServiceException, _super);
5
+ function SWFServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, SWFServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return SWFServiceException;
11
+ }(__ServiceException));
12
+ export { SWFServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { SWFServiceException as __BaseException } from "./SWFServiceException";
2
3
  export var ActivityType;
3
4
  (function (ActivityType) {
4
5
  ActivityType.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -147,6 +148,30 @@ export var CountClosedWorkflowExecutionsInput;
147
148
  (function (CountClosedWorkflowExecutionsInput) {
148
149
  CountClosedWorkflowExecutionsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
149
150
  })(CountClosedWorkflowExecutionsInput || (CountClosedWorkflowExecutionsInput = {}));
151
+ var OperationNotPermittedFault = (function (_super) {
152
+ __extends(OperationNotPermittedFault, _super);
153
+ function OperationNotPermittedFault(opts) {
154
+ var _this = _super.call(this, __assign({ name: "OperationNotPermittedFault", $fault: "client" }, opts)) || this;
155
+ _this.name = "OperationNotPermittedFault";
156
+ _this.$fault = "client";
157
+ Object.setPrototypeOf(_this, OperationNotPermittedFault.prototype);
158
+ return _this;
159
+ }
160
+ return OperationNotPermittedFault;
161
+ }(__BaseException));
162
+ export { OperationNotPermittedFault };
163
+ var UnknownResourceFault = (function (_super) {
164
+ __extends(UnknownResourceFault, _super);
165
+ function UnknownResourceFault(opts) {
166
+ var _this = _super.call(this, __assign({ name: "UnknownResourceFault", $fault: "client" }, opts)) || this;
167
+ _this.name = "UnknownResourceFault";
168
+ _this.$fault = "client";
169
+ Object.setPrototypeOf(_this, UnknownResourceFault.prototype);
170
+ return _this;
171
+ }
172
+ return UnknownResourceFault;
173
+ }(__BaseException));
174
+ export { UnknownResourceFault };
150
175
  export var WorkflowExecutionCount;
151
176
  (function (WorkflowExecutionCount) {
152
177
  WorkflowExecutionCount.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -363,14 +388,50 @@ export var DecisionTask;
363
388
  (function (DecisionTask) {
364
389
  DecisionTask.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
365
390
  })(DecisionTask || (DecisionTask = {}));
391
+ var DefaultUndefinedFault = (function (_super) {
392
+ __extends(DefaultUndefinedFault, _super);
393
+ function DefaultUndefinedFault(opts) {
394
+ var _this = _super.call(this, __assign({ name: "DefaultUndefinedFault", $fault: "client" }, opts)) || this;
395
+ _this.name = "DefaultUndefinedFault";
396
+ _this.$fault = "client";
397
+ Object.setPrototypeOf(_this, DefaultUndefinedFault.prototype);
398
+ return _this;
399
+ }
400
+ return DefaultUndefinedFault;
401
+ }(__BaseException));
402
+ export { DefaultUndefinedFault };
366
403
  export var DeprecateActivityTypeInput;
367
404
  (function (DeprecateActivityTypeInput) {
368
405
  DeprecateActivityTypeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
369
406
  })(DeprecateActivityTypeInput || (DeprecateActivityTypeInput = {}));
407
+ var TypeDeprecatedFault = (function (_super) {
408
+ __extends(TypeDeprecatedFault, _super);
409
+ function TypeDeprecatedFault(opts) {
410
+ var _this = _super.call(this, __assign({ name: "TypeDeprecatedFault", $fault: "client" }, opts)) || this;
411
+ _this.name = "TypeDeprecatedFault";
412
+ _this.$fault = "client";
413
+ Object.setPrototypeOf(_this, TypeDeprecatedFault.prototype);
414
+ return _this;
415
+ }
416
+ return TypeDeprecatedFault;
417
+ }(__BaseException));
418
+ export { TypeDeprecatedFault };
370
419
  export var DeprecateDomainInput;
371
420
  (function (DeprecateDomainInput) {
372
421
  DeprecateDomainInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
373
422
  })(DeprecateDomainInput || (DeprecateDomainInput = {}));
423
+ var DomainDeprecatedFault = (function (_super) {
424
+ __extends(DomainDeprecatedFault, _super);
425
+ function DomainDeprecatedFault(opts) {
426
+ var _this = _super.call(this, __assign({ name: "DomainDeprecatedFault", $fault: "client" }, opts)) || this;
427
+ _this.name = "DomainDeprecatedFault";
428
+ _this.$fault = "client";
429
+ Object.setPrototypeOf(_this, DomainDeprecatedFault.prototype);
430
+ return _this;
431
+ }
432
+ return DomainDeprecatedFault;
433
+ }(__BaseException));
434
+ export { DomainDeprecatedFault };
374
435
  export var DeprecateWorkflowTypeInput;
375
436
  (function (DeprecateWorkflowTypeInput) {
376
437
  DeprecateWorkflowTypeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -431,6 +492,18 @@ export var WorkflowTypeDetail;
431
492
  (function (WorkflowTypeDetail) {
432
493
  WorkflowTypeDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
433
494
  })(WorkflowTypeDetail || (WorkflowTypeDetail = {}));
495
+ var DomainAlreadyExistsFault = (function (_super) {
496
+ __extends(DomainAlreadyExistsFault, _super);
497
+ function DomainAlreadyExistsFault(opts) {
498
+ var _this = _super.call(this, __assign({ name: "DomainAlreadyExistsFault", $fault: "client" }, opts)) || this;
499
+ _this.name = "DomainAlreadyExistsFault";
500
+ _this.$fault = "client";
501
+ Object.setPrototypeOf(_this, DomainAlreadyExistsFault.prototype);
502
+ return _this;
503
+ }
504
+ return DomainAlreadyExistsFault;
505
+ }(__BaseException));
506
+ export { DomainAlreadyExistsFault };
434
507
  export var DomainInfos;
435
508
  (function (DomainInfos) {
436
509
  DomainInfos.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -443,6 +516,18 @@ export var History;
443
516
  (function (History) {
444
517
  History.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
445
518
  })(History || (History = {}));
519
+ var LimitExceededFault = (function (_super) {
520
+ __extends(LimitExceededFault, _super);
521
+ function LimitExceededFault(opts) {
522
+ var _this = _super.call(this, __assign({ name: "LimitExceededFault", $fault: "client" }, opts)) || this;
523
+ _this.name = "LimitExceededFault";
524
+ _this.$fault = "client";
525
+ Object.setPrototypeOf(_this, LimitExceededFault.prototype);
526
+ return _this;
527
+ }
528
+ return LimitExceededFault;
529
+ }(__BaseException));
530
+ export { LimitExceededFault };
446
531
  export var ListActivityTypesInput;
447
532
  (function (ListActivityTypesInput) {
448
533
  ListActivityTypesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -499,10 +584,34 @@ export var RegisterActivityTypeInput;
499
584
  (function (RegisterActivityTypeInput) {
500
585
  RegisterActivityTypeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
501
586
  })(RegisterActivityTypeInput || (RegisterActivityTypeInput = {}));
587
+ var TypeAlreadyExistsFault = (function (_super) {
588
+ __extends(TypeAlreadyExistsFault, _super);
589
+ function TypeAlreadyExistsFault(opts) {
590
+ var _this = _super.call(this, __assign({ name: "TypeAlreadyExistsFault", $fault: "client" }, opts)) || this;
591
+ _this.name = "TypeAlreadyExistsFault";
592
+ _this.$fault = "client";
593
+ Object.setPrototypeOf(_this, TypeAlreadyExistsFault.prototype);
594
+ return _this;
595
+ }
596
+ return TypeAlreadyExistsFault;
597
+ }(__BaseException));
598
+ export { TypeAlreadyExistsFault };
502
599
  export var RegisterDomainInput;
503
600
  (function (RegisterDomainInput) {
504
601
  RegisterDomainInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
505
602
  })(RegisterDomainInput || (RegisterDomainInput = {}));
603
+ var TooManyTagsFault = (function (_super) {
604
+ __extends(TooManyTagsFault, _super);
605
+ function TooManyTagsFault(opts) {
606
+ var _this = _super.call(this, __assign({ name: "TooManyTagsFault", $fault: "client" }, opts)) || this;
607
+ _this.name = "TooManyTagsFault";
608
+ _this.$fault = "client";
609
+ Object.setPrototypeOf(_this, TooManyTagsFault.prototype);
610
+ return _this;
611
+ }
612
+ return TooManyTagsFault;
613
+ }(__BaseException));
614
+ export { TooManyTagsFault };
506
615
  export var RegisterWorkflowTypeInput;
507
616
  (function (RegisterWorkflowTypeInput) {
508
617
  RegisterWorkflowTypeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -539,6 +648,18 @@ export var StartWorkflowExecutionInput;
539
648
  (function (StartWorkflowExecutionInput) {
540
649
  StartWorkflowExecutionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
541
650
  })(StartWorkflowExecutionInput || (StartWorkflowExecutionInput = {}));
651
+ var WorkflowExecutionAlreadyStartedFault = (function (_super) {
652
+ __extends(WorkflowExecutionAlreadyStartedFault, _super);
653
+ function WorkflowExecutionAlreadyStartedFault(opts) {
654
+ var _this = _super.call(this, __assign({ name: "WorkflowExecutionAlreadyStartedFault", $fault: "client" }, opts)) || this;
655
+ _this.name = "WorkflowExecutionAlreadyStartedFault";
656
+ _this.$fault = "client";
657
+ Object.setPrototypeOf(_this, WorkflowExecutionAlreadyStartedFault.prototype);
658
+ return _this;
659
+ }
660
+ return WorkflowExecutionAlreadyStartedFault;
661
+ }(__BaseException));
662
+ export { WorkflowExecutionAlreadyStartedFault };
542
663
  export var TagResourceInput;
543
664
  (function (TagResourceInput) {
544
665
  TagResourceInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };