@aws-sdk/client-swf 3.51.0 → 3.54.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/SWFServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +135 -3
- package/dist-cjs/protocols/Aws_json1_0.js +289 -997
- package/dist-es/index.js +1 -0
- package/dist-es/models/SWFServiceException.js +12 -0
- package/dist-es/models/models_0.js +122 -1
- package/dist-es/protocols/Aws_json1_0.js +681 -1126
- package/dist-types/SWFClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/SWFServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +56 -49
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/SWFClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/SWFServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +44 -41
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-swf
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **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))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-swf
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-swf
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SWFServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./SWF"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./SWFClient"), 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 SWFServiceException_1 = require("./models/SWFServiceException");
|
|
11
|
+
Object.defineProperty(exports, "SWFServiceException", { enumerable: true, get: function () { return SWFServiceException_1.SWFServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SWFServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class SWFServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, SWFServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.SWFServiceException = SWFServiceException;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
3
|
+
exports.ScheduleLambdaFunctionDecisionAttributes = exports.ScheduleActivityTaskDecisionAttributes = exports.RequestCancelExternalWorkflowExecutionDecisionAttributes = exports.RequestCancelActivityTaskDecisionAttributes = exports.RecordMarkerDecisionAttributes = exports.FailWorkflowExecutionDecisionAttributes = exports.CountPendingDecisionTasksInput = exports.PendingTaskCount = exports.CountPendingActivityTasksInput = exports.CountOpenWorkflowExecutionsInput = exports.WorkflowExecutionCount = exports.UnknownResourceFault = exports.OperationNotPermittedFault = exports.CountClosedWorkflowExecutionsInput = exports.WorkflowTypeFilter = exports.TagFilter = exports.WorkflowExecutionFilter = exports.ExecutionTimeFilter = exports.ContinueAsNewWorkflowExecutionFailedEventAttributes = exports.ContinueAsNewWorkflowExecutionDecisionAttributes = exports.CompleteWorkflowExecutionFailedEventAttributes = exports.CompleteWorkflowExecutionDecisionAttributes = exports.CloseStatusFilter = exports.ChildWorkflowExecutionTimedOutEventAttributes = exports.ChildWorkflowExecutionTerminatedEventAttributes = exports.ChildWorkflowExecutionStartedEventAttributes = exports.ChildWorkflowExecutionFailedEventAttributes = exports.ChildWorkflowExecutionCompletedEventAttributes = exports.ChildWorkflowExecutionCanceledEventAttributes = exports.WorkflowType = exports.CancelWorkflowExecutionFailedEventAttributes = exports.CancelWorkflowExecutionDecisionAttributes = exports.CancelTimerFailedEventAttributes = exports.CancelTimerDecisionAttributes = exports.ActivityTypeInfos = exports.ActivityTypeDetail = exports.ActivityTypeInfo = exports.ActivityTypeConfiguration = exports.ActivityTaskTimedOutEventAttributes = exports.ActivityTaskStatus = exports.ActivityTaskStartedEventAttributes = exports.ActivityTaskScheduledEventAttributes = exports.TaskList = exports.ActivityTaskFailedEventAttributes = exports.ActivityTaskCompletedEventAttributes = exports.ActivityTaskCancelRequestedEventAttributes = exports.ActivityTaskCanceledEventAttributes = exports.ActivityTask = exports.WorkflowExecution = exports.ActivityType = void 0;
|
|
4
|
+
exports.DescribeActivityTypeInput = exports.DeprecateWorkflowTypeInput = exports.DomainDeprecatedFault = exports.DeprecateDomainInput = exports.TypeDeprecatedFault = exports.DeprecateActivityTypeInput = exports.DefaultUndefinedFault = exports.DecisionTask = exports.HistoryEvent = exports.WorkflowExecutionTimedOutEventAttributes = exports.WorkflowExecutionTerminatedEventAttributes = exports.WorkflowExecutionStartedEventAttributes = exports.WorkflowExecutionSignaledEventAttributes = exports.WorkflowExecutionFailedEventAttributes = exports.WorkflowExecutionContinuedAsNewEventAttributes = exports.WorkflowExecutionCompletedEventAttributes = exports.WorkflowExecutionCancelRequestedEventAttributes = exports.WorkflowExecutionCanceledEventAttributes = exports.TimerStartedEventAttributes = exports.TimerFiredEventAttributes = exports.TimerCanceledEventAttributes = exports.StartTimerFailedEventAttributes = exports.StartLambdaFunctionFailedEventAttributes = exports.StartChildWorkflowExecutionInitiatedEventAttributes = exports.StartChildWorkflowExecutionFailedEventAttributes = exports.SignalExternalWorkflowExecutionInitiatedEventAttributes = exports.SignalExternalWorkflowExecutionFailedEventAttributes = exports.ScheduleLambdaFunctionFailedEventAttributes = exports.ScheduleActivityTaskFailedEventAttributes = exports.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = exports.RequestCancelExternalWorkflowExecutionFailedEventAttributes = exports.RequestCancelActivityTaskFailedEventAttributes = exports.RecordMarkerFailedEventAttributes = exports.MarkerRecordedEventAttributes = exports.LambdaFunctionTimedOutEventAttributes = exports.LambdaFunctionStartedEventAttributes = exports.LambdaFunctionScheduledEventAttributes = exports.LambdaFunctionFailedEventAttributes = exports.LambdaFunctionCompletedEventAttributes = exports.FailWorkflowExecutionFailedEventAttributes = exports.ExternalWorkflowExecutionSignaledEventAttributes = exports.ExternalWorkflowExecutionCancelRequestedEventAttributes = exports.DecisionTaskTimedOutEventAttributes = exports.DecisionTaskStartedEventAttributes = exports.DecisionTaskScheduledEventAttributes = exports.DecisionTaskCompletedEventAttributes = exports.Decision = exports.StartTimerDecisionAttributes = exports.StartChildWorkflowExecutionDecisionAttributes = exports.SignalExternalWorkflowExecutionDecisionAttributes = void 0;
|
|
5
|
+
exports.UndeprecateWorkflowTypeInput = exports.UndeprecateDomainInput = exports.UndeprecateActivityTypeInput = exports.TerminateWorkflowExecutionInput = exports.TagResourceInput = exports.WorkflowExecutionAlreadyStartedFault = exports.StartWorkflowExecutionInput = exports.SignalWorkflowExecutionInput = exports.Run = exports.RespondDecisionTaskCompletedInput = exports.RespondActivityTaskFailedInput = exports.RespondActivityTaskCompletedInput = exports.RespondActivityTaskCanceledInput = exports.RequestCancelWorkflowExecutionInput = exports.RegisterWorkflowTypeInput = exports.TooManyTagsFault = exports.RegisterDomainInput = exports.TypeAlreadyExistsFault = exports.RegisterActivityTypeInput = exports.RecordActivityTaskHeartbeatInput = exports.PollForDecisionTaskInput = exports.PollForActivityTaskInput = exports.WorkflowTypeInfos = exports.ListWorkflowTypesInput = exports.ListTagsForResourceOutput = exports.ResourceTag = exports.ListTagsForResourceInput = exports.ListOpenWorkflowExecutionsInput = exports.ListDomainsInput = exports.WorkflowExecutionInfos = exports.ListClosedWorkflowExecutionsInput = exports.ListActivityTypesInput = exports.LimitExceededFault = exports.History = exports.GetWorkflowExecutionHistoryInput = exports.DomainInfos = exports.DomainAlreadyExistsFault = exports.WorkflowTypeDetail = exports.WorkflowTypeInfo = exports.WorkflowTypeConfiguration = exports.DescribeWorkflowTypeInput = exports.WorkflowExecutionDetail = exports.WorkflowExecutionOpenCounts = exports.WorkflowExecutionInfo = exports.WorkflowExecutionConfiguration = exports.DescribeWorkflowExecutionInput = exports.DomainDetail = exports.DomainInfo = exports.DomainConfiguration = exports.DescribeDomainInput = void 0;
|
|
6
|
+
exports.UntagResourceInput = void 0;
|
|
7
|
+
const SWFServiceException_1 = require("./SWFServiceException");
|
|
6
8
|
var ActivityType;
|
|
7
9
|
(function (ActivityType) {
|
|
8
10
|
ActivityType.filterSensitiveLog = (obj) => ({
|
|
@@ -225,6 +227,32 @@ var CountClosedWorkflowExecutionsInput;
|
|
|
225
227
|
...obj,
|
|
226
228
|
});
|
|
227
229
|
})(CountClosedWorkflowExecutionsInput = exports.CountClosedWorkflowExecutionsInput || (exports.CountClosedWorkflowExecutionsInput = {}));
|
|
230
|
+
class OperationNotPermittedFault extends SWFServiceException_1.SWFServiceException {
|
|
231
|
+
constructor(opts) {
|
|
232
|
+
super({
|
|
233
|
+
name: "OperationNotPermittedFault",
|
|
234
|
+
$fault: "client",
|
|
235
|
+
...opts,
|
|
236
|
+
});
|
|
237
|
+
this.name = "OperationNotPermittedFault";
|
|
238
|
+
this.$fault = "client";
|
|
239
|
+
Object.setPrototypeOf(this, OperationNotPermittedFault.prototype);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
exports.OperationNotPermittedFault = OperationNotPermittedFault;
|
|
243
|
+
class UnknownResourceFault extends SWFServiceException_1.SWFServiceException {
|
|
244
|
+
constructor(opts) {
|
|
245
|
+
super({
|
|
246
|
+
name: "UnknownResourceFault",
|
|
247
|
+
$fault: "client",
|
|
248
|
+
...opts,
|
|
249
|
+
});
|
|
250
|
+
this.name = "UnknownResourceFault";
|
|
251
|
+
this.$fault = "client";
|
|
252
|
+
Object.setPrototypeOf(this, UnknownResourceFault.prototype);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
exports.UnknownResourceFault = UnknownResourceFault;
|
|
228
256
|
var WorkflowExecutionCount;
|
|
229
257
|
(function (WorkflowExecutionCount) {
|
|
230
258
|
WorkflowExecutionCount.filterSensitiveLog = (obj) => ({
|
|
@@ -549,18 +577,57 @@ var DecisionTask;
|
|
|
549
577
|
...obj,
|
|
550
578
|
});
|
|
551
579
|
})(DecisionTask = exports.DecisionTask || (exports.DecisionTask = {}));
|
|
580
|
+
class DefaultUndefinedFault extends SWFServiceException_1.SWFServiceException {
|
|
581
|
+
constructor(opts) {
|
|
582
|
+
super({
|
|
583
|
+
name: "DefaultUndefinedFault",
|
|
584
|
+
$fault: "client",
|
|
585
|
+
...opts,
|
|
586
|
+
});
|
|
587
|
+
this.name = "DefaultUndefinedFault";
|
|
588
|
+
this.$fault = "client";
|
|
589
|
+
Object.setPrototypeOf(this, DefaultUndefinedFault.prototype);
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
exports.DefaultUndefinedFault = DefaultUndefinedFault;
|
|
552
593
|
var DeprecateActivityTypeInput;
|
|
553
594
|
(function (DeprecateActivityTypeInput) {
|
|
554
595
|
DeprecateActivityTypeInput.filterSensitiveLog = (obj) => ({
|
|
555
596
|
...obj,
|
|
556
597
|
});
|
|
557
598
|
})(DeprecateActivityTypeInput = exports.DeprecateActivityTypeInput || (exports.DeprecateActivityTypeInput = {}));
|
|
599
|
+
class TypeDeprecatedFault extends SWFServiceException_1.SWFServiceException {
|
|
600
|
+
constructor(opts) {
|
|
601
|
+
super({
|
|
602
|
+
name: "TypeDeprecatedFault",
|
|
603
|
+
$fault: "client",
|
|
604
|
+
...opts,
|
|
605
|
+
});
|
|
606
|
+
this.name = "TypeDeprecatedFault";
|
|
607
|
+
this.$fault = "client";
|
|
608
|
+
Object.setPrototypeOf(this, TypeDeprecatedFault.prototype);
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
exports.TypeDeprecatedFault = TypeDeprecatedFault;
|
|
558
612
|
var DeprecateDomainInput;
|
|
559
613
|
(function (DeprecateDomainInput) {
|
|
560
614
|
DeprecateDomainInput.filterSensitiveLog = (obj) => ({
|
|
561
615
|
...obj,
|
|
562
616
|
});
|
|
563
617
|
})(DeprecateDomainInput = exports.DeprecateDomainInput || (exports.DeprecateDomainInput = {}));
|
|
618
|
+
class DomainDeprecatedFault extends SWFServiceException_1.SWFServiceException {
|
|
619
|
+
constructor(opts) {
|
|
620
|
+
super({
|
|
621
|
+
name: "DomainDeprecatedFault",
|
|
622
|
+
$fault: "client",
|
|
623
|
+
...opts,
|
|
624
|
+
});
|
|
625
|
+
this.name = "DomainDeprecatedFault";
|
|
626
|
+
this.$fault = "client";
|
|
627
|
+
Object.setPrototypeOf(this, DomainDeprecatedFault.prototype);
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
exports.DomainDeprecatedFault = DomainDeprecatedFault;
|
|
564
631
|
var DeprecateWorkflowTypeInput;
|
|
565
632
|
(function (DeprecateWorkflowTypeInput) {
|
|
566
633
|
DeprecateWorkflowTypeInput.filterSensitiveLog = (obj) => ({
|
|
@@ -651,6 +718,19 @@ var WorkflowTypeDetail;
|
|
|
651
718
|
...obj,
|
|
652
719
|
});
|
|
653
720
|
})(WorkflowTypeDetail = exports.WorkflowTypeDetail || (exports.WorkflowTypeDetail = {}));
|
|
721
|
+
class DomainAlreadyExistsFault extends SWFServiceException_1.SWFServiceException {
|
|
722
|
+
constructor(opts) {
|
|
723
|
+
super({
|
|
724
|
+
name: "DomainAlreadyExistsFault",
|
|
725
|
+
$fault: "client",
|
|
726
|
+
...opts,
|
|
727
|
+
});
|
|
728
|
+
this.name = "DomainAlreadyExistsFault";
|
|
729
|
+
this.$fault = "client";
|
|
730
|
+
Object.setPrototypeOf(this, DomainAlreadyExistsFault.prototype);
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
exports.DomainAlreadyExistsFault = DomainAlreadyExistsFault;
|
|
654
734
|
var DomainInfos;
|
|
655
735
|
(function (DomainInfos) {
|
|
656
736
|
DomainInfos.filterSensitiveLog = (obj) => ({
|
|
@@ -669,6 +749,19 @@ var History;
|
|
|
669
749
|
...obj,
|
|
670
750
|
});
|
|
671
751
|
})(History = exports.History || (exports.History = {}));
|
|
752
|
+
class LimitExceededFault extends SWFServiceException_1.SWFServiceException {
|
|
753
|
+
constructor(opts) {
|
|
754
|
+
super({
|
|
755
|
+
name: "LimitExceededFault",
|
|
756
|
+
$fault: "client",
|
|
757
|
+
...opts,
|
|
758
|
+
});
|
|
759
|
+
this.name = "LimitExceededFault";
|
|
760
|
+
this.$fault = "client";
|
|
761
|
+
Object.setPrototypeOf(this, LimitExceededFault.prototype);
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
exports.LimitExceededFault = LimitExceededFault;
|
|
672
765
|
var ListActivityTypesInput;
|
|
673
766
|
(function (ListActivityTypesInput) {
|
|
674
767
|
ListActivityTypesInput.filterSensitiveLog = (obj) => ({
|
|
@@ -753,12 +846,38 @@ var RegisterActivityTypeInput;
|
|
|
753
846
|
...obj,
|
|
754
847
|
});
|
|
755
848
|
})(RegisterActivityTypeInput = exports.RegisterActivityTypeInput || (exports.RegisterActivityTypeInput = {}));
|
|
849
|
+
class TypeAlreadyExistsFault extends SWFServiceException_1.SWFServiceException {
|
|
850
|
+
constructor(opts) {
|
|
851
|
+
super({
|
|
852
|
+
name: "TypeAlreadyExistsFault",
|
|
853
|
+
$fault: "client",
|
|
854
|
+
...opts,
|
|
855
|
+
});
|
|
856
|
+
this.name = "TypeAlreadyExistsFault";
|
|
857
|
+
this.$fault = "client";
|
|
858
|
+
Object.setPrototypeOf(this, TypeAlreadyExistsFault.prototype);
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
exports.TypeAlreadyExistsFault = TypeAlreadyExistsFault;
|
|
756
862
|
var RegisterDomainInput;
|
|
757
863
|
(function (RegisterDomainInput) {
|
|
758
864
|
RegisterDomainInput.filterSensitiveLog = (obj) => ({
|
|
759
865
|
...obj,
|
|
760
866
|
});
|
|
761
867
|
})(RegisterDomainInput = exports.RegisterDomainInput || (exports.RegisterDomainInput = {}));
|
|
868
|
+
class TooManyTagsFault extends SWFServiceException_1.SWFServiceException {
|
|
869
|
+
constructor(opts) {
|
|
870
|
+
super({
|
|
871
|
+
name: "TooManyTagsFault",
|
|
872
|
+
$fault: "client",
|
|
873
|
+
...opts,
|
|
874
|
+
});
|
|
875
|
+
this.name = "TooManyTagsFault";
|
|
876
|
+
this.$fault = "client";
|
|
877
|
+
Object.setPrototypeOf(this, TooManyTagsFault.prototype);
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
exports.TooManyTagsFault = TooManyTagsFault;
|
|
762
881
|
var RegisterWorkflowTypeInput;
|
|
763
882
|
(function (RegisterWorkflowTypeInput) {
|
|
764
883
|
RegisterWorkflowTypeInput.filterSensitiveLog = (obj) => ({
|
|
@@ -813,6 +932,19 @@ var StartWorkflowExecutionInput;
|
|
|
813
932
|
...obj,
|
|
814
933
|
});
|
|
815
934
|
})(StartWorkflowExecutionInput = exports.StartWorkflowExecutionInput || (exports.StartWorkflowExecutionInput = {}));
|
|
935
|
+
class WorkflowExecutionAlreadyStartedFault extends SWFServiceException_1.SWFServiceException {
|
|
936
|
+
constructor(opts) {
|
|
937
|
+
super({
|
|
938
|
+
name: "WorkflowExecutionAlreadyStartedFault",
|
|
939
|
+
$fault: "client",
|
|
940
|
+
...opts,
|
|
941
|
+
});
|
|
942
|
+
this.name = "WorkflowExecutionAlreadyStartedFault";
|
|
943
|
+
this.$fault = "client";
|
|
944
|
+
Object.setPrototypeOf(this, WorkflowExecutionAlreadyStartedFault.prototype);
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
exports.WorkflowExecutionAlreadyStartedFault = WorkflowExecutionAlreadyStartedFault;
|
|
816
948
|
var TagResourceInput;
|
|
817
949
|
(function (TagResourceInput) {
|
|
818
950
|
TagResourceInput.filterSensitiveLog = (obj) => ({
|