@aws-sdk/client-ecs 3.993.0 → 3.995.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/README.md +1 -15
- package/dist-cjs/index.js +164 -164
- package/dist-cjs/models/errors.js +86 -86
- package/dist-cjs/schemas/schemas_0.js +5 -5
- package/dist-es/models/enums.js +156 -156
- package/dist-es/models/errors.js +68 -68
- package/dist-es/schemas/schemas_0.js +5 -5
- package/dist-es/waiters/waitForServicesInactive.js +2 -2
- package/dist-es/waiters/waitForServicesStable.js +2 -2
- package/dist-es/waiters/waitForTasksRunning.js +2 -2
- package/dist-es/waiters/waitForTasksStopped.js +2 -2
- package/dist-types/ECS.d.ts +1 -15
- package/dist-types/ECSClient.d.ts +1 -15
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +4 -16
- package/dist-types/commands/CreateClusterCommand.d.ts +3 -20
- package/dist-types/commands/CreateExpressGatewayServiceCommand.d.ts +4 -18
- package/dist-types/commands/CreateServiceCommand.d.ts +4 -236
- package/dist-types/commands/CreateTaskSetCommand.d.ts +6 -25
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +12 -18
- package/dist-types/commands/DeleteAttributesCommand.d.ts +2 -7
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +3 -21
- package/dist-types/commands/DeleteClusterCommand.d.ts +7 -30
- package/dist-types/commands/DeleteExpressGatewayServiceCommand.d.ts +5 -19
- package/dist-types/commands/DeleteServiceCommand.d.ts +4 -30
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +3 -27
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +6 -16
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +3 -21
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +3 -25
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +34 -39
- package/dist-types/commands/DescribeClustersCommand.d.ts +3 -10
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +3 -9
- package/dist-types/commands/DescribeExpressGatewayServiceCommand.d.ts +3 -14
- package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +44 -13
- package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +44 -14
- package/dist-types/commands/DescribeServicesCommand.d.ts +2 -7
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +3 -15
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +5 -16
- package/dist-types/commands/DescribeTasksCommand.d.ts +3 -12
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +2 -8
- package/dist-types/commands/ExecuteCommandCommand.d.ts +4 -32
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +2 -7
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +9 -14
- package/dist-types/commands/ListAttributesCommand.d.ts +2 -11
- package/dist-types/commands/ListClustersCommand.d.ts +2 -7
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +3 -11
- package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +4 -15
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +3 -13
- package/dist-types/commands/ListServicesCommand.d.ts +3 -9
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -7
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +13 -24
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +13 -20
- package/dist-types/commands/ListTasksCommand.d.ts +14 -23
- package/dist-types/commands/PutAccountSettingCommand.d.ts +12 -22
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +3 -9
- package/dist-types/commands/PutAttributesCommand.d.ts +4 -14
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +4 -29
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +3 -13
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +3 -26
- package/dist-types/commands/RunTaskCommand.d.ts +6 -75
- package/dist-types/commands/StartTaskCommand.d.ts +3 -23
- package/dist-types/commands/StopServiceDeploymentCommand.d.ts +5 -25
- package/dist-types/commands/StopTaskCommand.d.ts +3 -25
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +3 -12
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +2 -8
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +3 -12
- package/dist-types/commands/TagResourceCommand.d.ts +3 -11
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -7
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +3 -10
- package/dist-types/commands/UpdateClusterCommand.d.ts +2 -7
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +2 -7
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +6 -41
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +3 -56
- package/dist-types/commands/UpdateExpressGatewayServiceCommand.d.ts +5 -19
- package/dist-types/commands/UpdateServiceCommand.d.ts +14 -146
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +6 -19
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +15 -47
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +6 -17
- package/dist-types/index.d.ts +1 -15
- package/dist-types/models/enums.d.ts +338 -338
- package/dist-types/models/errors.d.ts +74 -128
- package/dist-types/models/models_0.d.ts +3435 -9819
- package/dist-types/ts3.4/models/enums.d.ts +222 -222
- package/dist-types/ts3.4/models/errors.d.ts +61 -61
- package/dist-types/ts3.4/models/models_0.d.ts +1055 -1055
- package/package.json +3 -3
package/dist-es/models/enums.js
CHANGED
|
@@ -111,6 +111,9 @@ export const CapacityProviderUpdateStatus = {
|
|
|
111
111
|
UPDATE_FAILED: "UPDATE_FAILED",
|
|
112
112
|
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
113
113
|
};
|
|
114
|
+
export const CapacityProviderField = {
|
|
115
|
+
TAGS: "TAGS",
|
|
116
|
+
};
|
|
114
117
|
export const ExecuteCommandLogging = {
|
|
115
118
|
DEFAULT: "DEFAULT",
|
|
116
119
|
NONE: "NONE",
|
|
@@ -119,39 +122,47 @@ export const ExecuteCommandLogging = {
|
|
|
119
122
|
export const ClusterSettingName = {
|
|
120
123
|
CONTAINER_INSIGHTS: "containerInsights",
|
|
121
124
|
};
|
|
122
|
-
export const
|
|
123
|
-
|
|
124
|
-
AverageMemoryUtilization: "AVERAGE_MEMORY",
|
|
125
|
-
RequestCountPerTarget: "REQUEST_COUNT_PER_TARGET",
|
|
125
|
+
export const TargetType = {
|
|
126
|
+
CONTAINER_INSTANCE: "container-instance",
|
|
126
127
|
};
|
|
127
|
-
export const
|
|
128
|
+
export const InstanceHealthCheckState = {
|
|
129
|
+
IMPAIRED: "IMPAIRED",
|
|
130
|
+
INITIALIZING: "INITIALIZING",
|
|
131
|
+
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
132
|
+
OK: "OK",
|
|
133
|
+
};
|
|
134
|
+
export const InstanceHealthCheckType = {
|
|
135
|
+
CONTAINER_RUNTIME: "CONTAINER_RUNTIME",
|
|
136
|
+
};
|
|
137
|
+
export const ClusterField = {
|
|
138
|
+
ATTACHMENTS: "ATTACHMENTS",
|
|
139
|
+
CONFIGURATIONS: "CONFIGURATIONS",
|
|
140
|
+
SETTINGS: "SETTINGS",
|
|
141
|
+
STATISTICS: "STATISTICS",
|
|
142
|
+
TAGS: "TAGS",
|
|
143
|
+
};
|
|
144
|
+
export const ContainerInstanceStatus = {
|
|
128
145
|
ACTIVE: "ACTIVE",
|
|
146
|
+
DEREGISTERING: "DEREGISTERING",
|
|
129
147
|
DRAINING: "DRAINING",
|
|
130
|
-
|
|
148
|
+
REGISTERING: "REGISTERING",
|
|
149
|
+
REGISTRATION_FAILED: "REGISTRATION_FAILED",
|
|
131
150
|
};
|
|
132
|
-
export const
|
|
133
|
-
|
|
134
|
-
|
|
151
|
+
export const TransportProtocol = {
|
|
152
|
+
TCP: "tcp",
|
|
153
|
+
UDP: "udp",
|
|
135
154
|
};
|
|
136
|
-
export const
|
|
137
|
-
|
|
138
|
-
POST_SCALE_UP: "POST_SCALE_UP",
|
|
139
|
-
POST_TEST_TRAFFIC_SHIFT: "POST_TEST_TRAFFIC_SHIFT",
|
|
140
|
-
PRE_SCALE_UP: "PRE_SCALE_UP",
|
|
141
|
-
PRODUCTION_TRAFFIC_SHIFT: "PRODUCTION_TRAFFIC_SHIFT",
|
|
142
|
-
RECONCILE_SERVICE: "RECONCILE_SERVICE",
|
|
143
|
-
TEST_TRAFFIC_SHIFT: "TEST_TRAFFIC_SHIFT",
|
|
155
|
+
export const ManagedAgentName = {
|
|
156
|
+
ExecuteCommandAgent: "ExecuteCommandAgent",
|
|
144
157
|
};
|
|
145
|
-
export const
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
LINEAR: "LINEAR",
|
|
149
|
-
ROLLING: "ROLLING",
|
|
158
|
+
export const ContainerInstanceField = {
|
|
159
|
+
CONTAINER_INSTANCE_HEALTH: "CONTAINER_INSTANCE_HEALTH",
|
|
160
|
+
TAGS: "TAGS",
|
|
150
161
|
};
|
|
151
|
-
export const
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
162
|
+
export const DesiredStatus = {
|
|
163
|
+
PENDING: "PENDING",
|
|
164
|
+
RUNNING: "RUNNING",
|
|
165
|
+
STOPPED: "STOPPED",
|
|
155
166
|
};
|
|
156
167
|
export const LaunchType = {
|
|
157
168
|
EC2: "EC2",
|
|
@@ -159,70 +170,8 @@ export const LaunchType = {
|
|
|
159
170
|
FARGATE: "FARGATE",
|
|
160
171
|
MANAGED_INSTANCES: "MANAGED_INSTANCES",
|
|
161
172
|
};
|
|
162
|
-
export const
|
|
163
|
-
|
|
164
|
-
ENABLED: "ENABLED",
|
|
165
|
-
};
|
|
166
|
-
export const PlacementConstraintType = {
|
|
167
|
-
DISTINCT_INSTANCE: "distinctInstance",
|
|
168
|
-
MEMBER_OF: "memberOf",
|
|
169
|
-
};
|
|
170
|
-
export const PlacementStrategyType = {
|
|
171
|
-
BINPACK: "binpack",
|
|
172
|
-
RANDOM: "random",
|
|
173
|
-
SPREAD: "spread",
|
|
174
|
-
};
|
|
175
|
-
export const PropagateTags = {
|
|
176
|
-
NONE: "NONE",
|
|
177
|
-
SERVICE: "SERVICE",
|
|
178
|
-
TASK_DEFINITION: "TASK_DEFINITION",
|
|
179
|
-
};
|
|
180
|
-
export const SchedulingStrategy = {
|
|
181
|
-
DAEMON: "DAEMON",
|
|
182
|
-
REPLICA: "REPLICA",
|
|
183
|
-
};
|
|
184
|
-
export const ServiceConnectAccessLoggingFormat = {
|
|
185
|
-
JSON: "JSON",
|
|
186
|
-
TEXT: "TEXT",
|
|
187
|
-
};
|
|
188
|
-
export const ServiceConnectIncludeQueryParameters = {
|
|
189
|
-
DISABLED: "DISABLED",
|
|
190
|
-
ENABLED: "ENABLED",
|
|
191
|
-
};
|
|
192
|
-
export const LogDriver = {
|
|
193
|
-
AWSFIRELENS: "awsfirelens",
|
|
194
|
-
AWSLOGS: "awslogs",
|
|
195
|
-
FLUENTD: "fluentd",
|
|
196
|
-
GELF: "gelf",
|
|
197
|
-
JOURNALD: "journald",
|
|
198
|
-
JSON_FILE: "json-file",
|
|
199
|
-
SPLUNK: "splunk",
|
|
200
|
-
SYSLOG: "syslog",
|
|
201
|
-
};
|
|
202
|
-
export const TaskFilesystemType = {
|
|
203
|
-
EXT3: "ext3",
|
|
204
|
-
EXT4: "ext4",
|
|
205
|
-
NTFS: "ntfs",
|
|
206
|
-
XFS: "xfs",
|
|
207
|
-
};
|
|
208
|
-
export const EBSResourceType = {
|
|
209
|
-
VOLUME: "volume",
|
|
210
|
-
};
|
|
211
|
-
export const DeploymentRolloutState = {
|
|
212
|
-
COMPLETED: "COMPLETED",
|
|
213
|
-
FAILED: "FAILED",
|
|
214
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
215
|
-
};
|
|
216
|
-
export const ResourceManagementType = {
|
|
217
|
-
CUSTOMER: "CUSTOMER",
|
|
218
|
-
ECS: "ECS",
|
|
219
|
-
};
|
|
220
|
-
export const ScaleUnit = {
|
|
221
|
-
PERCENT: "PERCENT",
|
|
222
|
-
};
|
|
223
|
-
export const StabilityStatus = {
|
|
224
|
-
STABILIZING: "STABILIZING",
|
|
225
|
-
STEADY_STATE: "STEADY_STATE",
|
|
173
|
+
export const PlatformDeviceType = {
|
|
174
|
+
GPU: "GPU",
|
|
226
175
|
};
|
|
227
176
|
export const SettingName = {
|
|
228
177
|
AWSVPC_TRUNKING: "awsvpcTrunking",
|
|
@@ -241,9 +190,6 @@ export const SettingType = {
|
|
|
241
190
|
AWS_MANAGED: "aws_managed",
|
|
242
191
|
USER: "user",
|
|
243
192
|
};
|
|
244
|
-
export const TargetType = {
|
|
245
|
-
CONTAINER_INSTANCE: "container-instance",
|
|
246
|
-
};
|
|
247
193
|
export const Compatibility = {
|
|
248
194
|
EC2: "EC2",
|
|
249
195
|
EXTERNAL: "EXTERNAL",
|
|
@@ -268,15 +214,21 @@ export const DeviceCgroupPermission = {
|
|
|
268
214
|
READ: "read",
|
|
269
215
|
WRITE: "write",
|
|
270
216
|
};
|
|
217
|
+
export const LogDriver = {
|
|
218
|
+
AWSFIRELENS: "awsfirelens",
|
|
219
|
+
AWSLOGS: "awslogs",
|
|
220
|
+
FLUENTD: "fluentd",
|
|
221
|
+
GELF: "gelf",
|
|
222
|
+
JOURNALD: "journald",
|
|
223
|
+
JSON_FILE: "json-file",
|
|
224
|
+
SPLUNK: "splunk",
|
|
225
|
+
SYSLOG: "syslog",
|
|
226
|
+
};
|
|
271
227
|
export const ApplicationProtocol = {
|
|
272
228
|
GRPC: "grpc",
|
|
273
229
|
HTTP: "http",
|
|
274
230
|
HTTP2: "http2",
|
|
275
231
|
};
|
|
276
|
-
export const TransportProtocol = {
|
|
277
|
-
TCP: "tcp",
|
|
278
|
-
UDP: "udp",
|
|
279
|
-
};
|
|
280
232
|
export const ResourceType = {
|
|
281
233
|
GPU: "GPU",
|
|
282
234
|
INFERENCE_ACCELERATOR: "InferenceAccelerator",
|
|
@@ -356,31 +308,13 @@ export const EFSTransitEncryption = {
|
|
|
356
308
|
DISABLED: "DISABLED",
|
|
357
309
|
ENABLED: "ENABLED",
|
|
358
310
|
};
|
|
359
|
-
export const
|
|
360
|
-
IMPAIRED: "IMPAIRED",
|
|
361
|
-
INITIALIZING: "INITIALIZING",
|
|
362
|
-
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
363
|
-
OK: "OK",
|
|
364
|
-
};
|
|
365
|
-
export const InstanceHealthCheckType = {
|
|
366
|
-
CONTAINER_RUNTIME: "CONTAINER_RUNTIME",
|
|
367
|
-
};
|
|
368
|
-
export const CapacityProviderField = {
|
|
369
|
-
TAGS: "TAGS",
|
|
370
|
-
};
|
|
371
|
-
export const ClusterField = {
|
|
372
|
-
ATTACHMENTS: "ATTACHMENTS",
|
|
373
|
-
CONFIGURATIONS: "CONFIGURATIONS",
|
|
374
|
-
SETTINGS: "SETTINGS",
|
|
375
|
-
STATISTICS: "STATISTICS",
|
|
376
|
-
TAGS: "TAGS",
|
|
377
|
-
};
|
|
378
|
-
export const ContainerInstanceField = {
|
|
379
|
-
CONTAINER_INSTANCE_HEALTH: "CONTAINER_INSTANCE_HEALTH",
|
|
311
|
+
export const TaskDefinitionField = {
|
|
380
312
|
TAGS: "TAGS",
|
|
381
313
|
};
|
|
382
|
-
export const
|
|
383
|
-
|
|
314
|
+
export const TaskDefinitionFamilyStatus = {
|
|
315
|
+
ACTIVE: "ACTIVE",
|
|
316
|
+
ALL: "ALL",
|
|
317
|
+
INACTIVE: "INACTIVE",
|
|
384
318
|
};
|
|
385
319
|
export const ServiceDeploymentRollbackMonitorsStatus = {
|
|
386
320
|
DISABLED: "DISABLED",
|
|
@@ -388,6 +322,21 @@ export const ServiceDeploymentRollbackMonitorsStatus = {
|
|
|
388
322
|
MONITORING_COMPLETE: "MONITORING_COMPLETE",
|
|
389
323
|
TRIGGERED: "TRIGGERED",
|
|
390
324
|
};
|
|
325
|
+
export const DeploymentLifecycleHookStage = {
|
|
326
|
+
POST_PRODUCTION_TRAFFIC_SHIFT: "POST_PRODUCTION_TRAFFIC_SHIFT",
|
|
327
|
+
POST_SCALE_UP: "POST_SCALE_UP",
|
|
328
|
+
POST_TEST_TRAFFIC_SHIFT: "POST_TEST_TRAFFIC_SHIFT",
|
|
329
|
+
PRE_SCALE_UP: "PRE_SCALE_UP",
|
|
330
|
+
PRODUCTION_TRAFFIC_SHIFT: "PRODUCTION_TRAFFIC_SHIFT",
|
|
331
|
+
RECONCILE_SERVICE: "RECONCILE_SERVICE",
|
|
332
|
+
TEST_TRAFFIC_SHIFT: "TEST_TRAFFIC_SHIFT",
|
|
333
|
+
};
|
|
334
|
+
export const DeploymentStrategy = {
|
|
335
|
+
BLUE_GREEN: "BLUE_GREEN",
|
|
336
|
+
CANARY: "CANARY",
|
|
337
|
+
LINEAR: "LINEAR",
|
|
338
|
+
ROLLING: "ROLLING",
|
|
339
|
+
};
|
|
391
340
|
export const ServiceDeploymentLifecycleStage = {
|
|
392
341
|
BAKE_TIME: "BAKE_TIME",
|
|
393
342
|
CLEAN_UP: "CLEAN_UP",
|
|
@@ -411,6 +360,90 @@ export const ServiceDeploymentStatus = {
|
|
|
411
360
|
STOP_REQUESTED: "STOP_REQUESTED",
|
|
412
361
|
SUCCESSFUL: "SUCCESSFUL",
|
|
413
362
|
};
|
|
363
|
+
export const ExpressGatewayServiceScalingMetric = {
|
|
364
|
+
AverageCPUUtilization: "AVERAGE_CPU",
|
|
365
|
+
AverageMemoryUtilization: "AVERAGE_MEMORY",
|
|
366
|
+
RequestCountPerTarget: "REQUEST_COUNT_PER_TARGET",
|
|
367
|
+
};
|
|
368
|
+
export const ExpressGatewayServiceStatusCode = {
|
|
369
|
+
ACTIVE: "ACTIVE",
|
|
370
|
+
DRAINING: "DRAINING",
|
|
371
|
+
INACTIVE: "INACTIVE",
|
|
372
|
+
};
|
|
373
|
+
export const AvailabilityZoneRebalancing = {
|
|
374
|
+
DISABLED: "DISABLED",
|
|
375
|
+
ENABLED: "ENABLED",
|
|
376
|
+
};
|
|
377
|
+
export const DeploymentControllerType = {
|
|
378
|
+
CODE_DEPLOY: "CODE_DEPLOY",
|
|
379
|
+
ECS: "ECS",
|
|
380
|
+
EXTERNAL: "EXTERNAL",
|
|
381
|
+
};
|
|
382
|
+
export const AssignPublicIp = {
|
|
383
|
+
DISABLED: "DISABLED",
|
|
384
|
+
ENABLED: "ENABLED",
|
|
385
|
+
};
|
|
386
|
+
export const PlacementConstraintType = {
|
|
387
|
+
DISTINCT_INSTANCE: "distinctInstance",
|
|
388
|
+
MEMBER_OF: "memberOf",
|
|
389
|
+
};
|
|
390
|
+
export const PlacementStrategyType = {
|
|
391
|
+
BINPACK: "binpack",
|
|
392
|
+
RANDOM: "random",
|
|
393
|
+
SPREAD: "spread",
|
|
394
|
+
};
|
|
395
|
+
export const PropagateTags = {
|
|
396
|
+
NONE: "NONE",
|
|
397
|
+
SERVICE: "SERVICE",
|
|
398
|
+
TASK_DEFINITION: "TASK_DEFINITION",
|
|
399
|
+
};
|
|
400
|
+
export const SchedulingStrategy = {
|
|
401
|
+
DAEMON: "DAEMON",
|
|
402
|
+
REPLICA: "REPLICA",
|
|
403
|
+
};
|
|
404
|
+
export const ServiceConnectAccessLoggingFormat = {
|
|
405
|
+
JSON: "JSON",
|
|
406
|
+
TEXT: "TEXT",
|
|
407
|
+
};
|
|
408
|
+
export const ServiceConnectIncludeQueryParameters = {
|
|
409
|
+
DISABLED: "DISABLED",
|
|
410
|
+
ENABLED: "ENABLED",
|
|
411
|
+
};
|
|
412
|
+
export const TaskFilesystemType = {
|
|
413
|
+
EXT3: "ext3",
|
|
414
|
+
EXT4: "ext4",
|
|
415
|
+
NTFS: "ntfs",
|
|
416
|
+
XFS: "xfs",
|
|
417
|
+
};
|
|
418
|
+
export const EBSResourceType = {
|
|
419
|
+
VOLUME: "volume",
|
|
420
|
+
};
|
|
421
|
+
export const DeploymentRolloutState = {
|
|
422
|
+
COMPLETED: "COMPLETED",
|
|
423
|
+
FAILED: "FAILED",
|
|
424
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
425
|
+
};
|
|
426
|
+
export const ResourceManagementType = {
|
|
427
|
+
CUSTOMER: "CUSTOMER",
|
|
428
|
+
ECS: "ECS",
|
|
429
|
+
};
|
|
430
|
+
export const ScaleUnit = {
|
|
431
|
+
PERCENT: "PERCENT",
|
|
432
|
+
};
|
|
433
|
+
export const StabilityStatus = {
|
|
434
|
+
STABILIZING: "STABILIZING",
|
|
435
|
+
STEADY_STATE: "STEADY_STATE",
|
|
436
|
+
};
|
|
437
|
+
export const ExpressGatewayServiceInclude = {
|
|
438
|
+
TAGS: "TAGS",
|
|
439
|
+
};
|
|
440
|
+
export const ServiceField = {
|
|
441
|
+
TAGS: "TAGS",
|
|
442
|
+
};
|
|
443
|
+
export const StopServiceDeploymentStopType = {
|
|
444
|
+
ABORT: "ABORT",
|
|
445
|
+
ROLLBACK: "ROLLBACK",
|
|
446
|
+
};
|
|
414
447
|
export const ManagedResourceStatus = {
|
|
415
448
|
ACTIVE: "ACTIVE",
|
|
416
449
|
DELETED: "DELETED",
|
|
@@ -418,11 +451,9 @@ export const ManagedResourceStatus = {
|
|
|
418
451
|
FAILED: "FAILED",
|
|
419
452
|
PROVISIONING: "PROVISIONING",
|
|
420
453
|
};
|
|
421
|
-
export const
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
export const TaskDefinitionField = {
|
|
425
|
-
TAGS: "TAGS",
|
|
454
|
+
export const SortOrder = {
|
|
455
|
+
ASC: "ASC",
|
|
456
|
+
DESC: "DESC",
|
|
426
457
|
};
|
|
427
458
|
export const TaskField = {
|
|
428
459
|
TAGS: "TAGS",
|
|
@@ -436,9 +467,6 @@ export const HealthStatus = {
|
|
|
436
467
|
UNHEALTHY: "UNHEALTHY",
|
|
437
468
|
UNKNOWN: "UNKNOWN",
|
|
438
469
|
};
|
|
439
|
-
export const ManagedAgentName = {
|
|
440
|
-
ExecuteCommandAgent: "ExecuteCommandAgent",
|
|
441
|
-
};
|
|
442
470
|
export const TaskStopCode = {
|
|
443
471
|
ESSENTIAL_CONTAINER_EXITED: "EssentialContainerExited",
|
|
444
472
|
SERVICE_SCHEDULER_INITIATED: "ServiceSchedulerInitiated",
|
|
@@ -450,31 +478,3 @@ export const TaskStopCode = {
|
|
|
450
478
|
export const TaskSetField = {
|
|
451
479
|
TAGS: "TAGS",
|
|
452
480
|
};
|
|
453
|
-
export const ContainerInstanceStatus = {
|
|
454
|
-
ACTIVE: "ACTIVE",
|
|
455
|
-
DEREGISTERING: "DEREGISTERING",
|
|
456
|
-
DRAINING: "DRAINING",
|
|
457
|
-
REGISTERING: "REGISTERING",
|
|
458
|
-
REGISTRATION_FAILED: "REGISTRATION_FAILED",
|
|
459
|
-
};
|
|
460
|
-
export const TaskDefinitionFamilyStatus = {
|
|
461
|
-
ACTIVE: "ACTIVE",
|
|
462
|
-
ALL: "ALL",
|
|
463
|
-
INACTIVE: "INACTIVE",
|
|
464
|
-
};
|
|
465
|
-
export const SortOrder = {
|
|
466
|
-
ASC: "ASC",
|
|
467
|
-
DESC: "DESC",
|
|
468
|
-
};
|
|
469
|
-
export const DesiredStatus = {
|
|
470
|
-
PENDING: "PENDING",
|
|
471
|
-
RUNNING: "RUNNING",
|
|
472
|
-
STOPPED: "STOPPED",
|
|
473
|
-
};
|
|
474
|
-
export const PlatformDeviceType = {
|
|
475
|
-
GPU: "GPU",
|
|
476
|
-
};
|
|
477
|
-
export const StopServiceDeploymentStopType = {
|
|
478
|
-
ABORT: "ABORT",
|
|
479
|
-
ROLLBACK: "ROLLBACK",
|
|
480
|
-
};
|
package/dist-es/models/errors.js
CHANGED
|
@@ -107,184 +107,184 @@ export class NamespaceNotFoundException extends __BaseException {
|
|
|
107
107
|
Object.setPrototypeOf(this, NamespaceNotFoundException.prototype);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
export class
|
|
111
|
-
name = "
|
|
110
|
+
export class ClusterContainsCapacityProviderException extends __BaseException {
|
|
111
|
+
name = "ClusterContainsCapacityProviderException";
|
|
112
112
|
$fault = "client";
|
|
113
113
|
constructor(opts) {
|
|
114
114
|
super({
|
|
115
|
-
name: "
|
|
115
|
+
name: "ClusterContainsCapacityProviderException",
|
|
116
116
|
$fault: "client",
|
|
117
117
|
...opts,
|
|
118
118
|
});
|
|
119
|
-
Object.setPrototypeOf(this,
|
|
119
|
+
Object.setPrototypeOf(this, ClusterContainsCapacityProviderException.prototype);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
export class
|
|
123
|
-
name = "
|
|
122
|
+
export class ClusterContainsContainerInstancesException extends __BaseException {
|
|
123
|
+
name = "ClusterContainsContainerInstancesException";
|
|
124
124
|
$fault = "client";
|
|
125
125
|
constructor(opts) {
|
|
126
126
|
super({
|
|
127
|
-
name: "
|
|
127
|
+
name: "ClusterContainsContainerInstancesException",
|
|
128
128
|
$fault: "client",
|
|
129
129
|
...opts,
|
|
130
130
|
});
|
|
131
|
-
Object.setPrototypeOf(this,
|
|
131
|
+
Object.setPrototypeOf(this, ClusterContainsContainerInstancesException.prototype);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
export class
|
|
135
|
-
name = "
|
|
134
|
+
export class ClusterContainsServicesException extends __BaseException {
|
|
135
|
+
name = "ClusterContainsServicesException";
|
|
136
136
|
$fault = "client";
|
|
137
137
|
constructor(opts) {
|
|
138
138
|
super({
|
|
139
|
-
name: "
|
|
139
|
+
name: "ClusterContainsServicesException",
|
|
140
140
|
$fault: "client",
|
|
141
141
|
...opts,
|
|
142
142
|
});
|
|
143
|
-
Object.setPrototypeOf(this,
|
|
143
|
+
Object.setPrototypeOf(this, ClusterContainsServicesException.prototype);
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
|
-
export class
|
|
147
|
-
name = "
|
|
146
|
+
export class ClusterContainsTasksException extends __BaseException {
|
|
147
|
+
name = "ClusterContainsTasksException";
|
|
148
148
|
$fault = "client";
|
|
149
149
|
constructor(opts) {
|
|
150
150
|
super({
|
|
151
|
-
name: "
|
|
151
|
+
name: "ClusterContainsTasksException",
|
|
152
152
|
$fault: "client",
|
|
153
153
|
...opts,
|
|
154
154
|
});
|
|
155
|
-
Object.setPrototypeOf(this,
|
|
155
|
+
Object.setPrototypeOf(this, ClusterContainsTasksException.prototype);
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
export class
|
|
159
|
-
name = "
|
|
158
|
+
export class TargetNotConnectedException extends __BaseException {
|
|
159
|
+
name = "TargetNotConnectedException";
|
|
160
160
|
$fault = "client";
|
|
161
161
|
constructor(opts) {
|
|
162
162
|
super({
|
|
163
|
-
name: "
|
|
163
|
+
name: "TargetNotConnectedException",
|
|
164
164
|
$fault: "client",
|
|
165
165
|
...opts,
|
|
166
166
|
});
|
|
167
|
-
Object.setPrototypeOf(this,
|
|
167
|
+
Object.setPrototypeOf(this, TargetNotConnectedException.prototype);
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
export class
|
|
171
|
-
name = "
|
|
170
|
+
export class ResourceInUseException extends __BaseException {
|
|
171
|
+
name = "ResourceInUseException";
|
|
172
172
|
$fault = "client";
|
|
173
173
|
constructor(opts) {
|
|
174
174
|
super({
|
|
175
|
-
name: "
|
|
175
|
+
name: "ResourceInUseException",
|
|
176
176
|
$fault: "client",
|
|
177
177
|
...opts,
|
|
178
178
|
});
|
|
179
|
-
Object.setPrototypeOf(this,
|
|
179
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
export class
|
|
183
|
-
name = "
|
|
182
|
+
export class TargetNotFoundException extends __BaseException {
|
|
183
|
+
name = "TargetNotFoundException";
|
|
184
184
|
$fault = "client";
|
|
185
185
|
constructor(opts) {
|
|
186
186
|
super({
|
|
187
|
-
name: "
|
|
187
|
+
name: "TargetNotFoundException",
|
|
188
188
|
$fault: "client",
|
|
189
189
|
...opts,
|
|
190
190
|
});
|
|
191
|
-
Object.setPrototypeOf(this,
|
|
191
|
+
Object.setPrototypeOf(this, TargetNotFoundException.prototype);
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
export class
|
|
195
|
-
name = "
|
|
194
|
+
export class ServiceNotFoundException extends __BaseException {
|
|
195
|
+
name = "ServiceNotFoundException";
|
|
196
196
|
$fault = "client";
|
|
197
197
|
constructor(opts) {
|
|
198
198
|
super({
|
|
199
|
-
name: "
|
|
199
|
+
name: "ServiceNotFoundException",
|
|
200
200
|
$fault: "client",
|
|
201
201
|
...opts,
|
|
202
202
|
});
|
|
203
|
-
Object.setPrototypeOf(this,
|
|
203
|
+
Object.setPrototypeOf(this, ServiceNotFoundException.prototype);
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
export class
|
|
207
|
-
name = "
|
|
206
|
+
export class AttributeLimitExceededException extends __BaseException {
|
|
207
|
+
name = "AttributeLimitExceededException";
|
|
208
208
|
$fault = "client";
|
|
209
209
|
constructor(opts) {
|
|
210
210
|
super({
|
|
211
|
-
name: "
|
|
211
|
+
name: "AttributeLimitExceededException",
|
|
212
212
|
$fault: "client",
|
|
213
213
|
...opts,
|
|
214
214
|
});
|
|
215
|
-
Object.setPrototypeOf(this,
|
|
215
|
+
Object.setPrototypeOf(this, AttributeLimitExceededException.prototype);
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
export class
|
|
219
|
-
name = "
|
|
218
|
+
export class MissingVersionException extends __BaseException {
|
|
219
|
+
name = "MissingVersionException";
|
|
220
220
|
$fault = "client";
|
|
221
221
|
constructor(opts) {
|
|
222
222
|
super({
|
|
223
|
-
name: "
|
|
223
|
+
name: "MissingVersionException",
|
|
224
224
|
$fault: "client",
|
|
225
225
|
...opts,
|
|
226
226
|
});
|
|
227
|
-
Object.setPrototypeOf(this,
|
|
227
|
+
Object.setPrototypeOf(this, MissingVersionException.prototype);
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
export class
|
|
231
|
-
name = "
|
|
230
|
+
export class NoUpdateAvailableException extends __BaseException {
|
|
231
|
+
name = "NoUpdateAvailableException";
|
|
232
232
|
$fault = "client";
|
|
233
233
|
constructor(opts) {
|
|
234
234
|
super({
|
|
235
|
-
name: "
|
|
235
|
+
name: "NoUpdateAvailableException",
|
|
236
236
|
$fault: "client",
|
|
237
237
|
...opts,
|
|
238
238
|
});
|
|
239
|
-
Object.setPrototypeOf(this,
|
|
239
|
+
Object.setPrototypeOf(this, NoUpdateAvailableException.prototype);
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
|
-
export class
|
|
243
|
-
name = "
|
|
242
|
+
export class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
|
|
243
|
+
name = "PlatformTaskDefinitionIncompatibilityException";
|
|
244
244
|
$fault = "client";
|
|
245
245
|
constructor(opts) {
|
|
246
246
|
super({
|
|
247
|
-
name: "
|
|
247
|
+
name: "PlatformTaskDefinitionIncompatibilityException",
|
|
248
248
|
$fault: "client",
|
|
249
249
|
...opts,
|
|
250
250
|
});
|
|
251
|
-
Object.setPrototypeOf(this,
|
|
251
|
+
Object.setPrototypeOf(this, PlatformTaskDefinitionIncompatibilityException.prototype);
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
|
-
export class
|
|
255
|
-
name = "
|
|
254
|
+
export class PlatformUnknownException extends __BaseException {
|
|
255
|
+
name = "PlatformUnknownException";
|
|
256
256
|
$fault = "client";
|
|
257
257
|
constructor(opts) {
|
|
258
258
|
super({
|
|
259
|
-
name: "
|
|
259
|
+
name: "PlatformUnknownException",
|
|
260
260
|
$fault: "client",
|
|
261
261
|
...opts,
|
|
262
262
|
});
|
|
263
|
-
Object.setPrototypeOf(this,
|
|
263
|
+
Object.setPrototypeOf(this, PlatformUnknownException.prototype);
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
export class
|
|
267
|
-
name = "
|
|
266
|
+
export class ServiceNotActiveException extends __BaseException {
|
|
267
|
+
name = "ServiceNotActiveException";
|
|
268
268
|
$fault = "client";
|
|
269
269
|
constructor(opts) {
|
|
270
270
|
super({
|
|
271
|
-
name: "
|
|
271
|
+
name: "ServiceNotActiveException",
|
|
272
272
|
$fault: "client",
|
|
273
273
|
...opts,
|
|
274
274
|
});
|
|
275
|
-
Object.setPrototypeOf(this,
|
|
275
|
+
Object.setPrototypeOf(this, ServiceNotActiveException.prototype);
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
export class
|
|
279
|
-
name = "
|
|
278
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
279
|
+
name = "ResourceNotFoundException";
|
|
280
280
|
$fault = "client";
|
|
281
281
|
constructor(opts) {
|
|
282
282
|
super({
|
|
283
|
-
name: "
|
|
283
|
+
name: "ResourceNotFoundException",
|
|
284
284
|
$fault: "client",
|
|
285
285
|
...opts,
|
|
286
286
|
});
|
|
287
|
-
Object.setPrototypeOf(this,
|
|
287
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
export class ConflictException extends __BaseException {
|
|
@@ -313,27 +313,27 @@ export class ServiceDeploymentNotFoundException extends __BaseException {
|
|
|
313
313
|
Object.setPrototypeOf(this, ServiceDeploymentNotFoundException.prototype);
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
-
export class
|
|
317
|
-
name = "
|
|
316
|
+
export class TaskSetNotFoundException extends __BaseException {
|
|
317
|
+
name = "TaskSetNotFoundException";
|
|
318
318
|
$fault = "client";
|
|
319
319
|
constructor(opts) {
|
|
320
320
|
super({
|
|
321
|
-
name: "
|
|
321
|
+
name: "TaskSetNotFoundException",
|
|
322
322
|
$fault: "client",
|
|
323
323
|
...opts,
|
|
324
324
|
});
|
|
325
|
-
Object.setPrototypeOf(this,
|
|
325
|
+
Object.setPrototypeOf(this, TaskSetNotFoundException.prototype);
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
export class
|
|
329
|
-
name = "
|
|
328
|
+
export class BlockedException extends __BaseException {
|
|
329
|
+
name = "BlockedException";
|
|
330
330
|
$fault = "client";
|
|
331
331
|
constructor(opts) {
|
|
332
332
|
super({
|
|
333
|
-
name: "
|
|
333
|
+
name: "BlockedException",
|
|
334
334
|
$fault: "client",
|
|
335
335
|
...opts,
|
|
336
336
|
});
|
|
337
|
-
Object.setPrototypeOf(this,
|
|
337
|
+
Object.setPrototypeOf(this, BlockedException.prototype);
|
|
338
338
|
}
|
|
339
339
|
}
|