@aws-sdk/client-ecs 3.50.0 → 3.53.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/ECSServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +319 -5
- package/dist-cjs/protocols/Aws_json1_1.js +627 -2138
- package/dist-es/index.js +1 -0
- package/dist-es/models/ECSServiceException.js +12 -0
- package/dist-es/models/models_0.js +290 -1
- package/dist-es/protocols/Aws_json1_1.js +1285 -2299
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/ECSServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +170 -97
- package/dist-types/ts3.4/ECS.d.ts +265 -0
- package/dist-types/ts3.4/ECSClient.d.ts +125 -0
- package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +52 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +7 -0
- package/dist-types/ts3.4/models/ECSServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3180 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAccountSettingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAttributesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListContainerInstancesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTaskDefinitionFamiliesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTaskDefinitionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTasksPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +158 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForServicesInactive.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForTasksRunning.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForTasksStopped.d.ts +7 -0
- package/package.json +34 -34
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.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **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))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-ecs
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-ecs
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
34
|
|
|
8
35
|
**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.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
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) => ({
|
|
@@ -294,6 +387,45 @@ var CreateServiceResponse;
|
|
|
294
387
|
...obj,
|
|
295
388
|
});
|
|
296
389
|
})(CreateServiceResponse = exports.CreateServiceResponse || (exports.CreateServiceResponse = {}));
|
|
390
|
+
class PlatformTaskDefinitionIncompatibilityException extends ECSServiceException_1.ECSServiceException {
|
|
391
|
+
constructor(opts) {
|
|
392
|
+
super({
|
|
393
|
+
name: "PlatformTaskDefinitionIncompatibilityException",
|
|
394
|
+
$fault: "client",
|
|
395
|
+
...opts,
|
|
396
|
+
});
|
|
397
|
+
this.name = "PlatformTaskDefinitionIncompatibilityException";
|
|
398
|
+
this.$fault = "client";
|
|
399
|
+
Object.setPrototypeOf(this, PlatformTaskDefinitionIncompatibilityException.prototype);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
exports.PlatformTaskDefinitionIncompatibilityException = PlatformTaskDefinitionIncompatibilityException;
|
|
403
|
+
class PlatformUnknownException extends ECSServiceException_1.ECSServiceException {
|
|
404
|
+
constructor(opts) {
|
|
405
|
+
super({
|
|
406
|
+
name: "PlatformUnknownException",
|
|
407
|
+
$fault: "client",
|
|
408
|
+
...opts,
|
|
409
|
+
});
|
|
410
|
+
this.name = "PlatformUnknownException";
|
|
411
|
+
this.$fault = "client";
|
|
412
|
+
Object.setPrototypeOf(this, PlatformUnknownException.prototype);
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
exports.PlatformUnknownException = PlatformUnknownException;
|
|
416
|
+
class UnsupportedFeatureException extends ECSServiceException_1.ECSServiceException {
|
|
417
|
+
constructor(opts) {
|
|
418
|
+
super({
|
|
419
|
+
name: "UnsupportedFeatureException",
|
|
420
|
+
$fault: "client",
|
|
421
|
+
...opts,
|
|
422
|
+
});
|
|
423
|
+
this.name = "UnsupportedFeatureException";
|
|
424
|
+
this.$fault = "client";
|
|
425
|
+
Object.setPrototypeOf(this, UnsupportedFeatureException.prototype);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
exports.UnsupportedFeatureException = UnsupportedFeatureException;
|
|
297
429
|
var CreateTaskSetRequest;
|
|
298
430
|
(function (CreateTaskSetRequest) {
|
|
299
431
|
CreateTaskSetRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -306,6 +438,32 @@ var CreateTaskSetResponse;
|
|
|
306
438
|
...obj,
|
|
307
439
|
});
|
|
308
440
|
})(CreateTaskSetResponse = exports.CreateTaskSetResponse || (exports.CreateTaskSetResponse = {}));
|
|
441
|
+
class ServiceNotActiveException extends ECSServiceException_1.ECSServiceException {
|
|
442
|
+
constructor(opts) {
|
|
443
|
+
super({
|
|
444
|
+
name: "ServiceNotActiveException",
|
|
445
|
+
$fault: "client",
|
|
446
|
+
...opts,
|
|
447
|
+
});
|
|
448
|
+
this.name = "ServiceNotActiveException";
|
|
449
|
+
this.$fault = "client";
|
|
450
|
+
Object.setPrototypeOf(this, ServiceNotActiveException.prototype);
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
exports.ServiceNotActiveException = ServiceNotActiveException;
|
|
454
|
+
class ServiceNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
455
|
+
constructor(opts) {
|
|
456
|
+
super({
|
|
457
|
+
name: "ServiceNotFoundException",
|
|
458
|
+
$fault: "client",
|
|
459
|
+
...opts,
|
|
460
|
+
});
|
|
461
|
+
this.name = "ServiceNotFoundException";
|
|
462
|
+
this.$fault = "client";
|
|
463
|
+
Object.setPrototypeOf(this, ServiceNotFoundException.prototype);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
exports.ServiceNotFoundException = ServiceNotFoundException;
|
|
309
467
|
var SettingName;
|
|
310
468
|
(function (SettingName) {
|
|
311
469
|
SettingName["AWSVPC_TRUNKING"] = "awsvpcTrunking";
|
|
@@ -354,6 +512,19 @@ var DeleteAttributesResponse;
|
|
|
354
512
|
...obj,
|
|
355
513
|
});
|
|
356
514
|
})(DeleteAttributesResponse = exports.DeleteAttributesResponse || (exports.DeleteAttributesResponse = {}));
|
|
515
|
+
class TargetNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
516
|
+
constructor(opts) {
|
|
517
|
+
super({
|
|
518
|
+
name: "TargetNotFoundException",
|
|
519
|
+
$fault: "client",
|
|
520
|
+
...opts,
|
|
521
|
+
});
|
|
522
|
+
this.name = "TargetNotFoundException";
|
|
523
|
+
this.$fault = "client";
|
|
524
|
+
Object.setPrototypeOf(this, TargetNotFoundException.prototype);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
exports.TargetNotFoundException = TargetNotFoundException;
|
|
357
528
|
var DeleteCapacityProviderRequest;
|
|
358
529
|
(function (DeleteCapacityProviderRequest) {
|
|
359
530
|
DeleteCapacityProviderRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -366,6 +537,45 @@ var DeleteCapacityProviderResponse;
|
|
|
366
537
|
...obj,
|
|
367
538
|
});
|
|
368
539
|
})(DeleteCapacityProviderResponse = exports.DeleteCapacityProviderResponse || (exports.DeleteCapacityProviderResponse = {}));
|
|
540
|
+
class ClusterContainsContainerInstancesException extends ECSServiceException_1.ECSServiceException {
|
|
541
|
+
constructor(opts) {
|
|
542
|
+
super({
|
|
543
|
+
name: "ClusterContainsContainerInstancesException",
|
|
544
|
+
$fault: "client",
|
|
545
|
+
...opts,
|
|
546
|
+
});
|
|
547
|
+
this.name = "ClusterContainsContainerInstancesException";
|
|
548
|
+
this.$fault = "client";
|
|
549
|
+
Object.setPrototypeOf(this, ClusterContainsContainerInstancesException.prototype);
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
exports.ClusterContainsContainerInstancesException = ClusterContainsContainerInstancesException;
|
|
553
|
+
class ClusterContainsServicesException extends ECSServiceException_1.ECSServiceException {
|
|
554
|
+
constructor(opts) {
|
|
555
|
+
super({
|
|
556
|
+
name: "ClusterContainsServicesException",
|
|
557
|
+
$fault: "client",
|
|
558
|
+
...opts,
|
|
559
|
+
});
|
|
560
|
+
this.name = "ClusterContainsServicesException";
|
|
561
|
+
this.$fault = "client";
|
|
562
|
+
Object.setPrototypeOf(this, ClusterContainsServicesException.prototype);
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
exports.ClusterContainsServicesException = ClusterContainsServicesException;
|
|
566
|
+
class ClusterContainsTasksException extends ECSServiceException_1.ECSServiceException {
|
|
567
|
+
constructor(opts) {
|
|
568
|
+
super({
|
|
569
|
+
name: "ClusterContainsTasksException",
|
|
570
|
+
$fault: "client",
|
|
571
|
+
...opts,
|
|
572
|
+
});
|
|
573
|
+
this.name = "ClusterContainsTasksException";
|
|
574
|
+
this.$fault = "client";
|
|
575
|
+
Object.setPrototypeOf(this, ClusterContainsTasksException.prototype);
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
exports.ClusterContainsTasksException = ClusterContainsTasksException;
|
|
369
579
|
var DeleteClusterRequest;
|
|
370
580
|
(function (DeleteClusterRequest) {
|
|
371
581
|
DeleteClusterRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -402,6 +612,19 @@ var DeleteTaskSetResponse;
|
|
|
402
612
|
...obj,
|
|
403
613
|
});
|
|
404
614
|
})(DeleteTaskSetResponse = exports.DeleteTaskSetResponse || (exports.DeleteTaskSetResponse = {}));
|
|
615
|
+
class TaskSetNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
616
|
+
constructor(opts) {
|
|
617
|
+
super({
|
|
618
|
+
name: "TaskSetNotFoundException",
|
|
619
|
+
$fault: "client",
|
|
620
|
+
...opts,
|
|
621
|
+
});
|
|
622
|
+
this.name = "TaskSetNotFoundException";
|
|
623
|
+
this.$fault = "client";
|
|
624
|
+
Object.setPrototypeOf(this, TaskSetNotFoundException.prototype);
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
exports.TaskSetNotFoundException = TaskSetNotFoundException;
|
|
405
628
|
var DeregisterContainerInstanceRequest;
|
|
406
629
|
(function (DeregisterContainerInstanceRequest) {
|
|
407
630
|
DeregisterContainerInstanceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1012,6 +1235,19 @@ var ExecuteCommandResponse;
|
|
|
1012
1235
|
...(obj.session && { session: Session.filterSensitiveLog(obj.session) }),
|
|
1013
1236
|
});
|
|
1014
1237
|
})(ExecuteCommandResponse = exports.ExecuteCommandResponse || (exports.ExecuteCommandResponse = {}));
|
|
1238
|
+
class TargetNotConnectedException extends ECSServiceException_1.ECSServiceException {
|
|
1239
|
+
constructor(opts) {
|
|
1240
|
+
super({
|
|
1241
|
+
name: "TargetNotConnectedException",
|
|
1242
|
+
$fault: "client",
|
|
1243
|
+
...opts,
|
|
1244
|
+
});
|
|
1245
|
+
this.name = "TargetNotConnectedException";
|
|
1246
|
+
this.$fault = "client";
|
|
1247
|
+
Object.setPrototypeOf(this, TargetNotConnectedException.prototype);
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
exports.TargetNotConnectedException = TargetNotConnectedException;
|
|
1015
1251
|
var ListAccountSettingsRequest;
|
|
1016
1252
|
(function (ListAccountSettingsRequest) {
|
|
1017
1253
|
ListAccountSettingsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1169,6 +1405,19 @@ var PutAccountSettingDefaultResponse;
|
|
|
1169
1405
|
...obj,
|
|
1170
1406
|
});
|
|
1171
1407
|
})(PutAccountSettingDefaultResponse = exports.PutAccountSettingDefaultResponse || (exports.PutAccountSettingDefaultResponse = {}));
|
|
1408
|
+
class AttributeLimitExceededException extends ECSServiceException_1.ECSServiceException {
|
|
1409
|
+
constructor(opts) {
|
|
1410
|
+
super({
|
|
1411
|
+
name: "AttributeLimitExceededException",
|
|
1412
|
+
$fault: "client",
|
|
1413
|
+
...opts,
|
|
1414
|
+
});
|
|
1415
|
+
this.name = "AttributeLimitExceededException";
|
|
1416
|
+
this.$fault = "client";
|
|
1417
|
+
Object.setPrototypeOf(this, AttributeLimitExceededException.prototype);
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
exports.AttributeLimitExceededException = AttributeLimitExceededException;
|
|
1172
1421
|
var PutAttributesRequest;
|
|
1173
1422
|
(function (PutAttributesRequest) {
|
|
1174
1423
|
PutAttributesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1193,6 +1442,19 @@ var PutClusterCapacityProvidersResponse;
|
|
|
1193
1442
|
...obj,
|
|
1194
1443
|
});
|
|
1195
1444
|
})(PutClusterCapacityProvidersResponse = exports.PutClusterCapacityProvidersResponse || (exports.PutClusterCapacityProvidersResponse = {}));
|
|
1445
|
+
class ResourceInUseException extends ECSServiceException_1.ECSServiceException {
|
|
1446
|
+
constructor(opts) {
|
|
1447
|
+
super({
|
|
1448
|
+
name: "ResourceInUseException",
|
|
1449
|
+
$fault: "client",
|
|
1450
|
+
...opts,
|
|
1451
|
+
});
|
|
1452
|
+
this.name = "ResourceInUseException";
|
|
1453
|
+
this.$fault = "client";
|
|
1454
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
1196
1458
|
var PlatformDeviceType;
|
|
1197
1459
|
(function (PlatformDeviceType) {
|
|
1198
1460
|
PlatformDeviceType["GPU"] = "GPU";
|
|
@@ -1227,6 +1489,19 @@ var RegisterTaskDefinitionResponse;
|
|
|
1227
1489
|
...obj,
|
|
1228
1490
|
});
|
|
1229
1491
|
})(RegisterTaskDefinitionResponse = exports.RegisterTaskDefinitionResponse || (exports.RegisterTaskDefinitionResponse = {}));
|
|
1492
|
+
class BlockedException extends ECSServiceException_1.ECSServiceException {
|
|
1493
|
+
constructor(opts) {
|
|
1494
|
+
super({
|
|
1495
|
+
name: "BlockedException",
|
|
1496
|
+
$fault: "client",
|
|
1497
|
+
...opts,
|
|
1498
|
+
});
|
|
1499
|
+
this.name = "BlockedException";
|
|
1500
|
+
this.$fault = "client";
|
|
1501
|
+
Object.setPrototypeOf(this, BlockedException.prototype);
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
exports.BlockedException = BlockedException;
|
|
1230
1505
|
var RunTaskRequest;
|
|
1231
1506
|
(function (RunTaskRequest) {
|
|
1232
1507
|
RunTaskRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1317,6 +1592,19 @@ var SubmitTaskStateChangeResponse;
|
|
|
1317
1592
|
...obj,
|
|
1318
1593
|
});
|
|
1319
1594
|
})(SubmitTaskStateChangeResponse = exports.SubmitTaskStateChangeResponse || (exports.SubmitTaskStateChangeResponse = {}));
|
|
1595
|
+
class ResourceNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
1596
|
+
constructor(opts) {
|
|
1597
|
+
super({
|
|
1598
|
+
name: "ResourceNotFoundException",
|
|
1599
|
+
$fault: "client",
|
|
1600
|
+
...opts,
|
|
1601
|
+
});
|
|
1602
|
+
this.name = "ResourceNotFoundException";
|
|
1603
|
+
this.$fault = "client";
|
|
1604
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1607
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1320
1608
|
var TagResourceRequest;
|
|
1321
1609
|
(function (TagResourceRequest) {
|
|
1322
1610
|
TagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1383,6 +1671,32 @@ var UpdateClusterSettingsResponse;
|
|
|
1383
1671
|
...obj,
|
|
1384
1672
|
});
|
|
1385
1673
|
})(UpdateClusterSettingsResponse = exports.UpdateClusterSettingsResponse || (exports.UpdateClusterSettingsResponse = {}));
|
|
1674
|
+
class MissingVersionException extends ECSServiceException_1.ECSServiceException {
|
|
1675
|
+
constructor(opts) {
|
|
1676
|
+
super({
|
|
1677
|
+
name: "MissingVersionException",
|
|
1678
|
+
$fault: "client",
|
|
1679
|
+
...opts,
|
|
1680
|
+
});
|
|
1681
|
+
this.name = "MissingVersionException";
|
|
1682
|
+
this.$fault = "client";
|
|
1683
|
+
Object.setPrototypeOf(this, MissingVersionException.prototype);
|
|
1684
|
+
}
|
|
1685
|
+
}
|
|
1686
|
+
exports.MissingVersionException = MissingVersionException;
|
|
1687
|
+
class NoUpdateAvailableException extends ECSServiceException_1.ECSServiceException {
|
|
1688
|
+
constructor(opts) {
|
|
1689
|
+
super({
|
|
1690
|
+
name: "NoUpdateAvailableException",
|
|
1691
|
+
$fault: "client",
|
|
1692
|
+
...opts,
|
|
1693
|
+
});
|
|
1694
|
+
this.name = "NoUpdateAvailableException";
|
|
1695
|
+
this.$fault = "client";
|
|
1696
|
+
Object.setPrototypeOf(this, NoUpdateAvailableException.prototype);
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1699
|
+
exports.NoUpdateAvailableException = NoUpdateAvailableException;
|
|
1386
1700
|
var UpdateContainerAgentRequest;
|
|
1387
1701
|
(function (UpdateContainerAgentRequest) {
|
|
1388
1702
|
UpdateContainerAgentRequest.filterSensitiveLog = (obj) => ({
|