@aws-sdk/client-ecs 3.899.0 → 3.900.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 +8064 -8888
- package/dist-types/models/models_1.d.ts +1487 -11
- 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 +1 -1
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
PutAccountSettingDefaultRequest,
|
|
10
10
|
PutAccountSettingDefaultResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface PutAccountSettingDefaultCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
PutAttributesRequest,
|
|
10
10
|
PutAttributesResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface PutAttributesCommandInput extends PutAttributesRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
PutClusterCapacityProvidersRequest,
|
|
10
10
|
PutClusterCapacityProvidersResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface PutClusterCapacityProvidersCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
RegisterContainerInstanceRequest,
|
|
10
10
|
RegisterContainerInstanceResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface RegisterContainerInstanceCommandInput
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ECSClient";
|
|
8
|
-
import { RunTaskRequest, RunTaskResponse } from "../models/
|
|
8
|
+
import { RunTaskRequest, RunTaskResponse } from "../models/models_1";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface RunTaskCommandInput extends RunTaskRequest {}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ECSClient";
|
|
8
|
-
import { StartTaskRequest, StartTaskResponse } from "../models/
|
|
8
|
+
import { StartTaskRequest, StartTaskResponse } from "../models/models_1";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface StartTaskCommandInput extends StartTaskRequest {}
|
|
@@ -5,8 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ECSClient";
|
|
8
|
-
import { StopTaskRequest } from "../models/
|
|
9
|
-
import { StopTaskResponse } from "../models/models_1";
|
|
8
|
+
import { StopTaskRequest, StopTaskResponse } from "../models/models_1";
|
|
10
9
|
export { __MetadataBearer };
|
|
11
10
|
export { $Command };
|
|
12
11
|
export interface StopTaskCommandInput extends StopTaskRequest {}
|
|
@@ -1,6 +1,46 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
3
3
|
import { ECSServiceException as __BaseException } from "./ECSServiceException";
|
|
4
|
+
export interface AcceleratorCountRequest {
|
|
5
|
+
min?: number | undefined;
|
|
6
|
+
max?: number | undefined;
|
|
7
|
+
}
|
|
8
|
+
export declare const AcceleratorManufacturer: {
|
|
9
|
+
readonly AMAZON_WEB_SERVICES: "amazon-web-services";
|
|
10
|
+
readonly AMD: "amd";
|
|
11
|
+
readonly HABANA: "habana";
|
|
12
|
+
readonly NVIDIA: "nvidia";
|
|
13
|
+
readonly XILINX: "xilinx";
|
|
14
|
+
};
|
|
15
|
+
export type AcceleratorManufacturer =
|
|
16
|
+
(typeof AcceleratorManufacturer)[keyof typeof AcceleratorManufacturer];
|
|
17
|
+
export declare const AcceleratorName: {
|
|
18
|
+
readonly A100: "a100";
|
|
19
|
+
readonly A10G: "a10g";
|
|
20
|
+
readonly H100: "h100";
|
|
21
|
+
readonly INFERENTIA: "inferentia";
|
|
22
|
+
readonly K520: "k520";
|
|
23
|
+
readonly K80: "k80";
|
|
24
|
+
readonly M60: "m60";
|
|
25
|
+
readonly RADEON_PRO_V520: "radeon-pro-v520";
|
|
26
|
+
readonly T4: "t4";
|
|
27
|
+
readonly T4G: "t4g";
|
|
28
|
+
readonly V100: "v100";
|
|
29
|
+
readonly VU9P: "vu9p";
|
|
30
|
+
};
|
|
31
|
+
export type AcceleratorName =
|
|
32
|
+
(typeof AcceleratorName)[keyof typeof AcceleratorName];
|
|
33
|
+
export interface AcceleratorTotalMemoryMiBRequest {
|
|
34
|
+
min?: number | undefined;
|
|
35
|
+
max?: number | undefined;
|
|
36
|
+
}
|
|
37
|
+
export declare const AcceleratorType: {
|
|
38
|
+
readonly FPGA: "fpga";
|
|
39
|
+
readonly GPU: "gpu";
|
|
40
|
+
readonly INFERENCE: "inference";
|
|
41
|
+
};
|
|
42
|
+
export type AcceleratorType =
|
|
43
|
+
(typeof AcceleratorType)[keyof typeof AcceleratorType];
|
|
4
44
|
export declare class AccessDeniedException extends __BaseException {
|
|
5
45
|
readonly name: "AccessDeniedException";
|
|
6
46
|
readonly $fault: "client";
|
|
@@ -29,6 +69,13 @@ export declare class ClientException extends __BaseException {
|
|
|
29
69
|
readonly $fault: "client";
|
|
30
70
|
constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
|
|
31
71
|
}
|
|
72
|
+
export declare class ClusterNotFoundException extends __BaseException {
|
|
73
|
+
readonly name: "ClusterNotFoundException";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
constructor(
|
|
76
|
+
opts: __ExceptionOptionType<ClusterNotFoundException, __BaseException>
|
|
77
|
+
);
|
|
78
|
+
}
|
|
32
79
|
export declare const ManagedDraining: {
|
|
33
80
|
readonly DISABLED: "DISABLED";
|
|
34
81
|
readonly ENABLED: "ENABLED";
|
|
@@ -60,22 +107,167 @@ export interface AutoScalingGroupProvider {
|
|
|
60
107
|
managedTerminationProtection?: ManagedTerminationProtection | undefined;
|
|
61
108
|
managedDraining?: ManagedDraining | undefined;
|
|
62
109
|
}
|
|
110
|
+
export declare const BareMetal: {
|
|
111
|
+
readonly EXCLUDED: "excluded";
|
|
112
|
+
readonly INCLUDED: "included";
|
|
113
|
+
readonly REQUIRED: "required";
|
|
114
|
+
};
|
|
115
|
+
export type BareMetal = (typeof BareMetal)[keyof typeof BareMetal];
|
|
116
|
+
export interface BaselineEbsBandwidthMbpsRequest {
|
|
117
|
+
min?: number | undefined;
|
|
118
|
+
max?: number | undefined;
|
|
119
|
+
}
|
|
120
|
+
export declare const BurstablePerformance: {
|
|
121
|
+
readonly EXCLUDED: "excluded";
|
|
122
|
+
readonly INCLUDED: "included";
|
|
123
|
+
readonly REQUIRED: "required";
|
|
124
|
+
};
|
|
125
|
+
export type BurstablePerformance =
|
|
126
|
+
(typeof BurstablePerformance)[keyof typeof BurstablePerformance];
|
|
127
|
+
export declare const CpuManufacturer: {
|
|
128
|
+
readonly AMAZON_WEB_SERVICES: "amazon-web-services";
|
|
129
|
+
readonly AMD: "amd";
|
|
130
|
+
readonly INTEL: "intel";
|
|
131
|
+
};
|
|
132
|
+
export type CpuManufacturer =
|
|
133
|
+
(typeof CpuManufacturer)[keyof typeof CpuManufacturer];
|
|
134
|
+
export declare const InstanceGeneration: {
|
|
135
|
+
readonly CURRENT: "current";
|
|
136
|
+
readonly PREVIOUS: "previous";
|
|
137
|
+
};
|
|
138
|
+
export type InstanceGeneration =
|
|
139
|
+
(typeof InstanceGeneration)[keyof typeof InstanceGeneration];
|
|
140
|
+
export declare const LocalStorage: {
|
|
141
|
+
readonly EXCLUDED: "excluded";
|
|
142
|
+
readonly INCLUDED: "included";
|
|
143
|
+
readonly REQUIRED: "required";
|
|
144
|
+
};
|
|
145
|
+
export type LocalStorage = (typeof LocalStorage)[keyof typeof LocalStorage];
|
|
146
|
+
export declare const LocalStorageType: {
|
|
147
|
+
readonly HDD: "hdd";
|
|
148
|
+
readonly SSD: "ssd";
|
|
149
|
+
};
|
|
150
|
+
export type LocalStorageType =
|
|
151
|
+
(typeof LocalStorageType)[keyof typeof LocalStorageType];
|
|
152
|
+
export interface MemoryGiBPerVCpuRequest {
|
|
153
|
+
min?: number | undefined;
|
|
154
|
+
max?: number | undefined;
|
|
155
|
+
}
|
|
156
|
+
export interface MemoryMiBRequest {
|
|
157
|
+
min: number | undefined;
|
|
158
|
+
max?: number | undefined;
|
|
159
|
+
}
|
|
160
|
+
export interface NetworkBandwidthGbpsRequest {
|
|
161
|
+
min?: number | undefined;
|
|
162
|
+
max?: number | undefined;
|
|
163
|
+
}
|
|
164
|
+
export interface NetworkInterfaceCountRequest {
|
|
165
|
+
min?: number | undefined;
|
|
166
|
+
max?: number | undefined;
|
|
167
|
+
}
|
|
168
|
+
export interface TotalLocalStorageGBRequest {
|
|
169
|
+
min?: number | undefined;
|
|
170
|
+
max?: number | undefined;
|
|
171
|
+
}
|
|
172
|
+
export interface VCpuCountRangeRequest {
|
|
173
|
+
min: number | undefined;
|
|
174
|
+
max?: number | undefined;
|
|
175
|
+
}
|
|
176
|
+
export interface InstanceRequirementsRequest {
|
|
177
|
+
vCpuCount: VCpuCountRangeRequest | undefined;
|
|
178
|
+
memoryMiB: MemoryMiBRequest | undefined;
|
|
179
|
+
cpuManufacturers?: CpuManufacturer[] | undefined;
|
|
180
|
+
memoryGiBPerVCpu?: MemoryGiBPerVCpuRequest | undefined;
|
|
181
|
+
excludedInstanceTypes?: string[] | undefined;
|
|
182
|
+
instanceGenerations?: InstanceGeneration[] | undefined;
|
|
183
|
+
spotMaxPricePercentageOverLowestPrice?: number | undefined;
|
|
184
|
+
onDemandMaxPricePercentageOverLowestPrice?: number | undefined;
|
|
185
|
+
bareMetal?: BareMetal | undefined;
|
|
186
|
+
burstablePerformance?: BurstablePerformance | undefined;
|
|
187
|
+
requireHibernateSupport?: boolean | undefined;
|
|
188
|
+
networkInterfaceCount?: NetworkInterfaceCountRequest | undefined;
|
|
189
|
+
localStorage?: LocalStorage | undefined;
|
|
190
|
+
localStorageTypes?: LocalStorageType[] | undefined;
|
|
191
|
+
totalLocalStorageGB?: TotalLocalStorageGBRequest | undefined;
|
|
192
|
+
baselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest | undefined;
|
|
193
|
+
acceleratorTypes?: AcceleratorType[] | undefined;
|
|
194
|
+
acceleratorCount?: AcceleratorCountRequest | undefined;
|
|
195
|
+
acceleratorManufacturers?: AcceleratorManufacturer[] | undefined;
|
|
196
|
+
acceleratorNames?: AcceleratorName[] | undefined;
|
|
197
|
+
acceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest | undefined;
|
|
198
|
+
networkBandwidthGbps?: NetworkBandwidthGbpsRequest | undefined;
|
|
199
|
+
allowedInstanceTypes?: string[] | undefined;
|
|
200
|
+
maxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
|
|
201
|
+
}
|
|
202
|
+
export declare const ManagedInstancesMonitoringOptions: {
|
|
203
|
+
readonly BASIC: "BASIC";
|
|
204
|
+
readonly DETAILED: "DETAILED";
|
|
205
|
+
};
|
|
206
|
+
export type ManagedInstancesMonitoringOptions =
|
|
207
|
+
(typeof ManagedInstancesMonitoringOptions)[keyof typeof ManagedInstancesMonitoringOptions];
|
|
208
|
+
export interface ManagedInstancesNetworkConfiguration {
|
|
209
|
+
subnets?: string[] | undefined;
|
|
210
|
+
securityGroups?: string[] | undefined;
|
|
211
|
+
}
|
|
212
|
+
export interface ManagedInstancesStorageConfiguration {
|
|
213
|
+
storageSizeGiB?: number | undefined;
|
|
214
|
+
}
|
|
215
|
+
export interface InstanceLaunchTemplate {
|
|
216
|
+
ec2InstanceProfileArn: string | undefined;
|
|
217
|
+
networkConfiguration: ManagedInstancesNetworkConfiguration | undefined;
|
|
218
|
+
storageConfiguration?: ManagedInstancesStorageConfiguration | undefined;
|
|
219
|
+
monitoring?: ManagedInstancesMonitoringOptions | undefined;
|
|
220
|
+
instanceRequirements?: InstanceRequirementsRequest | undefined;
|
|
221
|
+
}
|
|
222
|
+
export declare const PropagateMITags: {
|
|
223
|
+
readonly CAPACITY_PROVIDER: "CAPACITY_PROVIDER";
|
|
224
|
+
readonly NONE: "NONE";
|
|
225
|
+
};
|
|
226
|
+
export type PropagateMITags =
|
|
227
|
+
(typeof PropagateMITags)[keyof typeof PropagateMITags];
|
|
228
|
+
export interface CreateManagedInstancesProviderConfiguration {
|
|
229
|
+
infrastructureRoleArn: string | undefined;
|
|
230
|
+
instanceLaunchTemplate: InstanceLaunchTemplate | undefined;
|
|
231
|
+
propagateTags?: PropagateMITags | undefined;
|
|
232
|
+
}
|
|
63
233
|
export interface Tag {
|
|
64
234
|
key?: string | undefined;
|
|
65
235
|
value?: string | undefined;
|
|
66
236
|
}
|
|
67
237
|
export interface CreateCapacityProviderRequest {
|
|
68
238
|
name: string | undefined;
|
|
69
|
-
|
|
239
|
+
cluster?: string | undefined;
|
|
240
|
+
autoScalingGroupProvider?: AutoScalingGroupProvider | undefined;
|
|
241
|
+
managedInstancesProvider?:
|
|
242
|
+
| CreateManagedInstancesProviderConfiguration
|
|
243
|
+
| undefined;
|
|
70
244
|
tags?: Tag[] | undefined;
|
|
71
245
|
}
|
|
246
|
+
export interface ManagedInstancesProvider {
|
|
247
|
+
infrastructureRoleArn?: string | undefined;
|
|
248
|
+
instanceLaunchTemplate?: InstanceLaunchTemplate | undefined;
|
|
249
|
+
propagateTags?: PropagateMITags | undefined;
|
|
250
|
+
}
|
|
72
251
|
export declare const CapacityProviderStatus: {
|
|
73
252
|
readonly ACTIVE: "ACTIVE";
|
|
253
|
+
readonly DEPROVISIONING: "DEPROVISIONING";
|
|
74
254
|
readonly INACTIVE: "INACTIVE";
|
|
255
|
+
readonly PROVISIONING: "PROVISIONING";
|
|
75
256
|
};
|
|
76
257
|
export type CapacityProviderStatus =
|
|
77
258
|
(typeof CapacityProviderStatus)[keyof typeof CapacityProviderStatus];
|
|
259
|
+
export declare const CapacityProviderType: {
|
|
260
|
+
readonly EC2_AUTOSCALING: "EC2_AUTOSCALING";
|
|
261
|
+
readonly FARGATE: "FARGATE";
|
|
262
|
+
readonly FARGATE_SPOT: "FARGATE_SPOT";
|
|
263
|
+
readonly MANAGED_INSTANCES: "MANAGED_INSTANCES";
|
|
264
|
+
};
|
|
265
|
+
export type CapacityProviderType =
|
|
266
|
+
(typeof CapacityProviderType)[keyof typeof CapacityProviderType];
|
|
78
267
|
export declare const CapacityProviderUpdateStatus: {
|
|
268
|
+
readonly CREATE_COMPLETE: "CREATE_COMPLETE";
|
|
269
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
270
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
79
271
|
readonly DELETE_COMPLETE: "DELETE_COMPLETE";
|
|
80
272
|
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
81
273
|
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
@@ -88,11 +280,14 @@ export type CapacityProviderUpdateStatus =
|
|
|
88
280
|
export interface CapacityProvider {
|
|
89
281
|
capacityProviderArn?: string | undefined;
|
|
90
282
|
name?: string | undefined;
|
|
283
|
+
cluster?: string | undefined;
|
|
91
284
|
status?: CapacityProviderStatus | undefined;
|
|
92
285
|
autoScalingGroupProvider?: AutoScalingGroupProvider | undefined;
|
|
286
|
+
managedInstancesProvider?: ManagedInstancesProvider | undefined;
|
|
93
287
|
updateStatus?: CapacityProviderUpdateStatus | undefined;
|
|
94
288
|
updateStatusReason?: string | undefined;
|
|
95
289
|
tags?: Tag[] | undefined;
|
|
290
|
+
type?: CapacityProviderType | undefined;
|
|
96
291
|
}
|
|
97
292
|
export interface CreateCapacityProviderResponse {
|
|
98
293
|
capacityProvider?: CapacityProvider | undefined;
|
|
@@ -116,6 +311,13 @@ export declare class ServerException extends __BaseException {
|
|
|
116
311
|
readonly $fault: "server";
|
|
117
312
|
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
|
118
313
|
}
|
|
314
|
+
export declare class UnsupportedFeatureException extends __BaseException {
|
|
315
|
+
readonly name: "UnsupportedFeatureException";
|
|
316
|
+
readonly $fault: "client";
|
|
317
|
+
constructor(
|
|
318
|
+
opts: __ExceptionOptionType<UnsupportedFeatureException, __BaseException>
|
|
319
|
+
);
|
|
320
|
+
}
|
|
119
321
|
export declare class UpdateInProgressException extends __BaseException {
|
|
120
322
|
readonly name: "UpdateInProgressException";
|
|
121
323
|
readonly $fault: "client";
|
|
@@ -217,13 +419,6 @@ export declare class NamespaceNotFoundException extends __BaseException {
|
|
|
217
419
|
opts: __ExceptionOptionType<NamespaceNotFoundException, __BaseException>
|
|
218
420
|
);
|
|
219
421
|
}
|
|
220
|
-
export declare class ClusterNotFoundException extends __BaseException {
|
|
221
|
-
readonly name: "ClusterNotFoundException";
|
|
222
|
-
readonly $fault: "client";
|
|
223
|
-
constructor(
|
|
224
|
-
opts: __ExceptionOptionType<ClusterNotFoundException, __BaseException>
|
|
225
|
-
);
|
|
226
|
-
}
|
|
227
422
|
export declare const AvailabilityZoneRebalancing: {
|
|
228
423
|
readonly DISABLED: "DISABLED";
|
|
229
424
|
readonly ENABLED: "ENABLED";
|
|
@@ -285,6 +480,7 @@ export declare const LaunchType: {
|
|
|
285
480
|
readonly EC2: "EC2";
|
|
286
481
|
readonly EXTERNAL: "EXTERNAL";
|
|
287
482
|
readonly FARGATE: "FARGATE";
|
|
483
|
+
readonly MANAGED_INSTANCES: "MANAGED_INSTANCES";
|
|
288
484
|
};
|
|
289
485
|
export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
|
|
290
486
|
export interface LoadBalancer {
|
|
@@ -613,13 +809,6 @@ export declare class PlatformUnknownException extends __BaseException {
|
|
|
613
809
|
opts: __ExceptionOptionType<PlatformUnknownException, __BaseException>
|
|
614
810
|
);
|
|
615
811
|
}
|
|
616
|
-
export declare class UnsupportedFeatureException extends __BaseException {
|
|
617
|
-
readonly name: "UnsupportedFeatureException";
|
|
618
|
-
readonly $fault: "client";
|
|
619
|
-
constructor(
|
|
620
|
-
opts: __ExceptionOptionType<UnsupportedFeatureException, __BaseException>
|
|
621
|
-
);
|
|
622
|
-
}
|
|
623
812
|
export interface CreateTaskSetRequest {
|
|
624
813
|
service: string | undefined;
|
|
625
814
|
cluster: string | undefined;
|
|
@@ -709,10 +898,21 @@ export declare class TargetNotFoundException extends __BaseException {
|
|
|
709
898
|
}
|
|
710
899
|
export interface DeleteCapacityProviderRequest {
|
|
711
900
|
capacityProvider: string | undefined;
|
|
901
|
+
cluster?: string | undefined;
|
|
712
902
|
}
|
|
713
903
|
export interface DeleteCapacityProviderResponse {
|
|
714
904
|
capacityProvider?: CapacityProvider | undefined;
|
|
715
905
|
}
|
|
906
|
+
export declare class ClusterContainsCapacityProviderException extends __BaseException {
|
|
907
|
+
readonly name: "ClusterContainsCapacityProviderException";
|
|
908
|
+
readonly $fault: "client";
|
|
909
|
+
constructor(
|
|
910
|
+
opts: __ExceptionOptionType<
|
|
911
|
+
ClusterContainsCapacityProviderException,
|
|
912
|
+
__BaseException
|
|
913
|
+
>
|
|
914
|
+
);
|
|
915
|
+
}
|
|
716
916
|
export declare class ClusterContainsContainerInstancesException extends __BaseException {
|
|
717
917
|
readonly name: "ClusterContainsContainerInstancesException";
|
|
718
918
|
readonly $fault: "client";
|
|
@@ -766,6 +966,7 @@ export declare const Compatibility: {
|
|
|
766
966
|
readonly EC2: "EC2";
|
|
767
967
|
readonly EXTERNAL: "EXTERNAL";
|
|
768
968
|
readonly FARGATE: "FARGATE";
|
|
969
|
+
readonly MANAGED_INSTANCES: "MANAGED_INSTANCES";
|
|
769
970
|
};
|
|
770
971
|
export type Compatibility = (typeof Compatibility)[keyof typeof Compatibility];
|
|
771
972
|
export declare const ContainerCondition: {
|
|
@@ -1219,6 +1420,7 @@ export type CapacityProviderField =
|
|
|
1219
1420
|
(typeof CapacityProviderField)[keyof typeof CapacityProviderField];
|
|
1220
1421
|
export interface DescribeCapacityProvidersRequest {
|
|
1221
1422
|
capacityProviders?: string[] | undefined;
|
|
1423
|
+
cluster?: string | undefined;
|
|
1222
1424
|
include?: CapacityProviderField[] | undefined;
|
|
1223
1425
|
maxResults?: number | undefined;
|
|
1224
1426
|
nextToken?: string | undefined;
|
|
@@ -1786,196 +1988,6 @@ export interface PutAccountSettingRequest {
|
|
|
1786
1988
|
export interface PutAccountSettingResponse {
|
|
1787
1989
|
setting?: Setting | undefined;
|
|
1788
1990
|
}
|
|
1789
|
-
export interface PutAccountSettingDefaultRequest {
|
|
1790
|
-
name: SettingName | undefined;
|
|
1791
|
-
value: string | undefined;
|
|
1792
|
-
}
|
|
1793
|
-
export interface PutAccountSettingDefaultResponse {
|
|
1794
|
-
setting?: Setting | undefined;
|
|
1795
|
-
}
|
|
1796
|
-
export declare class AttributeLimitExceededException extends __BaseException {
|
|
1797
|
-
readonly name: "AttributeLimitExceededException";
|
|
1798
|
-
readonly $fault: "client";
|
|
1799
|
-
constructor(
|
|
1800
|
-
opts: __ExceptionOptionType<
|
|
1801
|
-
AttributeLimitExceededException,
|
|
1802
|
-
__BaseException
|
|
1803
|
-
>
|
|
1804
|
-
);
|
|
1805
|
-
}
|
|
1806
|
-
export interface PutAttributesRequest {
|
|
1807
|
-
cluster?: string | undefined;
|
|
1808
|
-
attributes: Attribute[] | undefined;
|
|
1809
|
-
}
|
|
1810
|
-
export interface PutAttributesResponse {
|
|
1811
|
-
attributes?: Attribute[] | undefined;
|
|
1812
|
-
}
|
|
1813
|
-
export interface PutClusterCapacityProvidersRequest {
|
|
1814
|
-
cluster: string | undefined;
|
|
1815
|
-
capacityProviders: string[] | undefined;
|
|
1816
|
-
defaultCapacityProviderStrategy: CapacityProviderStrategyItem[] | undefined;
|
|
1817
|
-
}
|
|
1818
|
-
export interface PutClusterCapacityProvidersResponse {
|
|
1819
|
-
cluster?: Cluster | undefined;
|
|
1820
|
-
}
|
|
1821
|
-
export declare class ResourceInUseException extends __BaseException {
|
|
1822
|
-
readonly name: "ResourceInUseException";
|
|
1823
|
-
readonly $fault: "client";
|
|
1824
|
-
constructor(
|
|
1825
|
-
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
1826
|
-
);
|
|
1827
|
-
}
|
|
1828
|
-
export declare const PlatformDeviceType: {
|
|
1829
|
-
readonly GPU: "GPU";
|
|
1830
|
-
};
|
|
1831
|
-
export type PlatformDeviceType =
|
|
1832
|
-
(typeof PlatformDeviceType)[keyof typeof PlatformDeviceType];
|
|
1833
|
-
export interface PlatformDevice {
|
|
1834
|
-
id: string | undefined;
|
|
1835
|
-
type: PlatformDeviceType | undefined;
|
|
1836
|
-
}
|
|
1837
|
-
export interface RegisterContainerInstanceRequest {
|
|
1838
|
-
cluster?: string | undefined;
|
|
1839
|
-
instanceIdentityDocument?: string | undefined;
|
|
1840
|
-
instanceIdentityDocumentSignature?: string | undefined;
|
|
1841
|
-
totalResources?: Resource[] | undefined;
|
|
1842
|
-
versionInfo?: VersionInfo | undefined;
|
|
1843
|
-
containerInstanceArn?: string | undefined;
|
|
1844
|
-
attributes?: Attribute[] | undefined;
|
|
1845
|
-
platformDevices?: PlatformDevice[] | undefined;
|
|
1846
|
-
tags?: Tag[] | undefined;
|
|
1847
|
-
}
|
|
1848
|
-
export interface RegisterContainerInstanceResponse {
|
|
1849
|
-
containerInstance?: ContainerInstance | undefined;
|
|
1850
|
-
}
|
|
1851
|
-
export interface RegisterTaskDefinitionRequest {
|
|
1852
|
-
family: string | undefined;
|
|
1853
|
-
taskRoleArn?: string | undefined;
|
|
1854
|
-
executionRoleArn?: string | undefined;
|
|
1855
|
-
networkMode?: NetworkMode | undefined;
|
|
1856
|
-
containerDefinitions: ContainerDefinition[] | undefined;
|
|
1857
|
-
volumes?: Volume[] | undefined;
|
|
1858
|
-
placementConstraints?: TaskDefinitionPlacementConstraint[] | undefined;
|
|
1859
|
-
requiresCompatibilities?: Compatibility[] | undefined;
|
|
1860
|
-
cpu?: string | undefined;
|
|
1861
|
-
memory?: string | undefined;
|
|
1862
|
-
tags?: Tag[] | undefined;
|
|
1863
|
-
pidMode?: PidMode | undefined;
|
|
1864
|
-
ipcMode?: IpcMode | undefined;
|
|
1865
|
-
proxyConfiguration?: ProxyConfiguration | undefined;
|
|
1866
|
-
inferenceAccelerators?: InferenceAccelerator[] | undefined;
|
|
1867
|
-
ephemeralStorage?: EphemeralStorage | undefined;
|
|
1868
|
-
runtimePlatform?: RuntimePlatform | undefined;
|
|
1869
|
-
enableFaultInjection?: boolean | undefined;
|
|
1870
|
-
}
|
|
1871
|
-
export interface RegisterTaskDefinitionResponse {
|
|
1872
|
-
taskDefinition?: TaskDefinition | undefined;
|
|
1873
|
-
tags?: Tag[] | undefined;
|
|
1874
|
-
}
|
|
1875
|
-
export declare class BlockedException extends __BaseException {
|
|
1876
|
-
readonly name: "BlockedException";
|
|
1877
|
-
readonly $fault: "client";
|
|
1878
|
-
constructor(opts: __ExceptionOptionType<BlockedException, __BaseException>);
|
|
1879
|
-
}
|
|
1880
|
-
export declare class ConflictException extends __BaseException {
|
|
1881
|
-
readonly name: "ConflictException";
|
|
1882
|
-
readonly $fault: "client";
|
|
1883
|
-
resourceIds?: string[] | undefined;
|
|
1884
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
1885
|
-
}
|
|
1886
|
-
export interface TaskManagedEBSVolumeTerminationPolicy {
|
|
1887
|
-
deleteOnTermination: boolean | undefined;
|
|
1888
|
-
}
|
|
1889
|
-
export interface TaskManagedEBSVolumeConfiguration {
|
|
1890
|
-
encrypted?: boolean | undefined;
|
|
1891
|
-
kmsKeyId?: string | undefined;
|
|
1892
|
-
volumeType?: string | undefined;
|
|
1893
|
-
sizeInGiB?: number | undefined;
|
|
1894
|
-
snapshotId?: string | undefined;
|
|
1895
|
-
volumeInitializationRate?: number | undefined;
|
|
1896
|
-
iops?: number | undefined;
|
|
1897
|
-
throughput?: number | undefined;
|
|
1898
|
-
tagSpecifications?: EBSTagSpecification[] | undefined;
|
|
1899
|
-
roleArn: string | undefined;
|
|
1900
|
-
terminationPolicy?: TaskManagedEBSVolumeTerminationPolicy | undefined;
|
|
1901
|
-
filesystemType?: TaskFilesystemType | undefined;
|
|
1902
|
-
}
|
|
1903
|
-
export interface TaskVolumeConfiguration {
|
|
1904
|
-
name: string | undefined;
|
|
1905
|
-
managedEBSVolume?: TaskManagedEBSVolumeConfiguration | undefined;
|
|
1906
|
-
}
|
|
1907
|
-
export interface RunTaskRequest {
|
|
1908
|
-
capacityProviderStrategy?: CapacityProviderStrategyItem[] | undefined;
|
|
1909
|
-
cluster?: string | undefined;
|
|
1910
|
-
count?: number | undefined;
|
|
1911
|
-
enableECSManagedTags?: boolean | undefined;
|
|
1912
|
-
enableExecuteCommand?: boolean | undefined;
|
|
1913
|
-
group?: string | undefined;
|
|
1914
|
-
launchType?: LaunchType | undefined;
|
|
1915
|
-
networkConfiguration?: NetworkConfiguration | undefined;
|
|
1916
|
-
overrides?: TaskOverride | undefined;
|
|
1917
|
-
placementConstraints?: PlacementConstraint[] | undefined;
|
|
1918
|
-
placementStrategy?: PlacementStrategy[] | undefined;
|
|
1919
|
-
platformVersion?: string | undefined;
|
|
1920
|
-
propagateTags?: PropagateTags | undefined;
|
|
1921
|
-
referenceId?: string | undefined;
|
|
1922
|
-
startedBy?: string | undefined;
|
|
1923
|
-
tags?: Tag[] | undefined;
|
|
1924
|
-
taskDefinition: string | undefined;
|
|
1925
|
-
clientToken?: string | undefined;
|
|
1926
|
-
volumeConfigurations?: TaskVolumeConfiguration[] | undefined;
|
|
1927
|
-
}
|
|
1928
|
-
export interface RunTaskResponse {
|
|
1929
|
-
tasks?: Task[] | undefined;
|
|
1930
|
-
failures?: Failure[] | undefined;
|
|
1931
|
-
}
|
|
1932
|
-
export interface StartTaskRequest {
|
|
1933
|
-
cluster?: string | undefined;
|
|
1934
|
-
containerInstances: string[] | undefined;
|
|
1935
|
-
enableECSManagedTags?: boolean | undefined;
|
|
1936
|
-
enableExecuteCommand?: boolean | undefined;
|
|
1937
|
-
group?: string | undefined;
|
|
1938
|
-
networkConfiguration?: NetworkConfiguration | undefined;
|
|
1939
|
-
overrides?: TaskOverride | undefined;
|
|
1940
|
-
propagateTags?: PropagateTags | undefined;
|
|
1941
|
-
referenceId?: string | undefined;
|
|
1942
|
-
startedBy?: string | undefined;
|
|
1943
|
-
tags?: Tag[] | undefined;
|
|
1944
|
-
taskDefinition: string | undefined;
|
|
1945
|
-
volumeConfigurations?: TaskVolumeConfiguration[] | undefined;
|
|
1946
|
-
}
|
|
1947
|
-
export interface StartTaskResponse {
|
|
1948
|
-
tasks?: Task[] | undefined;
|
|
1949
|
-
failures?: Failure[] | undefined;
|
|
1950
|
-
}
|
|
1951
|
-
export declare class ServiceDeploymentNotFoundException extends __BaseException {
|
|
1952
|
-
readonly name: "ServiceDeploymentNotFoundException";
|
|
1953
|
-
readonly $fault: "client";
|
|
1954
|
-
constructor(
|
|
1955
|
-
opts: __ExceptionOptionType<
|
|
1956
|
-
ServiceDeploymentNotFoundException,
|
|
1957
|
-
__BaseException
|
|
1958
|
-
>
|
|
1959
|
-
);
|
|
1960
|
-
}
|
|
1961
|
-
export declare const StopServiceDeploymentStopType: {
|
|
1962
|
-
readonly ABORT: "ABORT";
|
|
1963
|
-
readonly ROLLBACK: "ROLLBACK";
|
|
1964
|
-
};
|
|
1965
|
-
export type StopServiceDeploymentStopType =
|
|
1966
|
-
(typeof StopServiceDeploymentStopType)[keyof typeof StopServiceDeploymentStopType];
|
|
1967
|
-
export interface StopServiceDeploymentRequest {
|
|
1968
|
-
serviceDeploymentArn: string | undefined;
|
|
1969
|
-
stopType?: StopServiceDeploymentStopType | undefined;
|
|
1970
|
-
}
|
|
1971
|
-
export interface StopServiceDeploymentResponse {
|
|
1972
|
-
serviceDeploymentArn?: string | undefined;
|
|
1973
|
-
}
|
|
1974
|
-
export interface StopTaskRequest {
|
|
1975
|
-
cluster?: string | undefined;
|
|
1976
|
-
task: string | undefined;
|
|
1977
|
-
reason?: string | undefined;
|
|
1978
|
-
}
|
|
1979
1991
|
export declare const SessionFilterSensitiveLog: (obj: Session) => any;
|
|
1980
1992
|
export declare const ExecuteCommandResponseFilterSensitiveLog: (
|
|
1981
1993
|
obj: ExecuteCommandResponse
|