@aws-sdk/client-ecs 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/dist-es/index.js CHANGED
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { ECSServiceException } from "./models/ECSServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var ECSServiceException = (function (_super) {
4
+ __extends(ECSServiceException, _super);
5
+ function ECSServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, ECSServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return ECSServiceException;
11
+ }(__ServiceException));
12
+ export { ECSServiceException };
@@ -1,5 +1,18 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { ECSServiceException as __BaseException } from "./ECSServiceException";
4
+ var AccessDeniedException = (function (_super) {
5
+ __extends(AccessDeniedException, _super);
6
+ function AccessDeniedException(opts) {
7
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
8
+ _this.name = "AccessDeniedException";
9
+ _this.$fault = "client";
10
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
11
+ return _this;
12
+ }
13
+ return AccessDeniedException;
14
+ }(__BaseException));
15
+ export { AccessDeniedException };
3
16
  export var AgentUpdateStatus;
4
17
  (function (AgentUpdateStatus) {
5
18
  AgentUpdateStatus["FAILED"] = "FAILED";
@@ -9,6 +22,18 @@ export var AgentUpdateStatus;
9
22
  AgentUpdateStatus["UPDATED"] = "UPDATED";
10
23
  AgentUpdateStatus["UPDATING"] = "UPDATING";
11
24
  })(AgentUpdateStatus || (AgentUpdateStatus = {}));
25
+ var ClientException = (function (_super) {
26
+ __extends(ClientException, _super);
27
+ function ClientException(opts) {
28
+ var _this = _super.call(this, __assign({ name: "ClientException", $fault: "client" }, opts)) || this;
29
+ _this.name = "ClientException";
30
+ _this.$fault = "client";
31
+ Object.setPrototypeOf(_this, ClientException.prototype);
32
+ return _this;
33
+ }
34
+ return ClientException;
35
+ }(__BaseException));
36
+ export { ClientException };
12
37
  export var ManagedScalingStatus;
13
38
  (function (ManagedScalingStatus) {
14
39
  ManagedScalingStatus["DISABLED"] = "DISABLED";
@@ -57,6 +82,54 @@ export var CreateCapacityProviderResponse;
57
82
  (function (CreateCapacityProviderResponse) {
58
83
  CreateCapacityProviderResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
59
84
  })(CreateCapacityProviderResponse || (CreateCapacityProviderResponse = {}));
85
+ var InvalidParameterException = (function (_super) {
86
+ __extends(InvalidParameterException, _super);
87
+ function InvalidParameterException(opts) {
88
+ var _this = _super.call(this, __assign({ name: "InvalidParameterException", $fault: "client" }, opts)) || this;
89
+ _this.name = "InvalidParameterException";
90
+ _this.$fault = "client";
91
+ Object.setPrototypeOf(_this, InvalidParameterException.prototype);
92
+ return _this;
93
+ }
94
+ return InvalidParameterException;
95
+ }(__BaseException));
96
+ export { InvalidParameterException };
97
+ var LimitExceededException = (function (_super) {
98
+ __extends(LimitExceededException, _super);
99
+ function LimitExceededException(opts) {
100
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
101
+ _this.name = "LimitExceededException";
102
+ _this.$fault = "client";
103
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
104
+ return _this;
105
+ }
106
+ return LimitExceededException;
107
+ }(__BaseException));
108
+ export { LimitExceededException };
109
+ var ServerException = (function (_super) {
110
+ __extends(ServerException, _super);
111
+ function ServerException(opts) {
112
+ var _this = _super.call(this, __assign({ name: "ServerException", $fault: "server" }, opts)) || this;
113
+ _this.name = "ServerException";
114
+ _this.$fault = "server";
115
+ Object.setPrototypeOf(_this, ServerException.prototype);
116
+ return _this;
117
+ }
118
+ return ServerException;
119
+ }(__BaseException));
120
+ export { ServerException };
121
+ var UpdateInProgressException = (function (_super) {
122
+ __extends(UpdateInProgressException, _super);
123
+ function UpdateInProgressException(opts) {
124
+ var _this = _super.call(this, __assign({ name: "UpdateInProgressException", $fault: "client" }, opts)) || this;
125
+ _this.name = "UpdateInProgressException";
126
+ _this.$fault = "client";
127
+ Object.setPrototypeOf(_this, UpdateInProgressException.prototype);
128
+ return _this;
129
+ }
130
+ return UpdateInProgressException;
131
+ }(__BaseException));
132
+ export { UpdateInProgressException };
60
133
  export var ExecuteCommandLogConfiguration;
61
134
  (function (ExecuteCommandLogConfiguration) {
62
135
  ExecuteCommandLogConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -107,6 +180,18 @@ export var CreateClusterResponse;
107
180
  (function (CreateClusterResponse) {
108
181
  CreateClusterResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
109
182
  })(CreateClusterResponse || (CreateClusterResponse = {}));
183
+ var ClusterNotFoundException = (function (_super) {
184
+ __extends(ClusterNotFoundException, _super);
185
+ function ClusterNotFoundException(opts) {
186
+ var _this = _super.call(this, __assign({ name: "ClusterNotFoundException", $fault: "client" }, opts)) || this;
187
+ _this.name = "ClusterNotFoundException";
188
+ _this.$fault = "client";
189
+ Object.setPrototypeOf(_this, ClusterNotFoundException.prototype);
190
+ return _this;
191
+ }
192
+ return ClusterNotFoundException;
193
+ }(__BaseException));
194
+ export { ClusterNotFoundException };
110
195
  export var DeploymentCircuitBreaker;
111
196
  (function (DeploymentCircuitBreaker) {
112
197
  DeploymentCircuitBreaker.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -169,6 +254,7 @@ export var PlacementStrategy;
169
254
  })(PlacementStrategy || (PlacementStrategy = {}));
170
255
  export var PropagateTags;
171
256
  (function (PropagateTags) {
257
+ PropagateTags["NONE"] = "NONE";
172
258
  PropagateTags["SERVICE"] = "SERVICE";
173
259
  PropagateTags["TASK_DEFINITION"] = "TASK_DEFINITION";
174
260
  })(PropagateTags || (PropagateTags = {}));
@@ -224,6 +310,42 @@ export var CreateServiceResponse;
224
310
  (function (CreateServiceResponse) {
225
311
  CreateServiceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
226
312
  })(CreateServiceResponse || (CreateServiceResponse = {}));
313
+ var PlatformTaskDefinitionIncompatibilityException = (function (_super) {
314
+ __extends(PlatformTaskDefinitionIncompatibilityException, _super);
315
+ function PlatformTaskDefinitionIncompatibilityException(opts) {
316
+ var _this = _super.call(this, __assign({ name: "PlatformTaskDefinitionIncompatibilityException", $fault: "client" }, opts)) || this;
317
+ _this.name = "PlatformTaskDefinitionIncompatibilityException";
318
+ _this.$fault = "client";
319
+ Object.setPrototypeOf(_this, PlatformTaskDefinitionIncompatibilityException.prototype);
320
+ return _this;
321
+ }
322
+ return PlatformTaskDefinitionIncompatibilityException;
323
+ }(__BaseException));
324
+ export { PlatformTaskDefinitionIncompatibilityException };
325
+ var PlatformUnknownException = (function (_super) {
326
+ __extends(PlatformUnknownException, _super);
327
+ function PlatformUnknownException(opts) {
328
+ var _this = _super.call(this, __assign({ name: "PlatformUnknownException", $fault: "client" }, opts)) || this;
329
+ _this.name = "PlatformUnknownException";
330
+ _this.$fault = "client";
331
+ Object.setPrototypeOf(_this, PlatformUnknownException.prototype);
332
+ return _this;
333
+ }
334
+ return PlatformUnknownException;
335
+ }(__BaseException));
336
+ export { PlatformUnknownException };
337
+ var UnsupportedFeatureException = (function (_super) {
338
+ __extends(UnsupportedFeatureException, _super);
339
+ function UnsupportedFeatureException(opts) {
340
+ var _this = _super.call(this, __assign({ name: "UnsupportedFeatureException", $fault: "client" }, opts)) || this;
341
+ _this.name = "UnsupportedFeatureException";
342
+ _this.$fault = "client";
343
+ Object.setPrototypeOf(_this, UnsupportedFeatureException.prototype);
344
+ return _this;
345
+ }
346
+ return UnsupportedFeatureException;
347
+ }(__BaseException));
348
+ export { UnsupportedFeatureException };
227
349
  export var CreateTaskSetRequest;
228
350
  (function (CreateTaskSetRequest) {
229
351
  CreateTaskSetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -232,6 +354,30 @@ export var CreateTaskSetResponse;
232
354
  (function (CreateTaskSetResponse) {
233
355
  CreateTaskSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
234
356
  })(CreateTaskSetResponse || (CreateTaskSetResponse = {}));
357
+ var ServiceNotActiveException = (function (_super) {
358
+ __extends(ServiceNotActiveException, _super);
359
+ function ServiceNotActiveException(opts) {
360
+ var _this = _super.call(this, __assign({ name: "ServiceNotActiveException", $fault: "client" }, opts)) || this;
361
+ _this.name = "ServiceNotActiveException";
362
+ _this.$fault = "client";
363
+ Object.setPrototypeOf(_this, ServiceNotActiveException.prototype);
364
+ return _this;
365
+ }
366
+ return ServiceNotActiveException;
367
+ }(__BaseException));
368
+ export { ServiceNotActiveException };
369
+ var ServiceNotFoundException = (function (_super) {
370
+ __extends(ServiceNotFoundException, _super);
371
+ function ServiceNotFoundException(opts) {
372
+ var _this = _super.call(this, __assign({ name: "ServiceNotFoundException", $fault: "client" }, opts)) || this;
373
+ _this.name = "ServiceNotFoundException";
374
+ _this.$fault = "client";
375
+ Object.setPrototypeOf(_this, ServiceNotFoundException.prototype);
376
+ return _this;
377
+ }
378
+ return ServiceNotFoundException;
379
+ }(__BaseException));
380
+ export { ServiceNotFoundException };
235
381
  export var SettingName;
236
382
  (function (SettingName) {
237
383
  SettingName["AWSVPC_TRUNKING"] = "awsvpcTrunking";
@@ -268,6 +414,18 @@ export var DeleteAttributesResponse;
268
414
  (function (DeleteAttributesResponse) {
269
415
  DeleteAttributesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
270
416
  })(DeleteAttributesResponse || (DeleteAttributesResponse = {}));
417
+ var TargetNotFoundException = (function (_super) {
418
+ __extends(TargetNotFoundException, _super);
419
+ function TargetNotFoundException(opts) {
420
+ var _this = _super.call(this, __assign({ name: "TargetNotFoundException", $fault: "client" }, opts)) || this;
421
+ _this.name = "TargetNotFoundException";
422
+ _this.$fault = "client";
423
+ Object.setPrototypeOf(_this, TargetNotFoundException.prototype);
424
+ return _this;
425
+ }
426
+ return TargetNotFoundException;
427
+ }(__BaseException));
428
+ export { TargetNotFoundException };
271
429
  export var DeleteCapacityProviderRequest;
272
430
  (function (DeleteCapacityProviderRequest) {
273
431
  DeleteCapacityProviderRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -276,6 +434,42 @@ export var DeleteCapacityProviderResponse;
276
434
  (function (DeleteCapacityProviderResponse) {
277
435
  DeleteCapacityProviderResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
278
436
  })(DeleteCapacityProviderResponse || (DeleteCapacityProviderResponse = {}));
437
+ var ClusterContainsContainerInstancesException = (function (_super) {
438
+ __extends(ClusterContainsContainerInstancesException, _super);
439
+ function ClusterContainsContainerInstancesException(opts) {
440
+ var _this = _super.call(this, __assign({ name: "ClusterContainsContainerInstancesException", $fault: "client" }, opts)) || this;
441
+ _this.name = "ClusterContainsContainerInstancesException";
442
+ _this.$fault = "client";
443
+ Object.setPrototypeOf(_this, ClusterContainsContainerInstancesException.prototype);
444
+ return _this;
445
+ }
446
+ return ClusterContainsContainerInstancesException;
447
+ }(__BaseException));
448
+ export { ClusterContainsContainerInstancesException };
449
+ var ClusterContainsServicesException = (function (_super) {
450
+ __extends(ClusterContainsServicesException, _super);
451
+ function ClusterContainsServicesException(opts) {
452
+ var _this = _super.call(this, __assign({ name: "ClusterContainsServicesException", $fault: "client" }, opts)) || this;
453
+ _this.name = "ClusterContainsServicesException";
454
+ _this.$fault = "client";
455
+ Object.setPrototypeOf(_this, ClusterContainsServicesException.prototype);
456
+ return _this;
457
+ }
458
+ return ClusterContainsServicesException;
459
+ }(__BaseException));
460
+ export { ClusterContainsServicesException };
461
+ var ClusterContainsTasksException = (function (_super) {
462
+ __extends(ClusterContainsTasksException, _super);
463
+ function ClusterContainsTasksException(opts) {
464
+ var _this = _super.call(this, __assign({ name: "ClusterContainsTasksException", $fault: "client" }, opts)) || this;
465
+ _this.name = "ClusterContainsTasksException";
466
+ _this.$fault = "client";
467
+ Object.setPrototypeOf(_this, ClusterContainsTasksException.prototype);
468
+ return _this;
469
+ }
470
+ return ClusterContainsTasksException;
471
+ }(__BaseException));
472
+ export { ClusterContainsTasksException };
279
473
  export var DeleteClusterRequest;
280
474
  (function (DeleteClusterRequest) {
281
475
  DeleteClusterRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -300,6 +494,18 @@ export var DeleteTaskSetResponse;
300
494
  (function (DeleteTaskSetResponse) {
301
495
  DeleteTaskSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
302
496
  })(DeleteTaskSetResponse || (DeleteTaskSetResponse = {}));
497
+ var TaskSetNotFoundException = (function (_super) {
498
+ __extends(TaskSetNotFoundException, _super);
499
+ function TaskSetNotFoundException(opts) {
500
+ var _this = _super.call(this, __assign({ name: "TaskSetNotFoundException", $fault: "client" }, opts)) || this;
501
+ _this.name = "TaskSetNotFoundException";
502
+ _this.$fault = "client";
503
+ Object.setPrototypeOf(_this, TaskSetNotFoundException.prototype);
504
+ return _this;
505
+ }
506
+ return TaskSetNotFoundException;
507
+ }(__BaseException));
508
+ export { TaskSetNotFoundException };
303
509
  export var DeregisterContainerInstanceRequest;
304
510
  (function (DeregisterContainerInstanceRequest) {
305
511
  DeregisterContainerInstanceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -770,6 +976,18 @@ export var ExecuteCommandResponse;
770
976
  (function (ExecuteCommandResponse) {
771
977
  ExecuteCommandResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.session && { session: Session.filterSensitiveLog(obj.session) }))); };
772
978
  })(ExecuteCommandResponse || (ExecuteCommandResponse = {}));
979
+ var TargetNotConnectedException = (function (_super) {
980
+ __extends(TargetNotConnectedException, _super);
981
+ function TargetNotConnectedException(opts) {
982
+ var _this = _super.call(this, __assign({ name: "TargetNotConnectedException", $fault: "client" }, opts)) || this;
983
+ _this.name = "TargetNotConnectedException";
984
+ _this.$fault = "client";
985
+ Object.setPrototypeOf(_this, TargetNotConnectedException.prototype);
986
+ return _this;
987
+ }
988
+ return TargetNotConnectedException;
989
+ }(__BaseException));
990
+ export { TargetNotConnectedException };
773
991
  export var ListAccountSettingsRequest;
774
992
  (function (ListAccountSettingsRequest) {
775
993
  ListAccountSettingsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -883,6 +1101,18 @@ export var PutAccountSettingDefaultResponse;
883
1101
  (function (PutAccountSettingDefaultResponse) {
884
1102
  PutAccountSettingDefaultResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
885
1103
  })(PutAccountSettingDefaultResponse || (PutAccountSettingDefaultResponse = {}));
1104
+ var AttributeLimitExceededException = (function (_super) {
1105
+ __extends(AttributeLimitExceededException, _super);
1106
+ function AttributeLimitExceededException(opts) {
1107
+ var _this = _super.call(this, __assign({ name: "AttributeLimitExceededException", $fault: "client" }, opts)) || this;
1108
+ _this.name = "AttributeLimitExceededException";
1109
+ _this.$fault = "client";
1110
+ Object.setPrototypeOf(_this, AttributeLimitExceededException.prototype);
1111
+ return _this;
1112
+ }
1113
+ return AttributeLimitExceededException;
1114
+ }(__BaseException));
1115
+ export { AttributeLimitExceededException };
886
1116
  export var PutAttributesRequest;
887
1117
  (function (PutAttributesRequest) {
888
1118
  PutAttributesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -899,6 +1129,18 @@ export var PutClusterCapacityProvidersResponse;
899
1129
  (function (PutClusterCapacityProvidersResponse) {
900
1130
  PutClusterCapacityProvidersResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
901
1131
  })(PutClusterCapacityProvidersResponse || (PutClusterCapacityProvidersResponse = {}));
1132
+ var ResourceInUseException = (function (_super) {
1133
+ __extends(ResourceInUseException, _super);
1134
+ function ResourceInUseException(opts) {
1135
+ var _this = _super.call(this, __assign({ name: "ResourceInUseException", $fault: "client" }, opts)) || this;
1136
+ _this.name = "ResourceInUseException";
1137
+ _this.$fault = "client";
1138
+ Object.setPrototypeOf(_this, ResourceInUseException.prototype);
1139
+ return _this;
1140
+ }
1141
+ return ResourceInUseException;
1142
+ }(__BaseException));
1143
+ export { ResourceInUseException };
902
1144
  export var PlatformDeviceType;
903
1145
  (function (PlatformDeviceType) {
904
1146
  PlatformDeviceType["GPU"] = "GPU";
@@ -923,6 +1165,18 @@ export var RegisterTaskDefinitionResponse;
923
1165
  (function (RegisterTaskDefinitionResponse) {
924
1166
  RegisterTaskDefinitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
925
1167
  })(RegisterTaskDefinitionResponse || (RegisterTaskDefinitionResponse = {}));
1168
+ var BlockedException = (function (_super) {
1169
+ __extends(BlockedException, _super);
1170
+ function BlockedException(opts) {
1171
+ var _this = _super.call(this, __assign({ name: "BlockedException", $fault: "client" }, opts)) || this;
1172
+ _this.name = "BlockedException";
1173
+ _this.$fault = "client";
1174
+ Object.setPrototypeOf(_this, BlockedException.prototype);
1175
+ return _this;
1176
+ }
1177
+ return BlockedException;
1178
+ }(__BaseException));
1179
+ export { BlockedException };
926
1180
  export var RunTaskRequest;
927
1181
  (function (RunTaskRequest) {
928
1182
  RunTaskRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -983,6 +1237,18 @@ export var SubmitTaskStateChangeResponse;
983
1237
  (function (SubmitTaskStateChangeResponse) {
984
1238
  SubmitTaskStateChangeResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
985
1239
  })(SubmitTaskStateChangeResponse || (SubmitTaskStateChangeResponse = {}));
1240
+ var ResourceNotFoundException = (function (_super) {
1241
+ __extends(ResourceNotFoundException, _super);
1242
+ function ResourceNotFoundException(opts) {
1243
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
1244
+ _this.name = "ResourceNotFoundException";
1245
+ _this.$fault = "client";
1246
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
1247
+ return _this;
1248
+ }
1249
+ return ResourceNotFoundException;
1250
+ }(__BaseException));
1251
+ export { ResourceNotFoundException };
986
1252
  export var TagResourceRequest;
987
1253
  (function (TagResourceRequest) {
988
1254
  TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1027,6 +1293,30 @@ export var UpdateClusterSettingsResponse;
1027
1293
  (function (UpdateClusterSettingsResponse) {
1028
1294
  UpdateClusterSettingsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1029
1295
  })(UpdateClusterSettingsResponse || (UpdateClusterSettingsResponse = {}));
1296
+ var MissingVersionException = (function (_super) {
1297
+ __extends(MissingVersionException, _super);
1298
+ function MissingVersionException(opts) {
1299
+ var _this = _super.call(this, __assign({ name: "MissingVersionException", $fault: "client" }, opts)) || this;
1300
+ _this.name = "MissingVersionException";
1301
+ _this.$fault = "client";
1302
+ Object.setPrototypeOf(_this, MissingVersionException.prototype);
1303
+ return _this;
1304
+ }
1305
+ return MissingVersionException;
1306
+ }(__BaseException));
1307
+ export { MissingVersionException };
1308
+ var NoUpdateAvailableException = (function (_super) {
1309
+ __extends(NoUpdateAvailableException, _super);
1310
+ function NoUpdateAvailableException(opts) {
1311
+ var _this = _super.call(this, __assign({ name: "NoUpdateAvailableException", $fault: "client" }, opts)) || this;
1312
+ _this.name = "NoUpdateAvailableException";
1313
+ _this.$fault = "client";
1314
+ Object.setPrototypeOf(_this, NoUpdateAvailableException.prototype);
1315
+ return _this;
1316
+ }
1317
+ return NoUpdateAvailableException;
1318
+ }(__BaseException));
1319
+ export { NoUpdateAvailableException };
1030
1320
  export var UpdateContainerAgentRequest;
1031
1321
  (function (UpdateContainerAgentRequest) {
1032
1322
  UpdateContainerAgentRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };