@aws-sdk/client-swf 3.987.0 → 3.989.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-cjs/index.js +58 -1695
- package/dist-cjs/models/SWFServiceException.js +12 -0
- package/dist-cjs/models/errors.js +147 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1326 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +105 -99
- package/dist-types/schemas/schemas_0.d.ts +19 -12
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -12
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SWFServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class SWFServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, SWFServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.SWFServiceException = SWFServiceException;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkflowExecutionAlreadyStartedFault = exports.TooManyTagsFault = exports.TypeAlreadyExistsFault = exports.LimitExceededFault = exports.DomainAlreadyExistsFault = exports.DomainDeprecatedFault = exports.TypeDeprecatedFault = exports.TypeNotDeprecatedFault = exports.DefaultUndefinedFault = exports.UnknownResourceFault = exports.OperationNotPermittedFault = void 0;
|
|
4
|
+
const SWFServiceException_1 = require("./SWFServiceException");
|
|
5
|
+
class OperationNotPermittedFault extends SWFServiceException_1.SWFServiceException {
|
|
6
|
+
name = "OperationNotPermittedFault";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "OperationNotPermittedFault",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, OperationNotPermittedFault.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.OperationNotPermittedFault = OperationNotPermittedFault;
|
|
18
|
+
class UnknownResourceFault extends SWFServiceException_1.SWFServiceException {
|
|
19
|
+
name = "UnknownResourceFault";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "UnknownResourceFault",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, UnknownResourceFault.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.UnknownResourceFault = UnknownResourceFault;
|
|
31
|
+
class DefaultUndefinedFault extends SWFServiceException_1.SWFServiceException {
|
|
32
|
+
name = "DefaultUndefinedFault";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "DefaultUndefinedFault",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, DefaultUndefinedFault.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.DefaultUndefinedFault = DefaultUndefinedFault;
|
|
44
|
+
class TypeNotDeprecatedFault extends SWFServiceException_1.SWFServiceException {
|
|
45
|
+
name = "TypeNotDeprecatedFault";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "TypeNotDeprecatedFault",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, TypeNotDeprecatedFault.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.TypeNotDeprecatedFault = TypeNotDeprecatedFault;
|
|
57
|
+
class TypeDeprecatedFault extends SWFServiceException_1.SWFServiceException {
|
|
58
|
+
name = "TypeDeprecatedFault";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "TypeDeprecatedFault",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
Object.setPrototypeOf(this, TypeDeprecatedFault.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.TypeDeprecatedFault = TypeDeprecatedFault;
|
|
70
|
+
class DomainDeprecatedFault extends SWFServiceException_1.SWFServiceException {
|
|
71
|
+
name = "DomainDeprecatedFault";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "DomainDeprecatedFault",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, DomainDeprecatedFault.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.DomainDeprecatedFault = DomainDeprecatedFault;
|
|
83
|
+
class DomainAlreadyExistsFault extends SWFServiceException_1.SWFServiceException {
|
|
84
|
+
name = "DomainAlreadyExistsFault";
|
|
85
|
+
$fault = "client";
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "DomainAlreadyExistsFault",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
Object.setPrototypeOf(this, DomainAlreadyExistsFault.prototype);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.DomainAlreadyExistsFault = DomainAlreadyExistsFault;
|
|
96
|
+
class LimitExceededFault extends SWFServiceException_1.SWFServiceException {
|
|
97
|
+
name = "LimitExceededFault";
|
|
98
|
+
$fault = "client";
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "LimitExceededFault",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, LimitExceededFault.prototype);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.LimitExceededFault = LimitExceededFault;
|
|
109
|
+
class TypeAlreadyExistsFault extends SWFServiceException_1.SWFServiceException {
|
|
110
|
+
name = "TypeAlreadyExistsFault";
|
|
111
|
+
$fault = "client";
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "TypeAlreadyExistsFault",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
Object.setPrototypeOf(this, TypeAlreadyExistsFault.prototype);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.TypeAlreadyExistsFault = TypeAlreadyExistsFault;
|
|
122
|
+
class TooManyTagsFault extends SWFServiceException_1.SWFServiceException {
|
|
123
|
+
name = "TooManyTagsFault";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "TooManyTagsFault",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, TooManyTagsFault.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
exports.TooManyTagsFault = TooManyTagsFault;
|
|
135
|
+
class WorkflowExecutionAlreadyStartedFault extends SWFServiceException_1.SWFServiceException {
|
|
136
|
+
name = "WorkflowExecutionAlreadyStartedFault";
|
|
137
|
+
$fault = "client";
|
|
138
|
+
constructor(opts) {
|
|
139
|
+
super({
|
|
140
|
+
name: "WorkflowExecutionAlreadyStartedFault",
|
|
141
|
+
$fault: "client",
|
|
142
|
+
...opts,
|
|
143
|
+
});
|
|
144
|
+
Object.setPrototypeOf(this, WorkflowExecutionAlreadyStartedFault.prototype);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
exports.WorkflowExecutionAlreadyStartedFault = WorkflowExecutionAlreadyStartedFault;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2012-01-25",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.swf",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
xmlNamespace: "http://swf.amazonaws.com/doc/2012-01-25",
|
|
33
35
|
version: "2012-01-25",
|
|
34
36
|
serviceTarget: "SimpleWorkflowService",
|