@aws-sdk/client-ecs 3.490.0 → 3.496.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/ECS.js +1 -123
- package/dist-cjs/ECSClient.js +1 -43
- package/dist-cjs/commands/CreateCapacityProviderCommand.js +1 -28
- package/dist-cjs/commands/CreateClusterCommand.js +1 -28
- package/dist-cjs/commands/CreateServiceCommand.js +1 -28
- package/dist-cjs/commands/CreateTaskSetCommand.js +1 -28
- package/dist-cjs/commands/DeleteAccountSettingCommand.js +1 -28
- package/dist-cjs/commands/DeleteAttributesCommand.js +1 -28
- package/dist-cjs/commands/DeleteCapacityProviderCommand.js +1 -28
- package/dist-cjs/commands/DeleteClusterCommand.js +1 -28
- package/dist-cjs/commands/DeleteServiceCommand.js +1 -28
- package/dist-cjs/commands/DeleteTaskDefinitionsCommand.js +1 -28
- package/dist-cjs/commands/DeleteTaskSetCommand.js +1 -28
- package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +1 -28
- package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +1 -28
- package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +1 -28
- package/dist-cjs/commands/DescribeClustersCommand.js +1 -28
- package/dist-cjs/commands/DescribeContainerInstancesCommand.js +1 -28
- package/dist-cjs/commands/DescribeServicesCommand.js +1 -28
- package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +1 -28
- package/dist-cjs/commands/DescribeTaskSetsCommand.js +1 -28
- package/dist-cjs/commands/DescribeTasksCommand.js +1 -28
- package/dist-cjs/commands/DiscoverPollEndpointCommand.js +1 -28
- package/dist-cjs/commands/ExecuteCommandCommand.js +1 -29
- package/dist-cjs/commands/GetTaskProtectionCommand.js +1 -28
- package/dist-cjs/commands/ListAccountSettingsCommand.js +1 -28
- package/dist-cjs/commands/ListAttributesCommand.js +1 -28
- package/dist-cjs/commands/ListClustersCommand.js +1 -28
- package/dist-cjs/commands/ListContainerInstancesCommand.js +1 -28
- package/dist-cjs/commands/ListServicesByNamespaceCommand.js +1 -28
- package/dist-cjs/commands/ListServicesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +1 -28
- package/dist-cjs/commands/ListTaskDefinitionsCommand.js +1 -28
- package/dist-cjs/commands/ListTasksCommand.js +1 -28
- package/dist-cjs/commands/PutAccountSettingCommand.js +1 -28
- package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +1 -28
- package/dist-cjs/commands/PutAttributesCommand.js +1 -28
- package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +1 -28
- package/dist-cjs/commands/RegisterContainerInstanceCommand.js +1 -28
- package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +1 -28
- package/dist-cjs/commands/RunTaskCommand.js +1 -28
- package/dist-cjs/commands/StartTaskCommand.js +1 -28
- package/dist-cjs/commands/StopTaskCommand.js +1 -28
- package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +1 -28
- package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +1 -28
- package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateCapacityProviderCommand.js +1 -28
- package/dist-cjs/commands/UpdateClusterCommand.js +1 -28
- package/dist-cjs/commands/UpdateClusterSettingsCommand.js +1 -28
- package/dist-cjs/commands/UpdateContainerAgentCommand.js +1 -28
- package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +1 -28
- package/dist-cjs/commands/UpdateServiceCommand.js +1 -28
- package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +1 -28
- package/dist-cjs/commands/UpdateTaskProtectionCommand.js +1 -28
- package/dist-cjs/commands/UpdateTaskSetCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -59
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +6156 -12
- package/dist-cjs/models/ECSServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -659
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAccountSettingsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAttributesPaginator.js +1 -7
- package/dist-cjs/pagination/ListClustersPaginator.js +1 -7
- package/dist-cjs/pagination/ListContainerInstancesPaginator.js +1 -7
- package/dist-cjs/pagination/ListServicesByNamespacePaginator.js +1 -7
- package/dist-cjs/pagination/ListServicesPaginator.js +1 -7
- package/dist-cjs/pagination/ListTaskDefinitionFamiliesPaginator.js +1 -7
- package/dist-cjs/pagination/ListTaskDefinitionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListTasksPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -13
- package/dist-cjs/protocols/Aws_json1_1.js +1 -3776
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-cjs/waiters/index.js +1 -7
- package/dist-cjs/waiters/waitForServicesInactive.js +1 -57
- package/dist-cjs/waiters/waitForServicesStable.js +1 -84
- package/dist-cjs/waiters/waitForTasksRunning.js +1 -74
- package/dist-cjs/waiters/waitForTasksStopped.js +1 -44
- package/package.json +41 -41
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ECSServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class ECSServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, ECSServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.ECSServiceException = ECSServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,659 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UlimitName = exports.ResourceType = exports.TransportProtocol = exports.ApplicationProtocol = exports.DeviceCgroupPermission = exports.FirelensConfigurationType = exports.EnvironmentFileType = exports.ContainerCondition = exports.Compatibility = exports.ClusterContainsTasksException = exports.ClusterContainsServicesException = exports.ClusterContainsContainerInstancesException = exports.TargetNotFoundException = exports.TargetType = exports.SettingType = exports.SettingName = exports.ServiceNotFoundException = exports.ServiceNotActiveException = exports.UnsupportedFeatureException = exports.PlatformUnknownException = exports.PlatformTaskDefinitionIncompatibilityException = exports.StabilityStatus = exports.ScaleUnit = exports.DeploymentRolloutState = exports.EBSResourceType = exports.TaskFilesystemType = exports.LogDriver = exports.SchedulingStrategy = exports.PropagateTags = exports.PlacementStrategyType = exports.PlacementConstraintType = exports.AssignPublicIp = exports.LaunchType = exports.DeploymentControllerType = exports.ClusterNotFoundException = exports.NamespaceNotFoundException = exports.ClusterSettingName = exports.ExecuteCommandLogging = exports.UpdateInProgressException = exports.ServerException = exports.LimitExceededException = exports.InvalidParameterException = exports.CapacityProviderUpdateStatus = exports.CapacityProviderStatus = exports.ManagedTerminationProtection = exports.ManagedScalingStatus = exports.ManagedDraining = exports.ClientException = exports.AgentUpdateStatus = exports.AccessDeniedException = void 0;
|
|
4
|
-
exports.ExecuteCommandResponseFilterSensitiveLog = exports.SessionFilterSensitiveLog = exports.NoUpdateAvailableException = exports.MissingVersionException = exports.ConflictException = exports.BlockedException = exports.PlatformDeviceType = exports.ResourceInUseException = exports.AttributeLimitExceededException = exports.DesiredStatus = exports.SortOrder = exports.TaskDefinitionFamilyStatus = exports.ContainerInstanceStatus = exports.ResourceNotFoundException = exports.TargetNotConnectedException = exports.TaskSetField = exports.TaskStopCode = exports.ManagedAgentName = exports.HealthStatus = exports.Connectivity = exports.TaskField = exports.TaskDefinitionField = exports.ServiceField = exports.ContainerInstanceField = exports.ClusterField = exports.CapacityProviderField = exports.InstanceHealthCheckType = exports.InstanceHealthCheckState = exports.TaskSetNotFoundException = exports.EFSTransitEncryption = exports.EFSAuthorizationConfigIAM = exports.Scope = exports.TaskDefinitionStatus = exports.OSFamily = exports.CPUArchitecture = exports.ProxyConfigurationType = exports.TaskDefinitionPlacementConstraintType = exports.PidMode = exports.NetworkMode = exports.IpcMode = void 0;
|
|
5
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
|
-
const ECSServiceException_1 = require("./ECSServiceException");
|
|
7
|
-
class AccessDeniedException extends ECSServiceException_1.ECSServiceException {
|
|
8
|
-
constructor(opts) {
|
|
9
|
-
super({
|
|
10
|
-
name: "AccessDeniedException",
|
|
11
|
-
$fault: "client",
|
|
12
|
-
...opts,
|
|
13
|
-
});
|
|
14
|
-
this.name = "AccessDeniedException";
|
|
15
|
-
this.$fault = "client";
|
|
16
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
-
exports.AgentUpdateStatus = {
|
|
21
|
-
FAILED: "FAILED",
|
|
22
|
-
PENDING: "PENDING",
|
|
23
|
-
STAGED: "STAGED",
|
|
24
|
-
STAGING: "STAGING",
|
|
25
|
-
UPDATED: "UPDATED",
|
|
26
|
-
UPDATING: "UPDATING",
|
|
27
|
-
};
|
|
28
|
-
class ClientException extends ECSServiceException_1.ECSServiceException {
|
|
29
|
-
constructor(opts) {
|
|
30
|
-
super({
|
|
31
|
-
name: "ClientException",
|
|
32
|
-
$fault: "client",
|
|
33
|
-
...opts,
|
|
34
|
-
});
|
|
35
|
-
this.name = "ClientException";
|
|
36
|
-
this.$fault = "client";
|
|
37
|
-
Object.setPrototypeOf(this, ClientException.prototype);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
exports.ClientException = ClientException;
|
|
41
|
-
exports.ManagedDraining = {
|
|
42
|
-
DISABLED: "DISABLED",
|
|
43
|
-
ENABLED: "ENABLED",
|
|
44
|
-
};
|
|
45
|
-
exports.ManagedScalingStatus = {
|
|
46
|
-
DISABLED: "DISABLED",
|
|
47
|
-
ENABLED: "ENABLED",
|
|
48
|
-
};
|
|
49
|
-
exports.ManagedTerminationProtection = {
|
|
50
|
-
DISABLED: "DISABLED",
|
|
51
|
-
ENABLED: "ENABLED",
|
|
52
|
-
};
|
|
53
|
-
exports.CapacityProviderStatus = {
|
|
54
|
-
ACTIVE: "ACTIVE",
|
|
55
|
-
INACTIVE: "INACTIVE",
|
|
56
|
-
};
|
|
57
|
-
exports.CapacityProviderUpdateStatus = {
|
|
58
|
-
DELETE_COMPLETE: "DELETE_COMPLETE",
|
|
59
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
60
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
61
|
-
UPDATE_COMPLETE: "UPDATE_COMPLETE",
|
|
62
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
63
|
-
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
64
|
-
};
|
|
65
|
-
class InvalidParameterException extends ECSServiceException_1.ECSServiceException {
|
|
66
|
-
constructor(opts) {
|
|
67
|
-
super({
|
|
68
|
-
name: "InvalidParameterException",
|
|
69
|
-
$fault: "client",
|
|
70
|
-
...opts,
|
|
71
|
-
});
|
|
72
|
-
this.name = "InvalidParameterException";
|
|
73
|
-
this.$fault = "client";
|
|
74
|
-
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
exports.InvalidParameterException = InvalidParameterException;
|
|
78
|
-
class LimitExceededException extends ECSServiceException_1.ECSServiceException {
|
|
79
|
-
constructor(opts) {
|
|
80
|
-
super({
|
|
81
|
-
name: "LimitExceededException",
|
|
82
|
-
$fault: "client",
|
|
83
|
-
...opts,
|
|
84
|
-
});
|
|
85
|
-
this.name = "LimitExceededException";
|
|
86
|
-
this.$fault = "client";
|
|
87
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
exports.LimitExceededException = LimitExceededException;
|
|
91
|
-
class ServerException extends ECSServiceException_1.ECSServiceException {
|
|
92
|
-
constructor(opts) {
|
|
93
|
-
super({
|
|
94
|
-
name: "ServerException",
|
|
95
|
-
$fault: "server",
|
|
96
|
-
...opts,
|
|
97
|
-
});
|
|
98
|
-
this.name = "ServerException";
|
|
99
|
-
this.$fault = "server";
|
|
100
|
-
Object.setPrototypeOf(this, ServerException.prototype);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
exports.ServerException = ServerException;
|
|
104
|
-
class UpdateInProgressException extends ECSServiceException_1.ECSServiceException {
|
|
105
|
-
constructor(opts) {
|
|
106
|
-
super({
|
|
107
|
-
name: "UpdateInProgressException",
|
|
108
|
-
$fault: "client",
|
|
109
|
-
...opts,
|
|
110
|
-
});
|
|
111
|
-
this.name = "UpdateInProgressException";
|
|
112
|
-
this.$fault = "client";
|
|
113
|
-
Object.setPrototypeOf(this, UpdateInProgressException.prototype);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
exports.UpdateInProgressException = UpdateInProgressException;
|
|
117
|
-
exports.ExecuteCommandLogging = {
|
|
118
|
-
DEFAULT: "DEFAULT",
|
|
119
|
-
NONE: "NONE",
|
|
120
|
-
OVERRIDE: "OVERRIDE",
|
|
121
|
-
};
|
|
122
|
-
exports.ClusterSettingName = {
|
|
123
|
-
CONTAINER_INSIGHTS: "containerInsights",
|
|
124
|
-
};
|
|
125
|
-
class NamespaceNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
126
|
-
constructor(opts) {
|
|
127
|
-
super({
|
|
128
|
-
name: "NamespaceNotFoundException",
|
|
129
|
-
$fault: "client",
|
|
130
|
-
...opts,
|
|
131
|
-
});
|
|
132
|
-
this.name = "NamespaceNotFoundException";
|
|
133
|
-
this.$fault = "client";
|
|
134
|
-
Object.setPrototypeOf(this, NamespaceNotFoundException.prototype);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
exports.NamespaceNotFoundException = NamespaceNotFoundException;
|
|
138
|
-
class ClusterNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
139
|
-
constructor(opts) {
|
|
140
|
-
super({
|
|
141
|
-
name: "ClusterNotFoundException",
|
|
142
|
-
$fault: "client",
|
|
143
|
-
...opts,
|
|
144
|
-
});
|
|
145
|
-
this.name = "ClusterNotFoundException";
|
|
146
|
-
this.$fault = "client";
|
|
147
|
-
Object.setPrototypeOf(this, ClusterNotFoundException.prototype);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
exports.ClusterNotFoundException = ClusterNotFoundException;
|
|
151
|
-
exports.DeploymentControllerType = {
|
|
152
|
-
CODE_DEPLOY: "CODE_DEPLOY",
|
|
153
|
-
ECS: "ECS",
|
|
154
|
-
EXTERNAL: "EXTERNAL",
|
|
155
|
-
};
|
|
156
|
-
exports.LaunchType = {
|
|
157
|
-
EC2: "EC2",
|
|
158
|
-
EXTERNAL: "EXTERNAL",
|
|
159
|
-
FARGATE: "FARGATE",
|
|
160
|
-
};
|
|
161
|
-
exports.AssignPublicIp = {
|
|
162
|
-
DISABLED: "DISABLED",
|
|
163
|
-
ENABLED: "ENABLED",
|
|
164
|
-
};
|
|
165
|
-
exports.PlacementConstraintType = {
|
|
166
|
-
DISTINCT_INSTANCE: "distinctInstance",
|
|
167
|
-
MEMBER_OF: "memberOf",
|
|
168
|
-
};
|
|
169
|
-
exports.PlacementStrategyType = {
|
|
170
|
-
BINPACK: "binpack",
|
|
171
|
-
RANDOM: "random",
|
|
172
|
-
SPREAD: "spread",
|
|
173
|
-
};
|
|
174
|
-
exports.PropagateTags = {
|
|
175
|
-
NONE: "NONE",
|
|
176
|
-
SERVICE: "SERVICE",
|
|
177
|
-
TASK_DEFINITION: "TASK_DEFINITION",
|
|
178
|
-
};
|
|
179
|
-
exports.SchedulingStrategy = {
|
|
180
|
-
DAEMON: "DAEMON",
|
|
181
|
-
REPLICA: "REPLICA",
|
|
182
|
-
};
|
|
183
|
-
exports.LogDriver = {
|
|
184
|
-
AWSFIRELENS: "awsfirelens",
|
|
185
|
-
AWSLOGS: "awslogs",
|
|
186
|
-
FLUENTD: "fluentd",
|
|
187
|
-
GELF: "gelf",
|
|
188
|
-
JOURNALD: "journald",
|
|
189
|
-
JSON_FILE: "json-file",
|
|
190
|
-
SPLUNK: "splunk",
|
|
191
|
-
SYSLOG: "syslog",
|
|
192
|
-
};
|
|
193
|
-
exports.TaskFilesystemType = {
|
|
194
|
-
EXT3: "ext3",
|
|
195
|
-
EXT4: "ext4",
|
|
196
|
-
XFS: "xfs",
|
|
197
|
-
};
|
|
198
|
-
exports.EBSResourceType = {
|
|
199
|
-
VOLUME: "volume",
|
|
200
|
-
};
|
|
201
|
-
exports.DeploymentRolloutState = {
|
|
202
|
-
COMPLETED: "COMPLETED",
|
|
203
|
-
FAILED: "FAILED",
|
|
204
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
205
|
-
};
|
|
206
|
-
exports.ScaleUnit = {
|
|
207
|
-
PERCENT: "PERCENT",
|
|
208
|
-
};
|
|
209
|
-
exports.StabilityStatus = {
|
|
210
|
-
STABILIZING: "STABILIZING",
|
|
211
|
-
STEADY_STATE: "STEADY_STATE",
|
|
212
|
-
};
|
|
213
|
-
class PlatformTaskDefinitionIncompatibilityException extends ECSServiceException_1.ECSServiceException {
|
|
214
|
-
constructor(opts) {
|
|
215
|
-
super({
|
|
216
|
-
name: "PlatformTaskDefinitionIncompatibilityException",
|
|
217
|
-
$fault: "client",
|
|
218
|
-
...opts,
|
|
219
|
-
});
|
|
220
|
-
this.name = "PlatformTaskDefinitionIncompatibilityException";
|
|
221
|
-
this.$fault = "client";
|
|
222
|
-
Object.setPrototypeOf(this, PlatformTaskDefinitionIncompatibilityException.prototype);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
exports.PlatformTaskDefinitionIncompatibilityException = PlatformTaskDefinitionIncompatibilityException;
|
|
226
|
-
class PlatformUnknownException extends ECSServiceException_1.ECSServiceException {
|
|
227
|
-
constructor(opts) {
|
|
228
|
-
super({
|
|
229
|
-
name: "PlatformUnknownException",
|
|
230
|
-
$fault: "client",
|
|
231
|
-
...opts,
|
|
232
|
-
});
|
|
233
|
-
this.name = "PlatformUnknownException";
|
|
234
|
-
this.$fault = "client";
|
|
235
|
-
Object.setPrototypeOf(this, PlatformUnknownException.prototype);
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
exports.PlatformUnknownException = PlatformUnknownException;
|
|
239
|
-
class UnsupportedFeatureException extends ECSServiceException_1.ECSServiceException {
|
|
240
|
-
constructor(opts) {
|
|
241
|
-
super({
|
|
242
|
-
name: "UnsupportedFeatureException",
|
|
243
|
-
$fault: "client",
|
|
244
|
-
...opts,
|
|
245
|
-
});
|
|
246
|
-
this.name = "UnsupportedFeatureException";
|
|
247
|
-
this.$fault = "client";
|
|
248
|
-
Object.setPrototypeOf(this, UnsupportedFeatureException.prototype);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
exports.UnsupportedFeatureException = UnsupportedFeatureException;
|
|
252
|
-
class ServiceNotActiveException extends ECSServiceException_1.ECSServiceException {
|
|
253
|
-
constructor(opts) {
|
|
254
|
-
super({
|
|
255
|
-
name: "ServiceNotActiveException",
|
|
256
|
-
$fault: "client",
|
|
257
|
-
...opts,
|
|
258
|
-
});
|
|
259
|
-
this.name = "ServiceNotActiveException";
|
|
260
|
-
this.$fault = "client";
|
|
261
|
-
Object.setPrototypeOf(this, ServiceNotActiveException.prototype);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
exports.ServiceNotActiveException = ServiceNotActiveException;
|
|
265
|
-
class ServiceNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
266
|
-
constructor(opts) {
|
|
267
|
-
super({
|
|
268
|
-
name: "ServiceNotFoundException",
|
|
269
|
-
$fault: "client",
|
|
270
|
-
...opts,
|
|
271
|
-
});
|
|
272
|
-
this.name = "ServiceNotFoundException";
|
|
273
|
-
this.$fault = "client";
|
|
274
|
-
Object.setPrototypeOf(this, ServiceNotFoundException.prototype);
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
exports.ServiceNotFoundException = ServiceNotFoundException;
|
|
278
|
-
exports.SettingName = {
|
|
279
|
-
AWSVPC_TRUNKING: "awsvpcTrunking",
|
|
280
|
-
CONTAINER_INSIGHTS: "containerInsights",
|
|
281
|
-
CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat",
|
|
282
|
-
FARGATE_FIPS_MODE: "fargateFIPSMode",
|
|
283
|
-
FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod",
|
|
284
|
-
GUARD_DUTY_ACTIVATE: "guardDutyActivate",
|
|
285
|
-
SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat",
|
|
286
|
-
TAG_RESOURCE_AUTHORIZATION: "tagResourceAuthorization",
|
|
287
|
-
TASK_LONG_ARN_FORMAT: "taskLongArnFormat",
|
|
288
|
-
};
|
|
289
|
-
exports.SettingType = {
|
|
290
|
-
AWS_MANAGED: "aws_managed",
|
|
291
|
-
USER: "user",
|
|
292
|
-
};
|
|
293
|
-
exports.TargetType = {
|
|
294
|
-
CONTAINER_INSTANCE: "container-instance",
|
|
295
|
-
};
|
|
296
|
-
class TargetNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
297
|
-
constructor(opts) {
|
|
298
|
-
super({
|
|
299
|
-
name: "TargetNotFoundException",
|
|
300
|
-
$fault: "client",
|
|
301
|
-
...opts,
|
|
302
|
-
});
|
|
303
|
-
this.name = "TargetNotFoundException";
|
|
304
|
-
this.$fault = "client";
|
|
305
|
-
Object.setPrototypeOf(this, TargetNotFoundException.prototype);
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
exports.TargetNotFoundException = TargetNotFoundException;
|
|
309
|
-
class ClusterContainsContainerInstancesException extends ECSServiceException_1.ECSServiceException {
|
|
310
|
-
constructor(opts) {
|
|
311
|
-
super({
|
|
312
|
-
name: "ClusterContainsContainerInstancesException",
|
|
313
|
-
$fault: "client",
|
|
314
|
-
...opts,
|
|
315
|
-
});
|
|
316
|
-
this.name = "ClusterContainsContainerInstancesException";
|
|
317
|
-
this.$fault = "client";
|
|
318
|
-
Object.setPrototypeOf(this, ClusterContainsContainerInstancesException.prototype);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
exports.ClusterContainsContainerInstancesException = ClusterContainsContainerInstancesException;
|
|
322
|
-
class ClusterContainsServicesException extends ECSServiceException_1.ECSServiceException {
|
|
323
|
-
constructor(opts) {
|
|
324
|
-
super({
|
|
325
|
-
name: "ClusterContainsServicesException",
|
|
326
|
-
$fault: "client",
|
|
327
|
-
...opts,
|
|
328
|
-
});
|
|
329
|
-
this.name = "ClusterContainsServicesException";
|
|
330
|
-
this.$fault = "client";
|
|
331
|
-
Object.setPrototypeOf(this, ClusterContainsServicesException.prototype);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
exports.ClusterContainsServicesException = ClusterContainsServicesException;
|
|
335
|
-
class ClusterContainsTasksException extends ECSServiceException_1.ECSServiceException {
|
|
336
|
-
constructor(opts) {
|
|
337
|
-
super({
|
|
338
|
-
name: "ClusterContainsTasksException",
|
|
339
|
-
$fault: "client",
|
|
340
|
-
...opts,
|
|
341
|
-
});
|
|
342
|
-
this.name = "ClusterContainsTasksException";
|
|
343
|
-
this.$fault = "client";
|
|
344
|
-
Object.setPrototypeOf(this, ClusterContainsTasksException.prototype);
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
exports.ClusterContainsTasksException = ClusterContainsTasksException;
|
|
348
|
-
exports.Compatibility = {
|
|
349
|
-
EC2: "EC2",
|
|
350
|
-
EXTERNAL: "EXTERNAL",
|
|
351
|
-
FARGATE: "FARGATE",
|
|
352
|
-
};
|
|
353
|
-
exports.ContainerCondition = {
|
|
354
|
-
COMPLETE: "COMPLETE",
|
|
355
|
-
HEALTHY: "HEALTHY",
|
|
356
|
-
START: "START",
|
|
357
|
-
SUCCESS: "SUCCESS",
|
|
358
|
-
};
|
|
359
|
-
exports.EnvironmentFileType = {
|
|
360
|
-
S3: "s3",
|
|
361
|
-
};
|
|
362
|
-
exports.FirelensConfigurationType = {
|
|
363
|
-
FLUENTBIT: "fluentbit",
|
|
364
|
-
FLUENTD: "fluentd",
|
|
365
|
-
};
|
|
366
|
-
exports.DeviceCgroupPermission = {
|
|
367
|
-
MKNOD: "mknod",
|
|
368
|
-
READ: "read",
|
|
369
|
-
WRITE: "write",
|
|
370
|
-
};
|
|
371
|
-
exports.ApplicationProtocol = {
|
|
372
|
-
GRPC: "grpc",
|
|
373
|
-
HTTP: "http",
|
|
374
|
-
HTTP2: "http2",
|
|
375
|
-
};
|
|
376
|
-
exports.TransportProtocol = {
|
|
377
|
-
TCP: "tcp",
|
|
378
|
-
UDP: "udp",
|
|
379
|
-
};
|
|
380
|
-
exports.ResourceType = {
|
|
381
|
-
GPU: "GPU",
|
|
382
|
-
INFERENCE_ACCELERATOR: "InferenceAccelerator",
|
|
383
|
-
};
|
|
384
|
-
exports.UlimitName = {
|
|
385
|
-
CORE: "core",
|
|
386
|
-
CPU: "cpu",
|
|
387
|
-
DATA: "data",
|
|
388
|
-
FSIZE: "fsize",
|
|
389
|
-
LOCKS: "locks",
|
|
390
|
-
MEMLOCK: "memlock",
|
|
391
|
-
MSGQUEUE: "msgqueue",
|
|
392
|
-
NICE: "nice",
|
|
393
|
-
NOFILE: "nofile",
|
|
394
|
-
NPROC: "nproc",
|
|
395
|
-
RSS: "rss",
|
|
396
|
-
RTPRIO: "rtprio",
|
|
397
|
-
RTTIME: "rttime",
|
|
398
|
-
SIGPENDING: "sigpending",
|
|
399
|
-
STACK: "stack",
|
|
400
|
-
};
|
|
401
|
-
exports.IpcMode = {
|
|
402
|
-
HOST: "host",
|
|
403
|
-
NONE: "none",
|
|
404
|
-
TASK: "task",
|
|
405
|
-
};
|
|
406
|
-
exports.NetworkMode = {
|
|
407
|
-
AWSVPC: "awsvpc",
|
|
408
|
-
BRIDGE: "bridge",
|
|
409
|
-
HOST: "host",
|
|
410
|
-
NONE: "none",
|
|
411
|
-
};
|
|
412
|
-
exports.PidMode = {
|
|
413
|
-
HOST: "host",
|
|
414
|
-
TASK: "task",
|
|
415
|
-
};
|
|
416
|
-
exports.TaskDefinitionPlacementConstraintType = {
|
|
417
|
-
MEMBER_OF: "memberOf",
|
|
418
|
-
};
|
|
419
|
-
exports.ProxyConfigurationType = {
|
|
420
|
-
APPMESH: "APPMESH",
|
|
421
|
-
};
|
|
422
|
-
exports.CPUArchitecture = {
|
|
423
|
-
ARM64: "ARM64",
|
|
424
|
-
X86_64: "X86_64",
|
|
425
|
-
};
|
|
426
|
-
exports.OSFamily = {
|
|
427
|
-
LINUX: "LINUX",
|
|
428
|
-
WINDOWS_SERVER_2004_CORE: "WINDOWS_SERVER_2004_CORE",
|
|
429
|
-
WINDOWS_SERVER_2016_FULL: "WINDOWS_SERVER_2016_FULL",
|
|
430
|
-
WINDOWS_SERVER_2019_CORE: "WINDOWS_SERVER_2019_CORE",
|
|
431
|
-
WINDOWS_SERVER_2019_FULL: "WINDOWS_SERVER_2019_FULL",
|
|
432
|
-
WINDOWS_SERVER_2022_CORE: "WINDOWS_SERVER_2022_CORE",
|
|
433
|
-
WINDOWS_SERVER_2022_FULL: "WINDOWS_SERVER_2022_FULL",
|
|
434
|
-
WINDOWS_SERVER_20H2_CORE: "WINDOWS_SERVER_20H2_CORE",
|
|
435
|
-
};
|
|
436
|
-
exports.TaskDefinitionStatus = {
|
|
437
|
-
ACTIVE: "ACTIVE",
|
|
438
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
439
|
-
INACTIVE: "INACTIVE",
|
|
440
|
-
};
|
|
441
|
-
exports.Scope = {
|
|
442
|
-
SHARED: "shared",
|
|
443
|
-
TASK: "task",
|
|
444
|
-
};
|
|
445
|
-
exports.EFSAuthorizationConfigIAM = {
|
|
446
|
-
DISABLED: "DISABLED",
|
|
447
|
-
ENABLED: "ENABLED",
|
|
448
|
-
};
|
|
449
|
-
exports.EFSTransitEncryption = {
|
|
450
|
-
DISABLED: "DISABLED",
|
|
451
|
-
ENABLED: "ENABLED",
|
|
452
|
-
};
|
|
453
|
-
class TaskSetNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
454
|
-
constructor(opts) {
|
|
455
|
-
super({
|
|
456
|
-
name: "TaskSetNotFoundException",
|
|
457
|
-
$fault: "client",
|
|
458
|
-
...opts,
|
|
459
|
-
});
|
|
460
|
-
this.name = "TaskSetNotFoundException";
|
|
461
|
-
this.$fault = "client";
|
|
462
|
-
Object.setPrototypeOf(this, TaskSetNotFoundException.prototype);
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
exports.TaskSetNotFoundException = TaskSetNotFoundException;
|
|
466
|
-
exports.InstanceHealthCheckState = {
|
|
467
|
-
IMPAIRED: "IMPAIRED",
|
|
468
|
-
INITIALIZING: "INITIALIZING",
|
|
469
|
-
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
470
|
-
OK: "OK",
|
|
471
|
-
};
|
|
472
|
-
exports.InstanceHealthCheckType = {
|
|
473
|
-
CONTAINER_RUNTIME: "CONTAINER_RUNTIME",
|
|
474
|
-
};
|
|
475
|
-
exports.CapacityProviderField = {
|
|
476
|
-
TAGS: "TAGS",
|
|
477
|
-
};
|
|
478
|
-
exports.ClusterField = {
|
|
479
|
-
ATTACHMENTS: "ATTACHMENTS",
|
|
480
|
-
CONFIGURATIONS: "CONFIGURATIONS",
|
|
481
|
-
SETTINGS: "SETTINGS",
|
|
482
|
-
STATISTICS: "STATISTICS",
|
|
483
|
-
TAGS: "TAGS",
|
|
484
|
-
};
|
|
485
|
-
exports.ContainerInstanceField = {
|
|
486
|
-
CONTAINER_INSTANCE_HEALTH: "CONTAINER_INSTANCE_HEALTH",
|
|
487
|
-
TAGS: "TAGS",
|
|
488
|
-
};
|
|
489
|
-
exports.ServiceField = {
|
|
490
|
-
TAGS: "TAGS",
|
|
491
|
-
};
|
|
492
|
-
exports.TaskDefinitionField = {
|
|
493
|
-
TAGS: "TAGS",
|
|
494
|
-
};
|
|
495
|
-
exports.TaskField = {
|
|
496
|
-
TAGS: "TAGS",
|
|
497
|
-
};
|
|
498
|
-
exports.Connectivity = {
|
|
499
|
-
CONNECTED: "CONNECTED",
|
|
500
|
-
DISCONNECTED: "DISCONNECTED",
|
|
501
|
-
};
|
|
502
|
-
exports.HealthStatus = {
|
|
503
|
-
HEALTHY: "HEALTHY",
|
|
504
|
-
UNHEALTHY: "UNHEALTHY",
|
|
505
|
-
UNKNOWN: "UNKNOWN",
|
|
506
|
-
};
|
|
507
|
-
exports.ManagedAgentName = {
|
|
508
|
-
ExecuteCommandAgent: "ExecuteCommandAgent",
|
|
509
|
-
};
|
|
510
|
-
exports.TaskStopCode = {
|
|
511
|
-
ESSENTIAL_CONTAINER_EXITED: "EssentialContainerExited",
|
|
512
|
-
SERVICE_SCHEDULER_INITIATED: "ServiceSchedulerInitiated",
|
|
513
|
-
SPOT_INTERRUPTION: "SpotInterruption",
|
|
514
|
-
TASK_FAILED_TO_START: "TaskFailedToStart",
|
|
515
|
-
TERMINATION_NOTICE: "TerminationNotice",
|
|
516
|
-
USER_INITIATED: "UserInitiated",
|
|
517
|
-
};
|
|
518
|
-
exports.TaskSetField = {
|
|
519
|
-
TAGS: "TAGS",
|
|
520
|
-
};
|
|
521
|
-
class TargetNotConnectedException extends ECSServiceException_1.ECSServiceException {
|
|
522
|
-
constructor(opts) {
|
|
523
|
-
super({
|
|
524
|
-
name: "TargetNotConnectedException",
|
|
525
|
-
$fault: "client",
|
|
526
|
-
...opts,
|
|
527
|
-
});
|
|
528
|
-
this.name = "TargetNotConnectedException";
|
|
529
|
-
this.$fault = "client";
|
|
530
|
-
Object.setPrototypeOf(this, TargetNotConnectedException.prototype);
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
exports.TargetNotConnectedException = TargetNotConnectedException;
|
|
534
|
-
class ResourceNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
535
|
-
constructor(opts) {
|
|
536
|
-
super({
|
|
537
|
-
name: "ResourceNotFoundException",
|
|
538
|
-
$fault: "client",
|
|
539
|
-
...opts,
|
|
540
|
-
});
|
|
541
|
-
this.name = "ResourceNotFoundException";
|
|
542
|
-
this.$fault = "client";
|
|
543
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
547
|
-
exports.ContainerInstanceStatus = {
|
|
548
|
-
ACTIVE: "ACTIVE",
|
|
549
|
-
DEREGISTERING: "DEREGISTERING",
|
|
550
|
-
DRAINING: "DRAINING",
|
|
551
|
-
REGISTERING: "REGISTERING",
|
|
552
|
-
REGISTRATION_FAILED: "REGISTRATION_FAILED",
|
|
553
|
-
};
|
|
554
|
-
exports.TaskDefinitionFamilyStatus = {
|
|
555
|
-
ACTIVE: "ACTIVE",
|
|
556
|
-
ALL: "ALL",
|
|
557
|
-
INACTIVE: "INACTIVE",
|
|
558
|
-
};
|
|
559
|
-
exports.SortOrder = {
|
|
560
|
-
ASC: "ASC",
|
|
561
|
-
DESC: "DESC",
|
|
562
|
-
};
|
|
563
|
-
exports.DesiredStatus = {
|
|
564
|
-
PENDING: "PENDING",
|
|
565
|
-
RUNNING: "RUNNING",
|
|
566
|
-
STOPPED: "STOPPED",
|
|
567
|
-
};
|
|
568
|
-
class AttributeLimitExceededException extends ECSServiceException_1.ECSServiceException {
|
|
569
|
-
constructor(opts) {
|
|
570
|
-
super({
|
|
571
|
-
name: "AttributeLimitExceededException",
|
|
572
|
-
$fault: "client",
|
|
573
|
-
...opts,
|
|
574
|
-
});
|
|
575
|
-
this.name = "AttributeLimitExceededException";
|
|
576
|
-
this.$fault = "client";
|
|
577
|
-
Object.setPrototypeOf(this, AttributeLimitExceededException.prototype);
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
exports.AttributeLimitExceededException = AttributeLimitExceededException;
|
|
581
|
-
class ResourceInUseException extends ECSServiceException_1.ECSServiceException {
|
|
582
|
-
constructor(opts) {
|
|
583
|
-
super({
|
|
584
|
-
name: "ResourceInUseException",
|
|
585
|
-
$fault: "client",
|
|
586
|
-
...opts,
|
|
587
|
-
});
|
|
588
|
-
this.name = "ResourceInUseException";
|
|
589
|
-
this.$fault = "client";
|
|
590
|
-
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
exports.ResourceInUseException = ResourceInUseException;
|
|
594
|
-
exports.PlatformDeviceType = {
|
|
595
|
-
GPU: "GPU",
|
|
596
|
-
};
|
|
597
|
-
class BlockedException extends ECSServiceException_1.ECSServiceException {
|
|
598
|
-
constructor(opts) {
|
|
599
|
-
super({
|
|
600
|
-
name: "BlockedException",
|
|
601
|
-
$fault: "client",
|
|
602
|
-
...opts,
|
|
603
|
-
});
|
|
604
|
-
this.name = "BlockedException";
|
|
605
|
-
this.$fault = "client";
|
|
606
|
-
Object.setPrototypeOf(this, BlockedException.prototype);
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
exports.BlockedException = BlockedException;
|
|
610
|
-
class ConflictException extends ECSServiceException_1.ECSServiceException {
|
|
611
|
-
constructor(opts) {
|
|
612
|
-
super({
|
|
613
|
-
name: "ConflictException",
|
|
614
|
-
$fault: "client",
|
|
615
|
-
...opts,
|
|
616
|
-
});
|
|
617
|
-
this.name = "ConflictException";
|
|
618
|
-
this.$fault = "client";
|
|
619
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
620
|
-
this.resourceIds = opts.resourceIds;
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
exports.ConflictException = ConflictException;
|
|
624
|
-
class MissingVersionException extends ECSServiceException_1.ECSServiceException {
|
|
625
|
-
constructor(opts) {
|
|
626
|
-
super({
|
|
627
|
-
name: "MissingVersionException",
|
|
628
|
-
$fault: "client",
|
|
629
|
-
...opts,
|
|
630
|
-
});
|
|
631
|
-
this.name = "MissingVersionException";
|
|
632
|
-
this.$fault = "client";
|
|
633
|
-
Object.setPrototypeOf(this, MissingVersionException.prototype);
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
exports.MissingVersionException = MissingVersionException;
|
|
637
|
-
class NoUpdateAvailableException extends ECSServiceException_1.ECSServiceException {
|
|
638
|
-
constructor(opts) {
|
|
639
|
-
super({
|
|
640
|
-
name: "NoUpdateAvailableException",
|
|
641
|
-
$fault: "client",
|
|
642
|
-
...opts,
|
|
643
|
-
});
|
|
644
|
-
this.name = "NoUpdateAvailableException";
|
|
645
|
-
this.$fault = "client";
|
|
646
|
-
Object.setPrototypeOf(this, NoUpdateAvailableException.prototype);
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
exports.NoUpdateAvailableException = NoUpdateAvailableException;
|
|
650
|
-
const SessionFilterSensitiveLog = (obj) => ({
|
|
651
|
-
...obj,
|
|
652
|
-
...(obj.tokenValue && { tokenValue: smithy_client_1.SENSITIVE_STRING }),
|
|
653
|
-
});
|
|
654
|
-
exports.SessionFilterSensitiveLog = SessionFilterSensitiveLog;
|
|
655
|
-
const ExecuteCommandResponseFilterSensitiveLog = (obj) => ({
|
|
656
|
-
...obj,
|
|
657
|
-
...(obj.session && { session: (0, exports.SessionFilterSensitiveLog)(obj.session) }),
|
|
658
|
-
});
|
|
659
|
-
exports.ExecuteCommandResponseFilterSensitiveLog = ExecuteCommandResponseFilterSensitiveLog;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListAccountSettings = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListAccountSettingsCommand_1 = require("../commands/ListAccountSettingsCommand");
|
|
6
|
-
const ECSClient_1 = require("../ECSClient");
|
|
7
|
-
exports.paginateListAccountSettings = (0, core_1.createPaginator)(ECSClient_1.ECSClient, ListAccountSettingsCommand_1.ListAccountSettingsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|