@aws-sdk/client-ecs 3.933.0 → 3.935.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 +480 -476
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +447 -0
- package/dist-es/models/errors.js +339 -0
- package/dist-es/models/models_0.js +1 -688
- package/dist-es/schemas/schemas_0.js +11 -7
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +6 -0
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +3 -0
- package/dist-types/commands/ListTasksCommand.d.ts +1 -1
- package/dist-types/commands/PutAccountSettingCommand.d.ts +1 -1
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
- package/dist-types/commands/PutAttributesCommand.d.ts +1 -1
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +1 -1
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -1
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/RunTaskCommand.d.ts +1 -1
- package/dist-types/commands/StartTaskCommand.d.ts +1 -1
- package/dist-types/commands/StopServiceDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/StopTaskCommand.d.ts +1 -1
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -1
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +1 -1
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +7 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateServiceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +1119 -0
- package/dist-types/models/errors.d.ts +397 -0
- package/dist-types/models/models_0.d.ts +2816 -1381
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopServiceDeploymentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +589 -0
- package/dist-types/ts3.4/models/errors.d.ts +209 -0
- package/dist-types/ts3.4/models/models_0.d.ts +437 -729
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -99
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -2908
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -476
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
import { ECSServiceException as __BaseException } from "./ECSServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ClientException extends __BaseException {
|
|
15
|
+
name = "ClientException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ClientException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ClientException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class ClusterNotFoundException extends __BaseException {
|
|
27
|
+
name = "ClusterNotFoundException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "ClusterNotFoundException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, ClusterNotFoundException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class InvalidParameterException extends __BaseException {
|
|
39
|
+
name = "InvalidParameterException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "InvalidParameterException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class LimitExceededException extends __BaseException {
|
|
51
|
+
name = "LimitExceededException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "LimitExceededException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class ServerException extends __BaseException {
|
|
63
|
+
name = "ServerException";
|
|
64
|
+
$fault = "server";
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "ServerException",
|
|
68
|
+
$fault: "server",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, ServerException.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class UnsupportedFeatureException extends __BaseException {
|
|
75
|
+
name = "UnsupportedFeatureException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "UnsupportedFeatureException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, UnsupportedFeatureException.prototype);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class UpdateInProgressException extends __BaseException {
|
|
87
|
+
name = "UpdateInProgressException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "UpdateInProgressException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, UpdateInProgressException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class NamespaceNotFoundException extends __BaseException {
|
|
99
|
+
name = "NamespaceNotFoundException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "NamespaceNotFoundException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, NamespaceNotFoundException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
|
|
111
|
+
name = "PlatformTaskDefinitionIncompatibilityException";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "PlatformTaskDefinitionIncompatibilityException",
|
|
116
|
+
$fault: "client",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
Object.setPrototypeOf(this, PlatformTaskDefinitionIncompatibilityException.prototype);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
export class PlatformUnknownException extends __BaseException {
|
|
123
|
+
name = "PlatformUnknownException";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "PlatformUnknownException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, PlatformUnknownException.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
export class ServiceNotActiveException extends __BaseException {
|
|
135
|
+
name = "ServiceNotActiveException";
|
|
136
|
+
$fault = "client";
|
|
137
|
+
constructor(opts) {
|
|
138
|
+
super({
|
|
139
|
+
name: "ServiceNotActiveException",
|
|
140
|
+
$fault: "client",
|
|
141
|
+
...opts,
|
|
142
|
+
});
|
|
143
|
+
Object.setPrototypeOf(this, ServiceNotActiveException.prototype);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export class ServiceNotFoundException extends __BaseException {
|
|
147
|
+
name = "ServiceNotFoundException";
|
|
148
|
+
$fault = "client";
|
|
149
|
+
constructor(opts) {
|
|
150
|
+
super({
|
|
151
|
+
name: "ServiceNotFoundException",
|
|
152
|
+
$fault: "client",
|
|
153
|
+
...opts,
|
|
154
|
+
});
|
|
155
|
+
Object.setPrototypeOf(this, ServiceNotFoundException.prototype);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
export class TargetNotFoundException extends __BaseException {
|
|
159
|
+
name = "TargetNotFoundException";
|
|
160
|
+
$fault = "client";
|
|
161
|
+
constructor(opts) {
|
|
162
|
+
super({
|
|
163
|
+
name: "TargetNotFoundException",
|
|
164
|
+
$fault: "client",
|
|
165
|
+
...opts,
|
|
166
|
+
});
|
|
167
|
+
Object.setPrototypeOf(this, TargetNotFoundException.prototype);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
export class ClusterContainsCapacityProviderException extends __BaseException {
|
|
171
|
+
name = "ClusterContainsCapacityProviderException";
|
|
172
|
+
$fault = "client";
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "ClusterContainsCapacityProviderException",
|
|
176
|
+
$fault: "client",
|
|
177
|
+
...opts,
|
|
178
|
+
});
|
|
179
|
+
Object.setPrototypeOf(this, ClusterContainsCapacityProviderException.prototype);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
export class ClusterContainsContainerInstancesException extends __BaseException {
|
|
183
|
+
name = "ClusterContainsContainerInstancesException";
|
|
184
|
+
$fault = "client";
|
|
185
|
+
constructor(opts) {
|
|
186
|
+
super({
|
|
187
|
+
name: "ClusterContainsContainerInstancesException",
|
|
188
|
+
$fault: "client",
|
|
189
|
+
...opts,
|
|
190
|
+
});
|
|
191
|
+
Object.setPrototypeOf(this, ClusterContainsContainerInstancesException.prototype);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
export class ClusterContainsServicesException extends __BaseException {
|
|
195
|
+
name = "ClusterContainsServicesException";
|
|
196
|
+
$fault = "client";
|
|
197
|
+
constructor(opts) {
|
|
198
|
+
super({
|
|
199
|
+
name: "ClusterContainsServicesException",
|
|
200
|
+
$fault: "client",
|
|
201
|
+
...opts,
|
|
202
|
+
});
|
|
203
|
+
Object.setPrototypeOf(this, ClusterContainsServicesException.prototype);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
export class ClusterContainsTasksException extends __BaseException {
|
|
207
|
+
name = "ClusterContainsTasksException";
|
|
208
|
+
$fault = "client";
|
|
209
|
+
constructor(opts) {
|
|
210
|
+
super({
|
|
211
|
+
name: "ClusterContainsTasksException",
|
|
212
|
+
$fault: "client",
|
|
213
|
+
...opts,
|
|
214
|
+
});
|
|
215
|
+
Object.setPrototypeOf(this, ClusterContainsTasksException.prototype);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
export class TaskSetNotFoundException extends __BaseException {
|
|
219
|
+
name = "TaskSetNotFoundException";
|
|
220
|
+
$fault = "client";
|
|
221
|
+
constructor(opts) {
|
|
222
|
+
super({
|
|
223
|
+
name: "TaskSetNotFoundException",
|
|
224
|
+
$fault: "client",
|
|
225
|
+
...opts,
|
|
226
|
+
});
|
|
227
|
+
Object.setPrototypeOf(this, TaskSetNotFoundException.prototype);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
export class TargetNotConnectedException extends __BaseException {
|
|
231
|
+
name = "TargetNotConnectedException";
|
|
232
|
+
$fault = "client";
|
|
233
|
+
constructor(opts) {
|
|
234
|
+
super({
|
|
235
|
+
name: "TargetNotConnectedException",
|
|
236
|
+
$fault: "client",
|
|
237
|
+
...opts,
|
|
238
|
+
});
|
|
239
|
+
Object.setPrototypeOf(this, TargetNotConnectedException.prototype);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
243
|
+
name = "ResourceNotFoundException";
|
|
244
|
+
$fault = "client";
|
|
245
|
+
constructor(opts) {
|
|
246
|
+
super({
|
|
247
|
+
name: "ResourceNotFoundException",
|
|
248
|
+
$fault: "client",
|
|
249
|
+
...opts,
|
|
250
|
+
});
|
|
251
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
export class AttributeLimitExceededException extends __BaseException {
|
|
255
|
+
name = "AttributeLimitExceededException";
|
|
256
|
+
$fault = "client";
|
|
257
|
+
constructor(opts) {
|
|
258
|
+
super({
|
|
259
|
+
name: "AttributeLimitExceededException",
|
|
260
|
+
$fault: "client",
|
|
261
|
+
...opts,
|
|
262
|
+
});
|
|
263
|
+
Object.setPrototypeOf(this, AttributeLimitExceededException.prototype);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
export class ResourceInUseException extends __BaseException {
|
|
267
|
+
name = "ResourceInUseException";
|
|
268
|
+
$fault = "client";
|
|
269
|
+
constructor(opts) {
|
|
270
|
+
super({
|
|
271
|
+
name: "ResourceInUseException",
|
|
272
|
+
$fault: "client",
|
|
273
|
+
...opts,
|
|
274
|
+
});
|
|
275
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
export class BlockedException extends __BaseException {
|
|
279
|
+
name = "BlockedException";
|
|
280
|
+
$fault = "client";
|
|
281
|
+
constructor(opts) {
|
|
282
|
+
super({
|
|
283
|
+
name: "BlockedException",
|
|
284
|
+
$fault: "client",
|
|
285
|
+
...opts,
|
|
286
|
+
});
|
|
287
|
+
Object.setPrototypeOf(this, BlockedException.prototype);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
export class ConflictException extends __BaseException {
|
|
291
|
+
name = "ConflictException";
|
|
292
|
+
$fault = "client";
|
|
293
|
+
resourceIds;
|
|
294
|
+
constructor(opts) {
|
|
295
|
+
super({
|
|
296
|
+
name: "ConflictException",
|
|
297
|
+
$fault: "client",
|
|
298
|
+
...opts,
|
|
299
|
+
});
|
|
300
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
301
|
+
this.resourceIds = opts.resourceIds;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
export class ServiceDeploymentNotFoundException extends __BaseException {
|
|
305
|
+
name = "ServiceDeploymentNotFoundException";
|
|
306
|
+
$fault = "client";
|
|
307
|
+
constructor(opts) {
|
|
308
|
+
super({
|
|
309
|
+
name: "ServiceDeploymentNotFoundException",
|
|
310
|
+
$fault: "client",
|
|
311
|
+
...opts,
|
|
312
|
+
});
|
|
313
|
+
Object.setPrototypeOf(this, ServiceDeploymentNotFoundException.prototype);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
export class MissingVersionException extends __BaseException {
|
|
317
|
+
name = "MissingVersionException";
|
|
318
|
+
$fault = "client";
|
|
319
|
+
constructor(opts) {
|
|
320
|
+
super({
|
|
321
|
+
name: "MissingVersionException",
|
|
322
|
+
$fault: "client",
|
|
323
|
+
...opts,
|
|
324
|
+
});
|
|
325
|
+
Object.setPrototypeOf(this, MissingVersionException.prototype);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
export class NoUpdateAvailableException extends __BaseException {
|
|
329
|
+
name = "NoUpdateAvailableException";
|
|
330
|
+
$fault = "client";
|
|
331
|
+
constructor(opts) {
|
|
332
|
+
super({
|
|
333
|
+
name: "NoUpdateAvailableException",
|
|
334
|
+
$fault: "client",
|
|
335
|
+
...opts,
|
|
336
|
+
});
|
|
337
|
+
Object.setPrototypeOf(this, NoUpdateAvailableException.prototype);
|
|
338
|
+
}
|
|
339
|
+
}
|