@aws-sdk/client-ecs 3.1053.0 → 3.1055.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 +2 -0
- package/dist-cjs/schemas/schemas_0.js +4 -2
- package/dist-es/models/enums.js +2 -0
- package/dist-es/schemas/schemas_0.js +4 -2
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTasksCommand.d.ts +4 -1
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -1
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/RunTaskCommand.d.ts +5 -2
- package/dist-types/commands/StartTaskCommand.d.ts +5 -2
- package/dist-types/commands/StopTaskCommand.d.ts +4 -1
- package/dist-types/models/enums.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +7 -7
- package/dist-types/models/models_1.d.ts +6 -1
- package/dist-types/ts3.4/models/enums.d.ts +2 -0
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1844,6 +1844,7 @@ const LaunchType = {
|
|
|
1844
1844
|
};
|
|
1845
1845
|
const PlatformDeviceType = {
|
|
1846
1846
|
GPU: "GPU",
|
|
1847
|
+
NEURON_DEVICE: "NEURON_DEVICE",
|
|
1847
1848
|
};
|
|
1848
1849
|
const DeploymentLifecycleHookAction = {
|
|
1849
1850
|
CONTINUE: "CONTINUE",
|
|
@@ -1966,6 +1967,7 @@ const ApplicationProtocol = {
|
|
|
1966
1967
|
const ResourceType = {
|
|
1967
1968
|
GPU: "GPU",
|
|
1968
1969
|
INFERENCE_ACCELERATOR: "InferenceAccelerator",
|
|
1970
|
+
NEURON_DEVICE: "NeuronDevice",
|
|
1969
1971
|
};
|
|
1970
1972
|
const VersionConsistency = {
|
|
1971
1973
|
DISABLED: "disabled",
|
|
@@ -897,6 +897,7 @@ const _n = "name";
|
|
|
897
897
|
const _nB = "networkBindings";
|
|
898
898
|
const _nBG = "networkBandwidthGbps";
|
|
899
899
|
const _nC = "networkConfiguration";
|
|
900
|
+
const _nDI = "neuronDeviceIds";
|
|
900
901
|
const _nI = "networkInterfaces";
|
|
901
902
|
const _nIC = "networkInterfaceCount";
|
|
902
903
|
const _nM = "networkMode";
|
|
@@ -1424,8 +1425,8 @@ exports.ClusterSetting$ = [3, n0, _CS,
|
|
|
1424
1425
|
];
|
|
1425
1426
|
exports.Container$ = [3, n0, _Co,
|
|
1426
1427
|
0,
|
|
1427
|
-
[_cAo, _tA, _n, _im, _iD, _rIu, _lS, _eC, _r, _nB, _nI, _hS, _mA, _cp, _me, _mR, _gI],
|
|
1428
|
-
[0, 0, 0, 0, 0, 0, 0, 1, 0, () => NetworkBindings, () => NetworkInterfaces, 0, () => ManagedAgents, 0, 0, 0, 64 | 0]
|
|
1428
|
+
[_cAo, _tA, _n, _im, _iD, _rIu, _lS, _eC, _r, _nB, _nI, _hS, _mA, _cp, _me, _mR, _gI, _nDI],
|
|
1429
|
+
[0, 0, 0, 0, 0, 0, 0, 1, 0, () => NetworkBindings, () => NetworkInterfaces, 0, () => ManagedAgents, 0, 0, 0, 64 | 0, 64 | 0]
|
|
1429
1430
|
];
|
|
1430
1431
|
exports.ContainerDefinition$ = [3, n0, _CD,
|
|
1431
1432
|
0,
|
|
@@ -3243,6 +3244,7 @@ var NetworkBindings = [1, n0, _NBe,
|
|
|
3243
3244
|
var NetworkInterfaces = [1, n0, _NIe,
|
|
3244
3245
|
0, () => exports.NetworkInterface$
|
|
3245
3246
|
];
|
|
3247
|
+
var NeuronDeviceIds = 64 | 0;
|
|
3246
3248
|
var PlacementConstraints = [1, n0, _PCl,
|
|
3247
3249
|
0, () => exports.PlacementConstraint$
|
|
3248
3250
|
];
|
package/dist-es/models/enums.js
CHANGED
|
@@ -184,6 +184,7 @@ export const LaunchType = {
|
|
|
184
184
|
};
|
|
185
185
|
export const PlatformDeviceType = {
|
|
186
186
|
GPU: "GPU",
|
|
187
|
+
NEURON_DEVICE: "NEURON_DEVICE",
|
|
187
188
|
};
|
|
188
189
|
export const DeploymentLifecycleHookAction = {
|
|
189
190
|
CONTINUE: "CONTINUE",
|
|
@@ -306,6 +307,7 @@ export const ApplicationProtocol = {
|
|
|
306
307
|
export const ResourceType = {
|
|
307
308
|
GPU: "GPU",
|
|
308
309
|
INFERENCE_ACCELERATOR: "InferenceAccelerator",
|
|
310
|
+
NEURON_DEVICE: "NeuronDevice",
|
|
309
311
|
};
|
|
310
312
|
export const VersionConsistency = {
|
|
311
313
|
DISABLED: "disabled",
|
|
@@ -885,6 +885,7 @@ const _n = "name";
|
|
|
885
885
|
const _nB = "networkBindings";
|
|
886
886
|
const _nBG = "networkBandwidthGbps";
|
|
887
887
|
const _nC = "networkConfiguration";
|
|
888
|
+
const _nDI = "neuronDeviceIds";
|
|
888
889
|
const _nI = "networkInterfaces";
|
|
889
890
|
const _nIC = "networkInterfaceCount";
|
|
890
891
|
const _nM = "networkMode";
|
|
@@ -1412,8 +1413,8 @@ export var ClusterSetting$ = [3, n0, _CS,
|
|
|
1412
1413
|
];
|
|
1413
1414
|
export var Container$ = [3, n0, _Co,
|
|
1414
1415
|
0,
|
|
1415
|
-
[_cAo, _tA, _n, _im, _iD, _rIu, _lS, _eC, _r, _nB, _nI, _hS, _mA, _cp, _me, _mR, _gI],
|
|
1416
|
-
[0, 0, 0, 0, 0, 0, 0, 1, 0, () => NetworkBindings, () => NetworkInterfaces, 0, () => ManagedAgents, 0, 0, 0, 64 | 0]
|
|
1416
|
+
[_cAo, _tA, _n, _im, _iD, _rIu, _lS, _eC, _r, _nB, _nI, _hS, _mA, _cp, _me, _mR, _gI, _nDI],
|
|
1417
|
+
[0, 0, 0, 0, 0, 0, 0, 1, 0, () => NetworkBindings, () => NetworkInterfaces, 0, () => ManagedAgents, 0, 0, 0, 64 | 0, 64 | 0]
|
|
1417
1418
|
];
|
|
1418
1419
|
export var ContainerDefinition$ = [3, n0, _CD,
|
|
1419
1420
|
0,
|
|
@@ -3231,6 +3232,7 @@ var NetworkBindings = [1, n0, _NBe,
|
|
|
3231
3232
|
var NetworkInterfaces = [1, n0, _NIe,
|
|
3232
3233
|
0, () => NetworkInterface$
|
|
3233
3234
|
];
|
|
3235
|
+
var NeuronDeviceIds = 64 | 0;
|
|
3234
3236
|
var PlacementConstraints = [1, n0, _PCl,
|
|
3235
3237
|
0, () => PlacementConstraint$
|
|
3236
3238
|
];
|
|
@@ -211,7 +211,7 @@ declare const DeleteTaskDefinitionsCommand_base: {
|
|
|
211
211
|
* // resourceRequirements: [ // ResourceRequirements
|
|
212
212
|
* // { // ResourceRequirement
|
|
213
213
|
* // value: "STRING_VALUE", // required
|
|
214
|
-
* // type: "GPU" || "InferenceAccelerator", // required
|
|
214
|
+
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
215
215
|
* // },
|
|
216
216
|
* // ],
|
|
217
217
|
* // firelensConfiguration: { // FirelensConfiguration
|
|
@@ -208,7 +208,7 @@ declare const DeregisterTaskDefinitionCommand_base: {
|
|
|
208
208
|
* // resourceRequirements: [ // ResourceRequirements
|
|
209
209
|
* // { // ResourceRequirement
|
|
210
210
|
* // value: "STRING_VALUE", // required
|
|
211
|
-
* // type: "GPU" || "InferenceAccelerator", // required
|
|
211
|
+
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
212
212
|
* // },
|
|
213
213
|
* // ],
|
|
214
214
|
* // firelensConfiguration: { // FirelensConfiguration
|
|
@@ -211,7 +211,7 @@ declare const DescribeTaskDefinitionCommand_base: {
|
|
|
211
211
|
* // resourceRequirements: [ // ResourceRequirements
|
|
212
212
|
* // { // ResourceRequirement
|
|
213
213
|
* // value: "STRING_VALUE", // required
|
|
214
|
-
* // type: "GPU" || "InferenceAccelerator", // required
|
|
214
|
+
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
215
215
|
* // },
|
|
216
216
|
* // ],
|
|
217
217
|
* // firelensConfiguration: { // FirelensConfiguration
|
|
@@ -122,6 +122,9 @@ declare const DescribeTasksCommand_base: {
|
|
|
122
122
|
* // gpuIds: [ // GpuIds
|
|
123
123
|
* // "STRING_VALUE",
|
|
124
124
|
* // ],
|
|
125
|
+
* // neuronDeviceIds: [ // NeuronDeviceIds
|
|
126
|
+
* // "STRING_VALUE",
|
|
127
|
+
* // ],
|
|
125
128
|
* // },
|
|
126
129
|
* // ],
|
|
127
130
|
* // cpu: "STRING_VALUE",
|
|
@@ -165,7 +168,7 @@ declare const DescribeTasksCommand_base: {
|
|
|
165
168
|
* // resourceRequirements: [ // ResourceRequirements
|
|
166
169
|
* // { // ResourceRequirement
|
|
167
170
|
* // value: "STRING_VALUE", // required
|
|
168
|
-
* // type: "GPU" || "InferenceAccelerator", // required
|
|
171
|
+
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
169
172
|
* // },
|
|
170
173
|
* // ],
|
|
171
174
|
* // },
|
|
@@ -71,7 +71,7 @@ declare const RegisterContainerInstanceCommand_base: {
|
|
|
71
71
|
* platformDevices: [ // PlatformDevices
|
|
72
72
|
* { // PlatformDevice
|
|
73
73
|
* id: "STRING_VALUE", // required
|
|
74
|
-
* type: "GPU", // required
|
|
74
|
+
* type: "GPU" || "NEURON_DEVICE", // required
|
|
75
75
|
* },
|
|
76
76
|
* ],
|
|
77
77
|
* tags: [ // Tags
|
|
@@ -205,7 +205,7 @@ declare const RegisterTaskDefinitionCommand_base: {
|
|
|
205
205
|
* resourceRequirements: [ // ResourceRequirements
|
|
206
206
|
* { // ResourceRequirement
|
|
207
207
|
* value: "STRING_VALUE", // required
|
|
208
|
-
* type: "GPU" || "InferenceAccelerator", // required
|
|
208
|
+
* type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
209
209
|
* },
|
|
210
210
|
* ],
|
|
211
211
|
* firelensConfiguration: { // FirelensConfiguration
|
|
@@ -472,7 +472,7 @@ declare const RegisterTaskDefinitionCommand_base: {
|
|
|
472
472
|
* // resourceRequirements: [ // ResourceRequirements
|
|
473
473
|
* // { // ResourceRequirement
|
|
474
474
|
* // value: "STRING_VALUE", // required
|
|
475
|
-
* // type: "GPU" || "InferenceAccelerator", // required
|
|
475
|
+
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
476
476
|
* // },
|
|
477
477
|
* // ],
|
|
478
478
|
* // firelensConfiguration: { // FirelensConfiguration
|
|
@@ -88,7 +88,7 @@ declare const RunTaskCommand_base: {
|
|
|
88
88
|
* resourceRequirements: [ // ResourceRequirements
|
|
89
89
|
* { // ResourceRequirement
|
|
90
90
|
* value: "STRING_VALUE", // required
|
|
91
|
-
* type: "GPU" || "InferenceAccelerator", // required
|
|
91
|
+
* type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
92
92
|
* },
|
|
93
93
|
* ],
|
|
94
94
|
* },
|
|
@@ -239,6 +239,9 @@ declare const RunTaskCommand_base: {
|
|
|
239
239
|
* // gpuIds: [ // GpuIds
|
|
240
240
|
* // "STRING_VALUE",
|
|
241
241
|
* // ],
|
|
242
|
+
* // neuronDeviceIds: [ // NeuronDeviceIds
|
|
243
|
+
* // "STRING_VALUE",
|
|
244
|
+
* // ],
|
|
242
245
|
* // },
|
|
243
246
|
* // ],
|
|
244
247
|
* // cpu: "STRING_VALUE",
|
|
@@ -282,7 +285,7 @@ declare const RunTaskCommand_base: {
|
|
|
282
285
|
* // resourceRequirements: [ // ResourceRequirements
|
|
283
286
|
* // { // ResourceRequirement
|
|
284
287
|
* // value: "STRING_VALUE", // required
|
|
285
|
-
* // type: "GPU" || "InferenceAccelerator", // required
|
|
288
|
+
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
286
289
|
* // },
|
|
287
290
|
* // ],
|
|
288
291
|
* // },
|
|
@@ -80,7 +80,7 @@ declare const StartTaskCommand_base: {
|
|
|
80
80
|
* resourceRequirements: [ // ResourceRequirements
|
|
81
81
|
* { // ResourceRequirement
|
|
82
82
|
* value: "STRING_VALUE", // required
|
|
83
|
-
* type: "GPU" || "InferenceAccelerator", // required
|
|
83
|
+
* type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
84
84
|
* },
|
|
85
85
|
* ],
|
|
86
86
|
* },
|
|
@@ -217,6 +217,9 @@ declare const StartTaskCommand_base: {
|
|
|
217
217
|
* // gpuIds: [ // GpuIds
|
|
218
218
|
* // "STRING_VALUE",
|
|
219
219
|
* // ],
|
|
220
|
+
* // neuronDeviceIds: [ // NeuronDeviceIds
|
|
221
|
+
* // "STRING_VALUE",
|
|
222
|
+
* // ],
|
|
220
223
|
* // },
|
|
221
224
|
* // ],
|
|
222
225
|
* // cpu: "STRING_VALUE",
|
|
@@ -260,7 +263,7 @@ declare const StartTaskCommand_base: {
|
|
|
260
263
|
* // resourceRequirements: [ // ResourceRequirements
|
|
261
264
|
* // { // ResourceRequirement
|
|
262
265
|
* // value: "STRING_VALUE", // required
|
|
263
|
-
* // type: "GPU" || "InferenceAccelerator", // required
|
|
266
|
+
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
264
267
|
* // },
|
|
265
268
|
* // ],
|
|
266
269
|
* // },
|
|
@@ -117,6 +117,9 @@ declare const StopTaskCommand_base: {
|
|
|
117
117
|
* // gpuIds: [ // GpuIds
|
|
118
118
|
* // "STRING_VALUE",
|
|
119
119
|
* // ],
|
|
120
|
+
* // neuronDeviceIds: [ // NeuronDeviceIds
|
|
121
|
+
* // "STRING_VALUE",
|
|
122
|
+
* // ],
|
|
120
123
|
* // },
|
|
121
124
|
* // ],
|
|
122
125
|
* // cpu: "STRING_VALUE",
|
|
@@ -160,7 +163,7 @@ declare const StopTaskCommand_base: {
|
|
|
160
163
|
* // resourceRequirements: [ // ResourceRequirements
|
|
161
164
|
* // { // ResourceRequirement
|
|
162
165
|
* // value: "STRING_VALUE", // required
|
|
163
|
-
* // type: "GPU" || "InferenceAccelerator", // required
|
|
166
|
+
* // type: "GPU" || "InferenceAccelerator" || "NeuronDevice", // required
|
|
164
167
|
* // },
|
|
165
168
|
* // ],
|
|
166
169
|
* // },
|
|
@@ -468,6 +468,7 @@ export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
|
|
|
468
468
|
*/
|
|
469
469
|
export declare const PlatformDeviceType: {
|
|
470
470
|
readonly GPU: "GPU";
|
|
471
|
+
readonly NEURON_DEVICE: "NEURON_DEVICE";
|
|
471
472
|
};
|
|
472
473
|
/**
|
|
473
474
|
* @public
|
|
@@ -750,6 +751,7 @@ export type ApplicationProtocol = (typeof ApplicationProtocol)[keyof typeof Appl
|
|
|
750
751
|
export declare const ResourceType: {
|
|
751
752
|
readonly GPU: "GPU";
|
|
752
753
|
readonly INFERENCE_ACCELERATOR: "InferenceAccelerator";
|
|
754
|
+
readonly NEURON_DEVICE: "NeuronDevice";
|
|
753
755
|
};
|
|
754
756
|
/**
|
|
755
757
|
* @public
|
|
@@ -2261,17 +2261,17 @@ export interface PutAttributesResponse {
|
|
|
2261
2261
|
attributes?: Attribute[] | undefined;
|
|
2262
2262
|
}
|
|
2263
2263
|
/**
|
|
2264
|
-
* <p>The devices that are available on the container instance. The
|
|
2264
|
+
* <p>The devices that are available on the container instance. The supported device types are GPUs and Neuron devices.</p>
|
|
2265
2265
|
* @public
|
|
2266
2266
|
*/
|
|
2267
2267
|
export interface PlatformDevice {
|
|
2268
2268
|
/**
|
|
2269
|
-
* <p>The ID for the
|
|
2269
|
+
* <p>The ID for the GPU or Neuron device on the container instance. For GPUs, the available GPU IDs can also be obtained on the container instance in the <code>/var/lib/ecs/gpu/nvidia_gpu_info.json</code> file. For Neuron devices, the ID corresponds to the device index (for example, <code>0</code> for <code>/dev/neuron0</code>).</p>
|
|
2270
2270
|
* @public
|
|
2271
2271
|
*/
|
|
2272
2272
|
id: string | undefined;
|
|
2273
2273
|
/**
|
|
2274
|
-
* <p>The type of device that's available on the container instance. The
|
|
2274
|
+
* <p>The type of device that's available on the container instance. The supported values are <code>GPU</code> and <code>NEURON_DEVICE</code>.</p>
|
|
2275
2275
|
* @public
|
|
2276
2276
|
*/
|
|
2277
2277
|
type: PlatformDeviceType | undefined;
|
|
@@ -2317,7 +2317,7 @@ export interface RegisterContainerInstanceRequest {
|
|
|
2317
2317
|
*/
|
|
2318
2318
|
attributes?: Attribute[] | undefined;
|
|
2319
2319
|
/**
|
|
2320
|
-
* <p>The devices that are available on the container instance. The
|
|
2320
|
+
* <p>The devices that are available on the container instance. The supported device types are GPUs and Neuron devices.</p>
|
|
2321
2321
|
* @public
|
|
2322
2322
|
*/
|
|
2323
2323
|
platformDevices?: PlatformDevice[] | undefined;
|
|
@@ -4129,12 +4129,12 @@ export interface PortMapping {
|
|
|
4129
4129
|
containerPortRange?: string | undefined;
|
|
4130
4130
|
}
|
|
4131
4131
|
/**
|
|
4132
|
-
* <p>The type and amount of a resource to assign to a container. The supported resource types are GPUs and Elastic Inference accelerators. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html">Working with GPUs on Amazon ECS</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html">Working with Amazon Elastic Inference on Amazon ECS</a> in the <i>Amazon Elastic Container Service Developer Guide</i> </p>
|
|
4132
|
+
* <p>The type and amount of a resource to assign to a container. The supported resource types are GPUs, Neuron devices, and Elastic Inference accelerators. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html">Working with GPUs on Amazon ECS</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html">Working with Amazon Elastic Inference on Amazon ECS</a> in the <i>Amazon Elastic Container Service Developer Guide</i> </p>
|
|
4133
4133
|
* @public
|
|
4134
4134
|
*/
|
|
4135
4135
|
export interface ResourceRequirement {
|
|
4136
4136
|
/**
|
|
4137
|
-
* <p>The value for the specified resource type.</p> <p>When the type is <code>GPU</code>, the value is the number of physical <code>GPUs</code> the Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on.</p> <p>When the type is <code>InferenceAccelerator</code>, the <code>value</code> matches the <code>deviceName</code> for an <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_InferenceAccelerator.html">InferenceAccelerator</a> specified in a task definition.</p>
|
|
4137
|
+
* <p>The value for the specified resource type.</p> <p>When the type is <code>GPU</code>, the value is the number of physical <code>GPUs</code> the Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on. You can also specify <code>ALL</code> to allocate all available GPUs on the instance to the container.</p> <p>When the type is <code>NeuronDevice</code>, the value must be <code>ALL</code>. This allocates all available Neuron devices on the instance to the container. Only one container in a task can specify <code>NeuronDevice</code> resources. This resource type is only supported on Managed Instances.</p> <p>When the type is <code>InferenceAccelerator</code>, the <code>value</code> matches the <code>deviceName</code> for an <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_InferenceAccelerator.html">InferenceAccelerator</a> specified in a task definition.</p>
|
|
4138
4138
|
* @public
|
|
4139
4139
|
*/
|
|
4140
4140
|
value: string | undefined;
|
|
@@ -4361,7 +4361,7 @@ export interface ContainerDefinition {
|
|
|
4361
4361
|
*/
|
|
4362
4362
|
systemControls?: SystemControl[] | undefined;
|
|
4363
4363
|
/**
|
|
4364
|
-
* <p>The type and amount of a resource to assign to a container. The
|
|
4364
|
+
* <p>The type and amount of a resource to assign to a container. The supported resources are GPUs and Neuron devices.</p>
|
|
4365
4365
|
* @public
|
|
4366
4366
|
*/
|
|
4367
4367
|
resourceRequirements?: ResourceRequirement[] | undefined;
|
|
@@ -379,6 +379,11 @@ export interface Container {
|
|
|
379
379
|
* @public
|
|
380
380
|
*/
|
|
381
381
|
gpuIds?: string[] | undefined;
|
|
382
|
+
/**
|
|
383
|
+
* <p>The IDs of each Neuron device assigned to the container.</p>
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
neuronDeviceIds?: string[] | undefined;
|
|
382
387
|
}
|
|
383
388
|
/**
|
|
384
389
|
* <p>The amount of ephemeral storage to allocate for the task.</p>
|
|
@@ -437,7 +442,7 @@ export interface ContainerOverride {
|
|
|
437
442
|
*/
|
|
438
443
|
memoryReservation?: number | undefined;
|
|
439
444
|
/**
|
|
440
|
-
* <p>The type and amount of a resource to assign to a container, instead of the default value from the task definition. The
|
|
445
|
+
* <p>The type and amount of a resource to assign to a container, instead of the default value from the task definition. The supported resources are GPUs and Neuron devices.</p>
|
|
441
446
|
* @public
|
|
442
447
|
*/
|
|
443
448
|
resourceRequirements?: ResourceRequirement[] | undefined;
|
|
@@ -247,6 +247,7 @@ export declare const LaunchType: {
|
|
|
247
247
|
export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
|
|
248
248
|
export declare const PlatformDeviceType: {
|
|
249
249
|
readonly GPU: "GPU";
|
|
250
|
+
readonly NEURON_DEVICE: "NEURON_DEVICE";
|
|
250
251
|
};
|
|
251
252
|
export type PlatformDeviceType =
|
|
252
253
|
(typeof PlatformDeviceType)[keyof typeof PlatformDeviceType];
|
|
@@ -402,6 +403,7 @@ export type ApplicationProtocol =
|
|
|
402
403
|
export declare const ResourceType: {
|
|
403
404
|
readonly GPU: "GPU";
|
|
404
405
|
readonly INFERENCE_ACCELERATOR: "InferenceAccelerator";
|
|
406
|
+
readonly NEURON_DEVICE: "NeuronDevice";
|
|
405
407
|
};
|
|
406
408
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
407
409
|
export declare const VersionConsistency: {
|
|
@@ -128,6 +128,7 @@ export interface Container {
|
|
|
128
128
|
memory?: string | undefined;
|
|
129
129
|
memoryReservation?: string | undefined;
|
|
130
130
|
gpuIds?: string[] | undefined;
|
|
131
|
+
neuronDeviceIds?: string[] | undefined;
|
|
131
132
|
}
|
|
132
133
|
export interface TaskEphemeralStorage {
|
|
133
134
|
sizeInGiB?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1055.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ecs",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.974.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.974.14",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.45",
|
|
28
28
|
"@aws-sdk/types": "^3.973.9",
|
|
29
29
|
"@smithy/core": "^3.24.3",
|
|
30
30
|
"@smithy/fetch-http-handler": "^5.4.3",
|