@aws-sdk/client-ecs 3.899.0 → 3.901.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/index.js +395 -65
- package/dist-es/models/models_0.js +111 -93
- package/dist-es/models/models_1.js +69 -0
- package/dist-es/protocols/Aws_json1_1.js +227 -14
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +188 -9
- package/dist-types/commands/CreateServiceCommand.d.ts +4 -4
- package/dist-types/commands/CreateTaskSetCommand.d.ts +2 -2
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +99 -2
- package/dist-types/commands/DeleteClusterCommand.d.ts +3 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +99 -2
- package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeServicesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListServicesCommand.d.ts +1 -1
- package/dist-types/commands/ListTasksCommand.d.ts +1 -1
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
- package/dist-types/commands/PutAttributesCommand.d.ts +1 -1
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +2 -1
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -1
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +4 -4
- package/dist-types/commands/RunTaskCommand.d.ts +3 -3
- package/dist-types/commands/StartTaskCommand.d.ts +2 -2
- package/dist-types/commands/StopServiceDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/StopTaskCommand.d.ts +2 -3
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +188 -2
- package/dist-types/commands/UpdateServiceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +8091 -8904
- package/dist-types/models/models_1.d.ts +1488 -2
- package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopServiceDeploymentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +217 -205
- package/dist-types/ts3.4/models/models_1.d.ts +233 -1
- package/package.json +39 -39
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ECSServiceException as __BaseException } from "./ECSServiceException";
|
|
3
|
+
export const AcceleratorManufacturer = {
|
|
4
|
+
AMAZON_WEB_SERVICES: "amazon-web-services",
|
|
5
|
+
AMD: "amd",
|
|
6
|
+
HABANA: "habana",
|
|
7
|
+
NVIDIA: "nvidia",
|
|
8
|
+
XILINX: "xilinx",
|
|
9
|
+
};
|
|
10
|
+
export const AcceleratorName = {
|
|
11
|
+
A100: "a100",
|
|
12
|
+
A10G: "a10g",
|
|
13
|
+
H100: "h100",
|
|
14
|
+
INFERENTIA: "inferentia",
|
|
15
|
+
K520: "k520",
|
|
16
|
+
K80: "k80",
|
|
17
|
+
M60: "m60",
|
|
18
|
+
RADEON_PRO_V520: "radeon-pro-v520",
|
|
19
|
+
T4: "t4",
|
|
20
|
+
T4G: "t4g",
|
|
21
|
+
V100: "v100",
|
|
22
|
+
VU9P: "vu9p",
|
|
23
|
+
};
|
|
24
|
+
export const AcceleratorType = {
|
|
25
|
+
FPGA: "fpga",
|
|
26
|
+
GPU: "gpu",
|
|
27
|
+
INFERENCE: "inference",
|
|
28
|
+
};
|
|
3
29
|
export class AccessDeniedException extends __BaseException {
|
|
4
30
|
name = "AccessDeniedException";
|
|
5
31
|
$fault = "client";
|
|
@@ -32,6 +58,18 @@ export class ClientException extends __BaseException {
|
|
|
32
58
|
Object.setPrototypeOf(this, ClientException.prototype);
|
|
33
59
|
}
|
|
34
60
|
}
|
|
61
|
+
export class ClusterNotFoundException extends __BaseException {
|
|
62
|
+
name = "ClusterNotFoundException";
|
|
63
|
+
$fault = "client";
|
|
64
|
+
constructor(opts) {
|
|
65
|
+
super({
|
|
66
|
+
name: "ClusterNotFoundException",
|
|
67
|
+
$fault: "client",
|
|
68
|
+
...opts,
|
|
69
|
+
});
|
|
70
|
+
Object.setPrototypeOf(this, ClusterNotFoundException.prototype);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
35
73
|
export const ManagedDraining = {
|
|
36
74
|
DISABLED: "DISABLED",
|
|
37
75
|
ENABLED: "ENABLED",
|
|
@@ -44,11 +82,58 @@ export const ManagedTerminationProtection = {
|
|
|
44
82
|
DISABLED: "DISABLED",
|
|
45
83
|
ENABLED: "ENABLED",
|
|
46
84
|
};
|
|
85
|
+
export const BareMetal = {
|
|
86
|
+
EXCLUDED: "excluded",
|
|
87
|
+
INCLUDED: "included",
|
|
88
|
+
REQUIRED: "required",
|
|
89
|
+
};
|
|
90
|
+
export const BurstablePerformance = {
|
|
91
|
+
EXCLUDED: "excluded",
|
|
92
|
+
INCLUDED: "included",
|
|
93
|
+
REQUIRED: "required",
|
|
94
|
+
};
|
|
95
|
+
export const CpuManufacturer = {
|
|
96
|
+
AMAZON_WEB_SERVICES: "amazon-web-services",
|
|
97
|
+
AMD: "amd",
|
|
98
|
+
INTEL: "intel",
|
|
99
|
+
};
|
|
100
|
+
export const InstanceGeneration = {
|
|
101
|
+
CURRENT: "current",
|
|
102
|
+
PREVIOUS: "previous",
|
|
103
|
+
};
|
|
104
|
+
export const LocalStorage = {
|
|
105
|
+
EXCLUDED: "excluded",
|
|
106
|
+
INCLUDED: "included",
|
|
107
|
+
REQUIRED: "required",
|
|
108
|
+
};
|
|
109
|
+
export const LocalStorageType = {
|
|
110
|
+
HDD: "hdd",
|
|
111
|
+
SSD: "ssd",
|
|
112
|
+
};
|
|
113
|
+
export const ManagedInstancesMonitoringOptions = {
|
|
114
|
+
BASIC: "BASIC",
|
|
115
|
+
DETAILED: "DETAILED",
|
|
116
|
+
};
|
|
117
|
+
export const PropagateMITags = {
|
|
118
|
+
CAPACITY_PROVIDER: "CAPACITY_PROVIDER",
|
|
119
|
+
NONE: "NONE",
|
|
120
|
+
};
|
|
47
121
|
export const CapacityProviderStatus = {
|
|
48
122
|
ACTIVE: "ACTIVE",
|
|
123
|
+
DEPROVISIONING: "DEPROVISIONING",
|
|
49
124
|
INACTIVE: "INACTIVE",
|
|
125
|
+
PROVISIONING: "PROVISIONING",
|
|
126
|
+
};
|
|
127
|
+
export const CapacityProviderType = {
|
|
128
|
+
EC2_AUTOSCALING: "EC2_AUTOSCALING",
|
|
129
|
+
FARGATE: "FARGATE",
|
|
130
|
+
FARGATE_SPOT: "FARGATE_SPOT",
|
|
131
|
+
MANAGED_INSTANCES: "MANAGED_INSTANCES",
|
|
50
132
|
};
|
|
51
133
|
export const CapacityProviderUpdateStatus = {
|
|
134
|
+
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
135
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
136
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
52
137
|
DELETE_COMPLETE: "DELETE_COMPLETE",
|
|
53
138
|
DELETE_FAILED: "DELETE_FAILED",
|
|
54
139
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
@@ -92,6 +177,18 @@ export class ServerException extends __BaseException {
|
|
|
92
177
|
Object.setPrototypeOf(this, ServerException.prototype);
|
|
93
178
|
}
|
|
94
179
|
}
|
|
180
|
+
export class UnsupportedFeatureException extends __BaseException {
|
|
181
|
+
name = "UnsupportedFeatureException";
|
|
182
|
+
$fault = "client";
|
|
183
|
+
constructor(opts) {
|
|
184
|
+
super({
|
|
185
|
+
name: "UnsupportedFeatureException",
|
|
186
|
+
$fault: "client",
|
|
187
|
+
...opts,
|
|
188
|
+
});
|
|
189
|
+
Object.setPrototypeOf(this, UnsupportedFeatureException.prototype);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
95
192
|
export class UpdateInProgressException extends __BaseException {
|
|
96
193
|
name = "UpdateInProgressException";
|
|
97
194
|
$fault = "client";
|
|
@@ -124,18 +221,6 @@ export class NamespaceNotFoundException extends __BaseException {
|
|
|
124
221
|
Object.setPrototypeOf(this, NamespaceNotFoundException.prototype);
|
|
125
222
|
}
|
|
126
223
|
}
|
|
127
|
-
export class ClusterNotFoundException extends __BaseException {
|
|
128
|
-
name = "ClusterNotFoundException";
|
|
129
|
-
$fault = "client";
|
|
130
|
-
constructor(opts) {
|
|
131
|
-
super({
|
|
132
|
-
name: "ClusterNotFoundException",
|
|
133
|
-
$fault: "client",
|
|
134
|
-
...opts,
|
|
135
|
-
});
|
|
136
|
-
Object.setPrototypeOf(this, ClusterNotFoundException.prototype);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
224
|
export const AvailabilityZoneRebalancing = {
|
|
140
225
|
DISABLED: "DISABLED",
|
|
141
226
|
ENABLED: "ENABLED",
|
|
@@ -162,6 +247,7 @@ export const LaunchType = {
|
|
|
162
247
|
EC2: "EC2",
|
|
163
248
|
EXTERNAL: "EXTERNAL",
|
|
164
249
|
FARGATE: "FARGATE",
|
|
250
|
+
MANAGED_INSTANCES: "MANAGED_INSTANCES",
|
|
165
251
|
};
|
|
166
252
|
export const AssignPublicIp = {
|
|
167
253
|
DISABLED: "DISABLED",
|
|
@@ -240,18 +326,6 @@ export class PlatformUnknownException extends __BaseException {
|
|
|
240
326
|
Object.setPrototypeOf(this, PlatformUnknownException.prototype);
|
|
241
327
|
}
|
|
242
328
|
}
|
|
243
|
-
export class UnsupportedFeatureException extends __BaseException {
|
|
244
|
-
name = "UnsupportedFeatureException";
|
|
245
|
-
$fault = "client";
|
|
246
|
-
constructor(opts) {
|
|
247
|
-
super({
|
|
248
|
-
name: "UnsupportedFeatureException",
|
|
249
|
-
$fault: "client",
|
|
250
|
-
...opts,
|
|
251
|
-
});
|
|
252
|
-
Object.setPrototypeOf(this, UnsupportedFeatureException.prototype);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
329
|
export class ServiceNotActiveException extends __BaseException {
|
|
256
330
|
name = "ServiceNotActiveException";
|
|
257
331
|
$fault = "client";
|
|
@@ -307,6 +381,18 @@ export class TargetNotFoundException extends __BaseException {
|
|
|
307
381
|
Object.setPrototypeOf(this, TargetNotFoundException.prototype);
|
|
308
382
|
}
|
|
309
383
|
}
|
|
384
|
+
export class ClusterContainsCapacityProviderException extends __BaseException {
|
|
385
|
+
name = "ClusterContainsCapacityProviderException";
|
|
386
|
+
$fault = "client";
|
|
387
|
+
constructor(opts) {
|
|
388
|
+
super({
|
|
389
|
+
name: "ClusterContainsCapacityProviderException",
|
|
390
|
+
$fault: "client",
|
|
391
|
+
...opts,
|
|
392
|
+
});
|
|
393
|
+
Object.setPrototypeOf(this, ClusterContainsCapacityProviderException.prototype);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
310
396
|
export class ClusterContainsContainerInstancesException extends __BaseException {
|
|
311
397
|
name = "ClusterContainsContainerInstancesException";
|
|
312
398
|
$fault = "client";
|
|
@@ -347,6 +433,7 @@ export const Compatibility = {
|
|
|
347
433
|
EC2: "EC2",
|
|
348
434
|
EXTERNAL: "EXTERNAL",
|
|
349
435
|
FARGATE: "FARGATE",
|
|
436
|
+
MANAGED_INSTANCES: "MANAGED_INSTANCES",
|
|
350
437
|
};
|
|
351
438
|
export const ContainerCondition = {
|
|
352
439
|
COMPLETE: "COMPLETE",
|
|
@@ -595,75 +682,6 @@ export const DesiredStatus = {
|
|
|
595
682
|
RUNNING: "RUNNING",
|
|
596
683
|
STOPPED: "STOPPED",
|
|
597
684
|
};
|
|
598
|
-
export class AttributeLimitExceededException extends __BaseException {
|
|
599
|
-
name = "AttributeLimitExceededException";
|
|
600
|
-
$fault = "client";
|
|
601
|
-
constructor(opts) {
|
|
602
|
-
super({
|
|
603
|
-
name: "AttributeLimitExceededException",
|
|
604
|
-
$fault: "client",
|
|
605
|
-
...opts,
|
|
606
|
-
});
|
|
607
|
-
Object.setPrototypeOf(this, AttributeLimitExceededException.prototype);
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
export class ResourceInUseException extends __BaseException {
|
|
611
|
-
name = "ResourceInUseException";
|
|
612
|
-
$fault = "client";
|
|
613
|
-
constructor(opts) {
|
|
614
|
-
super({
|
|
615
|
-
name: "ResourceInUseException",
|
|
616
|
-
$fault: "client",
|
|
617
|
-
...opts,
|
|
618
|
-
});
|
|
619
|
-
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
export const PlatformDeviceType = {
|
|
623
|
-
GPU: "GPU",
|
|
624
|
-
};
|
|
625
|
-
export class BlockedException extends __BaseException {
|
|
626
|
-
name = "BlockedException";
|
|
627
|
-
$fault = "client";
|
|
628
|
-
constructor(opts) {
|
|
629
|
-
super({
|
|
630
|
-
name: "BlockedException",
|
|
631
|
-
$fault: "client",
|
|
632
|
-
...opts,
|
|
633
|
-
});
|
|
634
|
-
Object.setPrototypeOf(this, BlockedException.prototype);
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
export class ConflictException extends __BaseException {
|
|
638
|
-
name = "ConflictException";
|
|
639
|
-
$fault = "client";
|
|
640
|
-
resourceIds;
|
|
641
|
-
constructor(opts) {
|
|
642
|
-
super({
|
|
643
|
-
name: "ConflictException",
|
|
644
|
-
$fault: "client",
|
|
645
|
-
...opts,
|
|
646
|
-
});
|
|
647
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
648
|
-
this.resourceIds = opts.resourceIds;
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
export class ServiceDeploymentNotFoundException extends __BaseException {
|
|
652
|
-
name = "ServiceDeploymentNotFoundException";
|
|
653
|
-
$fault = "client";
|
|
654
|
-
constructor(opts) {
|
|
655
|
-
super({
|
|
656
|
-
name: "ServiceDeploymentNotFoundException",
|
|
657
|
-
$fault: "client",
|
|
658
|
-
...opts,
|
|
659
|
-
});
|
|
660
|
-
Object.setPrototypeOf(this, ServiceDeploymentNotFoundException.prototype);
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
export const StopServiceDeploymentStopType = {
|
|
664
|
-
ABORT: "ABORT",
|
|
665
|
-
ROLLBACK: "ROLLBACK",
|
|
666
|
-
};
|
|
667
685
|
export const SessionFilterSensitiveLog = (obj) => ({
|
|
668
686
|
...obj,
|
|
669
687
|
...(obj.tokenValue && { tokenValue: SENSITIVE_STRING }),
|
|
@@ -1,4 +1,73 @@
|
|
|
1
1
|
import { ECSServiceException as __BaseException } from "./ECSServiceException";
|
|
2
|
+
export class AttributeLimitExceededException extends __BaseException {
|
|
3
|
+
name = "AttributeLimitExceededException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AttributeLimitExceededException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AttributeLimitExceededException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ResourceInUseException extends __BaseException {
|
|
15
|
+
name = "ResourceInUseException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ResourceInUseException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export const PlatformDeviceType = {
|
|
27
|
+
GPU: "GPU",
|
|
28
|
+
};
|
|
29
|
+
export class BlockedException extends __BaseException {
|
|
30
|
+
name = "BlockedException";
|
|
31
|
+
$fault = "client";
|
|
32
|
+
constructor(opts) {
|
|
33
|
+
super({
|
|
34
|
+
name: "BlockedException",
|
|
35
|
+
$fault: "client",
|
|
36
|
+
...opts,
|
|
37
|
+
});
|
|
38
|
+
Object.setPrototypeOf(this, BlockedException.prototype);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export class ConflictException extends __BaseException {
|
|
42
|
+
name = "ConflictException";
|
|
43
|
+
$fault = "client";
|
|
44
|
+
resourceIds;
|
|
45
|
+
constructor(opts) {
|
|
46
|
+
super({
|
|
47
|
+
name: "ConflictException",
|
|
48
|
+
$fault: "client",
|
|
49
|
+
...opts,
|
|
50
|
+
});
|
|
51
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
52
|
+
this.resourceIds = opts.resourceIds;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
export class ServiceDeploymentNotFoundException extends __BaseException {
|
|
56
|
+
name = "ServiceDeploymentNotFoundException";
|
|
57
|
+
$fault = "client";
|
|
58
|
+
constructor(opts) {
|
|
59
|
+
super({
|
|
60
|
+
name: "ServiceDeploymentNotFoundException",
|
|
61
|
+
$fault: "client",
|
|
62
|
+
...opts,
|
|
63
|
+
});
|
|
64
|
+
Object.setPrototypeOf(this, ServiceDeploymentNotFoundException.prototype);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
export const StopServiceDeploymentStopType = {
|
|
68
|
+
ABORT: "ABORT",
|
|
69
|
+
ROLLBACK: "ROLLBACK",
|
|
70
|
+
};
|
|
2
71
|
export class MissingVersionException extends __BaseException {
|
|
3
72
|
name = "MissingVersionException";
|
|
4
73
|
$fault = "client";
|