aws-sdk-ecs 1.206.0 → 1.207.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 +43 -18
- data/lib/aws-sdk-ecs/types.rb +69 -29
- data/lib/aws-sdk-ecs.rb +1 -1
- 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: a83c0f5ec4c5c7c9b8a8ae5726ad22820e231ca3ad603d98284e6ddb867f9599
|
4
|
+
data.tar.gz: 74ecfd2f12dffa5947124d44ea5ce594dcabe215a58cfef4ebb5e0b2c03a5485
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24dbf1b122ff1835fe7179177cce3d211a5465417f8ab0323a1170a2a270dcf4a9702781d17b32fe9ecc83e8e8902c1135a57d72157e547b385fa1c952052d57
|
7
|
+
data.tar.gz: f61ede2b1e224d4ffa905edc0ffb00cd45107cc7f3261e53ec752cac65f6e57540deff120fe4de8c86b0bd490d9ed1d412df062543714c4e0ac371f1cc089464
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.207.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -1222,6 +1222,19 @@ module Aws::ECS
|
|
1222
1222
|
# Availability Zones][1] in the <i> <i>Amazon Elastic Container Service
|
1223
1223
|
# Developer Guide</i> </i>.
|
1224
1224
|
#
|
1225
|
+
# The default behavior of `AvailabilityZoneRebalancing` differs between
|
1226
|
+
# create and update requests:
|
1227
|
+
#
|
1228
|
+
# * For create service requests, when no value is specified for
|
1229
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
1230
|
+
# `ENABLED`.
|
1231
|
+
#
|
1232
|
+
# * For update service requests, when no value is specified for
|
1233
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults to the existing
|
1234
|
+
# service’s `AvailabilityZoneRebalancing` value. If the service never
|
1235
|
+
# had an `AvailabilityZoneRebalancing` value set, Amazon ECS treats
|
1236
|
+
# this as `DISABLED`.
|
1237
|
+
#
|
1225
1238
|
#
|
1226
1239
|
#
|
1227
1240
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
|
@@ -1231,13 +1244,13 @@ module Aws::ECS
|
|
1231
1244
|
# your service. For more information, see [Service load balancing][1] in
|
1232
1245
|
# the *Amazon Elastic Container Service Developer Guide*.
|
1233
1246
|
#
|
1234
|
-
# If the service uses the
|
1235
|
-
#
|
1236
|
-
#
|
1237
|
-
#
|
1238
|
-
#
|
1239
|
-
#
|
1240
|
-
#
|
1247
|
+
# If the service uses the `ECS` deployment controller and using either
|
1248
|
+
# an Application Load Balancer or Network Load Balancer, you must
|
1249
|
+
# specify one or more target group ARNs to attach to the service. The
|
1250
|
+
# service-linked role is required for services that use multiple target
|
1251
|
+
# groups. For more information, see [Using service-linked roles for
|
1252
|
+
# Amazon ECS][2] in the *Amazon Elastic Container Service Developer
|
1253
|
+
# Guide*.
|
1241
1254
|
#
|
1242
1255
|
# If the service uses the `CODE_DEPLOY` deployment controller, the
|
1243
1256
|
# service is required to use either an Application Load Balancer or
|
@@ -1419,17 +1432,13 @@ module Aws::ECS
|
|
1419
1432
|
# @option params [Integer] :health_check_grace_period_seconds
|
1420
1433
|
# The period of time, in seconds, that the Amazon ECS service scheduler
|
1421
1434
|
# ignores unhealthy Elastic Load Balancing, VPC Lattice, and container
|
1422
|
-
# health checks after a task has first started. If you
|
1423
|
-
# health check grace period value, the default value of
|
1424
|
-
# you
|
1435
|
+
# health checks after a task has first started. If you do not specify a
|
1436
|
+
# health check grace period value, the default value of 0 is used. If
|
1437
|
+
# you do not use any of the health checks, then
|
1425
1438
|
# `healthCheckGracePeriodSeconds` is unused.
|
1426
1439
|
#
|
1427
|
-
# If your service
|
1428
|
-
#
|
1429
|
-
# 2,147,483,647 seconds (about 69 years). During that time, the Amazon
|
1430
|
-
# ECS service scheduler ignores health check status. This grace period
|
1431
|
-
# can prevent the service scheduler from marking tasks as unhealthy and
|
1432
|
-
# stopping them before they have time to come up.
|
1440
|
+
# If your service has more running tasks than desired, unhealthy tasks
|
1441
|
+
# in the grace period might be stopped to reach the desired count.
|
1433
1442
|
#
|
1434
1443
|
# @option params [String] :scheduling_strategy
|
1435
1444
|
# The scheduling strategy to use for the service. For more information,
|
@@ -9332,7 +9341,7 @@ module Aws::ECS
|
|
9332
9341
|
# @option params [Array<Types::TaskVolumeConfiguration>] :volume_configurations
|
9333
9342
|
# The details of the volume that was `configuredAtLaunch`. You can
|
9334
9343
|
# configure the size, volumeType, IOPS, throughput, snapshot and
|
9335
|
-
# encryption in
|
9344
|
+
# encryption in [TaskManagedEBSVolumeConfiguration][1]. The `name` of
|
9336
9345
|
# the volume must match the `name` from the task definition.
|
9337
9346
|
#
|
9338
9347
|
#
|
@@ -12089,6 +12098,19 @@ module Aws::ECS
|
|
12089
12098
|
# Availability Zones][1] in the <i> <i>Amazon Elastic Container Service
|
12090
12099
|
# Developer Guide</i> </i>.
|
12091
12100
|
#
|
12101
|
+
# The default behavior of `AvailabilityZoneRebalancing` differs between
|
12102
|
+
# create and update requests:
|
12103
|
+
#
|
12104
|
+
# * For create service requests, when no value is specified for
|
12105
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
12106
|
+
# `ENABLED`.
|
12107
|
+
#
|
12108
|
+
# * For update service requests, when no value is specified for
|
12109
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults to the existing
|
12110
|
+
# service’s `AvailabilityZoneRebalancing` value. If the service never
|
12111
|
+
# had an `AvailabilityZoneRebalancing` value set, Amazon ECS treats
|
12112
|
+
# this as `DISABLED`.
|
12113
|
+
#
|
12092
12114
|
# This parameter doesn't trigger a new service deployment.
|
12093
12115
|
#
|
12094
12116
|
#
|
@@ -12160,6 +12182,9 @@ module Aws::ECS
|
|
12160
12182
|
# can prevent the service scheduler from marking tasks as unhealthy and
|
12161
12183
|
# stopping them before they have time to come up.
|
12162
12184
|
#
|
12185
|
+
# If your service has more running tasks than desired, unhealthy tasks
|
12186
|
+
# in the grace period might be stopped to reach the desired count.
|
12187
|
+
#
|
12163
12188
|
# This parameter doesn't trigger a new service deployment.
|
12164
12189
|
#
|
12165
12190
|
# @option params [Types::DeploymentController] :deployment_controller
|
@@ -13202,7 +13227,7 @@ module Aws::ECS
|
|
13202
13227
|
tracer: tracer
|
13203
13228
|
)
|
13204
13229
|
context[:gem_name] = 'aws-sdk-ecs'
|
13205
|
-
context[:gem_version] = '1.
|
13230
|
+
context[:gem_version] = '1.207.0'
|
13206
13231
|
Seahorse::Client::Request.new(handlers, context)
|
13207
13232
|
end
|
13208
13233
|
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -1067,7 +1067,7 @@ module Aws::ECS
|
|
1067
1067
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html
|
1068
1068
|
#
|
1069
1069
|
# @!attribute [rw] name
|
1070
|
-
# The name of the cluster setting. The value is `containerInsights
|
1070
|
+
# The name of the cluster setting. The value is `containerInsights`.
|
1071
1071
|
# @return [String]
|
1072
1072
|
#
|
1073
1073
|
# @!attribute [rw] value
|
@@ -1429,12 +1429,12 @@ module Aws::ECS
|
|
1429
1429
|
# so you can't access a container's mapped port from the host
|
1430
1430
|
# itself.
|
1431
1431
|
#
|
1432
|
-
# This parameter maps to `PortBindings` in the
|
1433
|
-
#
|
1434
|
-
#
|
1435
|
-
#
|
1436
|
-
#
|
1437
|
-
#
|
1432
|
+
# This parameter maps to `PortBindings` in the docker container create
|
1433
|
+
# command and the `--publish` option to docker run. If the network
|
1434
|
+
# mode of a task definition is set to `none`, then you can't specify
|
1435
|
+
# port mappings. If the network mode of a task definition is set to
|
1436
|
+
# `host`, then host ports must either be undefined or they must match
|
1437
|
+
# the container port in the port mapping.
|
1438
1438
|
#
|
1439
1439
|
# <note markdown="1"> After a task reaches the `RUNNING` status, manual and automatic host
|
1440
1440
|
# and container port assignments are visible in the **Network
|
@@ -2893,6 +2893,19 @@ module Aws::ECS
|
|
2893
2893
|
# Availability Zones][1] in the <i> <i>Amazon Elastic Container
|
2894
2894
|
# Service Developer Guide</i> </i>.
|
2895
2895
|
#
|
2896
|
+
# The default behavior of `AvailabilityZoneRebalancing` differs
|
2897
|
+
# between create and update requests:
|
2898
|
+
#
|
2899
|
+
# * For create service requests, when no value is specified for
|
2900
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
2901
|
+
# `ENABLED`.
|
2902
|
+
#
|
2903
|
+
# * For update service requests, when no value is specified for
|
2904
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults to the existing
|
2905
|
+
# service’s `AvailabilityZoneRebalancing` value. If the service
|
2906
|
+
# never had an `AvailabilityZoneRebalancing` value set, Amazon ECS
|
2907
|
+
# treats this as `DISABLED`.
|
2908
|
+
#
|
2896
2909
|
#
|
2897
2910
|
#
|
2898
2911
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
|
@@ -2903,13 +2916,13 @@ module Aws::ECS
|
|
2903
2916
|
# your service. For more information, see [Service load balancing][1]
|
2904
2917
|
# in the *Amazon Elastic Container Service Developer Guide*.
|
2905
2918
|
#
|
2906
|
-
# If the service uses the
|
2907
|
-
#
|
2908
|
-
#
|
2909
|
-
#
|
2910
|
-
#
|
2911
|
-
#
|
2912
|
-
#
|
2919
|
+
# If the service uses the `ECS` deployment controller and using either
|
2920
|
+
# an Application Load Balancer or Network Load Balancer, you must
|
2921
|
+
# specify one or more target group ARNs to attach to the service. The
|
2922
|
+
# service-linked role is required for services that use multiple
|
2923
|
+
# target groups. For more information, see [Using service-linked roles
|
2924
|
+
# for Amazon ECS][2] in the *Amazon Elastic Container Service
|
2925
|
+
# Developer Guide*.
|
2913
2926
|
#
|
2914
2927
|
# If the service uses the `CODE_DEPLOY` deployment controller, the
|
2915
2928
|
# service is required to use either an Application Load Balancer or
|
@@ -3107,17 +3120,13 @@ module Aws::ECS
|
|
3107
3120
|
# @!attribute [rw] health_check_grace_period_seconds
|
3108
3121
|
# The period of time, in seconds, that the Amazon ECS service
|
3109
3122
|
# scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and
|
3110
|
-
# container health checks after a task has first started. If you
|
3111
|
-
#
|
3112
|
-
#
|
3123
|
+
# container health checks after a task has first started. If you do
|
3124
|
+
# not specify a health check grace period value, the default value of
|
3125
|
+
# 0 is used. If you do not use any of the health checks, then
|
3113
3126
|
# `healthCheckGracePeriodSeconds` is unused.
|
3114
3127
|
#
|
3115
|
-
# If your service
|
3116
|
-
#
|
3117
|
-
# 2,147,483,647 seconds (about 69 years). During that time, the Amazon
|
3118
|
-
# ECS service scheduler ignores health check status. This grace period
|
3119
|
-
# can prevent the service scheduler from marking tasks as unhealthy
|
3120
|
-
# and stopping them before they have time to come up.
|
3128
|
+
# If your service has more running tasks than desired, unhealthy tasks
|
3129
|
+
# in the grace period might be stopped to reach the desired count.
|
3121
3130
|
# @return [Integer]
|
3122
3131
|
#
|
3123
3132
|
# @!attribute [rw] scheduling_strategy
|
@@ -4145,7 +4154,7 @@ module Aws::ECS
|
|
4145
4154
|
# stops the unhealthy tasks one-by-one — using the
|
4146
4155
|
# `minimumHealthyPercent` as a constraint — to clear up capacity to
|
4147
4156
|
# launch replacement tasks. For more information about how the
|
4148
|
-
# scheduler replaces unhealthy tasks, see [Amazon ECS services][1]
|
4157
|
+
# scheduler replaces unhealthy tasks, see [Amazon ECS services][1].
|
4149
4158
|
#
|
4150
4159
|
# For services that *do not* use a load balancer, the following should
|
4151
4160
|
# be noted:
|
@@ -4477,9 +4486,8 @@ module Aws::ECS
|
|
4477
4486
|
# @return [Array<String>]
|
4478
4487
|
#
|
4479
4488
|
# @!attribute [rw] hook_details
|
4480
|
-
#
|
4481
|
-
#
|
4482
|
-
# deployment operations on Amazon ECS Managed Instances.
|
4489
|
+
# Use this field to specify custom parameters that Amazon ECS will
|
4490
|
+
# pass to your hook target invocations (such as a Lambda function).
|
4483
4491
|
# @return [Hash,Array,String,Numeric,Boolean]
|
4484
4492
|
#
|
4485
4493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentLifecycleHook AWS API Documentation
|
@@ -10299,8 +10307,8 @@ module Aws::ECS
|
|
10299
10307
|
# @!attribute [rw] volume_configurations
|
10300
10308
|
# The details of the volume that was `configuredAtLaunch`. You can
|
10301
10309
|
# configure the size, volumeType, IOPS, throughput, snapshot and
|
10302
|
-
# encryption in
|
10303
|
-
#
|
10310
|
+
# encryption in [TaskManagedEBSVolumeConfiguration][1]. The `name` of
|
10311
|
+
# the volume must match the `name` from the task definition.
|
10304
10312
|
#
|
10305
10313
|
#
|
10306
10314
|
#
|
@@ -10640,6 +10648,9 @@ module Aws::ECS
|
|
10640
10648
|
# The period of time, in seconds, that the Amazon ECS service
|
10641
10649
|
# scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and
|
10642
10650
|
# container health checks after a task has first started.
|
10651
|
+
#
|
10652
|
+
# If your service has more running tasks than desired, unhealthy tasks
|
10653
|
+
# in the grace period might be stopped to reach the desired count.
|
10643
10654
|
# @return [Integer]
|
10644
10655
|
#
|
10645
10656
|
# @!attribute [rw] scheduling_strategy
|
@@ -10740,6 +10751,19 @@ module Aws::ECS
|
|
10740
10751
|
# Availability Zones][1] in the <i> <i>Amazon Elastic Container
|
10741
10752
|
# Service Developer Guide</i> </i>.
|
10742
10753
|
#
|
10754
|
+
# The default behavior of `AvailabilityZoneRebalancing` differs
|
10755
|
+
# between create and update requests:
|
10756
|
+
#
|
10757
|
+
# * For create service requests, when no value is specified for
|
10758
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
10759
|
+
# `ENABLED`.
|
10760
|
+
#
|
10761
|
+
# * For update service requests, when no value is specified for
|
10762
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults to the existing
|
10763
|
+
# service’s `AvailabilityZoneRebalancing` value. If the service
|
10764
|
+
# never had an `AvailabilityZoneRebalancing` value set, Amazon ECS
|
10765
|
+
# treats this as `DISABLED`.
|
10766
|
+
#
|
10743
10767
|
#
|
10744
10768
|
#
|
10745
10769
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
|
@@ -14726,6 +14750,19 @@ module Aws::ECS
|
|
14726
14750
|
# Availability Zones][1] in the <i> <i>Amazon Elastic Container
|
14727
14751
|
# Service Developer Guide</i> </i>.
|
14728
14752
|
#
|
14753
|
+
# The default behavior of `AvailabilityZoneRebalancing` differs
|
14754
|
+
# between create and update requests:
|
14755
|
+
#
|
14756
|
+
# * For create service requests, when no value is specified for
|
14757
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
14758
|
+
# `ENABLED`.
|
14759
|
+
#
|
14760
|
+
# * For update service requests, when no value is specified for
|
14761
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults to the existing
|
14762
|
+
# service’s `AvailabilityZoneRebalancing` value. If the service
|
14763
|
+
# never had an `AvailabilityZoneRebalancing` value set, Amazon ECS
|
14764
|
+
# treats this as `DISABLED`.
|
14765
|
+
#
|
14729
14766
|
# This parameter doesn't trigger a new service deployment.
|
14730
14767
|
#
|
14731
14768
|
#
|
@@ -14805,6 +14842,9 @@ module Aws::ECS
|
|
14805
14842
|
# can prevent the service scheduler from marking tasks as unhealthy
|
14806
14843
|
# and stopping them before they have time to come up.
|
14807
14844
|
#
|
14845
|
+
# If your service has more running tasks than desired, unhealthy tasks
|
14846
|
+
# in the grace period might be stopped to reach the desired count.
|
14847
|
+
#
|
14808
14848
|
# This parameter doesn't trigger a new service deployment.
|
14809
14849
|
# @return [Integer]
|
14810
14850
|
#
|
data/lib/aws-sdk-ecs.rb
CHANGED