aws-sdk-ecs 1.157.0 → 1.159.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0a574947915cb1d35c1c5cd03a33f34dae7478ecb37a75b231012ed6c3dd6f4
4
- data.tar.gz: dfa1eaa1e907cf8f589792908226ccaae3b3410107ecf0ee8423c9e1579d3543
3
+ metadata.gz: 3888ef26d850979c798ccf1df4f7bfb1257d65410380630f6a39963347bcb21a
4
+ data.tar.gz: 4222885c33172d21c86b946c9a6c202241f427117151a99b190faab8136f75d7
5
5
  SHA512:
6
- metadata.gz: 9049c013a2e020fb3c4bead37b05d64fe9e4161db210023485115a80e2b9b44f0eaeefd647e75f5713a54f58b9f2b137f089275140a6e4e48af11ad646e99758
7
- data.tar.gz: 32cf1dc9fa16e6026fff7399bc643156d45890aea6e83cf1c70c340d62676359e19e6d1288963aba3a451b61f8d94b7b7fbfc7db6447b9807bc61fe4973b8bdb
6
+ metadata.gz: cea84d6f5fd0b01bf596d20c82613f76a01600102aa965b0c3686c6e069f5c7f34ed194d99ef024f84246dab7b907c36a4187f00a96adb574019da0458c94e60
7
+ data.tar.gz: 53f5480b47e2c9ab810262420ca3771695f28595b6074095777ea74ff6f08824a1cc476b764cb013edc6ebeba12962f19d28ce1e0d034b3e4102468e57b7e498
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.159.0 (2024-09-20)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.158.0 (2024-09-17)
10
+ ------------------
11
+
12
+ * Feature - This is a documentation only release to address various tickets.
13
+
4
14
  1.157.0 (2024-09-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.157.0
1
+ 1.159.0
@@ -130,13 +130,15 @@ module Aws::ECS
130
130
  # locations will be searched for credentials:
131
131
  #
132
132
  # * `Aws.config[:credentials]`
133
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
134
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
133
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
134
+ # `:account_id` options.
135
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
136
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
135
137
  # * `~/.aws/credentials`
136
138
  # * `~/.aws/config`
137
139
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
140
  # are very aggressive. Construct and pass an instance of
139
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
141
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
142
  # enable retries and extended timeouts. Instance profile credential
141
143
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
144
  # to true.
@@ -155,6 +157,8 @@ module Aws::ECS
155
157
  #
156
158
  # @option options [String] :access_key_id
157
159
  #
160
+ # @option options [String] :account_id
161
+ #
158
162
  # @option options [Boolean] :active_endpoint_cache (false)
159
163
  # When set to `true`, a thread polling for endpoints will be running in
160
164
  # the background every 60 secs (default). Defaults to `false`.
@@ -376,7 +380,9 @@ module Aws::ECS
376
380
  # sending the request.
377
381
  #
378
382
  # @option options [Aws::ECS::EndpointProvider] :endpoint_provider
379
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ECS::EndpointParameters`
383
+ # The endpoint provider used to resolve endpoints. Any object that responds to
384
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
385
+ # `Aws::ECS::EndpointParameters`.
380
386
  #
381
387
  # @option options [Float] :http_continue_timeout (1)
382
388
  # The number of seconds to wait for a 100-continue response before sending the
@@ -5785,9 +5791,6 @@ module Aws::ECS
5785
5791
  # mode][3]. For more information on using IPv6 with tasks launched on
5786
5792
  # Fargate, see [Using a VPC in dual-stack mode][4].
5787
5793
  #
5788
- # * `fargateFIPSMode` - If you specify `fargateFIPSMode`, Fargate FIPS
5789
- # 140 compliance is affected.
5790
- #
5791
5794
  # * `fargateTaskRetirementWaitPeriod` - When Amazon Web Services
5792
5795
  # determines that a security or infrastructure update is needed for an
5793
5796
  # Amazon ECS task hosted on Fargate, the tasks need to be stopped and
@@ -10445,7 +10448,7 @@ module Aws::ECS
10445
10448
  tracer: tracer
10446
10449
  )
10447
10450
  context[:gem_name] = 'aws-sdk-ecs'
10448
- context[:gem_version] = '1.157.0'
10451
+ context[:gem_version] = '1.159.0'
10449
10452
  Seahorse::Client::Request.new(handlers, context)
10450
10453
  end
10451
10454
 
@@ -15,11 +15,11 @@ module Aws::ECS
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::ECS::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::ECS::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::ECS::EndpointParameters`.
22
+ DOCS
23
23
  Aws::ECS::EndpointProvider.new
24
24
  end
25
25
 
@@ -51,6 +51,9 @@ module Aws::ECS
51
51
  if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
52
  metrics << 'SIGV4A_SIGNING'
53
53
  end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
54
57
  Aws::Plugins::UserAgent.metric(*metrics, &block)
55
58
  end
56
59
 
@@ -1035,7 +1035,7 @@ module Aws::ECS
1035
1035
  # entered in the `links` of another container to connect the
1036
1036
  # containers. Up to 255 letters (uppercase and lowercase), numbers,
1037
1037
  # underscores, and hyphens are allowed. This parameter maps to `name`
1038
- # in tthe docker conainer create command and the `--name` option to
1038
+ # in the docker container create command and the `--name` option to
1039
1039
  # docker run.
1040
1040
  # @return [String]
1041
1041
  #
@@ -1046,7 +1046,7 @@ module Aws::ECS
1046
1046
  # repository-url/image:tag ` or ` repository-url/image@digest `. Up to
1047
1047
  # 255 letters (uppercase and lowercase), numbers, hyphens,
1048
1048
  # underscores, colons, periods, forward slashes, and number signs are
1049
- # allowed. This parameter maps to `Image` in the docker conainer
1049
+ # allowed. This parameter maps to `Image` in the docker container
1050
1050
  # create command and the `IMAGE` parameter of docker run.
1051
1051
  #
1052
1052
  # * When a new task starts, the Amazon ECS container agent pulls the
@@ -1077,7 +1077,7 @@ module Aws::ECS
1077
1077
  #
1078
1078
  # @!attribute [rw] cpu
1079
1079
  # The number of `cpu` units reserved for the container. This parameter
1080
- # maps to `CpuShares` in the docker conainer create commandand the
1080
+ # maps to `CpuShares` in the docker container create commandand the
1081
1081
  # `--cpu-shares` option to docker run.
1082
1082
  #
1083
1083
  # This field is optional for tasks using the Fargate launch type, and
@@ -1142,9 +1142,8 @@ module Aws::ECS
1142
1142
  # container attempts to exceed the memory specified here, the
1143
1143
  # container is killed. The total amount of memory reserved for all
1144
1144
  # containers within a task must be lower than the task `memory` value,
1145
- # if one is specified. This parameter maps to `Memory` in thethe
1146
- # docker conainer create command and the `--memory` option to docker
1147
- # run.
1145
+ # if one is specified. This parameter maps to `Memory` in the docker
1146
+ # container create command and the `--memory` option to docker run.
1148
1147
  #
1149
1148
  # If using the Fargate launch type, this parameter is optional.
1150
1149
  #
@@ -1172,9 +1171,8 @@ module Aws::ECS
1172
1171
  # consume more memory when it needs to, up to either the hard limit
1173
1172
  # specified with the `memory` parameter (if applicable), or all of the
1174
1173
  # available memory on the container instance, whichever comes first.
1175
- # This parameter maps to `MemoryReservation` in the the docker
1176
- # conainer create command and the `--memory-reservation` option to
1177
- # docker run.
1174
+ # This parameter maps to `MemoryReservation` in the docker container
1175
+ # create command and the `--memory-reservation` option to docker run.
1178
1176
  #
1179
1177
  # If a task-level memory value is not specified, you must specify a
1180
1178
  # non-zero integer for one or both of `memory` or `memoryReservation`
@@ -1208,7 +1206,7 @@ module Aws::ECS
1208
1206
  # `name:internalName` construct is analogous to `name:alias` in Docker
1209
1207
  # links. Up to 255 letters (uppercase and lowercase), numbers,
1210
1208
  # underscores, and hyphens are allowed.. This parameter maps to
1211
- # `Links` in the docker conainer create command and the `--link`
1209
+ # `Links` in the docker container create command and the `--link`
1212
1210
  # option to docker run.
1213
1211
  #
1214
1212
  # <note markdown="1"> This parameter is not supported for Windows containers.
@@ -1235,7 +1233,7 @@ module Aws::ECS
1235
1233
  # so you can't access a container's mapped port from the host
1236
1234
  # itself.
1237
1235
  #
1238
- # This parameter maps to `PortBindings` in the the docker conainer
1236
+ # This parameter maps to `PortBindings` in the the docker container
1239
1237
  # create command and the `--publish` option to docker run. If the
1240
1238
  # network mode of a task definition is set to `none`, then you can't
1241
1239
  # specify port mappings. If the network mode of a task definition is
@@ -1294,20 +1292,20 @@ module Aws::ECS
1294
1292
  # arguments as `command` array items instead.
1295
1293
  #
1296
1294
  # The entry point that's passed to the container. This parameter maps
1297
- # to `Entrypoint` in tthe docker conainer create command and the
1295
+ # to `Entrypoint` in the docker container create command and the
1298
1296
  # `--entrypoint` option to docker run.
1299
1297
  # @return [Array<String>]
1300
1298
  #
1301
1299
  # @!attribute [rw] command
1302
1300
  # The command that's passed to the container. This parameter maps to
1303
- # `Cmd` in the docker conainer create command and the `COMMAND`
1301
+ # `Cmd` in the docker container create command and the `COMMAND`
1304
1302
  # parameter to docker run. If there are multiple arguments, each
1305
1303
  # argument is a separated string in the array.
1306
1304
  # @return [Array<String>]
1307
1305
  #
1308
1306
  # @!attribute [rw] environment
1309
1307
  # The environment variables to pass to a container. This parameter
1310
- # maps to `Env` in the docker conainer create command and the `--env`
1308
+ # maps to `Env` in the docker container create command and the `--env`
1311
1309
  # option to docker run.
1312
1310
  #
1313
1311
  # We don't recommend that you use plaintext environment variables for
@@ -1341,7 +1339,7 @@ module Aws::ECS
1341
1339
  # @!attribute [rw] mount_points
1342
1340
  # The mount points for data volumes in your container.
1343
1341
  #
1344
- # This parameter maps to `Volumes` in the the docker conainer create
1342
+ # This parameter maps to `Volumes` in the docker container create
1345
1343
  # command and the `--volume` option to docker run.
1346
1344
  #
1347
1345
  # Windows containers can mount whole directories on the same drive as
@@ -1351,7 +1349,7 @@ module Aws::ECS
1351
1349
  #
1352
1350
  # @!attribute [rw] volumes_from
1353
1351
  # Data volumes to mount from another container. This parameter maps to
1354
- # `VolumesFrom` in tthe docker conainer create command and the
1352
+ # `VolumesFrom` in the docker container create command and the
1355
1353
  # `--volumes-from` option to docker run.
1356
1354
  # @return [Array<Types::VolumeFrom>]
1357
1355
  #
@@ -1468,8 +1466,9 @@ module Aws::ECS
1468
1466
  #
1469
1467
  # * Windows platform version `1.0.0` or later.
1470
1468
  #
1471
- # The max stop timeout value is 120 seconds and if the parameter is
1472
- # not specified, the default value of 30 seconds is used.
1469
+ # For tasks that use the Fargate launch type, the max stop timeout
1470
+ # value is 120 seconds and if the parameter is not specified, the
1471
+ # default value of 30 seconds is used.
1473
1472
  #
1474
1473
  # For tasks that use the EC2 launch type, if the `stopTimeout`
1475
1474
  # parameter isn't specified, the value set for the Amazon ECS
@@ -1491,7 +1490,7 @@ module Aws::ECS
1491
1490
  # ECS-optimized Linux AMI][2] in the *Amazon Elastic Container Service
1492
1491
  # Developer Guide*.
1493
1492
  #
1494
- # The valid values are 2-120 seconds.
1493
+ # The valid values for Fargate are 2-120 seconds.
1495
1494
  #
1496
1495
  #
1497
1496
  #
@@ -1501,7 +1500,7 @@ module Aws::ECS
1501
1500
  #
1502
1501
  # @!attribute [rw] hostname
1503
1502
  # The hostname to use for your container. This parameter maps to
1504
- # `Hostname` in thethe docker conainer create command and the
1503
+ # `Hostname` in the docker container create command and the
1505
1504
  # `--hostname` option to docker run.
1506
1505
  #
1507
1506
  # <note markdown="1"> The `hostname` parameter is not supported if you're using the
@@ -1512,7 +1511,7 @@ module Aws::ECS
1512
1511
  #
1513
1512
  # @!attribute [rw] user
1514
1513
  # The user to use inside the container. This parameter maps to `User`
1515
- # in the docker conainer create command and the `--user` option to
1514
+ # in the docker container create command and the `--user` option to
1516
1515
  # docker run.
1517
1516
  #
1518
1517
  # When running tasks using the `host` network mode, don't run
@@ -1541,13 +1540,13 @@ module Aws::ECS
1541
1540
  #
1542
1541
  # @!attribute [rw] working_directory
1543
1542
  # The working directory to run commands inside the container in. This
1544
- # parameter maps to `WorkingDir` in the docker conainer create command
1545
- # and the `--workdir` option to docker run.
1543
+ # parameter maps to `WorkingDir` in the docker container create
1544
+ # command and the `--workdir` option to docker run.
1546
1545
  # @return [String]
1547
1546
  #
1548
1547
  # @!attribute [rw] disable_networking
1549
1548
  # When this parameter is true, networking is off within the container.
1550
- # This parameter maps to `NetworkDisabled` in the docker conainer
1549
+ # This parameter maps to `NetworkDisabled` in the docker container
1551
1550
  # create command.
1552
1551
  #
1553
1552
  # <note markdown="1"> This parameter is not supported for Windows containers.
@@ -1558,8 +1557,8 @@ module Aws::ECS
1558
1557
  # @!attribute [rw] privileged
1559
1558
  # When this parameter is true, the container is given elevated
1560
1559
  # privileges on the host container instance (similar to the `root`
1561
- # user). This parameter maps to `Privileged` in the the docker
1562
- # conainer create command and the `--privileged` option to docker run
1560
+ # user). This parameter maps to `Privileged` in the docker container
1561
+ # create command and the `--privileged` option to docker run
1563
1562
  #
1564
1563
  # <note markdown="1"> This parameter is not supported for Windows containers or tasks run
1565
1564
  # on Fargate.
@@ -1570,7 +1569,7 @@ module Aws::ECS
1570
1569
  # @!attribute [rw] readonly_root_filesystem
1571
1570
  # When this parameter is true, the container is given read-only access
1572
1571
  # to its root file system. This parameter maps to `ReadonlyRootfs` in
1573
- # the docker conainer create command and the `--read-only` option to
1572
+ # the docker container create command and the `--read-only` option to
1574
1573
  # docker run.
1575
1574
  #
1576
1575
  # <note markdown="1"> This parameter is not supported for Windows containers.
@@ -1580,8 +1579,8 @@ module Aws::ECS
1580
1579
  #
1581
1580
  # @!attribute [rw] dns_servers
1582
1581
  # A list of DNS servers that are presented to the container. This
1583
- # parameter maps to `Dns` in the the docker conainer create command
1584
- # and the `--dns` option to docker run.
1582
+ # parameter maps to `Dns` in the docker container create command and
1583
+ # the `--dns` option to docker run.
1585
1584
  #
1586
1585
  # <note markdown="1"> This parameter is not supported for Windows containers.
1587
1586
  #
@@ -1590,7 +1589,7 @@ module Aws::ECS
1590
1589
  #
1591
1590
  # @!attribute [rw] dns_search_domains
1592
1591
  # A list of DNS search domains that are presented to the container.
1593
- # This parameter maps to `DnsSearch` in the docker conainer create
1592
+ # This parameter maps to `DnsSearch` in the docker container create
1594
1593
  # command and the `--dns-search` option to docker run.
1595
1594
  #
1596
1595
  # <note markdown="1"> This parameter is not supported for Windows containers.
@@ -1601,7 +1600,7 @@ module Aws::ECS
1601
1600
  # @!attribute [rw] extra_hosts
1602
1601
  # A list of hostnames and IP address mappings to append to the
1603
1602
  # `/etc/hosts` file on the container. This parameter maps to
1604
- # `ExtraHosts` in the docker conainer create command and the
1603
+ # `ExtraHosts` in the docker container create command and the
1605
1604
  # `--add-host` option to docker run.
1606
1605
  #
1607
1606
  # <note markdown="1"> This parameter isn't supported for Windows containers or tasks that
@@ -1624,7 +1623,7 @@ module Aws::ECS
1624
1623
  # Windows Containers][1] and [Using gMSAs for Linux Containers][2] in
1625
1624
  # the *Amazon Elastic Container Service Developer Guide*.
1626
1625
  #
1627
- # This parameter maps to `SecurityOpt` in the docker conainer create
1626
+ # This parameter maps to `SecurityOpt` in the docker container create
1628
1627
  # command and the `--security-opt` option to docker run.
1629
1628
  #
1630
1629
  # <note markdown="1"> The Amazon ECS container agent running on a container instance must
@@ -1649,19 +1648,19 @@ module Aws::ECS
1649
1648
  # @!attribute [rw] interactive
1650
1649
  # When this parameter is `true`, you can deploy containerized
1651
1650
  # applications that require `stdin` or a `tty` to be allocated. This
1652
- # parameter maps to `OpenStdin` in the docker conainer create command
1651
+ # parameter maps to `OpenStdin` in the docker container create command
1653
1652
  # and the `--interactive` option to docker run.
1654
1653
  # @return [Boolean]
1655
1654
  #
1656
1655
  # @!attribute [rw] pseudo_terminal
1657
1656
  # When this parameter is `true`, a TTY is allocated. This parameter
1658
- # maps to `Tty` in tthe docker conainer create command and the `--tty`
1657
+ # maps to `Tty` in the docker container create command and the `--tty`
1659
1658
  # option to docker run.
1660
1659
  # @return [Boolean]
1661
1660
  #
1662
1661
  # @!attribute [rw] docker_labels
1663
1662
  # A key/value map of labels to add to the container. This parameter
1664
- # maps to `Labels` in the docker conainer create command and the
1663
+ # maps to `Labels` in the docker container create command and the
1665
1664
  # `--label` option to docker run. This parameter requires version 1.18
1666
1665
  # of the Docker Remote API or greater on your container instance. To
1667
1666
  # check the Docker Remote API version on your container instance, log
@@ -1672,7 +1671,7 @@ module Aws::ECS
1672
1671
  # @!attribute [rw] ulimits
1673
1672
  # A list of `ulimits` to set in the container. If a `ulimit` value is
1674
1673
  # specified in a task definition, it overrides the default values set
1675
- # by Docker. This parameter maps to `Ulimits` in tthe docker conainer
1674
+ # by Docker. This parameter maps to `Ulimits` in the docker container
1676
1675
  # create command and the `--ulimit` option to docker run. Valid naming
1677
1676
  # values are displayed in the [Ulimit][1] data type.
1678
1677
  #
@@ -1701,7 +1700,7 @@ module Aws::ECS
1701
1700
  # @!attribute [rw] log_configuration
1702
1701
  # The log configuration specification for the container.
1703
1702
  #
1704
- # This parameter maps to `LogConfig` in the docker conainer create
1703
+ # This parameter maps to `LogConfig` in the docker container create
1705
1704
  # command and the `--log-driver` option to docker run. By default,
1706
1705
  # containers use the same logging driver that the Docker daemon uses.
1707
1706
  # However the container can use a different logging driver than the
@@ -1743,13 +1742,13 @@ module Aws::ECS
1743
1742
  # @!attribute [rw] health_check
1744
1743
  # The container health check command and associated configuration
1745
1744
  # parameters for the container. This parameter maps to `HealthCheck`
1746
- # in the docker conainer create command and the `HEALTHCHECK`
1745
+ # in the docker container create command and the `HEALTHCHECK`
1747
1746
  # parameter of docker run.
1748
1747
  # @return [Types::HealthCheck]
1749
1748
  #
1750
1749
  # @!attribute [rw] system_controls
1751
1750
  # A list of namespaced kernel parameters to set in the container. This
1752
- # parameter maps to `Sysctls` in tthe docker conainer create command
1751
+ # parameter maps to `Sysctls` in the docker container create command
1753
1752
  # and the `--sysctl` option to docker run. For example, you can
1754
1753
  # configure `net.ipv4.tcp_keepalive_time` setting to maintain longer
1755
1754
  # lived connections.
@@ -3733,13 +3732,22 @@ module Aws::ECS
3733
3732
  # using the `REPLICA` service scheduler is 200%.
3734
3733
  #
3735
3734
  # If a service is using either the blue/green (`CODE_DEPLOY`) or
3736
- # `EXTERNAL` deployment types and tasks that use the EC2 launch type,
3737
- # the **maximum percent** value is set to the default value and is
3738
- # used to define the upper limit on the number of the tasks in the
3739
- # service that remain in the `RUNNING` state while the container
3740
- # instances are in the `DRAINING` state. If the tasks in the service
3741
- # use the Fargate launch type, the maximum percent value is not used,
3742
- # although it is returned when describing your service.
3735
+ # `EXTERNAL` deployment types, and tasks in the service use the EC2
3736
+ # launch type, the **maximum percent** value is set to the default
3737
+ # value. The **maximum percent** value is used to define the upper
3738
+ # limit on the number of the tasks in the service that remain in the
3739
+ # `RUNNING` state while the container instances are in the `DRAINING`
3740
+ # state.
3741
+ #
3742
+ # <note markdown="1"> You can't specify a custom `maximumPercent` value for a service
3743
+ # that uses either the blue/green (`CODE_DEPLOY`) or `EXTERNAL`
3744
+ # deployment types and has tasks that use the EC2 launch type.
3745
+ #
3746
+ # </note>
3747
+ #
3748
+ # If the tasks in the service use the Fargate launch type, the maximum
3749
+ # percent value is not used, although it is returned when describing
3750
+ # your service.
3743
3751
  # @return [Integer]
3744
3752
  #
3745
3753
  # @!attribute [rw] minimum_healthy_percent
@@ -3800,13 +3808,22 @@ module Aws::ECS
3800
3808
  # If a service is using either the blue/green (`CODE_DEPLOY`) or
3801
3809
  # `EXTERNAL` deployment types and is running tasks that use the EC2
3802
3810
  # launch type, the **minimum healthy percent** value is set to the
3803
- # default value and is used to define the lower limit on the number of
3804
- # the tasks in the service that remain in the `RUNNING` state while
3805
- # the container instances are in the `DRAINING` state. If a service is
3806
- # using either the blue/green (`CODE_DEPLOY`) or `EXTERNAL` deployment
3807
- # types and is running tasks that use the Fargate launch type, the
3808
- # minimum healthy percent value is not used, although it is returned
3809
- # when describing your service.
3811
+ # default value. The **minimum healthy percent** value is used to
3812
+ # define the lower limit on the number of the tasks in the service
3813
+ # that remain in the `RUNNING` state while the container instances are
3814
+ # in the `DRAINING` state.
3815
+ #
3816
+ # <note markdown="1"> You can't specify a custom `minimumHealthyPercent` value for a
3817
+ # service that uses either the blue/green (`CODE_DEPLOY`) or
3818
+ # `EXTERNAL` deployment types and has tasks that use the EC2 launch
3819
+ # type.
3820
+ #
3821
+ # </note>
3822
+ #
3823
+ # If a service is using either the blue/green (`CODE_DEPLOY`) or
3824
+ # `EXTERNAL` deployment types and is running tasks that use the
3825
+ # Fargate launch type, the minimum healthy percent value is not used,
3826
+ # although it is returned when describing your service.
3810
3827
  # @return [Integer]
3811
3828
  #
3812
3829
  # @!attribute [rw] alarms
@@ -4461,7 +4478,7 @@ module Aws::ECS
4461
4478
  # use `docker plugin ls` to retrieve the driver name from your
4462
4479
  # container instance. If the driver was installed using another
4463
4480
  # method, use Docker plugin discovery to retrieve the driver name.
4464
- # This parameter maps to `Driver` in the docker conainer create
4481
+ # This parameter maps to `Driver` in the docker container create
4465
4482
  # command and the `xxdriver` option to docker volume create.
4466
4483
  # @return [String]
4467
4484
  #
@@ -4473,7 +4490,7 @@ module Aws::ECS
4473
4490
  #
4474
4491
  # @!attribute [rw] labels
4475
4492
  # Custom metadata to add to your Docker volume. This parameter maps to
4476
- # `Labels` in the docker conainer create command and the `xxlabel`
4493
+ # `Labels` in the docker container create command and the `xxlabel`
4477
4494
  # option to docker volume create.
4478
4495
  # @return [Hash<String,String>]
4479
4496
  #
@@ -5202,8 +5219,8 @@ module Aws::ECS
5202
5219
  # ` CMD-SHELL, curl -f http://localhost/ || exit 1`
5203
5220
  #
5204
5221
  # An exit code of 0 indicates success, and non-zero exit code
5205
- # indicates failure. For more information, see `HealthCheck` in tthe
5206
- # docker conainer create command
5222
+ # indicates failure. For more information, see `HealthCheck` in the
5223
+ # docker container create command
5207
5224
  # @return [Array<String>]
5208
5225
  #
5209
5226
  # @!attribute [rw] interval
@@ -5410,7 +5427,7 @@ module Aws::ECS
5410
5427
  # @!attribute [rw] add
5411
5428
  # The Linux capabilities for the container that have been added to the
5412
5429
  # default configuration provided by Docker. This parameter maps to
5413
- # `CapAdd` in the docker conainer create command and the `--cap-add`
5430
+ # `CapAdd` in the docker container create command and the `--cap-add`
5414
5431
  # option to docker run.
5415
5432
  #
5416
5433
  # <note markdown="1"> Tasks launched on Fargate only support adding the `SYS_PTRACE`
@@ -5432,8 +5449,8 @@ module Aws::ECS
5432
5449
  # @!attribute [rw] drop
5433
5450
  # The Linux capabilities for the container that have been removed from
5434
5451
  # the default configuration provided by Docker. This parameter maps to
5435
- # `CapDrop` in the docker conainer create command and the `--cap-drop`
5436
- # option to docker run.
5452
+ # `CapDrop` in the docker container create command and the
5453
+ # `--cap-drop` option to docker run.
5437
5454
  #
5438
5455
  # Valid values: `"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" |
5439
5456
  # "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" |
@@ -5502,7 +5519,7 @@ module Aws::ECS
5502
5519
  #
5503
5520
  # @!attribute [rw] devices
5504
5521
  # Any host devices to expose to the container. This parameter maps to
5505
- # `Devices` in tthe docker conainer create command and the `--device`
5522
+ # `Devices` in the docker container create command and the `--device`
5506
5523
  # option to docker run.
5507
5524
  #
5508
5525
  # <note markdown="1"> If you're using tasks that use the Fargate launch type, the
@@ -6433,7 +6450,7 @@ module Aws::ECS
6433
6450
  end
6434
6451
 
6435
6452
  # The log configuration for the container. This parameter maps to
6436
- # `LogConfig` in the docker conainer create command and the
6453
+ # `LogConfig` in the docker container create command and the
6437
6454
  # `--log-driver` option to docker run.
6438
6455
  #
6439
6456
  # By default, containers use the same logging driver that the Docker
@@ -7022,7 +7039,7 @@ module Aws::ECS
7022
7039
  # can be left blank or it must be the same value as the `containerPort`.
7023
7040
  #
7024
7041
  # Most fields of this parameter (`containerPort`, `hostPort`,
7025
- # `protocol`) maps to `PortBindings` in the docker conainer create
7042
+ # `protocol`) maps to `PortBindings` in the docker container create
7026
7043
  # command and the `--publish` option to `docker run`. If the network
7027
7044
  # mode of a task definition is set to `host`, host ports must either be
7028
7045
  # undefined or match the container port in the port mapping.
@@ -7521,9 +7538,6 @@ module Aws::ECS
7521
7538
  # mode][3]. For more information on using IPv6 with tasks launched
7522
7539
  # on Fargate, see [Using a VPC in dual-stack mode][4].
7523
7540
  #
7524
- # * `fargateFIPSMode` - If you specify `fargateFIPSMode`, Fargate FIPS
7525
- # 140 compliance is affected.
7526
- #
7527
7541
  # * `fargateTaskRetirementWaitPeriod` - When Amazon Web Services
7528
7542
  # determines that a security or infrastructure update is needed for
7529
7543
  # an Amazon ECS task hosted on Fargate, the tasks need to be stopped
@@ -9175,7 +9189,7 @@ module Aws::ECS
9175
9189
  #
9176
9190
  # @!attribute [rw] log_configuration
9177
9191
  # The log configuration for the container. This parameter maps to
9178
- # `LogConfig` in the docker conainer create command and the
9192
+ # `LogConfig` in the docker container create command and the
9179
9193
  # `--log-driver` option to docker run.
9180
9194
  #
9181
9195
  # By default, containers use the same logging driver that the Docker
@@ -10158,7 +10172,7 @@ module Aws::ECS
10158
10172
  end
10159
10173
 
10160
10174
  # A list of namespaced kernel parameters to set in the container. This
10161
- # parameter maps to `Sysctls` in tthe docker conainer create command and
10175
+ # parameter maps to `Sysctls` in the docker container create command and
10162
10176
  # the `--sysctl` option to docker run. For example, you can configure
10163
10177
  # `net.ipv4.tcp_keepalive_time` setting to maintain longer lived
10164
10178
  # connections.
@@ -10888,8 +10902,8 @@ module Aws::ECS
10888
10902
  # @return [Array<Types::TaskDefinitionPlacementConstraint>]
10889
10903
  #
10890
10904
  # @!attribute [rw] compatibilities
10891
- # The task launch types the task definition validated against during
10892
- # task definition registration. For more information, see [Amazon ECS
10905
+ # Amazon ECS validates the task definition parameters with those
10906
+ # supported by the launch type. For more information, see [Amazon ECS
10893
10907
  # launch types][1] in the *Amazon Elastic Container Service Developer
10894
10908
  # Guide*.
10895
10909
  #
@@ -11849,11 +11863,15 @@ module Aws::ECS
11849
11863
  # @return [String]
11850
11864
  #
11851
11865
  # @!attribute [rw] soft_limit
11852
- # The soft limit for the `ulimit` type.
11866
+ # The soft limit for the `ulimit` type. The value can be specified in
11867
+ # bytes, seconds, or as a count, depending on the `type` of the
11868
+ # `ulimit`.
11853
11869
  # @return [Integer]
11854
11870
  #
11855
11871
  # @!attribute [rw] hard_limit
11856
- # The hard limit for the `ulimit` type.
11872
+ # The hard limit for the `ulimit` type. The value can be specified in
11873
+ # bytes, seconds, or as a count, depending on the `type` of the
11874
+ # `ulimit`.
11857
11875
  # @return [Integer]
11858
11876
  #
11859
11877
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Ulimit AWS API Documentation
data/lib/aws-sdk-ecs.rb CHANGED
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-ecs/customizations'
53
53
  # @!group service
54
54
  module Aws::ECS
55
55
 
56
- GEM_VERSION = '1.157.0'
56
+ GEM_VERSION = '1.159.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
data/sig/resource.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
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.157.0
4
+ version: 1.159.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: 2024-09-11 00:00:00.000000000 Z
11
+ date: 2024-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.205.0
22
+ version: 3.207.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.205.0
32
+ version: 3.207.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement