@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/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
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
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
18
+
19
+
20
+ ### Features
21
+
22
+ * **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))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
29
+
30
+ **Note:** Version bump only for package @aws-sdk/client-ecs
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-ecs
package/dist-cjs/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ECSServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./ECS"), exports);
5
6
  tslib_1.__exportStar(require("./ECSClient"), exports);
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
9
10
  tslib_1.__exportStar(require("./waiters"), exports);
11
+ var ECSServiceException_1 = require("./models/ECSServiceException");
12
+ Object.defineProperty(exports, "ECSServiceException", { enumerable: true, get: function () { return ECSServiceException_1.ECSServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ECSServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class ECSServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, ECSServiceException.prototype);
9
+ }
10
+ }
11
+ exports.ECSServiceException = ECSServiceException;
@@ -1,11 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateTaskSetRequest = exports.CreateServiceResponse = exports.Service = exports.TaskSet = exports.StabilityStatus = exports.Scale = exports.ScaleUnit = exports.ServiceEvent = exports.Deployment = exports.DeploymentRolloutState = exports.CreateServiceRequest = exports.ServiceRegistry = exports.SchedulingStrategy = exports.PropagateTags = exports.PlacementStrategy = exports.PlacementStrategyType = exports.PlacementConstraint = exports.PlacementConstraintType = exports.NetworkConfiguration = exports.AwsVpcConfiguration = exports.AssignPublicIp = exports.LoadBalancer = exports.LaunchType = exports.DeploymentController = exports.DeploymentControllerType = exports.DeploymentConfiguration = exports.DeploymentCircuitBreaker = exports.CreateClusterResponse = exports.Cluster = exports.Attachment = exports.KeyValuePair = exports.CreateClusterRequest = exports.ClusterSetting = exports.ClusterSettingName = exports.CapacityProviderStrategyItem = exports.ClusterConfiguration = exports.ExecuteCommandConfiguration = exports.ExecuteCommandLogging = exports.ExecuteCommandLogConfiguration = exports.CreateCapacityProviderResponse = exports.CapacityProvider = exports.CapacityProviderUpdateStatus = exports.CapacityProviderStatus = exports.CreateCapacityProviderRequest = exports.Tag = exports.AutoScalingGroupProvider = exports.ManagedTerminationProtection = exports.ManagedScaling = exports.ManagedScalingStatus = exports.AgentUpdateStatus = void 0;
4
- exports.ResourceRequirement = exports.ResourceType = exports.RepositoryCredentials = exports.PortMapping = exports.TransportProtocol = exports.MountPoint = exports.LogConfiguration = exports.Secret = exports.LogDriver = exports.LinuxParameters = exports.Tmpfs = exports.Device = exports.DeviceCgroupPermission = exports.KernelCapabilities = exports.HealthCheck = exports.FirelensConfiguration = exports.FirelensConfigurationType = exports.HostEntry = exports.EnvironmentFile = exports.EnvironmentFileType = exports.ContainerDependency = exports.ContainerCondition = exports.Compatibility = exports.DeregisterTaskDefinitionRequest = exports.DeregisterContainerInstanceResponse = exports.ContainerInstance = exports.VersionInfo = exports.Resource = exports.ContainerInstanceHealthStatus = exports.InstanceHealthCheckResult = exports.InstanceHealthCheckType = exports.InstanceHealthCheckState = exports.DeregisterContainerInstanceRequest = exports.DeleteTaskSetResponse = exports.DeleteTaskSetRequest = exports.DeleteServiceResponse = exports.DeleteServiceRequest = exports.DeleteClusterResponse = exports.DeleteClusterRequest = exports.DeleteCapacityProviderResponse = exports.DeleteCapacityProviderRequest = exports.DeleteAttributesResponse = exports.DeleteAttributesRequest = exports.Attribute = exports.TargetType = exports.DeleteAccountSettingResponse = exports.Setting = exports.DeleteAccountSettingRequest = exports.SettingName = exports.CreateTaskSetResponse = void 0;
5
- exports.HealthStatus = exports.Connectivity = exports.DescribeTasksRequest = exports.TaskField = exports.DescribeTaskDefinitionResponse = exports.DescribeTaskDefinitionRequest = exports.TaskDefinitionField = exports.DescribeServicesResponse = exports.DescribeServicesRequest = exports.ServiceField = exports.DescribeContainerInstancesResponse = exports.DescribeContainerInstancesRequest = exports.ContainerInstanceField = exports.DescribeClustersResponse = exports.DescribeClustersRequest = exports.ClusterField = exports.DescribeCapacityProvidersResponse = exports.Failure = exports.DescribeCapacityProvidersRequest = exports.CapacityProviderField = exports.DeregisterTaskDefinitionResponse = exports.TaskDefinition = exports.Volume = exports.HostVolumeProperties = exports.FSxWindowsFileServerVolumeConfiguration = exports.FSxWindowsFileServerAuthorizationConfig = exports.EFSVolumeConfiguration = exports.EFSTransitEncryption = exports.EFSAuthorizationConfig = exports.EFSAuthorizationConfigIAM = exports.DockerVolumeConfiguration = exports.Scope = exports.TaskDefinitionStatus = exports.RuntimePlatform = exports.OSFamily = exports.CPUArchitecture = exports.ProxyConfiguration = exports.ProxyConfigurationType = exports.TaskDefinitionPlacementConstraint = exports.TaskDefinitionPlacementConstraintType = exports.PidMode = exports.NetworkMode = exports.IpcMode = exports.InferenceAccelerator = exports.EphemeralStorage = exports.ContainerDefinition = exports.VolumeFrom = exports.Ulimit = exports.UlimitName = exports.SystemControl = void 0;
6
- exports.PlatformDeviceType = exports.PutClusterCapacityProvidersResponse = exports.PutClusterCapacityProvidersRequest = exports.PutAttributesResponse = exports.PutAttributesRequest = exports.PutAccountSettingDefaultResponse = exports.PutAccountSettingDefaultRequest = exports.PutAccountSettingResponse = exports.PutAccountSettingRequest = exports.ListTasksResponse = exports.ListTasksRequest = exports.DesiredStatus = exports.ListTaskDefinitionsResponse = exports.ListTaskDefinitionsRequest = exports.SortOrder = exports.ListTaskDefinitionFamiliesResponse = exports.ListTaskDefinitionFamiliesRequest = exports.TaskDefinitionFamilyStatus = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListServicesResponse = exports.ListServicesRequest = exports.ListContainerInstancesResponse = exports.ListContainerInstancesRequest = exports.ContainerInstanceStatus = exports.ListClustersResponse = exports.ListClustersRequest = exports.ListAttributesResponse = exports.ListAttributesRequest = exports.ListAccountSettingsResponse = exports.ListAccountSettingsRequest = exports.ExecuteCommandResponse = exports.Session = exports.ExecuteCommandRequest = exports.DiscoverPollEndpointResponse = exports.DiscoverPollEndpointRequest = exports.DescribeTaskSetsResponse = exports.DescribeTaskSetsRequest = exports.TaskSetField = exports.DescribeTasksResponse = exports.Task = exports.TaskStopCode = exports.TaskOverride = exports.InferenceAcceleratorOverride = exports.ContainerOverride = exports.Container = exports.NetworkInterface = exports.NetworkBinding = exports.ManagedAgent = exports.ManagedAgentName = void 0;
7
- exports.UpdateTaskSetResponse = exports.UpdateTaskSetRequest = exports.UpdateServicePrimaryTaskSetResponse = exports.UpdateServicePrimaryTaskSetRequest = exports.UpdateServiceResponse = exports.UpdateServiceRequest = exports.UpdateContainerInstancesStateResponse = exports.UpdateContainerInstancesStateRequest = exports.UpdateContainerAgentResponse = exports.UpdateContainerAgentRequest = exports.UpdateClusterSettingsResponse = exports.UpdateClusterSettingsRequest = exports.UpdateClusterResponse = exports.UpdateClusterRequest = exports.UpdateCapacityProviderResponse = exports.UpdateCapacityProviderRequest = exports.AutoScalingGroupProviderUpdate = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SubmitTaskStateChangeResponse = exports.SubmitTaskStateChangeRequest = exports.ManagedAgentStateChange = exports.ContainerStateChange = exports.SubmitContainerStateChangeResponse = exports.SubmitContainerStateChangeRequest = exports.SubmitAttachmentStateChangesResponse = exports.SubmitAttachmentStateChangesRequest = exports.AttachmentStateChange = exports.StopTaskResponse = exports.StopTaskRequest = exports.StartTaskResponse = exports.StartTaskRequest = exports.RunTaskResponse = exports.RunTaskRequest = exports.RegisterTaskDefinitionResponse = exports.RegisterTaskDefinitionRequest = exports.RegisterContainerInstanceResponse = exports.RegisterContainerInstanceRequest = exports.PlatformDevice = void 0;
3
+ exports.ServiceEvent = exports.Deployment = exports.DeploymentRolloutState = exports.CreateServiceRequest = exports.ServiceRegistry = exports.SchedulingStrategy = exports.PropagateTags = exports.PlacementStrategy = exports.PlacementStrategyType = exports.PlacementConstraint = exports.PlacementConstraintType = exports.NetworkConfiguration = exports.AwsVpcConfiguration = exports.AssignPublicIp = exports.LoadBalancer = exports.LaunchType = exports.DeploymentController = exports.DeploymentControllerType = exports.DeploymentConfiguration = exports.DeploymentCircuitBreaker = exports.ClusterNotFoundException = exports.CreateClusterResponse = exports.Cluster = exports.Attachment = exports.KeyValuePair = exports.CreateClusterRequest = exports.ClusterSetting = exports.ClusterSettingName = exports.CapacityProviderStrategyItem = exports.ClusterConfiguration = exports.ExecuteCommandConfiguration = exports.ExecuteCommandLogging = exports.ExecuteCommandLogConfiguration = exports.UpdateInProgressException = exports.ServerException = exports.LimitExceededException = exports.InvalidParameterException = exports.CreateCapacityProviderResponse = exports.CapacityProvider = exports.CapacityProviderUpdateStatus = exports.CapacityProviderStatus = exports.CreateCapacityProviderRequest = exports.Tag = exports.AutoScalingGroupProvider = exports.ManagedTerminationProtection = exports.ManagedScaling = exports.ManagedScalingStatus = exports.ClientException = exports.AgentUpdateStatus = exports.AccessDeniedException = void 0;
4
+ exports.HostEntry = exports.EnvironmentFile = exports.EnvironmentFileType = exports.ContainerDependency = exports.ContainerCondition = exports.Compatibility = exports.DeregisterTaskDefinitionRequest = exports.DeregisterContainerInstanceResponse = exports.ContainerInstance = exports.VersionInfo = exports.Resource = exports.ContainerInstanceHealthStatus = exports.InstanceHealthCheckResult = exports.InstanceHealthCheckType = exports.InstanceHealthCheckState = exports.DeregisterContainerInstanceRequest = exports.TaskSetNotFoundException = exports.DeleteTaskSetResponse = exports.DeleteTaskSetRequest = exports.DeleteServiceResponse = exports.DeleteServiceRequest = exports.DeleteClusterResponse = exports.DeleteClusterRequest = exports.ClusterContainsTasksException = exports.ClusterContainsServicesException = exports.ClusterContainsContainerInstancesException = exports.DeleteCapacityProviderResponse = exports.DeleteCapacityProviderRequest = exports.TargetNotFoundException = exports.DeleteAttributesResponse = exports.DeleteAttributesRequest = exports.Attribute = exports.TargetType = exports.DeleteAccountSettingResponse = exports.Setting = exports.DeleteAccountSettingRequest = exports.SettingName = exports.ServiceNotFoundException = exports.ServiceNotActiveException = exports.CreateTaskSetResponse = exports.CreateTaskSetRequest = exports.UnsupportedFeatureException = exports.PlatformUnknownException = exports.PlatformTaskDefinitionIncompatibilityException = exports.CreateServiceResponse = exports.Service = exports.TaskSet = exports.StabilityStatus = exports.Scale = exports.ScaleUnit = void 0;
5
+ exports.Failure = exports.DescribeCapacityProvidersRequest = exports.CapacityProviderField = exports.DeregisterTaskDefinitionResponse = exports.TaskDefinition = exports.Volume = exports.HostVolumeProperties = exports.FSxWindowsFileServerVolumeConfiguration = exports.FSxWindowsFileServerAuthorizationConfig = exports.EFSVolumeConfiguration = exports.EFSTransitEncryption = exports.EFSAuthorizationConfig = exports.EFSAuthorizationConfigIAM = exports.DockerVolumeConfiguration = exports.Scope = exports.TaskDefinitionStatus = exports.RuntimePlatform = exports.OSFamily = exports.CPUArchitecture = exports.ProxyConfiguration = exports.ProxyConfigurationType = exports.TaskDefinitionPlacementConstraint = exports.TaskDefinitionPlacementConstraintType = exports.PidMode = exports.NetworkMode = exports.IpcMode = exports.InferenceAccelerator = exports.EphemeralStorage = exports.ContainerDefinition = exports.VolumeFrom = exports.Ulimit = exports.UlimitName = exports.SystemControl = exports.ResourceRequirement = exports.ResourceType = exports.RepositoryCredentials = exports.PortMapping = exports.TransportProtocol = exports.MountPoint = exports.LogConfiguration = exports.Secret = exports.LogDriver = exports.LinuxParameters = exports.Tmpfs = exports.Device = exports.DeviceCgroupPermission = exports.KernelCapabilities = exports.HealthCheck = exports.FirelensConfiguration = exports.FirelensConfigurationType = void 0;
6
+ exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListServicesResponse = exports.ListServicesRequest = exports.ListContainerInstancesResponse = exports.ListContainerInstancesRequest = exports.ContainerInstanceStatus = exports.ListClustersResponse = exports.ListClustersRequest = exports.ListAttributesResponse = exports.ListAttributesRequest = exports.ListAccountSettingsResponse = exports.ListAccountSettingsRequest = exports.TargetNotConnectedException = exports.ExecuteCommandResponse = exports.Session = exports.ExecuteCommandRequest = exports.DiscoverPollEndpointResponse = exports.DiscoverPollEndpointRequest = exports.DescribeTaskSetsResponse = exports.DescribeTaskSetsRequest = exports.TaskSetField = exports.DescribeTasksResponse = exports.Task = exports.TaskStopCode = exports.TaskOverride = exports.InferenceAcceleratorOverride = exports.ContainerOverride = exports.Container = exports.NetworkInterface = exports.NetworkBinding = exports.ManagedAgent = exports.ManagedAgentName = exports.HealthStatus = exports.Connectivity = exports.DescribeTasksRequest = exports.TaskField = exports.DescribeTaskDefinitionResponse = exports.DescribeTaskDefinitionRequest = exports.TaskDefinitionField = exports.DescribeServicesResponse = exports.DescribeServicesRequest = exports.ServiceField = exports.DescribeContainerInstancesResponse = exports.DescribeContainerInstancesRequest = exports.ContainerInstanceField = exports.DescribeClustersResponse = exports.DescribeClustersRequest = exports.ClusterField = exports.DescribeCapacityProvidersResponse = void 0;
7
+ exports.UpdateClusterRequest = exports.UpdateCapacityProviderResponse = exports.UpdateCapacityProviderRequest = exports.AutoScalingGroupProviderUpdate = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ResourceNotFoundException = exports.SubmitTaskStateChangeResponse = exports.SubmitTaskStateChangeRequest = exports.ManagedAgentStateChange = exports.ContainerStateChange = exports.SubmitContainerStateChangeResponse = exports.SubmitContainerStateChangeRequest = exports.SubmitAttachmentStateChangesResponse = exports.SubmitAttachmentStateChangesRequest = exports.AttachmentStateChange = exports.StopTaskResponse = exports.StopTaskRequest = exports.StartTaskResponse = exports.StartTaskRequest = exports.RunTaskResponse = exports.RunTaskRequest = exports.BlockedException = exports.RegisterTaskDefinitionResponse = exports.RegisterTaskDefinitionRequest = exports.RegisterContainerInstanceResponse = exports.RegisterContainerInstanceRequest = exports.PlatformDevice = exports.PlatformDeviceType = exports.ResourceInUseException = exports.PutClusterCapacityProvidersResponse = exports.PutClusterCapacityProvidersRequest = exports.PutAttributesResponse = exports.PutAttributesRequest = exports.AttributeLimitExceededException = exports.PutAccountSettingDefaultResponse = exports.PutAccountSettingDefaultRequest = exports.PutAccountSettingResponse = exports.PutAccountSettingRequest = exports.ListTasksResponse = exports.ListTasksRequest = exports.DesiredStatus = exports.ListTaskDefinitionsResponse = exports.ListTaskDefinitionsRequest = exports.SortOrder = exports.ListTaskDefinitionFamiliesResponse = exports.ListTaskDefinitionFamiliesRequest = exports.TaskDefinitionFamilyStatus = void 0;
8
+ exports.UpdateTaskSetResponse = exports.UpdateTaskSetRequest = exports.UpdateServicePrimaryTaskSetResponse = exports.UpdateServicePrimaryTaskSetRequest = exports.UpdateServiceResponse = exports.UpdateServiceRequest = exports.UpdateContainerInstancesStateResponse = exports.UpdateContainerInstancesStateRequest = exports.UpdateContainerAgentResponse = exports.UpdateContainerAgentRequest = exports.NoUpdateAvailableException = exports.MissingVersionException = exports.UpdateClusterSettingsResponse = exports.UpdateClusterSettingsRequest = exports.UpdateClusterResponse = void 0;
8
9
  const smithy_client_1 = require("@aws-sdk/smithy-client");
10
+ const ECSServiceException_1 = require("./ECSServiceException");
11
+ class AccessDeniedException extends ECSServiceException_1.ECSServiceException {
12
+ constructor(opts) {
13
+ super({
14
+ name: "AccessDeniedException",
15
+ $fault: "client",
16
+ ...opts,
17
+ });
18
+ this.name = "AccessDeniedException";
19
+ this.$fault = "client";
20
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
21
+ }
22
+ }
23
+ exports.AccessDeniedException = AccessDeniedException;
9
24
  var AgentUpdateStatus;
10
25
  (function (AgentUpdateStatus) {
11
26
  AgentUpdateStatus["FAILED"] = "FAILED";
@@ -15,6 +30,19 @@ var AgentUpdateStatus;
15
30
  AgentUpdateStatus["UPDATED"] = "UPDATED";
16
31
  AgentUpdateStatus["UPDATING"] = "UPDATING";
17
32
  })(AgentUpdateStatus = exports.AgentUpdateStatus || (exports.AgentUpdateStatus = {}));
33
+ class ClientException extends ECSServiceException_1.ECSServiceException {
34
+ constructor(opts) {
35
+ super({
36
+ name: "ClientException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ this.name = "ClientException";
41
+ this.$fault = "client";
42
+ Object.setPrototypeOf(this, ClientException.prototype);
43
+ }
44
+ }
45
+ exports.ClientException = ClientException;
18
46
  var ManagedScalingStatus;
19
47
  (function (ManagedScalingStatus) {
20
48
  ManagedScalingStatus["DISABLED"] = "DISABLED";
@@ -75,6 +103,58 @@ var CreateCapacityProviderResponse;
75
103
  ...obj,
76
104
  });
77
105
  })(CreateCapacityProviderResponse = exports.CreateCapacityProviderResponse || (exports.CreateCapacityProviderResponse = {}));
106
+ class InvalidParameterException extends ECSServiceException_1.ECSServiceException {
107
+ constructor(opts) {
108
+ super({
109
+ name: "InvalidParameterException",
110
+ $fault: "client",
111
+ ...opts,
112
+ });
113
+ this.name = "InvalidParameterException";
114
+ this.$fault = "client";
115
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
116
+ }
117
+ }
118
+ exports.InvalidParameterException = InvalidParameterException;
119
+ class LimitExceededException extends ECSServiceException_1.ECSServiceException {
120
+ constructor(opts) {
121
+ super({
122
+ name: "LimitExceededException",
123
+ $fault: "client",
124
+ ...opts,
125
+ });
126
+ this.name = "LimitExceededException";
127
+ this.$fault = "client";
128
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
129
+ }
130
+ }
131
+ exports.LimitExceededException = LimitExceededException;
132
+ class ServerException extends ECSServiceException_1.ECSServiceException {
133
+ constructor(opts) {
134
+ super({
135
+ name: "ServerException",
136
+ $fault: "server",
137
+ ...opts,
138
+ });
139
+ this.name = "ServerException";
140
+ this.$fault = "server";
141
+ Object.setPrototypeOf(this, ServerException.prototype);
142
+ }
143
+ }
144
+ exports.ServerException = ServerException;
145
+ class UpdateInProgressException extends ECSServiceException_1.ECSServiceException {
146
+ constructor(opts) {
147
+ super({
148
+ name: "UpdateInProgressException",
149
+ $fault: "client",
150
+ ...opts,
151
+ });
152
+ this.name = "UpdateInProgressException";
153
+ this.$fault = "client";
154
+ Object.setPrototypeOf(this, UpdateInProgressException.prototype);
155
+ }
156
+ }
157
+ exports.UpdateInProgressException = UpdateInProgressException;
78
158
  var ExecuteCommandLogConfiguration;
79
159
  (function (ExecuteCommandLogConfiguration) {
80
160
  ExecuteCommandLogConfiguration.filterSensitiveLog = (obj) => ({
@@ -145,6 +225,19 @@ var CreateClusterResponse;
145
225
  ...obj,
146
226
  });
147
227
  })(CreateClusterResponse = exports.CreateClusterResponse || (exports.CreateClusterResponse = {}));
228
+ class ClusterNotFoundException extends ECSServiceException_1.ECSServiceException {
229
+ constructor(opts) {
230
+ super({
231
+ name: "ClusterNotFoundException",
232
+ $fault: "client",
233
+ ...opts,
234
+ });
235
+ this.name = "ClusterNotFoundException";
236
+ this.$fault = "client";
237
+ Object.setPrototypeOf(this, ClusterNotFoundException.prototype);
238
+ }
239
+ }
240
+ exports.ClusterNotFoundException = ClusterNotFoundException;
148
241
  var DeploymentCircuitBreaker;
149
242
  (function (DeploymentCircuitBreaker) {
150
243
  DeploymentCircuitBreaker.filterSensitiveLog = (obj) => ({
@@ -223,6 +316,7 @@ var PlacementStrategy;
223
316
  })(PlacementStrategy = exports.PlacementStrategy || (exports.PlacementStrategy = {}));
224
317
  var PropagateTags;
225
318
  (function (PropagateTags) {
319
+ PropagateTags["NONE"] = "NONE";
226
320
  PropagateTags["SERVICE"] = "SERVICE";
227
321
  PropagateTags["TASK_DEFINITION"] = "TASK_DEFINITION";
228
322
  })(PropagateTags = exports.PropagateTags || (exports.PropagateTags = {}));
@@ -294,6 +388,45 @@ var CreateServiceResponse;
294
388
  ...obj,
295
389
  });
296
390
  })(CreateServiceResponse = exports.CreateServiceResponse || (exports.CreateServiceResponse = {}));
391
+ class PlatformTaskDefinitionIncompatibilityException extends ECSServiceException_1.ECSServiceException {
392
+ constructor(opts) {
393
+ super({
394
+ name: "PlatformTaskDefinitionIncompatibilityException",
395
+ $fault: "client",
396
+ ...opts,
397
+ });
398
+ this.name = "PlatformTaskDefinitionIncompatibilityException";
399
+ this.$fault = "client";
400
+ Object.setPrototypeOf(this, PlatformTaskDefinitionIncompatibilityException.prototype);
401
+ }
402
+ }
403
+ exports.PlatformTaskDefinitionIncompatibilityException = PlatformTaskDefinitionIncompatibilityException;
404
+ class PlatformUnknownException extends ECSServiceException_1.ECSServiceException {
405
+ constructor(opts) {
406
+ super({
407
+ name: "PlatformUnknownException",
408
+ $fault: "client",
409
+ ...opts,
410
+ });
411
+ this.name = "PlatformUnknownException";
412
+ this.$fault = "client";
413
+ Object.setPrototypeOf(this, PlatformUnknownException.prototype);
414
+ }
415
+ }
416
+ exports.PlatformUnknownException = PlatformUnknownException;
417
+ class UnsupportedFeatureException extends ECSServiceException_1.ECSServiceException {
418
+ constructor(opts) {
419
+ super({
420
+ name: "UnsupportedFeatureException",
421
+ $fault: "client",
422
+ ...opts,
423
+ });
424
+ this.name = "UnsupportedFeatureException";
425
+ this.$fault = "client";
426
+ Object.setPrototypeOf(this, UnsupportedFeatureException.prototype);
427
+ }
428
+ }
429
+ exports.UnsupportedFeatureException = UnsupportedFeatureException;
297
430
  var CreateTaskSetRequest;
298
431
  (function (CreateTaskSetRequest) {
299
432
  CreateTaskSetRequest.filterSensitiveLog = (obj) => ({
@@ -306,6 +439,32 @@ var CreateTaskSetResponse;
306
439
  ...obj,
307
440
  });
308
441
  })(CreateTaskSetResponse = exports.CreateTaskSetResponse || (exports.CreateTaskSetResponse = {}));
442
+ class ServiceNotActiveException extends ECSServiceException_1.ECSServiceException {
443
+ constructor(opts) {
444
+ super({
445
+ name: "ServiceNotActiveException",
446
+ $fault: "client",
447
+ ...opts,
448
+ });
449
+ this.name = "ServiceNotActiveException";
450
+ this.$fault = "client";
451
+ Object.setPrototypeOf(this, ServiceNotActiveException.prototype);
452
+ }
453
+ }
454
+ exports.ServiceNotActiveException = ServiceNotActiveException;
455
+ class ServiceNotFoundException extends ECSServiceException_1.ECSServiceException {
456
+ constructor(opts) {
457
+ super({
458
+ name: "ServiceNotFoundException",
459
+ $fault: "client",
460
+ ...opts,
461
+ });
462
+ this.name = "ServiceNotFoundException";
463
+ this.$fault = "client";
464
+ Object.setPrototypeOf(this, ServiceNotFoundException.prototype);
465
+ }
466
+ }
467
+ exports.ServiceNotFoundException = ServiceNotFoundException;
309
468
  var SettingName;
310
469
  (function (SettingName) {
311
470
  SettingName["AWSVPC_TRUNKING"] = "awsvpcTrunking";
@@ -354,6 +513,19 @@ var DeleteAttributesResponse;
354
513
  ...obj,
355
514
  });
356
515
  })(DeleteAttributesResponse = exports.DeleteAttributesResponse || (exports.DeleteAttributesResponse = {}));
516
+ class TargetNotFoundException extends ECSServiceException_1.ECSServiceException {
517
+ constructor(opts) {
518
+ super({
519
+ name: "TargetNotFoundException",
520
+ $fault: "client",
521
+ ...opts,
522
+ });
523
+ this.name = "TargetNotFoundException";
524
+ this.$fault = "client";
525
+ Object.setPrototypeOf(this, TargetNotFoundException.prototype);
526
+ }
527
+ }
528
+ exports.TargetNotFoundException = TargetNotFoundException;
357
529
  var DeleteCapacityProviderRequest;
358
530
  (function (DeleteCapacityProviderRequest) {
359
531
  DeleteCapacityProviderRequest.filterSensitiveLog = (obj) => ({
@@ -366,6 +538,45 @@ var DeleteCapacityProviderResponse;
366
538
  ...obj,
367
539
  });
368
540
  })(DeleteCapacityProviderResponse = exports.DeleteCapacityProviderResponse || (exports.DeleteCapacityProviderResponse = {}));
541
+ class ClusterContainsContainerInstancesException extends ECSServiceException_1.ECSServiceException {
542
+ constructor(opts) {
543
+ super({
544
+ name: "ClusterContainsContainerInstancesException",
545
+ $fault: "client",
546
+ ...opts,
547
+ });
548
+ this.name = "ClusterContainsContainerInstancesException";
549
+ this.$fault = "client";
550
+ Object.setPrototypeOf(this, ClusterContainsContainerInstancesException.prototype);
551
+ }
552
+ }
553
+ exports.ClusterContainsContainerInstancesException = ClusterContainsContainerInstancesException;
554
+ class ClusterContainsServicesException extends ECSServiceException_1.ECSServiceException {
555
+ constructor(opts) {
556
+ super({
557
+ name: "ClusterContainsServicesException",
558
+ $fault: "client",
559
+ ...opts,
560
+ });
561
+ this.name = "ClusterContainsServicesException";
562
+ this.$fault = "client";
563
+ Object.setPrototypeOf(this, ClusterContainsServicesException.prototype);
564
+ }
565
+ }
566
+ exports.ClusterContainsServicesException = ClusterContainsServicesException;
567
+ class ClusterContainsTasksException extends ECSServiceException_1.ECSServiceException {
568
+ constructor(opts) {
569
+ super({
570
+ name: "ClusterContainsTasksException",
571
+ $fault: "client",
572
+ ...opts,
573
+ });
574
+ this.name = "ClusterContainsTasksException";
575
+ this.$fault = "client";
576
+ Object.setPrototypeOf(this, ClusterContainsTasksException.prototype);
577
+ }
578
+ }
579
+ exports.ClusterContainsTasksException = ClusterContainsTasksException;
369
580
  var DeleteClusterRequest;
370
581
  (function (DeleteClusterRequest) {
371
582
  DeleteClusterRequest.filterSensitiveLog = (obj) => ({
@@ -402,6 +613,19 @@ var DeleteTaskSetResponse;
402
613
  ...obj,
403
614
  });
404
615
  })(DeleteTaskSetResponse = exports.DeleteTaskSetResponse || (exports.DeleteTaskSetResponse = {}));
616
+ class TaskSetNotFoundException extends ECSServiceException_1.ECSServiceException {
617
+ constructor(opts) {
618
+ super({
619
+ name: "TaskSetNotFoundException",
620
+ $fault: "client",
621
+ ...opts,
622
+ });
623
+ this.name = "TaskSetNotFoundException";
624
+ this.$fault = "client";
625
+ Object.setPrototypeOf(this, TaskSetNotFoundException.prototype);
626
+ }
627
+ }
628
+ exports.TaskSetNotFoundException = TaskSetNotFoundException;
405
629
  var DeregisterContainerInstanceRequest;
406
630
  (function (DeregisterContainerInstanceRequest) {
407
631
  DeregisterContainerInstanceRequest.filterSensitiveLog = (obj) => ({
@@ -1012,6 +1236,19 @@ var ExecuteCommandResponse;
1012
1236
  ...(obj.session && { session: Session.filterSensitiveLog(obj.session) }),
1013
1237
  });
1014
1238
  })(ExecuteCommandResponse = exports.ExecuteCommandResponse || (exports.ExecuteCommandResponse = {}));
1239
+ class TargetNotConnectedException extends ECSServiceException_1.ECSServiceException {
1240
+ constructor(opts) {
1241
+ super({
1242
+ name: "TargetNotConnectedException",
1243
+ $fault: "client",
1244
+ ...opts,
1245
+ });
1246
+ this.name = "TargetNotConnectedException";
1247
+ this.$fault = "client";
1248
+ Object.setPrototypeOf(this, TargetNotConnectedException.prototype);
1249
+ }
1250
+ }
1251
+ exports.TargetNotConnectedException = TargetNotConnectedException;
1015
1252
  var ListAccountSettingsRequest;
1016
1253
  (function (ListAccountSettingsRequest) {
1017
1254
  ListAccountSettingsRequest.filterSensitiveLog = (obj) => ({
@@ -1169,6 +1406,19 @@ var PutAccountSettingDefaultResponse;
1169
1406
  ...obj,
1170
1407
  });
1171
1408
  })(PutAccountSettingDefaultResponse = exports.PutAccountSettingDefaultResponse || (exports.PutAccountSettingDefaultResponse = {}));
1409
+ class AttributeLimitExceededException extends ECSServiceException_1.ECSServiceException {
1410
+ constructor(opts) {
1411
+ super({
1412
+ name: "AttributeLimitExceededException",
1413
+ $fault: "client",
1414
+ ...opts,
1415
+ });
1416
+ this.name = "AttributeLimitExceededException";
1417
+ this.$fault = "client";
1418
+ Object.setPrototypeOf(this, AttributeLimitExceededException.prototype);
1419
+ }
1420
+ }
1421
+ exports.AttributeLimitExceededException = AttributeLimitExceededException;
1172
1422
  var PutAttributesRequest;
1173
1423
  (function (PutAttributesRequest) {
1174
1424
  PutAttributesRequest.filterSensitiveLog = (obj) => ({
@@ -1193,6 +1443,19 @@ var PutClusterCapacityProvidersResponse;
1193
1443
  ...obj,
1194
1444
  });
1195
1445
  })(PutClusterCapacityProvidersResponse = exports.PutClusterCapacityProvidersResponse || (exports.PutClusterCapacityProvidersResponse = {}));
1446
+ class ResourceInUseException extends ECSServiceException_1.ECSServiceException {
1447
+ constructor(opts) {
1448
+ super({
1449
+ name: "ResourceInUseException",
1450
+ $fault: "client",
1451
+ ...opts,
1452
+ });
1453
+ this.name = "ResourceInUseException";
1454
+ this.$fault = "client";
1455
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
1456
+ }
1457
+ }
1458
+ exports.ResourceInUseException = ResourceInUseException;
1196
1459
  var PlatformDeviceType;
1197
1460
  (function (PlatformDeviceType) {
1198
1461
  PlatformDeviceType["GPU"] = "GPU";
@@ -1227,6 +1490,19 @@ var RegisterTaskDefinitionResponse;
1227
1490
  ...obj,
1228
1491
  });
1229
1492
  })(RegisterTaskDefinitionResponse = exports.RegisterTaskDefinitionResponse || (exports.RegisterTaskDefinitionResponse = {}));
1493
+ class BlockedException extends ECSServiceException_1.ECSServiceException {
1494
+ constructor(opts) {
1495
+ super({
1496
+ name: "BlockedException",
1497
+ $fault: "client",
1498
+ ...opts,
1499
+ });
1500
+ this.name = "BlockedException";
1501
+ this.$fault = "client";
1502
+ Object.setPrototypeOf(this, BlockedException.prototype);
1503
+ }
1504
+ }
1505
+ exports.BlockedException = BlockedException;
1230
1506
  var RunTaskRequest;
1231
1507
  (function (RunTaskRequest) {
1232
1508
  RunTaskRequest.filterSensitiveLog = (obj) => ({
@@ -1317,6 +1593,19 @@ var SubmitTaskStateChangeResponse;
1317
1593
  ...obj,
1318
1594
  });
1319
1595
  })(SubmitTaskStateChangeResponse = exports.SubmitTaskStateChangeResponse || (exports.SubmitTaskStateChangeResponse = {}));
1596
+ class ResourceNotFoundException extends ECSServiceException_1.ECSServiceException {
1597
+ constructor(opts) {
1598
+ super({
1599
+ name: "ResourceNotFoundException",
1600
+ $fault: "client",
1601
+ ...opts,
1602
+ });
1603
+ this.name = "ResourceNotFoundException";
1604
+ this.$fault = "client";
1605
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
1606
+ }
1607
+ }
1608
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1320
1609
  var TagResourceRequest;
1321
1610
  (function (TagResourceRequest) {
1322
1611
  TagResourceRequest.filterSensitiveLog = (obj) => ({
@@ -1383,6 +1672,32 @@ var UpdateClusterSettingsResponse;
1383
1672
  ...obj,
1384
1673
  });
1385
1674
  })(UpdateClusterSettingsResponse = exports.UpdateClusterSettingsResponse || (exports.UpdateClusterSettingsResponse = {}));
1675
+ class MissingVersionException extends ECSServiceException_1.ECSServiceException {
1676
+ constructor(opts) {
1677
+ super({
1678
+ name: "MissingVersionException",
1679
+ $fault: "client",
1680
+ ...opts,
1681
+ });
1682
+ this.name = "MissingVersionException";
1683
+ this.$fault = "client";
1684
+ Object.setPrototypeOf(this, MissingVersionException.prototype);
1685
+ }
1686
+ }
1687
+ exports.MissingVersionException = MissingVersionException;
1688
+ class NoUpdateAvailableException extends ECSServiceException_1.ECSServiceException {
1689
+ constructor(opts) {
1690
+ super({
1691
+ name: "NoUpdateAvailableException",
1692
+ $fault: "client",
1693
+ ...opts,
1694
+ });
1695
+ this.name = "NoUpdateAvailableException";
1696
+ this.$fault = "client";
1697
+ Object.setPrototypeOf(this, NoUpdateAvailableException.prototype);
1698
+ }
1699
+ }
1700
+ exports.NoUpdateAvailableException = NoUpdateAvailableException;
1386
1701
  var UpdateContainerAgentRequest;
1387
1702
  (function (UpdateContainerAgentRequest) {
1388
1703
  UpdateContainerAgentRequest.filterSensitiveLog = (obj) => ({