aws-sdk-ecs 1.177.0 → 1.178.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +25 -6
- data/lib/aws-sdk-ecs/types.rb +70 -11
- data/lib/aws-sdk-ecs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b4561a5807e5fe903700e0cde47ec9fc125537abe216cf24d038f9543d89232
|
4
|
+
data.tar.gz: e4f72015685fa1cc9766ec5c62a861ca2da949c79aa961ce635753bfb6e47dcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8605768a2833dee137709afec9e59d44857e0173b6a8af100d5637157666f0239377e41625ea6d6fa11b1d9143e47291f8e42dcf9b951593d24991bed4a3b6e6
|
7
|
+
data.tar.gz: 9282fae9b60bdd0aa378ea1ee0dd976af7fc40e74150b99f391b3c7730b96d8c2717bc17c59cdac8f4a7a06cfb0411bf9e598ef7f9667f867784ef824f30136d
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.178.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -1040,8 +1040,8 @@ module Aws::ECS
|
|
1040
1040
|
# service.
|
1041
1041
|
#
|
1042
1042
|
# For more information, see [Balancing an Amazon ECS service across
|
1043
|
-
# Availability Zones][1] in the
|
1044
|
-
# Developer Guide
|
1043
|
+
# Availability Zones][1] in the <i> <i>Amazon Elastic Container Service
|
1044
|
+
# Developer Guide</i> </i>.
|
1045
1045
|
#
|
1046
1046
|
#
|
1047
1047
|
#
|
@@ -9635,7 +9635,7 @@ module Aws::ECS
|
|
9635
9635
|
# cluster is assumed.
|
9636
9636
|
#
|
9637
9637
|
# @option params [required, String] :task
|
9638
|
-
#
|
9638
|
+
# Thefull Amazon Resource Name (ARN) of the task.
|
9639
9639
|
#
|
9640
9640
|
# @option params [String] :reason
|
9641
9641
|
# An optional message specified when a task is stopped. For example, if
|
@@ -10065,6 +10065,25 @@ module Aws::ECS
|
|
10065
10065
|
# Currently, the supported resources are Amazon ECS capacity providers,
|
10066
10066
|
# tasks, services, task definitions, clusters, and container instances.
|
10067
10067
|
#
|
10068
|
+
# In order to tag a service that has the following ARN format, you need
|
10069
|
+
# to migrate the service to the long ARN. For more information, see
|
10070
|
+
# [Migrate an Amazon ECS short service ARN to a long ARN][1] in the
|
10071
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
10072
|
+
#
|
10073
|
+
# `arn:aws:ecs:region:aws_account_id:service/service-name`
|
10074
|
+
#
|
10075
|
+
# After the migration is complete, the service has the long ARN format,
|
10076
|
+
# as shown below. Use this ARN to tag the service.
|
10077
|
+
#
|
10078
|
+
# `arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name`
|
10079
|
+
#
|
10080
|
+
# If you try to tag a service with a short ARN, you receive an
|
10081
|
+
# `InvalidParameterException` error.
|
10082
|
+
#
|
10083
|
+
#
|
10084
|
+
#
|
10085
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-arn-migration.html
|
10086
|
+
#
|
10068
10087
|
# @option params [required, Array<Types::Tag>] :tags
|
10069
10088
|
# The tags to add to the resource. A tag is an array of key-value pairs.
|
10070
10089
|
#
|
@@ -11411,8 +11430,8 @@ module Aws::ECS
|
|
11411
11430
|
# service.
|
11412
11431
|
#
|
11413
11432
|
# For more information, see [Balancing an Amazon ECS service across
|
11414
|
-
# Availability Zones][1] in the
|
11415
|
-
# Developer Guide
|
11433
|
+
# Availability Zones][1] in the <i> <i>Amazon Elastic Container Service
|
11434
|
+
# Developer Guide</i> </i>.
|
11416
11435
|
#
|
11417
11436
|
#
|
11418
11437
|
#
|
@@ -12429,7 +12448,7 @@ module Aws::ECS
|
|
12429
12448
|
tracer: tracer
|
12430
12449
|
)
|
12431
12450
|
context[:gem_name] = 'aws-sdk-ecs'
|
12432
|
-
context[:gem_version] = '1.
|
12451
|
+
context[:gem_version] = '1.178.0'
|
12433
12452
|
Seahorse::Client::Request.new(handlers, context)
|
12434
12453
|
end
|
12435
12454
|
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -2650,8 +2650,8 @@ module Aws::ECS
|
|
2650
2650
|
# service.
|
2651
2651
|
#
|
2652
2652
|
# For more information, see [Balancing an Amazon ECS service across
|
2653
|
-
# Availability Zones][1] in the
|
2654
|
-
# Developer Guide
|
2653
|
+
# Availability Zones][1] in the <i> <i>Amazon Elastic Container
|
2654
|
+
# Service Developer Guide</i> </i>.
|
2655
2655
|
#
|
2656
2656
|
#
|
2657
2657
|
#
|
@@ -5415,10 +5415,16 @@ module Aws::ECS
|
|
5415
5415
|
# * Container health checks aren't supported for tasks that are part of
|
5416
5416
|
# a service that's configured to use a Classic Load Balancer.
|
5417
5417
|
#
|
5418
|
+
# For an example of how to specify a task definition with multiple
|
5419
|
+
# containers where container dependency is specified, see [Container
|
5420
|
+
# dependency][3] in the *Amazon Elastic Container Service Developer
|
5421
|
+
# Guide*.
|
5422
|
+
#
|
5418
5423
|
#
|
5419
5424
|
#
|
5420
5425
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
|
5421
5426
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
5427
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency
|
5422
5428
|
#
|
5423
5429
|
# @!attribute [rw] command
|
5424
5430
|
# A string array representing the command that the container runs to
|
@@ -5445,26 +5451,29 @@ module Aws::ECS
|
|
5445
5451
|
# @!attribute [rw] interval
|
5446
5452
|
# The time period in seconds between each health check execution. You
|
5447
5453
|
# may specify between 5 and 300 seconds. The default value is 30
|
5448
|
-
# seconds.
|
5454
|
+
# seconds. This value applies only when you specify a `command`.
|
5449
5455
|
# @return [Integer]
|
5450
5456
|
#
|
5451
5457
|
# @!attribute [rw] timeout
|
5452
5458
|
# The time period in seconds to wait for a health check to succeed
|
5453
5459
|
# before it is considered a failure. You may specify between 2 and 60
|
5454
|
-
# seconds. The default value is 5.
|
5460
|
+
# seconds. The default value is 5. This value applies only when you
|
5461
|
+
# specify a `command`.
|
5455
5462
|
# @return [Integer]
|
5456
5463
|
#
|
5457
5464
|
# @!attribute [rw] retries
|
5458
5465
|
# The number of times to retry a failed health check before the
|
5459
5466
|
# container is considered unhealthy. You may specify between 1 and 10
|
5460
|
-
# retries. The default value is 3.
|
5467
|
+
# retries. The default value is 3. This value applies only when you
|
5468
|
+
# specify a `command`.
|
5461
5469
|
# @return [Integer]
|
5462
5470
|
#
|
5463
5471
|
# @!attribute [rw] start_period
|
5464
5472
|
# The optional grace period to provide containers time to bootstrap
|
5465
5473
|
# before failed health checks count towards the maximum number of
|
5466
5474
|
# retries. You can specify between 0 and 300 seconds. By default, the
|
5467
|
-
# `startPeriod` is off.
|
5475
|
+
# `startPeriod` is off. This value applies only when you specify a
|
5476
|
+
# `command`.
|
5468
5477
|
#
|
5469
5478
|
# <note markdown="1"> If a health check succeeds within the `startPeriod`, then the
|
5470
5479
|
# container is considered healthy and any subsequent failures count
|
@@ -5639,9 +5648,36 @@ module Aws::ECS
|
|
5639
5648
|
# detailed information about these Linux capabilities, see the
|
5640
5649
|
# [capabilities(7)][1] Linux manual page.
|
5641
5650
|
#
|
5651
|
+
# The following describes how Docker processes the Linux capabilities
|
5652
|
+
# specified in the `add` and `drop` request parameters. For information
|
5653
|
+
# about the latest behavior, see [Docker Compose: order of cap\_drop and
|
5654
|
+
# cap\_add][2] in the Docker Community Forum.
|
5655
|
+
#
|
5656
|
+
# * When the container is a privleged container, the container
|
5657
|
+
# capabilities are all of the default Docker capabilities. The
|
5658
|
+
# capabilities specified in the `add` request parameter, and the
|
5659
|
+
# `drop` request parameter are ignored.
|
5660
|
+
#
|
5661
|
+
# * When the `add` request parameter is set to ALL, the container
|
5662
|
+
# capabilities are all of the default Docker capabilities, excluding
|
5663
|
+
# those specified in the `drop` request parameter.
|
5664
|
+
#
|
5665
|
+
# * When the `drop` request parameter is set to ALL, the container
|
5666
|
+
# capabilities are the capabilities specified in the `add` request
|
5667
|
+
# parameter.
|
5668
|
+
#
|
5669
|
+
# * When the `add` request parameter and the `drop` request parameter
|
5670
|
+
# are both empty, the capabilities the container capabilities are all
|
5671
|
+
# of the default Docker capabilities.
|
5672
|
+
#
|
5673
|
+
# * The default is to first drop the capabilities specified in the
|
5674
|
+
# `drop` request parameter, and then add the capabilities specified in
|
5675
|
+
# the `add` request parameter.
|
5676
|
+
#
|
5642
5677
|
#
|
5643
5678
|
#
|
5644
5679
|
# [1]: http://man7.org/linux/man-pages/man7/capabilities.7.html
|
5680
|
+
# [2]: https://forums.docker.com/t/docker-compose-order-of-cap-drop-and-cap-add/97136/1
|
5645
5681
|
#
|
5646
5682
|
# @!attribute [rw] add
|
5647
5683
|
# The Linux capabilities for the container that have been added to the
|
@@ -7199,11 +7235,15 @@ module Aws::ECS
|
|
7199
7235
|
# @!attribute [rw] kms_key_id
|
7200
7236
|
# Specify a Key Management Service key ID to encrypt the managed
|
7201
7237
|
# storage.
|
7238
|
+
#
|
7239
|
+
# The key must be a single Region key.
|
7202
7240
|
# @return [String]
|
7203
7241
|
#
|
7204
7242
|
# @!attribute [rw] fargate_ephemeral_storage_kms_key_id
|
7205
7243
|
# Specify the Key Management Service key ID for the Fargate ephemeral
|
7206
7244
|
# storage.
|
7245
|
+
#
|
7246
|
+
# The key must be a single Region key.
|
7207
7247
|
# @return [String]
|
7208
7248
|
#
|
7209
7249
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ManagedStorageConfiguration AWS API Documentation
|
@@ -9612,8 +9652,8 @@ module Aws::ECS
|
|
9612
9652
|
# service.
|
9613
9653
|
#
|
9614
9654
|
# For more information, see [Balancing an Amazon ECS service across
|
9615
|
-
# Availability Zones][1] in the
|
9616
|
-
# Developer Guide
|
9655
|
+
# Availability Zones][1] in the <i> <i>Amazon Elastic Container
|
9656
|
+
# Service Developer Guide</i> </i>.
|
9617
9657
|
#
|
9618
9658
|
#
|
9619
9659
|
#
|
@@ -10993,7 +11033,7 @@ module Aws::ECS
|
|
10993
11033
|
# @return [String]
|
10994
11034
|
#
|
10995
11035
|
# @!attribute [rw] task
|
10996
|
-
#
|
11036
|
+
# Thefull Amazon Resource Name (ARN) of the task.
|
10997
11037
|
# @return [String]
|
10998
11038
|
#
|
10999
11039
|
# @!attribute [rw] reason
|
@@ -11316,6 +11356,25 @@ module Aws::ECS
|
|
11316
11356
|
# Currently, the supported resources are Amazon ECS capacity
|
11317
11357
|
# providers, tasks, services, task definitions, clusters, and
|
11318
11358
|
# container instances.
|
11359
|
+
#
|
11360
|
+
# In order to tag a service that has the following ARN format, you
|
11361
|
+
# need to migrate the service to the long ARN. For more information,
|
11362
|
+
# see [Migrate an Amazon ECS short service ARN to a long ARN][1] in
|
11363
|
+
# the *Amazon Elastic Container Service Developer Guide*.
|
11364
|
+
#
|
11365
|
+
# `arn:aws:ecs:region:aws_account_id:service/service-name`
|
11366
|
+
#
|
11367
|
+
# After the migration is complete, the service has the long ARN
|
11368
|
+
# format, as shown below. Use this ARN to tag the service.
|
11369
|
+
#
|
11370
|
+
# `arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name`
|
11371
|
+
#
|
11372
|
+
# If you try to tag a service with a short ARN, you receive an
|
11373
|
+
# `InvalidParameterException` error.
|
11374
|
+
#
|
11375
|
+
#
|
11376
|
+
#
|
11377
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-arn-migration.html
|
11319
11378
|
# @return [String]
|
11320
11379
|
#
|
11321
11380
|
# @!attribute [rw] tags
|
@@ -13279,8 +13338,8 @@ module Aws::ECS
|
|
13279
13338
|
# service.
|
13280
13339
|
#
|
13281
13340
|
# For more information, see [Balancing an Amazon ECS service across
|
13282
|
-
# Availability Zones][1] in the
|
13283
|
-
# Developer Guide
|
13341
|
+
# Availability Zones][1] in the <i> <i>Amazon Elastic Container
|
13342
|
+
# Service Developer Guide</i> </i>.
|
13284
13343
|
#
|
13285
13344
|
#
|
13286
13345
|
#
|
data/lib/aws-sdk-ecs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.178.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|