aws-sdk-ecs 1.233.0 → 1.234.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +23 -15
- data/lib/aws-sdk-ecs/client_api.rb +4 -0
- data/lib/aws-sdk-ecs/types.rb +32 -18
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +2 -2
- data/sig/params.rbs +1 -1
- data/sig/types.rbs +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 355ac31ca18013f8c2f1b9bdc6cd77444ba09562b29bffbf259f56921b49df6f
|
|
4
|
+
data.tar.gz: 28f452c6f6a7c64c217ccc944897ced5dad9d3eb00c99cb67f34413df47bbb28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef1ae73113e0438bd3ee61366bd6cecc71c223376d181651ce81c284c5cdd40d5c9fed3304f96eb8359abe46ee7cd95f4a5d915e160020d2fb4e15c99daa6ebf
|
|
7
|
+
data.tar.gz: d1e8af26a259bffc90ae181245171732da894fb2c0b697c14ff74acb8e649a7d8502568ba15a999a8cb73352b3ba3059c83bf0b9551fa15f5be7638b16897f73
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.234.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
|
@@ -4216,7 +4216,7 @@ module Aws::ECS
|
|
|
4216
4216
|
# resp.task_definitions[0].container_definitions[0].system_controls[0].value #=> String
|
|
4217
4217
|
# resp.task_definitions[0].container_definitions[0].resource_requirements #=> Array
|
|
4218
4218
|
# resp.task_definitions[0].container_definitions[0].resource_requirements[0].value #=> String
|
|
4219
|
-
# resp.task_definitions[0].container_definitions[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
|
|
4219
|
+
# resp.task_definitions[0].container_definitions[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator", "NeuronDevice"
|
|
4220
4220
|
# resp.task_definitions[0].container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
|
|
4221
4221
|
# resp.task_definitions[0].container_definitions[0].firelens_configuration.options #=> Hash
|
|
4222
4222
|
# resp.task_definitions[0].container_definitions[0].firelens_configuration.options["String"] #=> String
|
|
@@ -4774,7 +4774,7 @@ module Aws::ECS
|
|
|
4774
4774
|
# resp.task_definition.container_definitions[0].system_controls[0].value #=> String
|
|
4775
4775
|
# resp.task_definition.container_definitions[0].resource_requirements #=> Array
|
|
4776
4776
|
# resp.task_definition.container_definitions[0].resource_requirements[0].value #=> String
|
|
4777
|
-
# resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
|
|
4777
|
+
# resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator", "NeuronDevice"
|
|
4778
4778
|
# resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
|
|
4779
4779
|
# resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
|
|
4780
4780
|
# resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
|
|
@@ -7034,7 +7034,7 @@ module Aws::ECS
|
|
|
7034
7034
|
# resp.task_definition.container_definitions[0].system_controls[0].value #=> String
|
|
7035
7035
|
# resp.task_definition.container_definitions[0].resource_requirements #=> Array
|
|
7036
7036
|
# resp.task_definition.container_definitions[0].resource_requirements[0].value #=> String
|
|
7037
|
-
# resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
|
|
7037
|
+
# resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator", "NeuronDevice"
|
|
7038
7038
|
# resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
|
|
7039
7039
|
# resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
|
|
7040
7040
|
# resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
|
|
@@ -7412,6 +7412,8 @@ module Aws::ECS
|
|
|
7412
7412
|
# resp.tasks[0].containers[0].memory_reservation #=> String
|
|
7413
7413
|
# resp.tasks[0].containers[0].gpu_ids #=> Array
|
|
7414
7414
|
# resp.tasks[0].containers[0].gpu_ids[0] #=> String
|
|
7415
|
+
# resp.tasks[0].containers[0].neuron_device_ids #=> Array
|
|
7416
|
+
# resp.tasks[0].containers[0].neuron_device_ids[0] #=> String
|
|
7415
7417
|
# resp.tasks[0].cpu #=> String
|
|
7416
7418
|
# resp.tasks[0].created_at #=> Time
|
|
7417
7419
|
# resp.tasks[0].desired_status #=> String
|
|
@@ -7440,7 +7442,7 @@ module Aws::ECS
|
|
|
7440
7442
|
# resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
|
|
7441
7443
|
# resp.tasks[0].overrides.container_overrides[0].resource_requirements #=> Array
|
|
7442
7444
|
# resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].value #=> String
|
|
7443
|
-
# resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
|
|
7445
|
+
# resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator", "NeuronDevice"
|
|
7444
7446
|
# resp.tasks[0].overrides.cpu #=> String
|
|
7445
7447
|
# resp.tasks[0].overrides.inference_accelerator_overrides #=> Array
|
|
7446
7448
|
# resp.tasks[0].overrides.inference_accelerator_overrides[0].device_name #=> String
|
|
@@ -10159,8 +10161,8 @@ module Aws::ECS
|
|
|
10159
10161
|
# supports.
|
|
10160
10162
|
#
|
|
10161
10163
|
# @option params [Array<Types::PlatformDevice>] :platform_devices
|
|
10162
|
-
# The devices that are available on the container instance. The
|
|
10163
|
-
# supported device
|
|
10164
|
+
# The devices that are available on the container instance. The
|
|
10165
|
+
# supported device types are GPUs and Neuron devices.
|
|
10164
10166
|
#
|
|
10165
10167
|
# @option params [Array<Types::Tag>] :tags
|
|
10166
10168
|
# The metadata that you apply to the container instance to help you
|
|
@@ -10229,7 +10231,7 @@ module Aws::ECS
|
|
|
10229
10231
|
# platform_devices: [
|
|
10230
10232
|
# {
|
|
10231
10233
|
# id: "String", # required
|
|
10232
|
-
# type: "GPU", # required, accepts GPU
|
|
10234
|
+
# type: "GPU", # required, accepts GPU, NEURON_DEVICE
|
|
10233
10235
|
# },
|
|
10234
10236
|
# ],
|
|
10235
10237
|
# tags: [
|
|
@@ -11140,7 +11142,7 @@ module Aws::ECS
|
|
|
11140
11142
|
# resource_requirements: [
|
|
11141
11143
|
# {
|
|
11142
11144
|
# value: "String", # required
|
|
11143
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
|
11145
|
+
# type: "GPU", # required, accepts GPU, InferenceAccelerator, NeuronDevice
|
|
11144
11146
|
# },
|
|
11145
11147
|
# ],
|
|
11146
11148
|
# firelens_configuration: {
|
|
@@ -11347,7 +11349,7 @@ module Aws::ECS
|
|
|
11347
11349
|
# resp.task_definition.container_definitions[0].system_controls[0].value #=> String
|
|
11348
11350
|
# resp.task_definition.container_definitions[0].resource_requirements #=> Array
|
|
11349
11351
|
# resp.task_definition.container_definitions[0].resource_requirements[0].value #=> String
|
|
11350
|
-
# resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
|
|
11352
|
+
# resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator", "NeuronDevice"
|
|
11351
11353
|
# resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
|
|
11352
11354
|
# resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
|
|
11353
11355
|
# resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
|
|
@@ -11843,7 +11845,7 @@ module Aws::ECS
|
|
|
11843
11845
|
# resource_requirements: [
|
|
11844
11846
|
# {
|
|
11845
11847
|
# value: "String", # required
|
|
11846
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
|
11848
|
+
# type: "GPU", # required, accepts GPU, InferenceAccelerator, NeuronDevice
|
|
11847
11849
|
# },
|
|
11848
11850
|
# ],
|
|
11849
11851
|
# },
|
|
@@ -11973,6 +11975,8 @@ module Aws::ECS
|
|
|
11973
11975
|
# resp.tasks[0].containers[0].memory_reservation #=> String
|
|
11974
11976
|
# resp.tasks[0].containers[0].gpu_ids #=> Array
|
|
11975
11977
|
# resp.tasks[0].containers[0].gpu_ids[0] #=> String
|
|
11978
|
+
# resp.tasks[0].containers[0].neuron_device_ids #=> Array
|
|
11979
|
+
# resp.tasks[0].containers[0].neuron_device_ids[0] #=> String
|
|
11976
11980
|
# resp.tasks[0].cpu #=> String
|
|
11977
11981
|
# resp.tasks[0].created_at #=> Time
|
|
11978
11982
|
# resp.tasks[0].desired_status #=> String
|
|
@@ -12001,7 +12005,7 @@ module Aws::ECS
|
|
|
12001
12005
|
# resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
|
|
12002
12006
|
# resp.tasks[0].overrides.container_overrides[0].resource_requirements #=> Array
|
|
12003
12007
|
# resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].value #=> String
|
|
12004
|
-
# resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
|
|
12008
|
+
# resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator", "NeuronDevice"
|
|
12005
12009
|
# resp.tasks[0].overrides.cpu #=> String
|
|
12006
12010
|
# resp.tasks[0].overrides.inference_accelerator_overrides #=> Array
|
|
12007
12011
|
# resp.tasks[0].overrides.inference_accelerator_overrides[0].device_name #=> String
|
|
@@ -12290,7 +12294,7 @@ module Aws::ECS
|
|
|
12290
12294
|
# resource_requirements: [
|
|
12291
12295
|
# {
|
|
12292
12296
|
# value: "String", # required
|
|
12293
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
|
12297
|
+
# type: "GPU", # required, accepts GPU, InferenceAccelerator, NeuronDevice
|
|
12294
12298
|
# },
|
|
12295
12299
|
# ],
|
|
12296
12300
|
# },
|
|
@@ -12406,6 +12410,8 @@ module Aws::ECS
|
|
|
12406
12410
|
# resp.tasks[0].containers[0].memory_reservation #=> String
|
|
12407
12411
|
# resp.tasks[0].containers[0].gpu_ids #=> Array
|
|
12408
12412
|
# resp.tasks[0].containers[0].gpu_ids[0] #=> String
|
|
12413
|
+
# resp.tasks[0].containers[0].neuron_device_ids #=> Array
|
|
12414
|
+
# resp.tasks[0].containers[0].neuron_device_ids[0] #=> String
|
|
12409
12415
|
# resp.tasks[0].cpu #=> String
|
|
12410
12416
|
# resp.tasks[0].created_at #=> Time
|
|
12411
12417
|
# resp.tasks[0].desired_status #=> String
|
|
@@ -12434,7 +12440,7 @@ module Aws::ECS
|
|
|
12434
12440
|
# resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
|
|
12435
12441
|
# resp.tasks[0].overrides.container_overrides[0].resource_requirements #=> Array
|
|
12436
12442
|
# resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].value #=> String
|
|
12437
|
-
# resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
|
|
12443
|
+
# resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator", "NeuronDevice"
|
|
12438
12444
|
# resp.tasks[0].overrides.cpu #=> String
|
|
12439
12445
|
# resp.tasks[0].overrides.inference_accelerator_overrides #=> Array
|
|
12440
12446
|
# resp.tasks[0].overrides.inference_accelerator_overrides[0].device_name #=> String
|
|
@@ -12713,6 +12719,8 @@ module Aws::ECS
|
|
|
12713
12719
|
# resp.task.containers[0].memory_reservation #=> String
|
|
12714
12720
|
# resp.task.containers[0].gpu_ids #=> Array
|
|
12715
12721
|
# resp.task.containers[0].gpu_ids[0] #=> String
|
|
12722
|
+
# resp.task.containers[0].neuron_device_ids #=> Array
|
|
12723
|
+
# resp.task.containers[0].neuron_device_ids[0] #=> String
|
|
12716
12724
|
# resp.task.cpu #=> String
|
|
12717
12725
|
# resp.task.created_at #=> Time
|
|
12718
12726
|
# resp.task.desired_status #=> String
|
|
@@ -12741,7 +12749,7 @@ module Aws::ECS
|
|
|
12741
12749
|
# resp.task.overrides.container_overrides[0].memory_reservation #=> Integer
|
|
12742
12750
|
# resp.task.overrides.container_overrides[0].resource_requirements #=> Array
|
|
12743
12751
|
# resp.task.overrides.container_overrides[0].resource_requirements[0].value #=> String
|
|
12744
|
-
# resp.task.overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
|
|
12752
|
+
# resp.task.overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator", "NeuronDevice"
|
|
12745
12753
|
# resp.task.overrides.cpu #=> String
|
|
12746
12754
|
# resp.task.overrides.inference_accelerator_overrides #=> Array
|
|
12747
12755
|
# resp.task.overrides.inference_accelerator_overrides[0].device_name #=> String
|
|
@@ -16002,7 +16010,7 @@ module Aws::ECS
|
|
|
16002
16010
|
tracer: tracer
|
|
16003
16011
|
)
|
|
16004
16012
|
context[:gem_name] = 'aws-sdk-ecs'
|
|
16005
|
-
context[:gem_version] = '1.
|
|
16013
|
+
context[:gem_version] = '1.234.0'
|
|
16006
16014
|
Seahorse::Client::Request.new(handlers, context)
|
|
16007
16015
|
end
|
|
16008
16016
|
|
|
@@ -421,6 +421,7 @@ module Aws::ECS
|
|
|
421
421
|
NetworkInterfaceCountRequest = Shapes::StructureShape.new(name: 'NetworkInterfaceCountRequest')
|
|
422
422
|
NetworkInterfaces = Shapes::ListShape.new(name: 'NetworkInterfaces')
|
|
423
423
|
NetworkMode = Shapes::StringShape.new(name: 'NetworkMode')
|
|
424
|
+
NeuronDeviceIds = Shapes::ListShape.new(name: 'NeuronDeviceIds')
|
|
424
425
|
NoUpdateAvailableException = Shapes::StructureShape.new(name: 'NoUpdateAvailableException')
|
|
425
426
|
OSFamily = Shapes::StringShape.new(name: 'OSFamily')
|
|
426
427
|
PidMode = Shapes::StringShape.new(name: 'PidMode')
|
|
@@ -829,6 +830,7 @@ module Aws::ECS
|
|
|
829
830
|
Container.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
|
|
830
831
|
Container.add_member(:memory_reservation, Shapes::ShapeRef.new(shape: String, location_name: "memoryReservation"))
|
|
831
832
|
Container.add_member(:gpu_ids, Shapes::ShapeRef.new(shape: GpuIds, location_name: "gpuIds"))
|
|
833
|
+
Container.add_member(:neuron_device_ids, Shapes::ShapeRef.new(shape: NeuronDeviceIds, location_name: "neuronDeviceIds"))
|
|
832
834
|
Container.struct_class = Types::Container
|
|
833
835
|
|
|
834
836
|
ContainerDefinition.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
@@ -2224,6 +2226,8 @@ module Aws::ECS
|
|
|
2224
2226
|
|
|
2225
2227
|
NetworkInterfaces.member = Shapes::ShapeRef.new(shape: NetworkInterface)
|
|
2226
2228
|
|
|
2229
|
+
NeuronDeviceIds.member = Shapes::ShapeRef.new(shape: String)
|
|
2230
|
+
|
|
2227
2231
|
NoUpdateAvailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
2228
2232
|
NoUpdateAvailableException.struct_class = Types::NoUpdateAvailableException
|
|
2229
2233
|
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
|
@@ -1350,6 +1350,10 @@ module Aws::ECS
|
|
|
1350
1350
|
# The IDs of each GPU assigned to the container.
|
|
1351
1351
|
# @return [Array<String>]
|
|
1352
1352
|
#
|
|
1353
|
+
# @!attribute [rw] neuron_device_ids
|
|
1354
|
+
# The IDs of each Neuron device assigned to the container.
|
|
1355
|
+
# @return [Array<String>]
|
|
1356
|
+
#
|
|
1353
1357
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Container AWS API Documentation
|
|
1354
1358
|
#
|
|
1355
1359
|
class Container < Struct.new(
|
|
@@ -1369,7 +1373,8 @@ module Aws::ECS
|
|
|
1369
1373
|
:cpu,
|
|
1370
1374
|
:memory,
|
|
1371
1375
|
:memory_reservation,
|
|
1372
|
-
:gpu_ids
|
|
1376
|
+
:gpu_ids,
|
|
1377
|
+
:neuron_device_ids)
|
|
1373
1378
|
SENSITIVE = []
|
|
1374
1379
|
include Aws::Structure
|
|
1375
1380
|
end
|
|
@@ -2126,8 +2131,8 @@ module Aws::ECS
|
|
|
2126
2131
|
# @return [Array<Types::SystemControl>]
|
|
2127
2132
|
#
|
|
2128
2133
|
# @!attribute [rw] resource_requirements
|
|
2129
|
-
# The type and amount of a resource to assign to a container. The
|
|
2130
|
-
# supported
|
|
2134
|
+
# The type and amount of a resource to assign to a container. The
|
|
2135
|
+
# supported resources are GPUs and Neuron devices.
|
|
2131
2136
|
# @return [Array<Types::ResourceRequirement>]
|
|
2132
2137
|
#
|
|
2133
2138
|
# @!attribute [rw] firelens_configuration
|
|
@@ -2627,8 +2632,8 @@ module Aws::ECS
|
|
|
2627
2632
|
#
|
|
2628
2633
|
# @!attribute [rw] resource_requirements
|
|
2629
2634
|
# The type and amount of a resource to assign to a container, instead
|
|
2630
|
-
# of the default value from the task definition. The
|
|
2631
|
-
#
|
|
2635
|
+
# of the default value from the task definition. The supported
|
|
2636
|
+
# resources are GPUs and Neuron devices.
|
|
2632
2637
|
# @return [Array<Types::ResourceRequirement>]
|
|
2633
2638
|
#
|
|
2634
2639
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerOverride AWS API Documentation
|
|
@@ -11960,18 +11965,20 @@ module Aws::ECS
|
|
|
11960
11965
|
include Aws::Structure
|
|
11961
11966
|
end
|
|
11962
11967
|
|
|
11963
|
-
# The devices that are available on the container instance. The
|
|
11964
|
-
# supported device
|
|
11968
|
+
# The devices that are available on the container instance. The
|
|
11969
|
+
# supported device types are GPUs and Neuron devices.
|
|
11965
11970
|
#
|
|
11966
11971
|
# @!attribute [rw] id
|
|
11967
|
-
# The ID for the
|
|
11968
|
-
# can also be obtained on the container
|
|
11969
|
-
# `/var/lib/ecs/gpu/nvidia_gpu_info.json` file.
|
|
11972
|
+
# The ID for the GPU or Neuron device on the container instance. For
|
|
11973
|
+
# GPUs, the available GPU IDs can also be obtained on the container
|
|
11974
|
+
# instance in the `/var/lib/ecs/gpu/nvidia_gpu_info.json` file. For
|
|
11975
|
+
# Neuron devices, the ID corresponds to the device index (for example,
|
|
11976
|
+
# `0` for `/dev/neuron0`).
|
|
11970
11977
|
# @return [String]
|
|
11971
11978
|
#
|
|
11972
11979
|
# @!attribute [rw] type
|
|
11973
11980
|
# The type of device that's available on the container instance. The
|
|
11974
|
-
#
|
|
11981
|
+
# supported values are `GPU` and `NEURON_DEVICE`.
|
|
11975
11982
|
# @return [String]
|
|
11976
11983
|
#
|
|
11977
11984
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PlatformDevice AWS API Documentation
|
|
@@ -12855,8 +12862,8 @@ module Aws::ECS
|
|
|
12855
12862
|
# @return [Array<Types::Attribute>]
|
|
12856
12863
|
#
|
|
12857
12864
|
# @!attribute [rw] platform_devices
|
|
12858
|
-
# The devices that are available on the container instance. The
|
|
12859
|
-
# supported device
|
|
12865
|
+
# The devices that are available on the container instance. The
|
|
12866
|
+
# supported device types are GPUs and Neuron devices.
|
|
12860
12867
|
# @return [Array<Types::PlatformDevice>]
|
|
12861
12868
|
#
|
|
12862
12869
|
# @!attribute [rw] tags
|
|
@@ -13514,10 +13521,10 @@ module Aws::ECS
|
|
|
13514
13521
|
end
|
|
13515
13522
|
|
|
13516
13523
|
# The type and amount of a resource to assign to a container. The
|
|
13517
|
-
# supported resource types are GPUs and Elastic
|
|
13518
|
-
# For more information, see [Working with GPUs
|
|
13519
|
-
# [Working with Amazon Elastic Inference on Amazon
|
|
13520
|
-
# *Amazon Elastic Container Service Developer Guide*
|
|
13524
|
+
# supported resource types are GPUs, Neuron devices, and Elastic
|
|
13525
|
+
# Inference accelerators. For more information, see [Working with GPUs
|
|
13526
|
+
# on Amazon ECS][1] or [Working with Amazon Elastic Inference on Amazon
|
|
13527
|
+
# ECS][2] in the *Amazon Elastic Container Service Developer Guide*
|
|
13521
13528
|
#
|
|
13522
13529
|
#
|
|
13523
13530
|
#
|
|
@@ -13531,7 +13538,14 @@ module Aws::ECS
|
|
|
13531
13538
|
# the Amazon ECS container agent reserves for the container. The
|
|
13532
13539
|
# number of GPUs that's reserved for all containers in a task can't
|
|
13533
13540
|
# exceed the number of available GPUs on the container instance that
|
|
13534
|
-
# the task is launched on.
|
|
13541
|
+
# the task is launched on. You can also specify `ALL` to allocate all
|
|
13542
|
+
# available GPUs on the instance to the container.
|
|
13543
|
+
#
|
|
13544
|
+
# When the type is `NeuronDevice`, the value must be `ALL`. This
|
|
13545
|
+
# allocates all available Neuron devices on the instance to the
|
|
13546
|
+
# container. Only one container in a task can specify `NeuronDevice`
|
|
13547
|
+
# resources. This resource type is only supported on Managed
|
|
13548
|
+
# Instances.
|
|
13535
13549
|
#
|
|
13536
13550
|
# When the type is `InferenceAccelerator`, the `value` matches the
|
|
13537
13551
|
# `deviceName` for an [InferenceAccelerator][1] specified in a task
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -1043,7 +1043,7 @@ module Aws
|
|
|
1043
1043
|
?platform_devices: Array[
|
|
1044
1044
|
{
|
|
1045
1045
|
id: ::String,
|
|
1046
|
-
type: ("GPU")
|
|
1046
|
+
type: ("GPU" | "NEURON_DEVICE")
|
|
1047
1047
|
}
|
|
1048
1048
|
],
|
|
1049
1049
|
?tags: Array[
|
|
@@ -1334,7 +1334,7 @@ module Aws
|
|
|
1334
1334
|
resource_requirements: Array[
|
|
1335
1335
|
{
|
|
1336
1336
|
value: ::String,
|
|
1337
|
-
type: ("GPU" | "InferenceAccelerator")
|
|
1337
|
+
type: ("GPU" | "InferenceAccelerator" | "NeuronDevice")
|
|
1338
1338
|
}
|
|
1339
1339
|
]?,
|
|
1340
1340
|
firelens_configuration: {
|
data/sig/params.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -227,6 +227,7 @@ module Aws::ECS
|
|
|
227
227
|
attr_accessor memory: ::String
|
|
228
228
|
attr_accessor memory_reservation: ::String
|
|
229
229
|
attr_accessor gpu_ids: ::Array[::String]
|
|
230
|
+
attr_accessor neuron_device_ids: ::Array[::String]
|
|
230
231
|
SENSITIVE: []
|
|
231
232
|
end
|
|
232
233
|
|
|
@@ -1945,7 +1946,7 @@ module Aws::ECS
|
|
|
1945
1946
|
|
|
1946
1947
|
class PlatformDevice
|
|
1947
1948
|
attr_accessor id: ::String
|
|
1948
|
-
attr_accessor type: ("GPU")
|
|
1949
|
+
attr_accessor type: ("GPU" | "NEURON_DEVICE")
|
|
1949
1950
|
SENSITIVE: []
|
|
1950
1951
|
end
|
|
1951
1952
|
|
|
@@ -2124,7 +2125,7 @@ module Aws::ECS
|
|
|
2124
2125
|
|
|
2125
2126
|
class ResourceRequirement
|
|
2126
2127
|
attr_accessor value: ::String
|
|
2127
|
-
attr_accessor type: ("GPU" | "InferenceAccelerator")
|
|
2128
|
+
attr_accessor type: ("GPU" | "InferenceAccelerator" | "NeuronDevice")
|
|
2128
2129
|
SENSITIVE: []
|
|
2129
2130
|
end
|
|
2130
2131
|
|