aws-sdk-ecs 1.254.0 → 1.255.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 +5 -1
- data/lib/aws-sdk-ecs/client_api.rb +5 -0
- data/lib/aws-sdk-ecs/types.rb +49 -1
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +3 -0
- data/sig/types.rbs +6 -0
- 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: d8aa103d4fccd7826babebbc8faadaf7b67d4a30509a9e35ea951bc8b88a87c0
|
|
4
|
+
data.tar.gz: 359febb40343e9da6188f3ed5272fad7cdd46f60e9528ff5caeb40a9d36c8f75
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a03745b9dc18330f2f7a646f65a34d7815f4bf9506c975941b3196fa6e33987201ed89d485e39da01bfff3270be7d1d6064950254503f3680f40fb8fb6380297
|
|
7
|
+
data.tar.gz: ea99326d7d541aa3d3f2fb56fb41a0f31e0f4e57efb11f724dfec4f25eb22fb0928581f323e78706fb75f3a4b327aa2949b51d5b0e8d79750c2f6ca81f72bcf8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.255.0 (2026-11-04)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon ECS Managed Instances now supports the json-file log driver in task definitions. Daemon task definition volumes also support logDriverVolumeConfiguration, letting managed daemons read those logs.
|
|
8
|
+
|
|
4
9
|
1.254.0 (2026-10-29)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.255.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
|
@@ -6366,6 +6366,7 @@ module Aws::ECS
|
|
|
6366
6366
|
# resp.daemon_task_definition.volumes #=> Array
|
|
6367
6367
|
# resp.daemon_task_definition.volumes[0].name #=> String
|
|
6368
6368
|
# resp.daemon_task_definition.volumes[0].host.source_path #=> String
|
|
6369
|
+
# resp.daemon_task_definition.volumes[0].log_driver_volume_configuration.driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
|
|
6369
6370
|
# resp.daemon_task_definition.cpu #=> String
|
|
6370
6371
|
# resp.daemon_task_definition.memory #=> String
|
|
6371
6372
|
# resp.daemon_task_definition.status #=> String, one of "ACTIVE", "DELETE_IN_PROGRESS", "DELETED"
|
|
@@ -11801,6 +11802,9 @@ module Aws::ECS
|
|
|
11801
11802
|
# host: {
|
|
11802
11803
|
# source_path: "String",
|
|
11803
11804
|
# },
|
|
11805
|
+
# log_driver_volume_configuration: {
|
|
11806
|
+
# driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens
|
|
11807
|
+
# },
|
|
11804
11808
|
# },
|
|
11805
11809
|
# ],
|
|
11806
11810
|
# tags: [
|
|
@@ -17554,7 +17558,7 @@ module Aws::ECS
|
|
|
17554
17558
|
tracer: tracer
|
|
17555
17559
|
)
|
|
17556
17560
|
context[:gem_name] = 'aws-sdk-ecs'
|
|
17557
|
-
context[:gem_version] = '1.
|
|
17561
|
+
context[:gem_version] = '1.255.0'
|
|
17558
17562
|
Seahorse::Client::Request.new(handlers, context)
|
|
17559
17563
|
end
|
|
17560
17564
|
|
|
@@ -451,6 +451,7 @@ module Aws::ECS
|
|
|
451
451
|
LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
|
|
452
452
|
LogConfigurationOptionsMap = Shapes::MapShape.new(name: 'LogConfigurationOptionsMap')
|
|
453
453
|
LogDriver = Shapes::StringShape.new(name: 'LogDriver')
|
|
454
|
+
LogDriverVolumeConfiguration = Shapes::StructureShape.new(name: 'LogDriverVolumeConfiguration')
|
|
454
455
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
|
455
456
|
ManagedAgent = Shapes::StructureShape.new(name: 'ManagedAgent')
|
|
456
457
|
ManagedAgentName = Shapes::StringShape.new(name: 'ManagedAgentName')
|
|
@@ -1420,6 +1421,7 @@ module Aws::ECS
|
|
|
1420
1421
|
|
|
1421
1422
|
DaemonVolume.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
1422
1423
|
DaemonVolume.add_member(:host, Shapes::ShapeRef.new(shape: HostVolumeProperties, location_name: "host"))
|
|
1424
|
+
DaemonVolume.add_member(:log_driver_volume_configuration, Shapes::ShapeRef.new(shape: LogDriverVolumeConfiguration, location_name: "logDriverVolumeConfiguration"))
|
|
1423
1425
|
DaemonVolume.struct_class = Types::DaemonVolume
|
|
1424
1426
|
|
|
1425
1427
|
DaemonVolumeList.member = Shapes::ShapeRef.new(shape: DaemonVolume)
|
|
@@ -2498,6 +2500,9 @@ module Aws::ECS
|
|
|
2498
2500
|
LogConfigurationOptionsMap.key = Shapes::ShapeRef.new(shape: String)
|
|
2499
2501
|
LogConfigurationOptionsMap.value = Shapes::ShapeRef.new(shape: String)
|
|
2500
2502
|
|
|
2503
|
+
LogDriverVolumeConfiguration.add_member(:driver, Shapes::ShapeRef.new(shape: LogDriver, required: true, location_name: "driver"))
|
|
2504
|
+
LogDriverVolumeConfiguration.struct_class = Types::LogDriverVolumeConfiguration
|
|
2505
|
+
|
|
2501
2506
|
ManagedAgent.add_member(:last_started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastStartedAt"))
|
|
2502
2507
|
ManagedAgent.add_member(:name, Shapes::ShapeRef.new(shape: ManagedAgentName, location_name: "name"))
|
|
2503
2508
|
ManagedAgent.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
|
@@ -5293,11 +5293,24 @@ module Aws::ECS
|
|
|
5293
5293
|
# it's stored.
|
|
5294
5294
|
# @return [Types::HostVolumeProperties]
|
|
5295
5295
|
#
|
|
5296
|
+
# @!attribute [rw] log_driver_volume_configuration
|
|
5297
|
+
# The log driver volume configuration. With a log driver volume, the
|
|
5298
|
+
# containers in a daemon task can read the log files that a log driver
|
|
5299
|
+
# writes for the other tasks on the container instance. To read the
|
|
5300
|
+
# log files, mount the volume into a container in the daemon task with
|
|
5301
|
+
# `mountPoints`.
|
|
5302
|
+
#
|
|
5303
|
+
# Use `host` to bind mount a path on the container instance. Use
|
|
5304
|
+
# `logDriverVolumeConfiguration` to read the log output of other
|
|
5305
|
+
# tasks. You can't specify both for the same volume.
|
|
5306
|
+
# @return [Types::LogDriverVolumeConfiguration]
|
|
5307
|
+
#
|
|
5296
5308
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DaemonVolume AWS API Documentation
|
|
5297
5309
|
#
|
|
5298
5310
|
class DaemonVolume < Struct.new(
|
|
5299
5311
|
:name,
|
|
5300
|
-
:host
|
|
5312
|
+
:host,
|
|
5313
|
+
:log_driver_volume_configuration)
|
|
5301
5314
|
SENSITIVE = []
|
|
5302
5315
|
include Aws::Structure
|
|
5303
5316
|
end
|
|
@@ -12337,6 +12350,9 @@ module Aws::ECS
|
|
|
12337
12350
|
# are `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`,`syslog`,
|
|
12338
12351
|
# `splunk`, and `awsfirelens`.
|
|
12339
12352
|
#
|
|
12353
|
+
# For tasks on Amazon ECS Managed Instances, the supported log drivers
|
|
12354
|
+
# are `awslogs`, `splunk`, `awsfirelens`, and `json-file`.
|
|
12355
|
+
#
|
|
12340
12356
|
# * This parameter requires version 1.18 of the Docker Remote API or
|
|
12341
12357
|
# greater on your container instance.
|
|
12342
12358
|
#
|
|
@@ -12368,6 +12384,9 @@ module Aws::ECS
|
|
|
12368
12384
|
# are `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`, `syslog`,
|
|
12369
12385
|
# `splunk`, and `awsfirelens`.
|
|
12370
12386
|
#
|
|
12387
|
+
# For tasks on Amazon ECS Managed Instances, the supported log drivers
|
|
12388
|
+
# are `awslogs`, `splunk`, `awsfirelens`, and `json-file`.
|
|
12389
|
+
#
|
|
12371
12390
|
# For more information about using the `awslogs` log driver, see [Send
|
|
12372
12391
|
# Amazon ECS logs to CloudWatch][1] in the *Amazon Elastic Container
|
|
12373
12392
|
# Service Developer Guide*.
|
|
@@ -12631,6 +12650,32 @@ module Aws::ECS
|
|
|
12631
12650
|
include Aws::Structure
|
|
12632
12651
|
end
|
|
12633
12652
|
|
|
12653
|
+
# The configuration for a log driver volume in a daemon task definition.
|
|
12654
|
+
# The volume contains the log files for each container on the container
|
|
12655
|
+
# instance that uses the specified log driver in its `logConfiguration`.
|
|
12656
|
+
# Containers that use a different log driver don't write log files to
|
|
12657
|
+
# the volume.
|
|
12658
|
+
#
|
|
12659
|
+
# For the `json-file` log driver, the volume has one directory for each
|
|
12660
|
+
# container, named with the container ID. Each directory contains the
|
|
12661
|
+
# container's log file, `<container-id>-json.log`, and any rotated log
|
|
12662
|
+
# files. After a container stops and Amazon ECS removes it, Amazon ECS
|
|
12663
|
+
# deletes the container's directory. Read the log files before the
|
|
12664
|
+
# container is removed.
|
|
12665
|
+
#
|
|
12666
|
+
# @!attribute [rw] driver
|
|
12667
|
+
# The log driver whose log files the volume contains. The only
|
|
12668
|
+
# supported value is `json-file`.
|
|
12669
|
+
# @return [String]
|
|
12670
|
+
#
|
|
12671
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LogDriverVolumeConfiguration AWS API Documentation
|
|
12672
|
+
#
|
|
12673
|
+
class LogDriverVolumeConfiguration < Struct.new(
|
|
12674
|
+
:driver)
|
|
12675
|
+
SENSITIVE = []
|
|
12676
|
+
include Aws::Structure
|
|
12677
|
+
end
|
|
12678
|
+
|
|
12634
12679
|
# Details about the managed agent status for the container.
|
|
12635
12680
|
#
|
|
12636
12681
|
# @!attribute [rw] last_started_at
|
|
@@ -16614,6 +16659,9 @@ module Aws::ECS
|
|
|
16614
16659
|
# drivers are `awslogs`, `fluentd`, `gelf`, `json-file`,
|
|
16615
16660
|
# `journald`,`syslog`, `splunk`, and `awsfirelens`.
|
|
16616
16661
|
#
|
|
16662
|
+
# For tasks on Amazon ECS Managed Instances, the supported log
|
|
16663
|
+
# drivers are `awslogs`, `splunk`, `awsfirelens`, and `json-file`.
|
|
16664
|
+
#
|
|
16617
16665
|
# * This parameter requires version 1.18 of the Docker Remote API or
|
|
16618
16666
|
# greater on your container instance.
|
|
16619
16667
|
#
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -1348,6 +1348,9 @@ module Aws
|
|
|
1348
1348
|
name: ::String?,
|
|
1349
1349
|
host: {
|
|
1350
1350
|
source_path: ::String?
|
|
1351
|
+
}?,
|
|
1352
|
+
log_driver_volume_configuration: {
|
|
1353
|
+
driver: ("json-file" | "syslog" | "journald" | "gelf" | "fluentd" | "awslogs" | "splunk" | "awsfirelens")
|
|
1351
1354
|
}?
|
|
1352
1355
|
}
|
|
1353
1356
|
],
|
data/sig/types.rbs
CHANGED
|
@@ -764,6 +764,7 @@ module Aws::ECS
|
|
|
764
764
|
class DaemonVolume
|
|
765
765
|
attr_accessor name: ::String
|
|
766
766
|
attr_accessor host: Types::HostVolumeProperties
|
|
767
|
+
attr_accessor log_driver_volume_configuration: Types::LogDriverVolumeConfiguration
|
|
767
768
|
SENSITIVE: []
|
|
768
769
|
end
|
|
769
770
|
|
|
@@ -2144,6 +2145,11 @@ module Aws::ECS
|
|
|
2144
2145
|
SENSITIVE: []
|
|
2145
2146
|
end
|
|
2146
2147
|
|
|
2148
|
+
class LogDriverVolumeConfiguration
|
|
2149
|
+
attr_accessor driver: ("json-file" | "syslog" | "journald" | "gelf" | "fluentd" | "awslogs" | "splunk" | "awsfirelens")
|
|
2150
|
+
SENSITIVE: []
|
|
2151
|
+
end
|
|
2152
|
+
|
|
2147
2153
|
class ManagedAgent
|
|
2148
2154
|
attr_accessor last_started_at: ::Time
|
|
2149
2155
|
attr_accessor name: ("ExecuteCommandAgent")
|
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.255.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.264.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.264.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|