aws-sdk-ecs 1.208.0 → 1.210.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7452efce686227a9fdce2a3f93d9b1086dde9c244cd529aa5b163b078f4436a0
4
- data.tar.gz: ea0dc64f1e294ede884aa2da4059bbb6b34dfaaade302089b97360d28eed9b2a
3
+ metadata.gz: 186f3d6ebf1a0afa3dbb5faa3ba4cc819391dd1770a560877e158f1d1af98fa5
4
+ data.tar.gz: 61061122d12949814a85b83a90acd90a8b43cce65c3008fa30625da5b689c0a2
5
5
  SHA512:
6
- metadata.gz: eac75e139fc99250a7c0c6cff394e8e375a0e6c46e2cfbb17317706b161a98b5d95aabc05cef6e6c74fb2999d2eb5ec3706987cd5e09987867e1d664f50d99c2
7
- data.tar.gz: '062491bd876c74fd1c161c87dd0c14a172fe4505ae090dc6a2062f28cc4ebf4354ea868045bc46c1bbe7f2ef4b8d8aaf5789ebb8ce7df1050c4bf0d10821e2bc'
6
+ metadata.gz: 0d05db94ea95bc69edba8e6dc6cfbd2fb58b6b54116d77a2317b52d4125fbfa4b05ee5ce85888ca779c169d6d225f478dc1de0d54580bab520835e043d431ec1
7
+ data.tar.gz: bdd95519b8fd96bef874dab9896542cc29bfa2484d6a2e6b09845deccdf12efe333d215ce18be0825a8c597d2fb606241dfc5a43676ce87fbe819d705ec5968a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.210.0 (2025-10-30)
5
+ ------------------
6
+
7
+ * Feature - Amazon ECS Service Connect now supports Envoy access logs, providing deeper observability into request-level traffic patterns and service interactions.
8
+
9
+ 1.209.0 (2025-10-28)
10
+ ------------------
11
+
12
+ * Feature - Amazon ECS supports native linear and canary service deployments, allowing you to shift traffic in increments for more control.
13
+
4
14
  1.208.0 (2025-10-21)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.208.0
1
+ 1.210.0
@@ -1151,6 +1151,45 @@ module Aws::ECS
1151
1151
  #
1152
1152
  # * Load balancer requirement: When your service uses Application
1153
1153
  # Load Balancer, Network Load Balancer, or Service Connect
1154
+ # * `LINEAR`: A *linear* deployment strategy (`LINEAR`) gradually
1155
+ # shifts traffic from the current production environment to a new
1156
+ # environment in equal percentage increments over a specified time
1157
+ # period. With Amazon ECS linear deployments, you can control the
1158
+ # pace of traffic shifting and validate new service revisions with
1159
+ # increasing amounts of production traffic.
1160
+ #
1161
+ # Linear deployments are best suited for the following scenarios:
1162
+ #
1163
+ # * Gradual validation: When you want to gradually validate your new
1164
+ # service version with increasing traffic
1165
+ #
1166
+ # * Performance monitoring: When you need time to monitor metrics
1167
+ # and performance during the deployment
1168
+ #
1169
+ # * Risk minimization: When you want to minimize risk by exposing
1170
+ # the new version to production traffic incrementally
1171
+ #
1172
+ # * Load balancer requirement: When your service uses Application
1173
+ # Load Balancer, Network Load Balancer, or Service Connect
1174
+ # * `CANARY`: A *canary* deployment strategy (`CANARY`) shifts a small
1175
+ # percentage of traffic to the new service revision first, then
1176
+ # shifts the remaining traffic all at once after a specified time
1177
+ # period. This allows you to test the new version with a subset of
1178
+ # users before full deployment.
1179
+ #
1180
+ # Canary deployments are best suited for the following scenarios:
1181
+ #
1182
+ # * Feature testing: When you want to test new features with a small
1183
+ # subset of users before full rollout
1184
+ #
1185
+ # * Production validation: When you need to validate performance and
1186
+ # functionality with real production traffic
1187
+ #
1188
+ # * Blast radius control: When you want to minimize blast radius if
1189
+ # issues are discovered in the new version
1190
+ #
1191
+ # * Load balancer requirement: When your service uses Application
1192
+ # Load Balancer, Network Load Balancer, or Service Connect
1154
1193
  # * External
1155
1194
  #
1156
1195
  # Use a third-party deployment controller.
@@ -1328,6 +1367,12 @@ module Aws::ECS
1328
1367
  # see [Amazon ECS launch types][1] in the *Amazon Elastic Container
1329
1368
  # Service Developer Guide*.
1330
1369
  #
1370
+ # <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
1371
+ # `capacityProviderStrategy` request parameter and omit the `launchType`
1372
+ # request parameter.
1373
+ #
1374
+ # </note>
1375
+ #
1331
1376
  # The `FARGATE` launch type runs your tasks on Fargate On-Demand
1332
1377
  # infrastructure.
1333
1378
  #
@@ -1355,6 +1400,12 @@ module Aws::ECS
1355
1400
  # @option params [Array<Types::CapacityProviderStrategyItem>] :capacity_provider_strategy
1356
1401
  # The capacity provider strategy to use for the service.
1357
1402
  #
1403
+ # <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
1404
+ # `capacityProviderStrategy` request parameter and omit the `launchType`
1405
+ # request parameter.
1406
+ #
1407
+ # </note>
1408
+ #
1358
1409
  # If a `capacityProviderStrategy` is specified, the `launchType`
1359
1410
  # parameter must be omitted. If no `capacityProviderStrategy` or
1360
1411
  # `launchType` is specified, the `defaultCapacityProviderStrategy` for
@@ -1742,7 +1793,7 @@ module Aws::ECS
1742
1793
  # rollback: false, # required
1743
1794
  # enable: false, # required
1744
1795
  # },
1745
- # strategy: "ROLLING", # accepts ROLLING, BLUE_GREEN
1796
+ # strategy: "ROLLING", # accepts ROLLING, BLUE_GREEN, LINEAR, CANARY
1746
1797
  # bake_time_in_minutes: 1,
1747
1798
  # lifecycle_hooks: [
1748
1799
  # {
@@ -1753,6 +1804,14 @@ module Aws::ECS
1753
1804
  # },
1754
1805
  # },
1755
1806
  # ],
1807
+ # linear_configuration: {
1808
+ # step_percent: 1.0,
1809
+ # step_bake_time_in_minutes: 1,
1810
+ # },
1811
+ # canary_configuration: {
1812
+ # canary_percent: 1.0,
1813
+ # canary_bake_time_in_minutes: 1,
1814
+ # },
1756
1815
  # },
1757
1816
  # placement_constraints: [
1758
1817
  # {
@@ -1834,6 +1893,10 @@ module Aws::ECS
1834
1893
  # },
1835
1894
  # ],
1836
1895
  # },
1896
+ # access_log_configuration: {
1897
+ # format: "TEXT", # required, accepts TEXT, JSON
1898
+ # include_query_parameters: "DISABLED", # accepts DISABLED, ENABLED
1899
+ # },
1837
1900
  # },
1838
1901
  # volume_configurations: [
1839
1902
  # {
@@ -1912,13 +1975,17 @@ module Aws::ECS
1912
1975
  # resp.service.deployment_configuration.alarms.alarm_names[0] #=> String
1913
1976
  # resp.service.deployment_configuration.alarms.rollback #=> Boolean
1914
1977
  # resp.service.deployment_configuration.alarms.enable #=> Boolean
1915
- # resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
1978
+ # resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN", "LINEAR", "CANARY"
1916
1979
  # resp.service.deployment_configuration.bake_time_in_minutes #=> Integer
1917
1980
  # resp.service.deployment_configuration.lifecycle_hooks #=> Array
1918
1981
  # resp.service.deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
1919
1982
  # resp.service.deployment_configuration.lifecycle_hooks[0].role_arn #=> String
1920
1983
  # resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
1921
1984
  # resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages[0] #=> String, one of "RECONCILE_SERVICE", "PRE_SCALE_UP", "POST_SCALE_UP", "TEST_TRAFFIC_SHIFT", "POST_TEST_TRAFFIC_SHIFT", "PRODUCTION_TRAFFIC_SHIFT", "POST_PRODUCTION_TRAFFIC_SHIFT"
1985
+ # resp.service.deployment_configuration.linear_configuration.step_percent #=> Float
1986
+ # resp.service.deployment_configuration.linear_configuration.step_bake_time_in_minutes #=> Integer
1987
+ # resp.service.deployment_configuration.canary_configuration.canary_percent #=> Float
1988
+ # resp.service.deployment_configuration.canary_configuration.canary_bake_time_in_minutes #=> Integer
1922
1989
  # resp.service.task_sets #=> Array
1923
1990
  # resp.service.task_sets[0].id #=> String
1924
1991
  # resp.service.task_sets[0].task_set_arn #=> String
@@ -2013,6 +2080,8 @@ module Aws::ECS
2013
2080
  # resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options #=> Array
2014
2081
  # resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options[0].name #=> String
2015
2082
  # resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options[0].value_from #=> String
2083
+ # resp.service.deployments[0].service_connect_configuration.access_log_configuration.format #=> String, one of "TEXT", "JSON"
2084
+ # resp.service.deployments[0].service_connect_configuration.access_log_configuration.include_query_parameters #=> String, one of "DISABLED", "ENABLED"
2016
2085
  # resp.service.deployments[0].service_connect_resources #=> Array
2017
2086
  # resp.service.deployments[0].service_connect_resources[0].discovery_name #=> String
2018
2087
  # resp.service.deployments[0].service_connect_resources[0].discovery_arn #=> String
@@ -2931,13 +3000,17 @@ module Aws::ECS
2931
3000
  # resp.service.deployment_configuration.alarms.alarm_names[0] #=> String
2932
3001
  # resp.service.deployment_configuration.alarms.rollback #=> Boolean
2933
3002
  # resp.service.deployment_configuration.alarms.enable #=> Boolean
2934
- # resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
3003
+ # resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN", "LINEAR", "CANARY"
2935
3004
  # resp.service.deployment_configuration.bake_time_in_minutes #=> Integer
2936
3005
  # resp.service.deployment_configuration.lifecycle_hooks #=> Array
2937
3006
  # resp.service.deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
2938
3007
  # resp.service.deployment_configuration.lifecycle_hooks[0].role_arn #=> String
2939
3008
  # resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
2940
3009
  # resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages[0] #=> String, one of "RECONCILE_SERVICE", "PRE_SCALE_UP", "POST_SCALE_UP", "TEST_TRAFFIC_SHIFT", "POST_TEST_TRAFFIC_SHIFT", "PRODUCTION_TRAFFIC_SHIFT", "POST_PRODUCTION_TRAFFIC_SHIFT"
3010
+ # resp.service.deployment_configuration.linear_configuration.step_percent #=> Float
3011
+ # resp.service.deployment_configuration.linear_configuration.step_bake_time_in_minutes #=> Integer
3012
+ # resp.service.deployment_configuration.canary_configuration.canary_percent #=> Float
3013
+ # resp.service.deployment_configuration.canary_configuration.canary_bake_time_in_minutes #=> Integer
2941
3014
  # resp.service.task_sets #=> Array
2942
3015
  # resp.service.task_sets[0].id #=> String
2943
3016
  # resp.service.task_sets[0].task_set_arn #=> String
@@ -3032,6 +3105,8 @@ module Aws::ECS
3032
3105
  # resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options #=> Array
3033
3106
  # resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options[0].name #=> String
3034
3107
  # resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options[0].value_from #=> String
3108
+ # resp.service.deployments[0].service_connect_configuration.access_log_configuration.format #=> String, one of "TEXT", "JSON"
3109
+ # resp.service.deployments[0].service_connect_configuration.access_log_configuration.include_query_parameters #=> String, one of "DISABLED", "ENABLED"
3035
3110
  # resp.service.deployments[0].service_connect_resources #=> Array
3036
3111
  # resp.service.deployments[0].service_connect_resources[0].discovery_name #=> String
3037
3112
  # resp.service.deployments[0].service_connect_resources[0].discovery_arn #=> String
@@ -4560,10 +4635,14 @@ module Aws::ECS
4560
4635
  # resp.service_deployments[0].source_service_revisions[0].requested_task_count #=> Integer
4561
4636
  # resp.service_deployments[0].source_service_revisions[0].running_task_count #=> Integer
4562
4637
  # resp.service_deployments[0].source_service_revisions[0].pending_task_count #=> Integer
4638
+ # resp.service_deployments[0].source_service_revisions[0].requested_test_traffic_weight #=> Float
4639
+ # resp.service_deployments[0].source_service_revisions[0].requested_production_traffic_weight #=> Float
4563
4640
  # resp.service_deployments[0].target_service_revision.arn #=> String
4564
4641
  # resp.service_deployments[0].target_service_revision.requested_task_count #=> Integer
4565
4642
  # resp.service_deployments[0].target_service_revision.running_task_count #=> Integer
4566
4643
  # resp.service_deployments[0].target_service_revision.pending_task_count #=> Integer
4644
+ # resp.service_deployments[0].target_service_revision.requested_test_traffic_weight #=> Float
4645
+ # resp.service_deployments[0].target_service_revision.requested_production_traffic_weight #=> Float
4567
4646
  # resp.service_deployments[0].status #=> String, one of "PENDING", "SUCCESSFUL", "STOPPED", "STOP_REQUESTED", "IN_PROGRESS", "ROLLBACK_REQUESTED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_SUCCESSFUL", "ROLLBACK_FAILED"
4568
4647
  # resp.service_deployments[0].status_reason #=> String
4569
4648
  # resp.service_deployments[0].lifecycle_stage #=> String, one of "RECONCILE_SERVICE", "PRE_SCALE_UP", "SCALE_UP", "POST_SCALE_UP", "TEST_TRAFFIC_SHIFT", "POST_TEST_TRAFFIC_SHIFT", "PRODUCTION_TRAFFIC_SHIFT", "POST_PRODUCTION_TRAFFIC_SHIFT", "BAKE_TIME", "CLEAN_UP"
@@ -4575,13 +4654,17 @@ module Aws::ECS
4575
4654
  # resp.service_deployments[0].deployment_configuration.alarms.alarm_names[0] #=> String
4576
4655
  # resp.service_deployments[0].deployment_configuration.alarms.rollback #=> Boolean
4577
4656
  # resp.service_deployments[0].deployment_configuration.alarms.enable #=> Boolean
4578
- # resp.service_deployments[0].deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
4657
+ # resp.service_deployments[0].deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN", "LINEAR", "CANARY"
4579
4658
  # resp.service_deployments[0].deployment_configuration.bake_time_in_minutes #=> Integer
4580
4659
  # resp.service_deployments[0].deployment_configuration.lifecycle_hooks #=> Array
4581
4660
  # resp.service_deployments[0].deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
4582
4661
  # resp.service_deployments[0].deployment_configuration.lifecycle_hooks[0].role_arn #=> String
4583
4662
  # resp.service_deployments[0].deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
4584
4663
  # resp.service_deployments[0].deployment_configuration.lifecycle_hooks[0].lifecycle_stages[0] #=> String, one of "RECONCILE_SERVICE", "PRE_SCALE_UP", "POST_SCALE_UP", "TEST_TRAFFIC_SHIFT", "POST_TEST_TRAFFIC_SHIFT", "PRODUCTION_TRAFFIC_SHIFT", "POST_PRODUCTION_TRAFFIC_SHIFT"
4664
+ # resp.service_deployments[0].deployment_configuration.linear_configuration.step_percent #=> Float
4665
+ # resp.service_deployments[0].deployment_configuration.linear_configuration.step_bake_time_in_minutes #=> Integer
4666
+ # resp.service_deployments[0].deployment_configuration.canary_configuration.canary_percent #=> Float
4667
+ # resp.service_deployments[0].deployment_configuration.canary_configuration.canary_bake_time_in_minutes #=> Integer
4585
4668
  # resp.service_deployments[0].rollback.reason #=> String
4586
4669
  # resp.service_deployments[0].rollback.started_at #=> Time
4587
4670
  # resp.service_deployments[0].rollback.service_revision_arn #=> String
@@ -4744,6 +4827,8 @@ module Aws::ECS
4744
4827
  # resp.service_revisions[0].service_connect_configuration.log_configuration.secret_options #=> Array
4745
4828
  # resp.service_revisions[0].service_connect_configuration.log_configuration.secret_options[0].name #=> String
4746
4829
  # resp.service_revisions[0].service_connect_configuration.log_configuration.secret_options[0].value_from #=> String
4830
+ # resp.service_revisions[0].service_connect_configuration.access_log_configuration.format #=> String, one of "TEXT", "JSON"
4831
+ # resp.service_revisions[0].service_connect_configuration.access_log_configuration.include_query_parameters #=> String, one of "DISABLED", "ENABLED"
4747
4832
  # resp.service_revisions[0].volume_configurations #=> Array
4748
4833
  # resp.service_revisions[0].volume_configurations[0].name #=> String
4749
4834
  # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.encrypted #=> Boolean
@@ -4911,13 +4996,17 @@ module Aws::ECS
4911
4996
  # resp.services[0].deployment_configuration.alarms.alarm_names[0] #=> String
4912
4997
  # resp.services[0].deployment_configuration.alarms.rollback #=> Boolean
4913
4998
  # resp.services[0].deployment_configuration.alarms.enable #=> Boolean
4914
- # resp.services[0].deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
4999
+ # resp.services[0].deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN", "LINEAR", "CANARY"
4915
5000
  # resp.services[0].deployment_configuration.bake_time_in_minutes #=> Integer
4916
5001
  # resp.services[0].deployment_configuration.lifecycle_hooks #=> Array
4917
5002
  # resp.services[0].deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
4918
5003
  # resp.services[0].deployment_configuration.lifecycle_hooks[0].role_arn #=> String
4919
5004
  # resp.services[0].deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
4920
5005
  # resp.services[0].deployment_configuration.lifecycle_hooks[0].lifecycle_stages[0] #=> String, one of "RECONCILE_SERVICE", "PRE_SCALE_UP", "POST_SCALE_UP", "TEST_TRAFFIC_SHIFT", "POST_TEST_TRAFFIC_SHIFT", "PRODUCTION_TRAFFIC_SHIFT", "POST_PRODUCTION_TRAFFIC_SHIFT"
5006
+ # resp.services[0].deployment_configuration.linear_configuration.step_percent #=> Float
5007
+ # resp.services[0].deployment_configuration.linear_configuration.step_bake_time_in_minutes #=> Integer
5008
+ # resp.services[0].deployment_configuration.canary_configuration.canary_percent #=> Float
5009
+ # resp.services[0].deployment_configuration.canary_configuration.canary_bake_time_in_minutes #=> Integer
4921
5010
  # resp.services[0].task_sets #=> Array
4922
5011
  # resp.services[0].task_sets[0].id #=> String
4923
5012
  # resp.services[0].task_sets[0].task_set_arn #=> String
@@ -5012,6 +5101,8 @@ module Aws::ECS
5012
5101
  # resp.services[0].deployments[0].service_connect_configuration.log_configuration.secret_options #=> Array
5013
5102
  # resp.services[0].deployments[0].service_connect_configuration.log_configuration.secret_options[0].name #=> String
5014
5103
  # resp.services[0].deployments[0].service_connect_configuration.log_configuration.secret_options[0].value_from #=> String
5104
+ # resp.services[0].deployments[0].service_connect_configuration.access_log_configuration.format #=> String, one of "TEXT", "JSON"
5105
+ # resp.services[0].deployments[0].service_connect_configuration.access_log_configuration.include_query_parameters #=> String, one of "DISABLED", "ENABLED"
5015
5106
  # resp.services[0].deployments[0].service_connect_resources #=> Array
5016
5107
  # resp.services[0].deployments[0].service_connect_resources[0].discovery_name #=> String
5017
5108
  # resp.services[0].deployments[0].service_connect_resources[0].discovery_arn #=> String
@@ -6328,8 +6419,8 @@ module Aws::ECS
6328
6419
  # the `DRAINING` status, the results include only container instances
6329
6420
  # that have been set to `DRAINING` using
6330
6421
  # [UpdateContainerInstancesState][1]. If you don't specify this
6331
- # parameter, the default is to include container instances set to all
6332
- # states other than `INACTIVE`.
6422
+ # parameter, the The default is to include container instances set to
6423
+ # all states other than `INACTIVE`.
6333
6424
  #
6334
6425
  #
6335
6426
  #
@@ -8439,8 +8530,8 @@ module Aws::ECS
8439
8530
  # If `task` is specified, all containers within the specified task share
8440
8531
  # the same process namespace.
8441
8532
  #
8442
- # If no value is specified, the default is a private namespace for each
8443
- # container.
8533
+ # If no value is specified, the The default is a private namespace for
8534
+ # each container.
8444
8535
  #
8445
8536
  # If the `host` PID mode is used, there's a heightened risk of
8446
8537
  # undesired process namespace exposure.
@@ -8532,8 +8623,7 @@ module Aws::ECS
8532
8623
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html
8533
8624
  #
8534
8625
  # @option params [Types::RuntimePlatform] :runtime_platform
8535
- # The operating system that your tasks definitions run on. A platform
8536
- # family is specified only for tasks using the Fargate launch type.
8626
+ # The operating system that your tasks definitions run on.
8537
8627
  #
8538
8628
  # @option params [Boolean] :enable_fault_injection
8539
8629
  # Enables fault injection when you register your task definition and
@@ -9111,6 +9201,12 @@ module Aws::ECS
9111
9201
  # @option params [Array<Types::CapacityProviderStrategyItem>] :capacity_provider_strategy
9112
9202
  # The capacity provider strategy to use for the task.
9113
9203
  #
9204
+ # <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
9205
+ # `capacityProviderStrategy` request parameter and omit the `launchType`
9206
+ # request parameter.
9207
+ #
9208
+ # </note>
9209
+ #
9114
9210
  # If a `capacityProviderStrategy` is specified, the `launchType`
9115
9211
  # parameter must be omitted. If no `capacityProviderStrategy` or
9116
9212
  # `launchType` is specified, the `defaultCapacityProviderStrategy` for
@@ -9161,6 +9257,12 @@ module Aws::ECS
9161
9257
  # information, see [Amazon ECS launch types][1] in the *Amazon Elastic
9162
9258
  # Container Service Developer Guide*.
9163
9259
  #
9260
+ # <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
9261
+ # `capacityProviderStrategy` request parameter and omit the `launchType`
9262
+ # request parameter.
9263
+ #
9264
+ # </note>
9265
+ #
9164
9266
  # The `FARGATE` launch type runs your tasks on Fargate On-Demand
9165
9267
  # infrastructure.
9166
9268
  #
@@ -12048,6 +12150,11 @@ module Aws::ECS
12048
12150
  # The details of a capacity provider strategy. You can set a capacity
12049
12151
  # provider when you create a cluster, run a task, or update a service.
12050
12152
  #
12153
+ # <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
12154
+ # `capacityProviderStrategy` request parameter.
12155
+ #
12156
+ # </note>
12157
+ #
12051
12158
  # When you use Fargate, the capacity providers are `FARGATE` or
12052
12159
  # `FARGATE_SPOT`.
12053
12160
  #
@@ -12390,7 +12497,7 @@ module Aws::ECS
12390
12497
  # rollback: false, # required
12391
12498
  # enable: false, # required
12392
12499
  # },
12393
- # strategy: "ROLLING", # accepts ROLLING, BLUE_GREEN
12500
+ # strategy: "ROLLING", # accepts ROLLING, BLUE_GREEN, LINEAR, CANARY
12394
12501
  # bake_time_in_minutes: 1,
12395
12502
  # lifecycle_hooks: [
12396
12503
  # {
@@ -12401,6 +12508,14 @@ module Aws::ECS
12401
12508
  # },
12402
12509
  # },
12403
12510
  # ],
12511
+ # linear_configuration: {
12512
+ # step_percent: 1.0,
12513
+ # step_bake_time_in_minutes: 1,
12514
+ # },
12515
+ # canary_configuration: {
12516
+ # canary_percent: 1.0,
12517
+ # canary_bake_time_in_minutes: 1,
12518
+ # },
12404
12519
  # },
12405
12520
  # availability_zone_rebalancing: "ENABLED", # accepts ENABLED, DISABLED
12406
12521
  # network_configuration: {
@@ -12500,6 +12615,10 @@ module Aws::ECS
12500
12615
  # },
12501
12616
  # ],
12502
12617
  # },
12618
+ # access_log_configuration: {
12619
+ # format: "TEXT", # required, accepts TEXT, JSON
12620
+ # include_query_parameters: "DISABLED", # accepts DISABLED, ENABLED
12621
+ # },
12503
12622
  # },
12504
12623
  # volume_configurations: [
12505
12624
  # {
@@ -12578,13 +12697,17 @@ module Aws::ECS
12578
12697
  # resp.service.deployment_configuration.alarms.alarm_names[0] #=> String
12579
12698
  # resp.service.deployment_configuration.alarms.rollback #=> Boolean
12580
12699
  # resp.service.deployment_configuration.alarms.enable #=> Boolean
12581
- # resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN"
12700
+ # resp.service.deployment_configuration.strategy #=> String, one of "ROLLING", "BLUE_GREEN", "LINEAR", "CANARY"
12582
12701
  # resp.service.deployment_configuration.bake_time_in_minutes #=> Integer
12583
12702
  # resp.service.deployment_configuration.lifecycle_hooks #=> Array
12584
12703
  # resp.service.deployment_configuration.lifecycle_hooks[0].hook_target_arn #=> String
12585
12704
  # resp.service.deployment_configuration.lifecycle_hooks[0].role_arn #=> String
12586
12705
  # resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages #=> Array
12587
12706
  # resp.service.deployment_configuration.lifecycle_hooks[0].lifecycle_stages[0] #=> String, one of "RECONCILE_SERVICE", "PRE_SCALE_UP", "POST_SCALE_UP", "TEST_TRAFFIC_SHIFT", "POST_TEST_TRAFFIC_SHIFT", "PRODUCTION_TRAFFIC_SHIFT", "POST_PRODUCTION_TRAFFIC_SHIFT"
12707
+ # resp.service.deployment_configuration.linear_configuration.step_percent #=> Float
12708
+ # resp.service.deployment_configuration.linear_configuration.step_bake_time_in_minutes #=> Integer
12709
+ # resp.service.deployment_configuration.canary_configuration.canary_percent #=> Float
12710
+ # resp.service.deployment_configuration.canary_configuration.canary_bake_time_in_minutes #=> Integer
12588
12711
  # resp.service.task_sets #=> Array
12589
12712
  # resp.service.task_sets[0].id #=> String
12590
12713
  # resp.service.task_sets[0].task_set_arn #=> String
@@ -12679,6 +12802,8 @@ module Aws::ECS
12679
12802
  # resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options #=> Array
12680
12803
  # resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options[0].name #=> String
12681
12804
  # resp.service.deployments[0].service_connect_configuration.log_configuration.secret_options[0].value_from #=> String
12805
+ # resp.service.deployments[0].service_connect_configuration.access_log_configuration.format #=> String, one of "TEXT", "JSON"
12806
+ # resp.service.deployments[0].service_connect_configuration.access_log_configuration.include_query_parameters #=> String, one of "DISABLED", "ENABLED"
12682
12807
  # resp.service.deployments[0].service_connect_resources #=> Array
12683
12808
  # resp.service.deployments[0].service_connect_resources[0].discovery_name #=> String
12684
12809
  # resp.service.deployments[0].service_connect_resources[0].discovery_arn #=> String
@@ -13227,7 +13352,7 @@ module Aws::ECS
13227
13352
  tracer: tracer
13228
13353
  )
13229
13354
  context[:gem_name] = 'aws-sdk-ecs'
13230
- context[:gem_version] = '1.208.0'
13355
+ context[:gem_version] = '1.210.0'
13231
13356
  Seahorse::Client::Request.new(handlers, context)
13232
13357
  end
13233
13358
 
@@ -50,6 +50,7 @@ module Aws::ECS
50
50
  BoxedInteger = Shapes::IntegerShape.new(name: 'BoxedInteger')
51
51
  BurstablePerformance = Shapes::StringShape.new(name: 'BurstablePerformance')
52
52
  CPUArchitecture = Shapes::StringShape.new(name: 'CPUArchitecture')
53
+ CanaryConfiguration = Shapes::StructureShape.new(name: 'CanaryConfiguration')
53
54
  CapacityProvider = Shapes::StructureShape.new(name: 'CapacityProvider')
54
55
  CapacityProviderField = Shapes::StringShape.new(name: 'CapacityProviderField')
55
56
  CapacityProviderFieldList = Shapes::ListShape.new(name: 'CapacityProviderFieldList')
@@ -235,6 +236,7 @@ module Aws::ECS
235
236
  KeyValuePair = Shapes::StructureShape.new(name: 'KeyValuePair')
236
237
  LaunchType = Shapes::StringShape.new(name: 'LaunchType')
237
238
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
239
+ LinearConfiguration = Shapes::StructureShape.new(name: 'LinearConfiguration')
238
240
  LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
239
241
  ListAccountSettingsRequest = Shapes::StructureShape.new(name: 'ListAccountSettingsRequest')
240
242
  ListAccountSettingsResponse = Shapes::StructureShape.new(name: 'ListAccountSettingsResponse')
@@ -358,9 +360,12 @@ module Aws::ECS
358
360
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
359
361
  ServerException = Shapes::StructureShape.new(name: 'ServerException')
360
362
  Service = Shapes::StructureShape.new(name: 'Service')
363
+ ServiceConnectAccessLogConfiguration = Shapes::StructureShape.new(name: 'ServiceConnectAccessLogConfiguration')
364
+ ServiceConnectAccessLoggingFormat = Shapes::StringShape.new(name: 'ServiceConnectAccessLoggingFormat')
361
365
  ServiceConnectClientAlias = Shapes::StructureShape.new(name: 'ServiceConnectClientAlias')
362
366
  ServiceConnectClientAliasList = Shapes::ListShape.new(name: 'ServiceConnectClientAliasList')
363
367
  ServiceConnectConfiguration = Shapes::StructureShape.new(name: 'ServiceConnectConfiguration')
368
+ ServiceConnectIncludeQueryParameters = Shapes::StringShape.new(name: 'ServiceConnectIncludeQueryParameters')
364
369
  ServiceConnectService = Shapes::StructureShape.new(name: 'ServiceConnectService')
365
370
  ServiceConnectServiceList = Shapes::ListShape.new(name: 'ServiceConnectServiceList')
366
371
  ServiceConnectServiceResource = Shapes::StructureShape.new(name: 'ServiceConnectServiceResource')
@@ -576,6 +581,10 @@ module Aws::ECS
576
581
 
577
582
  BlockedException.struct_class = Types::BlockedException
578
583
 
584
+ CanaryConfiguration.add_member(:canary_percent, Shapes::ShapeRef.new(shape: Double, location_name: "canaryPercent", metadata: {"box" => true}))
585
+ CanaryConfiguration.add_member(:canary_bake_time_in_minutes, Shapes::ShapeRef.new(shape: Integer, location_name: "canaryBakeTimeInMinutes", metadata: {"box" => true}))
586
+ CanaryConfiguration.struct_class = Types::CanaryConfiguration
587
+
579
588
  CapacityProvider.add_member(:capacity_provider_arn, Shapes::ShapeRef.new(shape: String, location_name: "capacityProviderArn"))
580
589
  CapacityProvider.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
581
590
  CapacityProvider.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
@@ -963,6 +972,8 @@ module Aws::ECS
963
972
  DeploymentConfiguration.add_member(:strategy, Shapes::ShapeRef.new(shape: DeploymentStrategy, location_name: "strategy"))
964
973
  DeploymentConfiguration.add_member(:bake_time_in_minutes, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "bakeTimeInMinutes"))
965
974
  DeploymentConfiguration.add_member(:lifecycle_hooks, Shapes::ShapeRef.new(shape: DeploymentLifecycleHookList, location_name: "lifecycleHooks"))
975
+ DeploymentConfiguration.add_member(:linear_configuration, Shapes::ShapeRef.new(shape: LinearConfiguration, location_name: "linearConfiguration"))
976
+ DeploymentConfiguration.add_member(:canary_configuration, Shapes::ShapeRef.new(shape: CanaryConfiguration, location_name: "canaryConfiguration"))
966
977
  DeploymentConfiguration.struct_class = Types::DeploymentConfiguration
967
978
 
968
979
  DeploymentController.add_member(:type, Shapes::ShapeRef.new(shape: DeploymentControllerType, required: true, location_name: "type"))
@@ -1287,6 +1298,10 @@ module Aws::ECS
1287
1298
 
1288
1299
  LimitExceededException.struct_class = Types::LimitExceededException
1289
1300
 
1301
+ LinearConfiguration.add_member(:step_percent, Shapes::ShapeRef.new(shape: Double, location_name: "stepPercent", metadata: {"box" => true}))
1302
+ LinearConfiguration.add_member(:step_bake_time_in_minutes, Shapes::ShapeRef.new(shape: Integer, location_name: "stepBakeTimeInMinutes", metadata: {"box" => true}))
1303
+ LinearConfiguration.struct_class = Types::LinearConfiguration
1304
+
1290
1305
  LinuxParameters.add_member(:capabilities, Shapes::ShapeRef.new(shape: KernelCapabilities, location_name: "capabilities"))
1291
1306
  LinuxParameters.add_member(:devices, Shapes::ShapeRef.new(shape: DevicesList, location_name: "devices"))
1292
1307
  LinuxParameters.add_member(:init_process_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "initProcessEnabled"))
@@ -1745,6 +1760,10 @@ module Aws::ECS
1745
1760
  Service.add_member(:availability_zone_rebalancing, Shapes::ShapeRef.new(shape: AvailabilityZoneRebalancing, location_name: "availabilityZoneRebalancing"))
1746
1761
  Service.struct_class = Types::Service
1747
1762
 
1763
+ ServiceConnectAccessLogConfiguration.add_member(:format, Shapes::ShapeRef.new(shape: ServiceConnectAccessLoggingFormat, required: true, location_name: "format"))
1764
+ ServiceConnectAccessLogConfiguration.add_member(:include_query_parameters, Shapes::ShapeRef.new(shape: ServiceConnectIncludeQueryParameters, location_name: "includeQueryParameters"))
1765
+ ServiceConnectAccessLogConfiguration.struct_class = Types::ServiceConnectAccessLogConfiguration
1766
+
1748
1767
  ServiceConnectClientAlias.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, required: true, location_name: "port"))
1749
1768
  ServiceConnectClientAlias.add_member(:dns_name, Shapes::ShapeRef.new(shape: String, location_name: "dnsName"))
1750
1769
  ServiceConnectClientAlias.add_member(:test_traffic_rules, Shapes::ShapeRef.new(shape: ServiceConnectTestTrafficRules, location_name: "testTrafficRules"))
@@ -1756,6 +1775,7 @@ module Aws::ECS
1756
1775
  ServiceConnectConfiguration.add_member(:namespace, Shapes::ShapeRef.new(shape: String, location_name: "namespace"))
1757
1776
  ServiceConnectConfiguration.add_member(:services, Shapes::ShapeRef.new(shape: ServiceConnectServiceList, location_name: "services"))
1758
1777
  ServiceConnectConfiguration.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
1778
+ ServiceConnectConfiguration.add_member(:access_log_configuration, Shapes::ShapeRef.new(shape: ServiceConnectAccessLogConfiguration, location_name: "accessLogConfiguration"))
1759
1779
  ServiceConnectConfiguration.struct_class = Types::ServiceConnectConfiguration
1760
1780
 
1761
1781
  ServiceConnectService.add_member(:port_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "portName"))
@@ -1905,6 +1925,8 @@ module Aws::ECS
1905
1925
  ServiceRevisionSummary.add_member(:requested_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "requestedTaskCount"))
1906
1926
  ServiceRevisionSummary.add_member(:running_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "runningTaskCount"))
1907
1927
  ServiceRevisionSummary.add_member(:pending_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "pendingTaskCount"))
1928
+ ServiceRevisionSummary.add_member(:requested_test_traffic_weight, Shapes::ShapeRef.new(shape: Double, location_name: "requestedTestTrafficWeight", metadata: {"box" => true}))
1929
+ ServiceRevisionSummary.add_member(:requested_production_traffic_weight, Shapes::ShapeRef.new(shape: Double, location_name: "requestedProductionTrafficWeight", metadata: {"box" => true}))
1908
1930
  ServiceRevisionSummary.struct_class = Types::ServiceRevisionSummary
1909
1931
 
1910
1932
  ServiceRevisions.member = Shapes::ShapeRef.new(shape: ServiceRevision)
@@ -13,22 +13,22 @@ module Aws::ECS
13
13
  # @!attribute region
14
14
  # The AWS region used to dispatch the request.
15
15
  #
16
- # @return [String]
16
+ # @return [string]
17
17
  #
18
18
  # @!attribute use_dual_stack
19
19
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
20
  #
21
- # @return [Boolean]
21
+ # @return [boolean]
22
22
  #
23
23
  # @!attribute use_fips
24
24
  # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
25
  #
26
- # @return [Boolean]
26
+ # @return [boolean]
27
27
  #
28
28
  # @!attribute endpoint
29
29
  # Override the endpoint used to send this request
30
30
  #
31
- # @return [String]
31
+ # @return [string]
32
32
  #
33
33
  EndpointParameters = Struct.new(
34
34
  :region,
@@ -362,8 +362,8 @@ module Aws::ECS
362
362
  #
363
363
  # Consider the following when you set this value:
364
364
  #
365
- # * When you use `create-service` or `update-service`, the default is
366
- # `DISABLED`.
365
+ # * When you use `create-service` or `update-service`, the The default
366
+ # is `DISABLED`.
367
367
  #
368
368
  # * When the service `deploymentController` is `ECS`, the value must
369
369
  # be `DISABLED`.
@@ -413,6 +413,36 @@ module Aws::ECS
413
413
  #
414
414
  class BlockedException < Aws::EmptyStructure; end
415
415
 
416
+ # Configuration for canary deployment strategy that shifts a fixed
417
+ # percentage of traffic to the new service revision, waits for a
418
+ # specified bake time, then shifts the remaining traffic.
419
+ #
420
+ # This is only valid when you run `CreateService` or `UpdateService`
421
+ # with `deploymentController` set to `ECS` and a
422
+ # `deploymentConfiguration` with a strategy set to `CANARY`.
423
+ #
424
+ # @!attribute [rw] canary_percent
425
+ # The percentage of production traffic to shift to the new service
426
+ # revision during the canary phase. Valid values are 0.1 to 100.0. The
427
+ # default value is 5.0.
428
+ # @return [Float]
429
+ #
430
+ # @!attribute [rw] canary_bake_time_in_minutes
431
+ # The amount of time in minutes to wait during the canary phase before
432
+ # shifting the remaining production traffic to the new service
433
+ # revision. Valid values are 0 to 1440 minutes (24 hours). The default
434
+ # value is 10.
435
+ # @return [Integer]
436
+ #
437
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CanaryConfiguration AWS API Documentation
438
+ #
439
+ class CanaryConfiguration < Struct.new(
440
+ :canary_percent,
441
+ :canary_bake_time_in_minutes)
442
+ SENSITIVE = []
443
+ include Aws::Structure
444
+ end
445
+
416
446
  # The details for a capacity provider.
417
447
  #
418
448
  # @!attribute [rw] capacity_provider_arn
@@ -428,6 +458,8 @@ module Aws::ECS
428
458
  # The cluster that this capacity provider is associated with. Managed
429
459
  # instances capacity providers are cluster-scoped, meaning they can
430
460
  # only be used within their associated cluster.
461
+ #
462
+ # This is required for Managed instances.
431
463
  # @return [String]
432
464
  #
433
465
  # @!attribute [rw] status
@@ -586,9 +618,9 @@ module Aws::ECS
586
618
  #
587
619
  # * Weight is considered after the base value is satisfied
588
620
  #
589
- # * Default value is `0` if not specified
621
+ # * The default value is `0` if not specified
590
622
  #
591
- # * Valid range: 0 to 1,000
623
+ # * The valid range is 0 to 1,000
592
624
  #
593
625
  # * At least one capacity provider must have a weight greater than
594
626
  # zero
@@ -623,9 +655,9 @@ module Aws::ECS
623
655
  #
624
656
  # * Only one capacity provider in a strategy can have a base defined
625
657
  #
626
- # * Default value is `0` if not specified
658
+ # * The default value is `0` if not specified
627
659
  #
628
- # * Valid range: 0 to 100,000
660
+ # * The valid range is 0 to 100,000
629
661
  #
630
662
  # * Base requirements are satisfied first before weight distribution
631
663
  # @return [Integer]
@@ -1273,7 +1305,7 @@ module Aws::ECS
1273
1305
  #
1274
1306
  # @!attribute [rw] cpu
1275
1307
  # The number of `cpu` units reserved for the container. This parameter
1276
- # maps to `CpuShares` in the docker container create commandand the
1308
+ # maps to `CpuShares` in the docker container create command and the
1277
1309
  # `--cpu-shares` option to docker run.
1278
1310
  #
1279
1311
  # This field is optional for tasks using the Fargate launch type, and
@@ -3005,6 +3037,12 @@ module Aws::ECS
3005
3037
  # information, see [Amazon ECS launch types][1] in the *Amazon Elastic
3006
3038
  # Container Service Developer Guide*.
3007
3039
  #
3040
+ # <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
3041
+ # `capacityProviderStrategy` request parameter and omit the
3042
+ # `launchType` request parameter.
3043
+ #
3044
+ # </note>
3045
+ #
3008
3046
  # The `FARGATE` launch type runs your tasks on Fargate On-Demand
3009
3047
  # infrastructure.
3010
3048
  #
@@ -3033,6 +3071,12 @@ module Aws::ECS
3033
3071
  # @!attribute [rw] capacity_provider_strategy
3034
3072
  # The capacity provider strategy to use for the service.
3035
3073
  #
3074
+ # <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
3075
+ # `capacityProviderStrategy` request parameter and omit the
3076
+ # `launchType` request parameter.
3077
+ #
3078
+ # </note>
3079
+ #
3036
3080
  # If a `capacityProviderStrategy` is specified, the `launchType`
3037
3081
  # parameter must be omitted. If no `capacityProviderStrategy` or
3038
3082
  # `launchType` is specified, the `defaultCapacityProviderStrategy` for
@@ -4261,6 +4305,20 @@ module Aws::ECS
4261
4305
  # specific stages of the deployment lifecycle.
4262
4306
  # @return [Array<Types::DeploymentLifecycleHook>]
4263
4307
  #
4308
+ # @!attribute [rw] linear_configuration
4309
+ # Configuration for linear deployment strategy. Only valid when the
4310
+ # deployment strategy is `LINEAR`. This configuration enables
4311
+ # progressive traffic shifting in equal percentage increments with
4312
+ # configurable bake times between each step.
4313
+ # @return [Types::LinearConfiguration]
4314
+ #
4315
+ # @!attribute [rw] canary_configuration
4316
+ # Configuration for canary deployment strategy. Only valid when the
4317
+ # deployment strategy is `CANARY`. This configuration enables shifting
4318
+ # a fixed percentage of traffic for testing, followed by shifting the
4319
+ # remaining traffic after a bake period.
4320
+ # @return [Types::CanaryConfiguration]
4321
+ #
4264
4322
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentConfiguration AWS API Documentation
4265
4323
  #
4266
4324
  class DeploymentConfiguration < Struct.new(
@@ -4270,7 +4328,9 @@ module Aws::ECS
4270
4328
  :alarms,
4271
4329
  :strategy,
4272
4330
  :bake_time_in_minutes,
4273
- :lifecycle_hooks)
4331
+ :lifecycle_hooks,
4332
+ :linear_configuration,
4333
+ :canary_configuration)
4274
4334
  SENSITIVE = []
4275
4335
  include Aws::Structure
4276
4336
  end
@@ -6582,6 +6642,35 @@ module Aws::ECS
6582
6642
  #
6583
6643
  class LimitExceededException < Aws::EmptyStructure; end
6584
6644
 
6645
+ # Configuration for linear deployment strategy that shifts production
6646
+ # traffic in equal percentage increments with configurable wait times
6647
+ # between each step until 100% of traffic is shifted to the new service
6648
+ # revision. This is only valid when you run `CreateService` or
6649
+ # `UpdateService` with `deploymentController` set to `ECS` and a
6650
+ # `deploymentConfiguration` with a strategy set to `LINEAR`.
6651
+ #
6652
+ # @!attribute [rw] step_percent
6653
+ # The percentage of production traffic to shift in each step during a
6654
+ # linear deployment. Valid values are 3.0 to 100.0. The default value
6655
+ # is 10.0.
6656
+ # @return [Float]
6657
+ #
6658
+ # @!attribute [rw] step_bake_time_in_minutes
6659
+ # The amount of time in minutes to wait between each traffic shifting
6660
+ # step during a linear deployment. Valid values are 0 to 1440 minutes
6661
+ # (24 hours). The default value is 6. This bake time is not applied
6662
+ # after reaching 100% traffic.
6663
+ # @return [Integer]
6664
+ #
6665
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LinearConfiguration AWS API Documentation
6666
+ #
6667
+ class LinearConfiguration < Struct.new(
6668
+ :step_percent,
6669
+ :step_bake_time_in_minutes)
6670
+ SENSITIVE = []
6671
+ include Aws::Structure
6672
+ end
6673
+
6585
6674
  # The Linux-specific options that are applied to the container, such as
6586
6675
  # Linux [KernelCapabilities][1].
6587
6676
  #
@@ -6964,8 +7053,8 @@ module Aws::ECS
6964
7053
  # specify the `DRAINING` status, the results include only container
6965
7054
  # instances that have been set to `DRAINING` using
6966
7055
  # [UpdateContainerInstancesState][1]. If you don't specify this
6967
- # parameter, the default is to include container instances set to all
6968
- # states other than `INACTIVE`.
7056
+ # parameter, the The default is to include container instances set to
7057
+ # all states other than `INACTIVE`.
6969
7058
  #
6970
7059
  #
6971
7060
  #
@@ -9738,7 +9827,7 @@ module Aws::ECS
9738
9827
  # If `task` is specified, all containers within the specified task
9739
9828
  # share the same process namespace.
9740
9829
  #
9741
- # If no value is specified, the default is a private namespace for
9830
+ # If no value is specified, the The default is a private namespace for
9742
9831
  # each container.
9743
9832
  #
9744
9833
  # If the `host` PID mode is used, there's a heightened risk of
@@ -9837,8 +9926,7 @@ module Aws::ECS
9837
9926
  # @return [Types::EphemeralStorage]
9838
9927
  #
9839
9928
  # @!attribute [rw] runtime_platform
9840
- # The operating system that your tasks definitions run on. A platform
9841
- # family is specified only for tasks using the Fargate launch type.
9929
+ # The operating system that your tasks definitions run on.
9842
9930
  # @return [Types::RuntimePlatform]
9843
9931
  #
9844
9932
  # @!attribute [rw] enable_fault_injection
@@ -10058,6 +10146,12 @@ module Aws::ECS
10058
10146
  # @!attribute [rw] capacity_provider_strategy
10059
10147
  # The capacity provider strategy to use for the task.
10060
10148
  #
10149
+ # <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
10150
+ # `capacityProviderStrategy` request parameter and omit the
10151
+ # `launchType` request parameter.
10152
+ #
10153
+ # </note>
10154
+ #
10061
10155
  # If a `capacityProviderStrategy` is specified, the `launchType`
10062
10156
  # parameter must be omitted. If no `capacityProviderStrategy` or
10063
10157
  # `launchType` is specified, the `defaultCapacityProviderStrategy` for
@@ -10114,6 +10208,12 @@ module Aws::ECS
10114
10208
  # information, see [Amazon ECS launch types][1] in the *Amazon Elastic
10115
10209
  # Container Service Developer Guide*.
10116
10210
  #
10211
+ # <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
10212
+ # `capacityProviderStrategy` request parameter and omit the
10213
+ # `launchType` request parameter.
10214
+ #
10215
+ # </note>
10216
+ #
10117
10217
  # The `FARGATE` launch type runs your tasks on Fargate On-Demand
10118
10218
  # infrastructure.
10119
10219
  #
@@ -10382,7 +10482,8 @@ module Aws::ECS
10382
10482
  #
10383
10483
  # You can run your Linux tasks on an ARM-based platform by setting the
10384
10484
  # value to `ARM64`. This option is available for tasks that run on
10385
- # Linux Amazon EC2 instance or Linux containers on Fargate.
10485
+ # Linux Amazon EC2 instance, Amazon ECS Managed Instances, or Linux
10486
+ # containers on Fargate.
10386
10487
  # @return [String]
10387
10488
  #
10388
10489
  # @!attribute [rw] operating_system_family
@@ -10808,6 +10909,42 @@ module Aws::ECS
10808
10909
  include Aws::Structure
10809
10910
  end
10810
10911
 
10912
+ # Configuration for Service Connect access logging. Access logs provide
10913
+ # detailed information about requests made to your service, including
10914
+ # request patterns, response codes, and timing data for debugging and
10915
+ # monitoring purposes.
10916
+ #
10917
+ # <note markdown="1"> To enable access logs, you must also specify a `logConfiguration` in
10918
+ # the `serviceConnectConfiguration`.
10919
+ #
10920
+ # </note>
10921
+ #
10922
+ # @!attribute [rw] format
10923
+ # The format for Service Connect access log output. Choose TEXT for
10924
+ # human-readable logs or JSON for structured data that integrates well
10925
+ # with log analysis tools.
10926
+ # @return [String]
10927
+ #
10928
+ # @!attribute [rw] include_query_parameters
10929
+ # Specifies whether to include query parameters in Service Connect
10930
+ # access logs.
10931
+ #
10932
+ # When enabled, query parameters from HTTP requests are included in
10933
+ # the access logs. Consider security and privacy implications when
10934
+ # enabling this feature, as query parameters may contain sensitive
10935
+ # information such as request IDs and tokens. By default, this
10936
+ # parameter is `DISABLED`.
10937
+ # @return [String]
10938
+ #
10939
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceConnectAccessLogConfiguration AWS API Documentation
10940
+ #
10941
+ class ServiceConnectAccessLogConfiguration < Struct.new(
10942
+ :format,
10943
+ :include_query_parameters)
10944
+ SENSITIVE = []
10945
+ include Aws::Structure
10946
+ end
10947
+
10811
10948
  # Each alias ("endpoint") is a fully-qualified name and port number
10812
10949
  # that other tasks ("clients") can use to connect to this service.
10813
10950
  #
@@ -10977,13 +11114,28 @@ module Aws::ECS
10977
11114
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html
10978
11115
  # @return [Types::LogConfiguration]
10979
11116
  #
11117
+ # @!attribute [rw] access_log_configuration
11118
+ # The configuration for Service Connect access logging. Access logs
11119
+ # capture detailed information about requests made to your service,
11120
+ # including request patterns, response codes, and timing data. They
11121
+ # can be useful for debugging connectivity issues, monitoring service
11122
+ # performance, and auditing service-to-service communication for
11123
+ # security and compliance purposes.
11124
+ #
11125
+ # <note markdown="1"> To enable access logs, you must also specify a `logConfiguration` in
11126
+ # the `serviceConnectConfiguration`.
11127
+ #
11128
+ # </note>
11129
+ # @return [Types::ServiceConnectAccessLogConfiguration]
11130
+ #
10980
11131
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceConnectConfiguration AWS API Documentation
10981
11132
  #
10982
11133
  class ServiceConnectConfiguration < Struct.new(
10983
11134
  :enabled,
10984
11135
  :namespace,
10985
11136
  :services,
10986
- :log_configuration)
11137
+ :log_configuration,
11138
+ :access_log_configuration)
10987
11139
  SENSITIVE = []
10988
11140
  include Aws::Structure
10989
11141
  end
@@ -12072,13 +12224,29 @@ module Aws::ECS
12072
12224
  # The number of pending tasks for the service revision.
12073
12225
  # @return [Integer]
12074
12226
  #
12227
+ # @!attribute [rw] requested_test_traffic_weight
12228
+ # The percentage of test traffic that is directed to this service
12229
+ # revision. This value represents a snapshot of the traffic
12230
+ # distribution and may not reflect real-time changes during active
12231
+ # deployments. Valid values are 0.0 to 100.0.
12232
+ # @return [Float]
12233
+ #
12234
+ # @!attribute [rw] requested_production_traffic_weight
12235
+ # The percentage of production traffic that is directed to this
12236
+ # service revision. This value represents a snapshot of the traffic
12237
+ # distribution and may not reflect real-time changes during active
12238
+ # deployments. Valid values are 0.0 to 100.0.
12239
+ # @return [Float]
12240
+ #
12075
12241
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceRevisionSummary AWS API Documentation
12076
12242
  #
12077
12243
  class ServiceRevisionSummary < Struct.new(
12078
12244
  :arn,
12079
12245
  :requested_task_count,
12080
12246
  :running_task_count,
12081
- :pending_task_count)
12247
+ :pending_task_count,
12248
+ :requested_test_traffic_weight,
12249
+ :requested_production_traffic_weight)
12082
12250
  SENSITIVE = []
12083
12251
  include Aws::Structure
12084
12252
  end
@@ -13330,9 +13498,9 @@ module Aws::ECS
13330
13498
  #
13331
13499
  # @!attribute [rw] requires_compatibilities
13332
13500
  # The task launch types the task definition was validated against. The
13333
- # valid values are `EC2`, `FARGATE`, and `EXTERNAL`. For more
13334
- # information, see [Amazon ECS launch types][1] in the *Amazon Elastic
13335
- # Container Service Developer Guide*.
13501
+ # valid values are `MANAGED_INSTANCES`, `EC2`, `FARGATE`, and
13502
+ # `EXTERNAL`. For more information, see [Amazon ECS launch types][1]
13503
+ # in the *Amazon Elastic Container Service Developer Guide*.
13336
13504
  #
13337
13505
  #
13338
13506
  #
@@ -13421,7 +13589,7 @@ module Aws::ECS
13421
13589
  # If `task` is specified, all containers within the specified task
13422
13590
  # share the same process namespace.
13423
13591
  #
13424
- # If no value is specified, the default is a private namespace for
13592
+ # If no value is specified, the The default is a private namespace for
13425
13593
  # each container.
13426
13594
  #
13427
13595
  # If the `host` PID mode is used, there's a heightened risk of
@@ -14697,6 +14865,11 @@ module Aws::ECS
14697
14865
  # The details of a capacity provider strategy. You can set a capacity
14698
14866
  # provider when you create a cluster, run a task, or update a service.
14699
14867
  #
14868
+ # <note markdown="1"> If you want to use Amazon ECS Managed Instances, you must use the
14869
+ # `capacityProviderStrategy` request parameter.
14870
+ #
14871
+ # </note>
14872
+ #
14700
14873
  # When you use Fargate, the capacity providers are `FARGATE` or
14701
14874
  # `FARGATE_SPOT`.
14702
14875
  #
data/lib/aws-sdk-ecs.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::ECS
55
55
  autoload :EndpointProvider, 'aws-sdk-ecs/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ecs/endpoints'
57
57
 
58
- GEM_VERSION = '1.208.0'
58
+ GEM_VERSION = '1.210.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -282,7 +282,7 @@ module Aws
282
282
  rollback: bool,
283
283
  enable: bool
284
284
  }?,
285
- strategy: ("ROLLING" | "BLUE_GREEN")?,
285
+ strategy: ("ROLLING" | "BLUE_GREEN" | "LINEAR" | "CANARY")?,
286
286
  bake_time_in_minutes: ::Integer?,
287
287
  lifecycle_hooks: Array[
288
288
  {
@@ -292,7 +292,15 @@ module Aws
292
292
  hook_details: {
293
293
  }?
294
294
  },
295
- ]?
295
+ ]?,
296
+ linear_configuration: {
297
+ step_percent: ::Float?,
298
+ step_bake_time_in_minutes: ::Integer?
299
+ }?,
300
+ canary_configuration: {
301
+ canary_percent: ::Float?,
302
+ canary_bake_time_in_minutes: ::Integer?
303
+ }?
296
304
  },
297
305
  ?placement_constraints: Array[
298
306
  {
@@ -371,6 +379,10 @@ module Aws
371
379
  value_from: ::String
372
380
  },
373
381
  ]?
382
+ }?,
383
+ access_log_configuration: {
384
+ format: ("TEXT" | "JSON"),
385
+ include_query_parameters: ("DISABLED" | "ENABLED")?
374
386
  }?
375
387
  },
376
388
  ?volume_configurations: Array[
@@ -1824,7 +1836,7 @@ module Aws
1824
1836
  rollback: bool,
1825
1837
  enable: bool
1826
1838
  }?,
1827
- strategy: ("ROLLING" | "BLUE_GREEN")?,
1839
+ strategy: ("ROLLING" | "BLUE_GREEN" | "LINEAR" | "CANARY")?,
1828
1840
  bake_time_in_minutes: ::Integer?,
1829
1841
  lifecycle_hooks: Array[
1830
1842
  {
@@ -1834,7 +1846,15 @@ module Aws
1834
1846
  hook_details: {
1835
1847
  }?
1836
1848
  },
1837
- ]?
1849
+ ]?,
1850
+ linear_configuration: {
1851
+ step_percent: ::Float?,
1852
+ step_bake_time_in_minutes: ::Integer?
1853
+ }?,
1854
+ canary_configuration: {
1855
+ canary_percent: ::Float?,
1856
+ canary_bake_time_in_minutes: ::Integer?
1857
+ }?
1838
1858
  },
1839
1859
  ?availability_zone_rebalancing: ("ENABLED" | "DISABLED"),
1840
1860
  ?network_configuration: {
@@ -1931,6 +1951,10 @@ module Aws
1931
1951
  value_from: ::String
1932
1952
  },
1933
1953
  ]?
1954
+ }?,
1955
+ access_log_configuration: {
1956
+ format: ("TEXT" | "JSON"),
1957
+ include_query_parameters: ("DISABLED" | "ENABLED")?
1934
1958
  }?
1935
1959
  },
1936
1960
  ?volume_configurations: Array[
data/sig/types.rbs CHANGED
@@ -87,6 +87,12 @@ module Aws::ECS
87
87
  class BlockedException < Aws::EmptyStructure
88
88
  end
89
89
 
90
+ class CanaryConfiguration
91
+ attr_accessor canary_percent: ::Float
92
+ attr_accessor canary_bake_time_in_minutes: ::Integer
93
+ SENSITIVE: []
94
+ end
95
+
90
96
  class CapacityProvider
91
97
  attr_accessor capacity_provider_arn: ::String
92
98
  attr_accessor name: ::String
@@ -535,9 +541,11 @@ module Aws::ECS
535
541
  attr_accessor maximum_percent: ::Integer
536
542
  attr_accessor minimum_healthy_percent: ::Integer
537
543
  attr_accessor alarms: Types::DeploymentAlarms
538
- attr_accessor strategy: ("ROLLING" | "BLUE_GREEN")
544
+ attr_accessor strategy: ("ROLLING" | "BLUE_GREEN" | "LINEAR" | "CANARY")
539
545
  attr_accessor bake_time_in_minutes: ::Integer
540
546
  attr_accessor lifecycle_hooks: ::Array[Types::DeploymentLifecycleHook]
547
+ attr_accessor linear_configuration: Types::LinearConfiguration
548
+ attr_accessor canary_configuration: Types::CanaryConfiguration
541
549
  SENSITIVE: []
542
550
  end
543
551
 
@@ -935,6 +943,12 @@ module Aws::ECS
935
943
  class LimitExceededException < Aws::EmptyStructure
936
944
  end
937
945
 
946
+ class LinearConfiguration
947
+ attr_accessor step_percent: ::Float
948
+ attr_accessor step_bake_time_in_minutes: ::Integer
949
+ SENSITIVE: []
950
+ end
951
+
938
952
  class LinuxParameters
939
953
  attr_accessor capabilities: Types::KernelCapabilities
940
954
  attr_accessor devices: ::Array[Types::Device]
@@ -1501,6 +1515,12 @@ module Aws::ECS
1501
1515
  SENSITIVE: []
1502
1516
  end
1503
1517
 
1518
+ class ServiceConnectAccessLogConfiguration
1519
+ attr_accessor format: ("TEXT" | "JSON")
1520
+ attr_accessor include_query_parameters: ("DISABLED" | "ENABLED")
1521
+ SENSITIVE: []
1522
+ end
1523
+
1504
1524
  class ServiceConnectClientAlias
1505
1525
  attr_accessor port: ::Integer
1506
1526
  attr_accessor dns_name: ::String
@@ -1513,6 +1533,7 @@ module Aws::ECS
1513
1533
  attr_accessor namespace: ::String
1514
1534
  attr_accessor services: ::Array[Types::ServiceConnectService]
1515
1535
  attr_accessor log_configuration: Types::LogConfiguration
1536
+ attr_accessor access_log_configuration: Types::ServiceConnectAccessLogConfiguration
1516
1537
  SENSITIVE: []
1517
1538
  end
1518
1539
 
@@ -1681,6 +1702,8 @@ module Aws::ECS
1681
1702
  attr_accessor requested_task_count: ::Integer
1682
1703
  attr_accessor running_task_count: ::Integer
1683
1704
  attr_accessor pending_task_count: ::Integer
1705
+ attr_accessor requested_test_traffic_weight: ::Float
1706
+ attr_accessor requested_production_traffic_weight: ::Float
1684
1707
  SENSITIVE: []
1685
1708
  end
1686
1709
 
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.208.0
4
+ version: 1.210.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services