aws-sdk-ecs 1.232.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +28 -22
- 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 +3 -3
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
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.234.0 (2026-05-27)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Add support for Neuron device resource requirements for Amazon ECS
|
|
8
|
+
|
|
9
|
+
1.233.0 (2026-05-21)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.232.0 (2026-05-19)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.234.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
|
@@ -199,7 +199,7 @@ module Aws::ECS
|
|
|
199
199
|
# the required types.
|
|
200
200
|
#
|
|
201
201
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
-
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
|
|
203
203
|
# a clock skew correction and retry requests with skewed client clocks.
|
|
204
204
|
#
|
|
205
205
|
# @option options [String] :defaults_mode ("legacy")
|
|
@@ -323,17 +323,15 @@ module Aws::ECS
|
|
|
323
323
|
# @option options [String] :retry_mode ("legacy")
|
|
324
324
|
# Specifies which retry algorithm to use. Values are:
|
|
325
325
|
#
|
|
326
|
-
# * `legacy` - The pre-existing retry behavior.
|
|
327
|
-
# no retry mode is provided.
|
|
326
|
+
# * `legacy` - The pre-existing retry behavior. This is the default
|
|
327
|
+
# value if no retry mode is provided.
|
|
328
328
|
#
|
|
329
329
|
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
330
330
|
# This includes support for retry quotas, which limit the number of
|
|
331
331
|
# unsuccessful retries a client can make.
|
|
332
332
|
#
|
|
333
|
-
# * `adaptive` -
|
|
334
|
-
#
|
|
335
|
-
# throttling. This is a provisional mode that may change behavior
|
|
336
|
-
# in the future.
|
|
333
|
+
# * `adaptive` - A retry mode that includes all the functionality of
|
|
334
|
+
# `standard` mode along with automatic client side throttling.
|
|
337
335
|
#
|
|
338
336
|
# @option options [String] :sdk_ua_app_id
|
|
339
337
|
# A unique and opaque application ID that is appended to the
|
|
@@ -4218,7 +4216,7 @@ module Aws::ECS
|
|
|
4218
4216
|
# resp.task_definitions[0].container_definitions[0].system_controls[0].value #=> String
|
|
4219
4217
|
# resp.task_definitions[0].container_definitions[0].resource_requirements #=> Array
|
|
4220
4218
|
# resp.task_definitions[0].container_definitions[0].resource_requirements[0].value #=> String
|
|
4221
|
-
# 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"
|
|
4222
4220
|
# resp.task_definitions[0].container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
|
|
4223
4221
|
# resp.task_definitions[0].container_definitions[0].firelens_configuration.options #=> Hash
|
|
4224
4222
|
# resp.task_definitions[0].container_definitions[0].firelens_configuration.options["String"] #=> String
|
|
@@ -4776,7 +4774,7 @@ module Aws::ECS
|
|
|
4776
4774
|
# resp.task_definition.container_definitions[0].system_controls[0].value #=> String
|
|
4777
4775
|
# resp.task_definition.container_definitions[0].resource_requirements #=> Array
|
|
4778
4776
|
# resp.task_definition.container_definitions[0].resource_requirements[0].value #=> String
|
|
4779
|
-
# 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"
|
|
4780
4778
|
# resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
|
|
4781
4779
|
# resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
|
|
4782
4780
|
# resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
|
|
@@ -7036,7 +7034,7 @@ module Aws::ECS
|
|
|
7036
7034
|
# resp.task_definition.container_definitions[0].system_controls[0].value #=> String
|
|
7037
7035
|
# resp.task_definition.container_definitions[0].resource_requirements #=> Array
|
|
7038
7036
|
# resp.task_definition.container_definitions[0].resource_requirements[0].value #=> String
|
|
7039
|
-
# 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"
|
|
7040
7038
|
# resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
|
|
7041
7039
|
# resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
|
|
7042
7040
|
# resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
|
|
@@ -7414,6 +7412,8 @@ module Aws::ECS
|
|
|
7414
7412
|
# resp.tasks[0].containers[0].memory_reservation #=> String
|
|
7415
7413
|
# resp.tasks[0].containers[0].gpu_ids #=> Array
|
|
7416
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
|
|
7417
7417
|
# resp.tasks[0].cpu #=> String
|
|
7418
7418
|
# resp.tasks[0].created_at #=> Time
|
|
7419
7419
|
# resp.tasks[0].desired_status #=> String
|
|
@@ -7442,7 +7442,7 @@ module Aws::ECS
|
|
|
7442
7442
|
# resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
|
|
7443
7443
|
# resp.tasks[0].overrides.container_overrides[0].resource_requirements #=> Array
|
|
7444
7444
|
# resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].value #=> String
|
|
7445
|
-
# 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"
|
|
7446
7446
|
# resp.tasks[0].overrides.cpu #=> String
|
|
7447
7447
|
# resp.tasks[0].overrides.inference_accelerator_overrides #=> Array
|
|
7448
7448
|
# resp.tasks[0].overrides.inference_accelerator_overrides[0].device_name #=> String
|
|
@@ -10161,8 +10161,8 @@ module Aws::ECS
|
|
|
10161
10161
|
# supports.
|
|
10162
10162
|
#
|
|
10163
10163
|
# @option params [Array<Types::PlatformDevice>] :platform_devices
|
|
10164
|
-
# The devices that are available on the container instance. The
|
|
10165
|
-
# supported device
|
|
10164
|
+
# The devices that are available on the container instance. The
|
|
10165
|
+
# supported device types are GPUs and Neuron devices.
|
|
10166
10166
|
#
|
|
10167
10167
|
# @option params [Array<Types::Tag>] :tags
|
|
10168
10168
|
# The metadata that you apply to the container instance to help you
|
|
@@ -10231,7 +10231,7 @@ module Aws::ECS
|
|
|
10231
10231
|
# platform_devices: [
|
|
10232
10232
|
# {
|
|
10233
10233
|
# id: "String", # required
|
|
10234
|
-
# type: "GPU", # required, accepts GPU
|
|
10234
|
+
# type: "GPU", # required, accepts GPU, NEURON_DEVICE
|
|
10235
10235
|
# },
|
|
10236
10236
|
# ],
|
|
10237
10237
|
# tags: [
|
|
@@ -11142,7 +11142,7 @@ module Aws::ECS
|
|
|
11142
11142
|
# resource_requirements: [
|
|
11143
11143
|
# {
|
|
11144
11144
|
# value: "String", # required
|
|
11145
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
|
11145
|
+
# type: "GPU", # required, accepts GPU, InferenceAccelerator, NeuronDevice
|
|
11146
11146
|
# },
|
|
11147
11147
|
# ],
|
|
11148
11148
|
# firelens_configuration: {
|
|
@@ -11349,7 +11349,7 @@ module Aws::ECS
|
|
|
11349
11349
|
# resp.task_definition.container_definitions[0].system_controls[0].value #=> String
|
|
11350
11350
|
# resp.task_definition.container_definitions[0].resource_requirements #=> Array
|
|
11351
11351
|
# resp.task_definition.container_definitions[0].resource_requirements[0].value #=> String
|
|
11352
|
-
# 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"
|
|
11353
11353
|
# resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
|
|
11354
11354
|
# resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
|
|
11355
11355
|
# resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
|
|
@@ -11845,7 +11845,7 @@ module Aws::ECS
|
|
|
11845
11845
|
# resource_requirements: [
|
|
11846
11846
|
# {
|
|
11847
11847
|
# value: "String", # required
|
|
11848
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
|
11848
|
+
# type: "GPU", # required, accepts GPU, InferenceAccelerator, NeuronDevice
|
|
11849
11849
|
# },
|
|
11850
11850
|
# ],
|
|
11851
11851
|
# },
|
|
@@ -11975,6 +11975,8 @@ module Aws::ECS
|
|
|
11975
11975
|
# resp.tasks[0].containers[0].memory_reservation #=> String
|
|
11976
11976
|
# resp.tasks[0].containers[0].gpu_ids #=> Array
|
|
11977
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
|
|
11978
11980
|
# resp.tasks[0].cpu #=> String
|
|
11979
11981
|
# resp.tasks[0].created_at #=> Time
|
|
11980
11982
|
# resp.tasks[0].desired_status #=> String
|
|
@@ -12003,7 +12005,7 @@ module Aws::ECS
|
|
|
12003
12005
|
# resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
|
|
12004
12006
|
# resp.tasks[0].overrides.container_overrides[0].resource_requirements #=> Array
|
|
12005
12007
|
# resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].value #=> String
|
|
12006
|
-
# 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"
|
|
12007
12009
|
# resp.tasks[0].overrides.cpu #=> String
|
|
12008
12010
|
# resp.tasks[0].overrides.inference_accelerator_overrides #=> Array
|
|
12009
12011
|
# resp.tasks[0].overrides.inference_accelerator_overrides[0].device_name #=> String
|
|
@@ -12292,7 +12294,7 @@ module Aws::ECS
|
|
|
12292
12294
|
# resource_requirements: [
|
|
12293
12295
|
# {
|
|
12294
12296
|
# value: "String", # required
|
|
12295
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
|
12297
|
+
# type: "GPU", # required, accepts GPU, InferenceAccelerator, NeuronDevice
|
|
12296
12298
|
# },
|
|
12297
12299
|
# ],
|
|
12298
12300
|
# },
|
|
@@ -12408,6 +12410,8 @@ module Aws::ECS
|
|
|
12408
12410
|
# resp.tasks[0].containers[0].memory_reservation #=> String
|
|
12409
12411
|
# resp.tasks[0].containers[0].gpu_ids #=> Array
|
|
12410
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
|
|
12411
12415
|
# resp.tasks[0].cpu #=> String
|
|
12412
12416
|
# resp.tasks[0].created_at #=> Time
|
|
12413
12417
|
# resp.tasks[0].desired_status #=> String
|
|
@@ -12436,7 +12440,7 @@ module Aws::ECS
|
|
|
12436
12440
|
# resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
|
|
12437
12441
|
# resp.tasks[0].overrides.container_overrides[0].resource_requirements #=> Array
|
|
12438
12442
|
# resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].value #=> String
|
|
12439
|
-
# 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"
|
|
12440
12444
|
# resp.tasks[0].overrides.cpu #=> String
|
|
12441
12445
|
# resp.tasks[0].overrides.inference_accelerator_overrides #=> Array
|
|
12442
12446
|
# resp.tasks[0].overrides.inference_accelerator_overrides[0].device_name #=> String
|
|
@@ -12715,6 +12719,8 @@ module Aws::ECS
|
|
|
12715
12719
|
# resp.task.containers[0].memory_reservation #=> String
|
|
12716
12720
|
# resp.task.containers[0].gpu_ids #=> Array
|
|
12717
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
|
|
12718
12724
|
# resp.task.cpu #=> String
|
|
12719
12725
|
# resp.task.created_at #=> Time
|
|
12720
12726
|
# resp.task.desired_status #=> String
|
|
@@ -12743,7 +12749,7 @@ module Aws::ECS
|
|
|
12743
12749
|
# resp.task.overrides.container_overrides[0].memory_reservation #=> Integer
|
|
12744
12750
|
# resp.task.overrides.container_overrides[0].resource_requirements #=> Array
|
|
12745
12751
|
# resp.task.overrides.container_overrides[0].resource_requirements[0].value #=> String
|
|
12746
|
-
# 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"
|
|
12747
12753
|
# resp.task.overrides.cpu #=> String
|
|
12748
12754
|
# resp.task.overrides.inference_accelerator_overrides #=> Array
|
|
12749
12755
|
# resp.task.overrides.inference_accelerator_overrides[0].device_name #=> String
|
|
@@ -16004,7 +16010,7 @@ module Aws::ECS
|
|
|
16004
16010
|
tracer: tracer
|
|
16005
16011
|
)
|
|
16006
16012
|
context[:gem_name] = 'aws-sdk-ecs'
|
|
16007
|
-
context[:gem_version] = '1.
|
|
16013
|
+
context[:gem_version] = '1.234.0'
|
|
16008
16014
|
Seahorse::Client::Request.new(handlers, context)
|
|
16009
16015
|
end
|
|
16010
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
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-ecs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.234.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.248.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.248.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|