aws-sdk-ecs 1.126.0 → 1.127.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 +14 -12
- data/lib/aws-sdk-ecs/types.rb +99 -40
- 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: be19bad5e5c9a653ec7741bc5504596fba18fa3412aadc1bc9c221d03d024ce8
|
4
|
+
data.tar.gz: c46d0060da3110f6fda12a3c39763f2a9e2751beb8738b6cd550bfd00d6de7a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6345f4afabbd40bb6683b5e43370c94510720f9a6d30aa02ab048d18b42bc382375d3fb23bd56eed442ba6647110ae163075e2ffb9b93e3aab08cfc31670afb
|
7
|
+
data.tar.gz: 406c373f515f15827e31d4a47121f41f3a9dbb6dab4a6683decd3b28af6950205bf0ee240df6dccc03738551473099f46061fc9365ebef5905d65ffa5bef804a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.127.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -1635,7 +1635,8 @@ module Aws::ECS
|
|
1635
1635
|
# value.
|
1636
1636
|
#
|
1637
1637
|
# @option params [required, String] :task_definition
|
1638
|
-
# The task definition for the tasks in the task set to use.
|
1638
|
+
# The task definition for the tasks in the task set to use. If a
|
1639
|
+
# revision isn't specified, the latest `ACTIVE` revision is used.
|
1639
1640
|
#
|
1640
1641
|
# @option params [Types::NetworkConfiguration] :network_configuration
|
1641
1642
|
# An object representing the network configuration for a task set.
|
@@ -4061,6 +4062,11 @@ module Aws::ECS
|
|
4061
4062
|
# Currently, stopped tasks appear in the returned results for at least
|
4062
4063
|
# one hour.
|
4063
4064
|
#
|
4065
|
+
# If you have tasks with tags, and then delete the cluster, the tagged
|
4066
|
+
# tasks are returned in the response. If you create a new cluster with
|
4067
|
+
# the same name as the deleted cluster, the tagged tasks are not
|
4068
|
+
# included in the response.
|
4069
|
+
#
|
4064
4070
|
# @option params [String] :cluster
|
4065
4071
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
4066
4072
|
# hosts the task or tasks to describe. If you do not specify a cluster,
|
@@ -5303,8 +5309,6 @@ module Aws::ECS
|
|
5303
5309
|
# started the task, or by the desired status of the task.
|
5304
5310
|
#
|
5305
5311
|
# Recently stopped tasks might appear in the returned results.
|
5306
|
-
# Currently, stopped tasks appear in the returned results for at least
|
5307
|
-
# one hour.
|
5308
5312
|
#
|
5309
5313
|
# @option params [String] :cluster
|
5310
5314
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
@@ -8865,23 +8869,21 @@ module Aws::ECS
|
|
8865
8869
|
# with the largest number of running tasks for this service.
|
8866
8870
|
#
|
8867
8871
|
# <note markdown="1"> You must have a service-linked role when you update any of the
|
8868
|
-
# following service properties
|
8869
|
-
# created the service, Amazon ECS automatically replaces the
|
8870
|
-
# [roleARN][2] associated with the service with the ARN of your
|
8871
|
-
# service-linked role. For more information, see [Service-linked
|
8872
|
-
# roles][3] in the *Amazon Elastic Container Service Developer Guide*.
|
8872
|
+
# following service properties:
|
8873
8873
|
#
|
8874
|
-
# * `loadBalancers
|
8874
|
+
# * `loadBalancers`,
|
8875
8875
|
#
|
8876
8876
|
# * `serviceRegistries`
|
8877
8877
|
#
|
8878
|
+
# For more information about the role see the `CreateService` request
|
8879
|
+
# parameter [ `role` ][2].
|
8880
|
+
#
|
8878
8881
|
# </note>
|
8879
8882
|
#
|
8880
8883
|
#
|
8881
8884
|
#
|
8882
8885
|
# [1]: https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html
|
8883
|
-
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/
|
8884
|
-
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
|
8886
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role
|
8885
8887
|
#
|
8886
8888
|
# @option params [String] :cluster
|
8887
8889
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
@@ -9746,7 +9748,7 @@ module Aws::ECS
|
|
9746
9748
|
params: params,
|
9747
9749
|
config: config)
|
9748
9750
|
context[:gem_name] = 'aws-sdk-ecs'
|
9749
|
-
context[:gem_version] = '1.
|
9751
|
+
context[:gem_version] = '1.127.0'
|
9750
9752
|
Seahorse::Client::Request.new(handlers, context)
|
9751
9753
|
end
|
9752
9754
|
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -127,11 +127,11 @@ module Aws::ECS
|
|
127
127
|
#
|
128
128
|
# @!attribute [rw] auto_scaling_group_arn
|
129
129
|
# The Amazon Resource Name (ARN) that identifies the Auto Scaling
|
130
|
-
# group.
|
130
|
+
# group, or the Auto Scaling group name.
|
131
131
|
# @return [String]
|
132
132
|
#
|
133
133
|
# @!attribute [rw] managed_scaling
|
134
|
-
#
|
134
|
+
# he managed scaling settings for the Auto Scaling group capacity
|
135
135
|
# provider.
|
136
136
|
# @return [Types::ManagedScaling]
|
137
137
|
#
|
@@ -1404,6 +1404,8 @@ module Aws::ECS
|
|
1404
1404
|
# [Amazon ECS-optimized Linux AMI][2] in the *Amazon Elastic Container
|
1405
1405
|
# Service Developer Guide*.
|
1406
1406
|
#
|
1407
|
+
# The valid values are 2-120 seconds.
|
1408
|
+
#
|
1407
1409
|
#
|
1408
1410
|
#
|
1409
1411
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
|
@@ -1444,6 +1446,8 @@ module Aws::ECS
|
|
1444
1446
|
# ECS-optimized Linux AMI][2] in the *Amazon Elastic Container Service
|
1445
1447
|
# Developer Guide*.
|
1446
1448
|
#
|
1449
|
+
# The valid values are 2-120 seconds.
|
1450
|
+
#
|
1447
1451
|
#
|
1448
1452
|
#
|
1449
1453
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
|
@@ -1838,22 +1842,44 @@ module Aws::ECS
|
|
1838
1842
|
# @return [Types::FirelensConfiguration]
|
1839
1843
|
#
|
1840
1844
|
# @!attribute [rw] credential_specs
|
1841
|
-
# A list of ARNs in SSM or Amazon S3 to a credential spec
|
1842
|
-
#
|
1843
|
-
#
|
1844
|
-
#
|
1845
|
+
# A list of ARNs in SSM or Amazon S3 to a credential spec (`CredSpec`)
|
1846
|
+
# file that configures the container for Active Directory
|
1847
|
+
# authentication. We recommend that you use this parameter instead of
|
1848
|
+
# the `dockerSecurityOptions`. The maximum number of ARNs is 1.
|
1849
|
+
#
|
1850
|
+
# There are two formats for each ARN.
|
1851
|
+
#
|
1852
|
+
# credentialspecdomainless:MyARN
|
1853
|
+
#
|
1854
|
+
# : You use `credentialspecdomainless:MyARN` to provide a `CredSpec`
|
1855
|
+
# with an additional section for a secret in Secrets Manager. You
|
1856
|
+
# provide the login credentials to the domain in the secret.
|
1857
|
+
#
|
1858
|
+
# Each task that runs on any container instance can join different
|
1859
|
+
# domains.
|
1860
|
+
#
|
1861
|
+
# You can use this format without joining the container instance to
|
1862
|
+
# a domain.
|
1863
|
+
#
|
1864
|
+
# credentialspec:MyARN
|
1845
1865
|
#
|
1846
|
-
#
|
1847
|
-
#
|
1866
|
+
# : You use `credentialspec:MyARN` to provide a `CredSpec` for a
|
1867
|
+
# single domain.
|
1848
1868
|
#
|
1849
|
-
#
|
1850
|
-
#
|
1851
|
-
#
|
1852
|
-
#
|
1853
|
-
#
|
1854
|
-
#
|
1855
|
-
#
|
1856
|
-
#
|
1869
|
+
# You must join the container instance to the domain before you
|
1870
|
+
# start any tasks that use this task definition.
|
1871
|
+
#
|
1872
|
+
# In both formats, replace `MyARN` with the ARN in SSM or Amazon S3.
|
1873
|
+
#
|
1874
|
+
# If you provide a `credentialspecdomainless:MyARN`, the `credspec`
|
1875
|
+
# must provide a ARN in Secrets Manager for a secret containing the
|
1876
|
+
# username, password, and the domain to connect to. For better
|
1877
|
+
# security, the instance isn't joined to the domain for domainless
|
1878
|
+
# authentication. Other applications on the instance can't use the
|
1879
|
+
# domainless credentials. You can use this parameter to run tasks on
|
1880
|
+
# the same instance, even it the tasks need to join different domains.
|
1881
|
+
# For more information, see [Using gMSAs for Windows Containers][1]
|
1882
|
+
# and [Using gMSAs for Linux Containers][2].
|
1857
1883
|
#
|
1858
1884
|
#
|
1859
1885
|
#
|
@@ -2197,6 +2223,15 @@ module Aws::ECS
|
|
2197
2223
|
# is `\{"containerOverrides": [ ] \}`. If a non-empty container override
|
2198
2224
|
# is specified, the `name` parameter must be included.
|
2199
2225
|
#
|
2226
|
+
# You can use Secrets Manager or Amazon Web Services Systems Manager
|
2227
|
+
# Parameter Store to store the sensitive data. For more information, see
|
2228
|
+
# [Retrieve secrets through environment variables][1] in the Amazon ECS
|
2229
|
+
# Developer Guide.
|
2230
|
+
#
|
2231
|
+
#
|
2232
|
+
#
|
2233
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/secrets-envvar.html
|
2234
|
+
#
|
2200
2235
|
# @!attribute [rw] name
|
2201
2236
|
# The name of the container that receives the override. This parameter
|
2202
2237
|
# is required if any override is specified.
|
@@ -2974,7 +3009,8 @@ module Aws::ECS
|
|
2974
3009
|
# @return [String]
|
2975
3010
|
#
|
2976
3011
|
# @!attribute [rw] task_definition
|
2977
|
-
# The task definition for the tasks in the task set to use.
|
3012
|
+
# The task definition for the tasks in the task set to use. If a
|
3013
|
+
# revision isn't specified, the latest `ACTIVE` revision is used.
|
2978
3014
|
# @return [String]
|
2979
3015
|
#
|
2980
3016
|
# @!attribute [rw] network_configuration
|
@@ -3603,9 +3639,13 @@ module Aws::ECS
|
|
3603
3639
|
# failure. For more information, see [Rolling update][1] in the *Amazon
|
3604
3640
|
# Elastic Container Service Developer Guide*.
|
3605
3641
|
#
|
3642
|
+
# For more information about API failure reasons, see [API failure
|
3643
|
+
# reasons][2] in the *Amazon Elastic Container Service Developer Guide*.
|
3644
|
+
#
|
3606
3645
|
#
|
3607
3646
|
#
|
3608
3647
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html
|
3648
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html
|
3609
3649
|
#
|
3610
3650
|
# @!attribute [rw] enable
|
3611
3651
|
# Determines whether to use the deployment circuit breaker logic for
|
@@ -4538,8 +4578,7 @@ module Aws::ECS
|
|
4538
4578
|
# variables][2] in the *Amazon Elastic Container Service Developer
|
4539
4579
|
# Guide*.
|
4540
4580
|
#
|
4541
|
-
#
|
4542
|
-
# following platform versions:
|
4581
|
+
# You must use the following platforms for the Fargate launch type:
|
4543
4582
|
#
|
4544
4583
|
# * Linux platform version `1.4.0` or later.
|
4545
4584
|
#
|
@@ -6263,8 +6302,7 @@ module Aws::ECS
|
|
6263
6302
|
# target group or groups associated with a service or task set.
|
6264
6303
|
#
|
6265
6304
|
# A target group ARN is only specified when using an Application Load
|
6266
|
-
# Balancer or Network Load Balancer.
|
6267
|
-
# Balancer, omit the target group ARN.
|
6305
|
+
# Balancer or Network Load Balancer.
|
6268
6306
|
#
|
6269
6307
|
# For services using the `ECS` deployment controller, you can specify
|
6270
6308
|
# one or multiple target groups. For more information, see
|
@@ -6293,9 +6331,8 @@ module Aws::ECS
|
|
6293
6331
|
# The name of the load balancer to associate with the Amazon ECS
|
6294
6332
|
# service or task set.
|
6295
6333
|
#
|
6296
|
-
#
|
6297
|
-
# Balancer
|
6298
|
-
# Load Balancer the load balancer name parameter should be omitted.
|
6334
|
+
# If you are using an Application Load Balancer or a Network Load
|
6335
|
+
# Balancer the load balancer name parameter should be omitted.
|
6299
6336
|
# @return [String]
|
6300
6337
|
#
|
6301
6338
|
# @!attribute [rw] container_name
|
@@ -6337,9 +6374,15 @@ module Aws::ECS
|
|
6337
6374
|
# containers.
|
6338
6375
|
#
|
6339
6376
|
# * Amazon ECS currently supports a subset of the logging drivers
|
6340
|
-
# available to the Docker daemon
|
6341
|
-
#
|
6342
|
-
#
|
6377
|
+
# available to the Docker daemon. Additional log drivers may be
|
6378
|
+
# available in future releases of the Amazon ECS container agent.
|
6379
|
+
#
|
6380
|
+
# For tasks on Fargate, the supported log drivers are `awslogs`,
|
6381
|
+
# `splunk`, and `awsfirelens`.
|
6382
|
+
#
|
6383
|
+
# For tasks hosted on Amazon EC2 instances, the supported log drivers
|
6384
|
+
# are `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`,
|
6385
|
+
# `logentries`,`syslog`, `splunk`, and `awsfirelens`.
|
6343
6386
|
#
|
6344
6387
|
# * This parameter requires version 1.18 of the Docker Remote API or
|
6345
6388
|
# greater on your container instance.
|
@@ -6540,8 +6583,8 @@ module Aws::ECS
|
|
6540
6583
|
# @!attribute [rw] maximum_scaling_step_size
|
6541
6584
|
# The maximum number of Amazon EC2 instances that Amazon ECS will
|
6542
6585
|
# scale out at one time. The scale in process is not affected by this
|
6543
|
-
# parameter. If this parameter is omitted, the default value of
|
6544
|
-
# used.
|
6586
|
+
# parameter. If this parameter is omitted, the default value of
|
6587
|
+
# `10000` is used.
|
6545
6588
|
# @return [Integer]
|
6546
6589
|
#
|
6547
6590
|
# @!attribute [rw] instance_warmup_period
|
@@ -6955,10 +6998,10 @@ module Aws::ECS
|
|
6955
6998
|
# is listed on the instance under
|
6956
6999
|
# `/proc/sys/net/ipv4/ip_local_port_range`. If this kernel parameter
|
6957
7000
|
# is unavailable, the default ephemeral port range from 49153 through
|
6958
|
-
# 65535
|
6959
|
-
# ephemeral port range as these
|
6960
|
-
# In general, ports below 32768
|
6961
|
-
# range.
|
7001
|
+
# 65535 (Linux) or 49152 through 65535 (Windows) is used. Do not
|
7002
|
+
# attempt to specify a host port in the ephemeral port range as these
|
7003
|
+
# are reserved for automatic assignment. In general, ports below 32768
|
7004
|
+
# are outside of the ephemeral port range.
|
6962
7005
|
#
|
6963
7006
|
# The default reserved ports are 22 for SSH, the Docker ports 2375 and
|
6964
7007
|
# 2376, and the Amazon ECS container agent ports 51678-51680. Any host
|
@@ -8824,9 +8867,15 @@ module Aws::ECS
|
|
8824
8867
|
# your containers.
|
8825
8868
|
#
|
8826
8869
|
# * Amazon ECS currently supports a subset of the logging drivers
|
8827
|
-
# available to the Docker daemon
|
8828
|
-
#
|
8829
|
-
#
|
8870
|
+
# available to the Docker daemon. Additional log drivers may be
|
8871
|
+
# available in future releases of the Amazon ECS container agent.
|
8872
|
+
#
|
8873
|
+
# For tasks on Fargate, the supported log drivers are `awslogs`,
|
8874
|
+
# `splunk`, and `awsfirelens`.
|
8875
|
+
#
|
8876
|
+
# For tasks hosted on Amazon EC2 instances, the supported log
|
8877
|
+
# drivers are `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`,
|
8878
|
+
# `logentries`,`syslog`, `splunk`, and `awsfirelens`.
|
8830
8879
|
#
|
8831
8880
|
# * This parameter requires version 1.18 of the Docker Remote API or
|
8832
8881
|
# greater on your container instance.
|
@@ -9900,6 +9949,9 @@ module Aws::ECS
|
|
9900
9949
|
# The stop code indicating why a task was stopped. The `stoppedReason`
|
9901
9950
|
# might contain additional details.
|
9902
9951
|
#
|
9952
|
+
# For more information about stop code, see [Stopped tasks error
|
9953
|
+
# codes][1] in the *Amazon ECS User Guide*.
|
9954
|
+
#
|
9903
9955
|
# The following are valid values:
|
9904
9956
|
#
|
9905
9957
|
# * `TaskFailedToStart`
|
@@ -9913,6 +9965,10 @@ module Aws::ECS
|
|
9913
9965
|
# * `ServiceSchedulerInitiated`
|
9914
9966
|
#
|
9915
9967
|
# * `SpotInterruption`
|
9968
|
+
#
|
9969
|
+
#
|
9970
|
+
#
|
9971
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/stopped-task-error-codes.html
|
9916
9972
|
# @return [String]
|
9917
9973
|
#
|
9918
9974
|
# @!attribute [rw] stopped_at
|
@@ -9928,7 +9984,7 @@ module Aws::ECS
|
|
9928
9984
|
# @!attribute [rw] stopping_at
|
9929
9985
|
# The Unix timestamp for the time when the task stops. More
|
9930
9986
|
# specifically, it's for the time when the task transitions from the
|
9931
|
-
# `RUNNING` state to `
|
9987
|
+
# `RUNNING` state to `STOPPING`.
|
9932
9988
|
# @return [Time]
|
9933
9989
|
#
|
9934
9990
|
# @!attribute [rw] tags
|
@@ -10213,9 +10269,10 @@ module Aws::ECS
|
|
10213
10269
|
# @return [Types::RuntimePlatform]
|
10214
10270
|
#
|
10215
10271
|
# @!attribute [rw] requires_compatibilities
|
10216
|
-
# The task launch types the task definition was validated against.
|
10217
|
-
#
|
10218
|
-
#
|
10272
|
+
# The task launch types the task definition was validated against. The
|
10273
|
+
# valid values are `EC2`, `FARGATE`, and `EXTERNAL`. For more
|
10274
|
+
# information, see [Amazon ECS launch types][1] in the *Amazon Elastic
|
10275
|
+
# Container Service Developer Guide*.
|
10219
10276
|
#
|
10220
10277
|
#
|
10221
10278
|
#
|
@@ -11565,6 +11622,8 @@ module Aws::ECS
|
|
11565
11622
|
# numbers, underscores, and hyphens are allowed. This name is
|
11566
11623
|
# referenced in the `sourceVolume` parameter of container definition
|
11567
11624
|
# `mountPoints`.
|
11625
|
+
#
|
11626
|
+
# This is required wwhen you use an Amazon EFS volume.
|
11568
11627
|
# @return [String]
|
11569
11628
|
#
|
11570
11629
|
# @!attribute [rw] host
|
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.127.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: 2023-
|
11
|
+
date: 2023-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|