aws-sdk-ecs 1.94.0 → 1.97.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: b62c50b9fc913a1bd72efd43f5772bd445485d4e23d4aac533cf710fd2169f06
4
- data.tar.gz: c324afbe5488ff3f81fb568dfa08e945bcb2c281c57f52f8fc5518a443c7bf46
3
+ metadata.gz: '0794594ba7b0c2273ba4bd389f8c3d05943632247317918cf8d8cde40d4fb4c0'
4
+ data.tar.gz: 7035a87cacfd0e4f6a3855b630f57cb97ff5e213d74e2cffd5d1a3fd26ec63b3
5
5
  SHA512:
6
- metadata.gz: c0dc2f6ddeb55cfd3d38641fd9df7a0a63f14af31dccac6704132046ccd6da328ab637751661ee5cd5be5e1398c2b5309d5e3572ec76571bee71a55f3922f8a2
7
- data.tar.gz: 0230007a30d13d9b5a3f8dfe85de08eb964d01a774b7dbd6c2d9dfc0c2e0eb590b768c14ac44195102a3b4aa1cd38eee8ec014f29a9b4e3580c6ed333d2f3bf7
6
+ metadata.gz: 291868aa85fad401246451737f4ca1a1d1dcbe879f0390e9b1ad5b5fba99aac4d63bf340e1faf4f65af09cbe436585a4d3b2420d25d4348c76aeffb2d18e30b9
7
+ data.tar.gz: 77020b769232aacc7a4f551d002b4a32ccac8d4aa15b524914e7368f033666d395a2a1af2ece2d3d5cde03960d29adc4e41d08e7c20357ff5874c3c8c8c392ca
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.97.0 (2022-03-07)
5
+ ------------------
6
+
7
+ * Feature - Amazon ECS UpdateService API now supports additional parameters: loadBalancers, propagateTags, enableECSManagedTags, and serviceRegistries
8
+
9
+ 1.96.0 (2022-02-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.95.0 (2022-02-03)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.94.0 (2022-01-05)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.94.0
1
+ 1.97.0
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
31
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
32
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
33
35
 
@@ -74,7 +76,9 @@ module Aws::ECS
74
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
75
77
  add_plugin(Aws::Plugins::TransferEncoding)
76
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
77
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
+ add_plugin(Aws::Plugins::RecursionDetection)
78
82
  add_plugin(Aws::Plugins::SignatureV4)
79
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
80
84
 
@@ -517,7 +521,7 @@ module Aws::ECS
517
521
  #
518
522
  # @option params [Array<Types::ClusterSetting>] :settings
519
523
  # The setting to use when creating a cluster. This parameter is used to
520
- # enable CloudWatch Container Insights for a cluster. If this value is
524
+ # turn on CloudWatch Container Insights for a cluster. If this value is
521
525
  # specified, it overrides the `containerInsights` value set with
522
526
  # PutAccountSetting or PutAccountSettingDefault.
523
527
  #
@@ -686,8 +690,7 @@ module Aws::ECS
686
690
  # Tasks for services that don't use a load balancer are considered
687
691
  # healthy if they're in the `RUNNING` state. Tasks for services that
688
692
  # use a load balancer are considered healthy if they're in the
689
- # `RUNNING` state and the container instance that they're hosted on is
690
- # reported as healthy by the load balancer.
693
+ # `RUNNING` state and are reported as healthy by the load balancer.
691
694
  #
692
695
  # There are two service scheduler strategies available:
693
696
  #
@@ -840,11 +843,8 @@ module Aws::ECS
840
843
  # listener that you can use to perform validation tests with Lambda
841
844
  # functions before routing production traffic to it.
842
845
  #
843
- # After you create a service using the `ECS` deployment controller, the
844
- # load balancer name or target group ARN, container name, and container
845
- # port that's specified in the service definition are immutable. If you
846
- # use the `CODE_DEPLOY` deployment controller, these values can be
847
- # changed when updating the service.
846
+ # If you use the `CODE_DEPLOY` deployment controller, these values can
847
+ # be changed when updating the service.
848
848
  #
849
849
  # For Application Load Balancers and Network Load Balancers, this object
850
850
  # must contain the load balancer target group ARN, the container name,
@@ -1016,6 +1016,10 @@ module Aws::ECS
1016
1016
  # defined and you don't specify a health check grace period value, the
1017
1017
  # default value of `0` is used.
1018
1018
  #
1019
+ # If you do not use an Elastic Load Balancing, we recomend that you use
1020
+ # the `startPeriod` in the task definition healtch check parameters. For
1021
+ # more information, see [Health check][1].
1022
+ #
1019
1023
  # If your service's tasks take a while to start and respond to Elastic
1020
1024
  # Load Balancing health checks, you can specify a health check grace
1021
1025
  # period of up to 2,147,483,647 seconds (about 69 years). During that
@@ -1023,6 +1027,10 @@ module Aws::ECS
1023
1027
  # This grace period can prevent the service scheduler from marking tasks
1024
1028
  # as unhealthy and stopping them before they have time to come up.
1025
1029
  #
1030
+ #
1031
+ #
1032
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html
1033
+ #
1026
1034
  # @option params [String] :scheduling_strategy
1027
1035
  # The scheduling strategy to use for the service. For more information,
1028
1036
  # see [Services][1].
@@ -1091,7 +1099,7 @@ module Aws::ECS
1091
1099
  # your tags per resource limit.
1092
1100
  #
1093
1101
  # @option params [Boolean] :enable_ecs_managed_tags
1094
- # Specifies whether to enable Amazon ECS managed tags for the tasks
1102
+ # Specifies whether to turn on Amazon ECS managed tags for the tasks
1095
1103
  # within the service. For more information, see [Tagging Your Amazon ECS
1096
1104
  # Resources][1] in the *Amazon Elastic Container Service Developer
1097
1105
  # Guide*.
@@ -1308,7 +1316,7 @@ module Aws::ECS
1308
1316
  # },
1309
1317
  # ],
1310
1318
  # enable_ecs_managed_tags: false,
1311
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
1319
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
1312
1320
  # enable_execute_command: false,
1313
1321
  # })
1314
1322
  #
@@ -1435,7 +1443,7 @@ module Aws::ECS
1435
1443
  # resp.service.tags[0].value #=> String
1436
1444
  # resp.service.created_by #=> String
1437
1445
  # resp.service.enable_ecs_managed_tags #=> Boolean
1438
- # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE"
1446
+ # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
1439
1447
  # resp.service.enable_execute_command #=> Boolean
1440
1448
  #
1441
1449
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService AWS API Documentation
@@ -2158,7 +2166,7 @@ module Aws::ECS
2158
2166
  # resp.service.tags[0].value #=> String
2159
2167
  # resp.service.created_by #=> String
2160
2168
  # resp.service.enable_ecs_managed_tags #=> Boolean
2161
- # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE"
2169
+ # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
2162
2170
  # resp.service.enable_execute_command #=> Boolean
2163
2171
  #
2164
2172
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService AWS API Documentation
@@ -3209,7 +3217,7 @@ module Aws::ECS
3209
3217
  # resp.services[0].tags[0].value #=> String
3210
3218
  # resp.services[0].created_by #=> String
3211
3219
  # resp.services[0].enable_ecs_managed_tags #=> Boolean
3212
- # resp.services[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE"
3220
+ # resp.services[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
3213
3221
  # resp.services[0].enable_execute_command #=> Boolean
3214
3222
  # resp.failures #=> Array
3215
3223
  # resp.failures[0].arn #=> String
@@ -4835,8 +4843,8 @@ module Aws::ECS
4835
4843
  # opt-in and opt-out account setting must be set for each Amazon ECS
4836
4844
  # resource separately. The ARN and resource ID format of a resource is
4837
4845
  # defined by the opt-in status of the IAM user or role that created the
4838
- # resource. You must enable this setting to use Amazon ECS features such
4839
- # as resource tagging.
4846
+ # resource. You must turn on this setting to use Amazon ECS features
4847
+ # such as resource tagging.
4840
4848
  #
4841
4849
  # When `awsvpcTrunking` is specified, the elastic network interface
4842
4850
  # (ENI) limit for any new container instances that support the feature
@@ -5690,7 +5698,7 @@ module Aws::ECS
5690
5698
  #
5691
5699
  # For tasks hosted on Amazon EC2 instances, the container instances
5692
5700
  # require at least version `1.26.0` of the container agent and at least
5693
- # version `1.26.0-1` of the `ecs-init` package to enable a proxy
5701
+ # version `1.26.0-1` of the `ecs-init` package to use a proxy
5694
5702
  # configuration. If your container instances are launched from the
5695
5703
  # Amazon ECS-optimized AMI version `20190301` or later, then they
5696
5704
  # contain the required versions of the container agent and `ecs-init`.
@@ -6263,7 +6271,7 @@ module Aws::ECS
6263
6271
  # cluster. You can specify up to 10 tasks for each call.
6264
6272
  #
6265
6273
  # @option params [Boolean] :enable_ecs_managed_tags
6266
- # Specifies whether to enable Amazon ECS managed tags for the task. For
6274
+ # Specifies whether to use Amazon ECS managed tags for the task. For
6267
6275
  # more information, see [Tagging Your Amazon ECS Resources][1] in the
6268
6276
  # *Amazon Elastic Container Service Developer Guide*.
6269
6277
  #
@@ -6272,7 +6280,7 @@ module Aws::ECS
6272
6280
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
6273
6281
  #
6274
6282
  # @option params [Boolean] :enable_execute_command
6275
- # Determines whether to enable the execute command functionality for the
6283
+ # Determines whether to use the execute command functionality for the
6276
6284
  # containers in this task. If `true`, this enables execute command
6277
6285
  # functionality on all containers in the task.
6278
6286
  #
@@ -6547,7 +6555,7 @@ module Aws::ECS
6547
6555
  # },
6548
6556
  # ],
6549
6557
  # platform_version: "String",
6550
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
6558
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
6551
6559
  # reference_id: "String",
6552
6560
  # started_by: "String",
6553
6561
  # tags: [
@@ -6700,7 +6708,7 @@ module Aws::ECS
6700
6708
  # to 10 container instances.
6701
6709
  #
6702
6710
  # @option params [Boolean] :enable_ecs_managed_tags
6703
- # Specifies whether to enable Amazon ECS managed tags for the task. For
6711
+ # Specifies whether to use Amazon ECS managed tags for the task. For
6704
6712
  # more information, see [Tagging Your Amazon ECS Resources][1] in the
6705
6713
  # *Amazon Elastic Container Service Developer Guide*.
6706
6714
  #
@@ -6855,7 +6863,7 @@ module Aws::ECS
6855
6863
  # size_in_gi_b: 1, # required
6856
6864
  # },
6857
6865
  # },
6858
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
6866
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
6859
6867
  # reference_id: "String",
6860
6868
  # started_by: "String",
6861
6869
  # tags: [
@@ -7636,7 +7644,7 @@ module Aws::ECS
7636
7644
  #
7637
7645
  # @option params [required, Array<Types::ClusterSetting>] :settings
7638
7646
  # The setting to use by default for a cluster. This parameter is used to
7639
- # enable CloudWatch Container Insights for a cluster. If this value is
7647
+ # turn on CloudWatch Container Insights for a cluster. If this value is
7640
7648
  # specified, it overrides the `containerInsights` value set with
7641
7649
  # PutAccountSetting or PutAccountSettingDefault.
7642
7650
  #
@@ -7849,8 +7857,7 @@ module Aws::ECS
7849
7857
  # services that do not use a load balancer are considered healthy if
7850
7858
  # they're in the `RUNNING` state. Tasks for services that use a load
7851
7859
  # balancer are considered healthy if they're in the `RUNNING` state
7852
- # and the container instance they're hosted on is reported as healthy
7853
- # by the load balancer.
7860
+ # and are reported as healthy by the load balancer..
7854
7861
  #
7855
7862
  # * The `maximumPercent` parameter represents an upper limit on the
7856
7863
  # number of running tasks during task replacement. You can use this to
@@ -7978,24 +7985,28 @@ module Aws::ECS
7978
7985
  #
7979
7986
  # Modifies the parameters of a service.
7980
7987
  #
7981
- # For services using the rolling update (`ECS`) deployment controller,
7982
- # the desired count, deployment configuration, network configuration,
7983
- # task placement constraints and strategies, or task definition used can
7984
- # be updated.
7988
+ # For services using the rolling update (`ECS`) you can update the
7989
+ # desired count, the deployment configuration, the network
7990
+ # configuration, load balancers, service registries, enable ECS managed
7991
+ # tags option, propagate tags option, task placement constraints and
7992
+ # strategies, and the task definition. When you update any of these
7993
+ # parameters, Amazon ECS starts new tasks with the new configuration.
7985
7994
  #
7986
7995
  # For services using the blue/green (`CODE_DEPLOY`) deployment
7987
7996
  # controller, only the desired count, deployment configuration, task
7988
- # placement constraints and strategies, and health check grace period
7989
- # can be updated using this API. If the network configuration, platform
7990
- # version, or task definition need to be updated, a new CodeDeploy
7991
- # deployment is created. For more information, see [CreateDeployment][2]
7992
- # in the *CodeDeploy API Reference*.
7997
+ # placement constraints and strategies, enable ECS managed tags option,
7998
+ # and propagate tags can be updated using this API. If the network
7999
+ # configuration, platform version, task definition, or load balancer
8000
+ # need to be updated, create a new CodeDeploy deployment. For more
8001
+ # information, see [CreateDeployment][2] in the *CodeDeploy API
8002
+ # Reference*.
7993
8003
  #
7994
8004
  # For services using an external deployment controller, you can update
7995
- # only the desired count, task placement constraints and strategies, and
7996
- # health check grace period using this API. If the launch type, load
8005
+ # only the desired count, task placement constraints and strategies,
8006
+ # health check grace period, enable ECS managed tags option, and
8007
+ # propagate tags option, using this API. If the launch type, load
7997
8008
  # balancer, network configuration, platform version, or task definition
7998
- # need to be updated, create a new task set. For more information, see
8009
+ # need to be updated, create a new task set For more information, see
7999
8010
  # CreateTaskSet.
8000
8011
  #
8001
8012
  # You can add to or subtract from the number of instantiations of a task
@@ -8031,8 +8042,7 @@ module Aws::ECS
8031
8042
  # services that don't use a load balancer are considered healthy if
8032
8043
  # they're in the `RUNNING` state. Tasks for services that use a load
8033
8044
  # balancer are considered healthy if they're in the `RUNNING` state
8034
- # and the container instance they're hosted on is reported as healthy
8035
- # by the load balancer.
8045
+ # and are reported as healthy by the load balancer.
8036
8046
  #
8037
8047
  # * The `maximumPercent` parameter represents an upper limit on the
8038
8048
  # number of running tasks during a deployment. You can use it to
@@ -8084,10 +8094,25 @@ module Aws::ECS
8084
8094
  # Zone (based on the previous steps), favoring container instances
8085
8095
  # with the largest number of running tasks for this service.
8086
8096
  #
8097
+ # <note markdown="1"> You must have a service-linked role when you update any of the
8098
+ # following service properties. If you specified a custom IAM role when
8099
+ # you created the service, Amazon ECS automatically replaces the
8100
+ # [roleARN][3] associated with the service with the ARN of your
8101
+ # service-linked role. For more information, see [Service-linked
8102
+ # roles][4] in the *Amazon Elastic Container Service Developer Guide*.
8103
+ #
8104
+ # * `loadBalancers,`
8105
+ #
8106
+ # * `serviceRegistries`
8107
+ #
8108
+ # </note>
8109
+ #
8087
8110
  #
8088
8111
  #
8089
8112
  # [1]: https://aws.amazon.com/service-terms
8090
8113
  # [2]: https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html
8114
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Service.html#ECS-Type-Service-roleArn
8115
+ # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
8091
8116
  #
8092
8117
  # @option params [String] :cluster
8093
8118
  # The short name or full Amazon Resource Name (ARN) of the cluster that
@@ -8204,6 +8229,57 @@ module Aws::ECS
8204
8229
  # If you do not want to override the value that was set when the service
8205
8230
  # was created, you can set this to `null` when performing this action.
8206
8231
  #
8232
+ # @option params [Boolean] :enable_ecs_managed_tags
8233
+ # Determines whether to turn on Amazon ECS managed tags for the tasks in
8234
+ # the service. For more information, see [Tagging Your Amazon ECS
8235
+ # Resources][1] in the *Amazon Elastic Container Service Developer
8236
+ # Guide*.
8237
+ #
8238
+ # Only tasks launched after the update will reflect the update. To
8239
+ # update the tags on all tasks, set `forceNewDeployment` to `true`, so
8240
+ # that Amazon ECS starts new tasks with the updated tags.
8241
+ #
8242
+ #
8243
+ #
8244
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
8245
+ #
8246
+ # @option params [Array<Types::LoadBalancer>] :load_balancers
8247
+ # A list of Elastic Load Balancing load balancer objects. It contains
8248
+ # the load balancer name, the container name, and the container port to
8249
+ # access from the load balancer. The container name is as it appears in
8250
+ # a container definition.
8251
+ #
8252
+ # When you add, update, or remove a load balancer configuration, Amazon
8253
+ # ECS starts new tasks with the updated Elastic Load Balancing
8254
+ # configuration, and then stops the old tasks when the new tasks are
8255
+ # running.
8256
+ #
8257
+ # You can remove existing `loadBalancers` by passing an empty list.
8258
+ #
8259
+ # @option params [String] :propagate_tags
8260
+ # Determines whether to propagate the tags from the task definition or
8261
+ # the service to the task. If no value is specified, the tags aren't
8262
+ # propagated.
8263
+ #
8264
+ # Only tasks launched after the update will reflect the update. To
8265
+ # update the tags on all tasks, set `forceNewDeployment` to `true`, so
8266
+ # that Amazon ECS starts new tasks with the updated tags.
8267
+ #
8268
+ # @option params [Array<Types::ServiceRegistry>] :service_registries
8269
+ # The details for the service discovery registries to assign to this
8270
+ # service. For more information, see [Service Discovery][1].
8271
+ #
8272
+ # When you add, update, or remove the service registries configuration,
8273
+ # Amazon ECS starts new tasks with the updated service registries
8274
+ # configuration, and then stops the old tasks when the new tasks are
8275
+ # running.
8276
+ #
8277
+ # You can remove existing `serviceRegistries` by passing an empty list.
8278
+ #
8279
+ #
8280
+ #
8281
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
8282
+ #
8207
8283
  # @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8208
8284
  #
8209
8285
  # * {Types::UpdateServiceResponse#service #service} => Types::Service
@@ -8280,6 +8356,24 @@ module Aws::ECS
8280
8356
  # force_new_deployment: false,
8281
8357
  # health_check_grace_period_seconds: 1,
8282
8358
  # enable_execute_command: false,
8359
+ # enable_ecs_managed_tags: false,
8360
+ # load_balancers: [
8361
+ # {
8362
+ # target_group_arn: "String",
8363
+ # load_balancer_name: "String",
8364
+ # container_name: "String",
8365
+ # container_port: 1,
8366
+ # },
8367
+ # ],
8368
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
8369
+ # service_registries: [
8370
+ # {
8371
+ # registry_arn: "String",
8372
+ # port: 1,
8373
+ # container_name: "String",
8374
+ # container_port: 1,
8375
+ # },
8376
+ # ],
8283
8377
  # })
8284
8378
  #
8285
8379
  # @example Response structure
@@ -8405,7 +8499,7 @@ module Aws::ECS
8405
8499
  # resp.service.tags[0].value #=> String
8406
8500
  # resp.service.created_by #=> String
8407
8501
  # resp.service.enable_ecs_managed_tags #=> Boolean
8408
- # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE"
8502
+ # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
8409
8503
  # resp.service.enable_execute_command #=> Boolean
8410
8504
  #
8411
8505
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService AWS API Documentation
@@ -8614,7 +8708,7 @@ module Aws::ECS
8614
8708
  params: params,
8615
8709
  config: config)
8616
8710
  context[:gem_name] = 'aws-sdk-ecs'
8617
- context[:gem_version] = '1.94.0'
8711
+ context[:gem_version] = '1.97.0'
8618
8712
  Seahorse::Client::Request.new(handlers, context)
8619
8713
  end
8620
8714
 
@@ -1658,6 +1658,10 @@ module Aws::ECS
1658
1658
  UpdateServiceRequest.add_member(:force_new_deployment, Shapes::ShapeRef.new(shape: Boolean, location_name: "forceNewDeployment"))
1659
1659
  UpdateServiceRequest.add_member(:health_check_grace_period_seconds, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "healthCheckGracePeriodSeconds"))
1660
1660
  UpdateServiceRequest.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableExecuteCommand"))
1661
+ UpdateServiceRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableECSManagedTags"))
1662
+ UpdateServiceRequest.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
1663
+ UpdateServiceRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
1664
+ UpdateServiceRequest.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
1661
1665
  UpdateServiceRequest.struct_class = Types::UpdateServiceRequest
1662
1666
 
1663
1667
  UpdateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
@@ -77,8 +77,8 @@ module Aws::ECS
77
77
  end
78
78
 
79
79
  # An attribute is a name-value pair that's associated with an Amazon
80
- # ECS object. Attributes enable you to extend the Amazon ECS data model
81
- # by adding custom metadata to your resources. For more information, see
80
+ # ECS object. Use attributes to extend the Amazon ECS data model by
81
+ # adding custom metadata to your resources. For more information, see
82
82
  # [Attributes][1] in the *Amazon Elastic Container Service Developer
83
83
  # Guide*.
84
84
  #
@@ -748,7 +748,7 @@ module Aws::ECS
748
748
  class ClusterNotFoundException < Aws::EmptyStructure; end
749
749
 
750
750
  # The settings to use when creating a cluster. This parameter is used to
751
- # enable CloudWatch Container Insights for a cluster.
751
+ # turn on CloudWatch Container Insights for a cluster.
752
752
  #
753
753
  # @note When making an API call, you may pass ClusterSetting
754
754
  # data as a hash:
@@ -1459,7 +1459,7 @@ module Aws::ECS
1459
1459
  # reversed.
1460
1460
  #
1461
1461
  # For tasks using the EC2 launch type, the container instances require
1462
- # at least version 1.26.0 of the container agent to enable container
1462
+ # at least version 1.26.0 of the container agent to turn on container
1463
1463
  # dependencies. However, we recommend using the latest container agent
1464
1464
  # version. For information about checking your agent version and
1465
1465
  # updating to the latest version, see [Updating the Amazon ECS
@@ -1509,7 +1509,7 @@ module Aws::ECS
1509
1509
  # * Windows platform version `1.0.0` or later.
1510
1510
  #
1511
1511
  # For tasks using the EC2 launch type, your container instances
1512
- # require at least version `1.26.0` of the container agent to enable a
1512
+ # require at least version `1.26.0` of the container agent to use a
1513
1513
  # container start timeout value. However, we recommend using the
1514
1514
  # latest container agent version. For information about checking your
1515
1515
  # agent version and updating to the latest version, see [Updating the
@@ -1549,7 +1549,7 @@ module Aws::ECS
1549
1549
  # `ECS_CONTAINER_STOP_TIMEOUT` agent configuration variable are set,
1550
1550
  # then the default values of 30 seconds for Linux containers and 30
1551
1551
  # seconds on Windows containers are used. Your container instances
1552
- # require at least version 1.26.0 of the container agent to enable a
1552
+ # require at least version 1.26.0 of the container agent to use a
1553
1553
  # container stop timeout value. However, we recommend using the latest
1554
1554
  # container agent version. For information about checking your agent
1555
1555
  # version and updating to the latest version, see [Updating the Amazon
@@ -2001,7 +2001,7 @@ module Aws::ECS
2001
2001
  # defined for container startup, for container shutdown it is reversed.
2002
2002
  #
2003
2003
  # Your Amazon ECS container instances require at least version 1.26.0 of
2004
- # the container agent to enable container dependencies. However, we
2004
+ # the container agent to use container dependencies. However, we
2005
2005
  # recommend using the latest container agent version. For information
2006
2006
  # about checking your agent version and updating to the latest version,
2007
2007
  # see [Updating the Amazon ECS Container Agent][1] in the *Amazon
@@ -2618,9 +2618,9 @@ module Aws::ECS
2618
2618
  #
2619
2619
  # @!attribute [rw] settings
2620
2620
  # The setting to use when creating a cluster. This parameter is used
2621
- # to enable CloudWatch Container Insights for a cluster. If this value
2622
- # is specified, it overrides the `containerInsights` value set with
2623
- # PutAccountSetting or PutAccountSettingDefault.
2621
+ # to turn on CloudWatch Container Insights for a cluster. If this
2622
+ # value is specified, it overrides the `containerInsights` value set
2623
+ # with PutAccountSetting or PutAccountSettingDefault.
2624
2624
  # @return [Array<Types::ClusterSetting>]
2625
2625
  #
2626
2626
  # @!attribute [rw] configuration
@@ -2760,7 +2760,7 @@ module Aws::ECS
2760
2760
  # },
2761
2761
  # ],
2762
2762
  # enable_ecs_managed_tags: false,
2763
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
2763
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
2764
2764
  # enable_execute_command: false,
2765
2765
  # }
2766
2766
  #
@@ -2812,11 +2812,8 @@ module Aws::ECS
2812
2812
  # optional listener that you can use to perform validation tests with
2813
2813
  # Lambda functions before routing production traffic to it.
2814
2814
  #
2815
- # After you create a service using the `ECS` deployment controller,
2816
- # the load balancer name or target group ARN, container name, and
2817
- # container port that's specified in the service definition are
2818
- # immutable. If you use the `CODE_DEPLOY` deployment controller, these
2819
- # values can be changed when updating the service.
2815
+ # If you use the `CODE_DEPLOY` deployment controller, these values can
2816
+ # be changed when updating the service.
2820
2817
  #
2821
2818
  # For Application Load Balancers and Network Load Balancers, this
2822
2819
  # object must contain the load balancer target group ARN, the
@@ -3004,6 +3001,10 @@ module Aws::ECS
3004
3001
  # load balancer defined and you don't specify a health check grace
3005
3002
  # period value, the default value of `0` is used.
3006
3003
  #
3004
+ # If you do not use an Elastic Load Balancing, we recomend that you
3005
+ # use the `startPeriod` in the task definition healtch check
3006
+ # parameters. For more information, see [Health check][1].
3007
+ #
3007
3008
  # If your service's tasks take a while to start and respond to
3008
3009
  # Elastic Load Balancing health checks, you can specify a health check
3009
3010
  # grace period of up to 2,147,483,647 seconds (about 69 years). During
@@ -3011,6 +3012,10 @@ module Aws::ECS
3011
3012
  # status. This grace period can prevent the service scheduler from
3012
3013
  # marking tasks as unhealthy and stopping them before they have time
3013
3014
  # to come up.
3015
+ #
3016
+ #
3017
+ #
3018
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html
3014
3019
  # @return [Integer]
3015
3020
  #
3016
3021
  # @!attribute [rw] scheduling_strategy
@@ -3085,7 +3090,7 @@ module Aws::ECS
3085
3090
  # @return [Array<Types::Tag>]
3086
3091
  #
3087
3092
  # @!attribute [rw] enable_ecs_managed_tags
3088
- # Specifies whether to enable Amazon ECS managed tags for the tasks
3093
+ # Specifies whether to turn on Amazon ECS managed tags for the tasks
3089
3094
  # within the service. For more information, see [Tagging Your Amazon
3090
3095
  # ECS Resources][1] in the *Amazon Elastic Container Service Developer
3091
3096
  # Guide*.
@@ -3808,9 +3813,9 @@ module Aws::ECS
3808
3813
  # The **deployment circuit breaker** determines whether a service
3809
3814
  # deployment will fail if the service can't reach a steady state. If
3810
3815
  # enabled, a service deployment will transition to a failed state and
3811
- # stop launching new tasks. You can also enable Amazon ECS to roll back
3812
- # your service to the last completed deployment after a failure. For
3813
- # more information, see [Rolling update][1] in the *Amazon Elastic
3816
+ # stop launching new tasks. You can also configure Amazon ECS to roll
3817
+ # back your service to the last completed deployment after a failure.
3818
+ # For more information, see [Rolling update][1] in the *Amazon Elastic
3814
3819
  # Container Service Developer Guide*.
3815
3820
  #
3816
3821
  #
@@ -3826,15 +3831,15 @@ module Aws::ECS
3826
3831
  # }
3827
3832
  #
3828
3833
  # @!attribute [rw] enable
3829
- # Determines whether to enable the deployment circuit breaker logic
3830
- # for the service.
3834
+ # Determines whether to use the deployment circuit breaker logic for
3835
+ # the service.
3831
3836
  # @return [Boolean]
3832
3837
  #
3833
3838
  # @!attribute [rw] rollback
3834
- # Determines whether to enable Amazon ECS to roll back the service if
3835
- # a service deployment fails. If rollback is enabled, when a service
3836
- # deployment fails, the service is rolled back to the last deployment
3837
- # that completed successfully.
3839
+ # Determines whether to configure Amazon ECS to roll back the service
3840
+ # if a service deployment fails. If rollback is enabled, when a
3841
+ # service deployment fails, the service is rolled back to the last
3842
+ # deployment that completed successfully.
3838
3843
  # @return [Boolean]
3839
3844
  #
3840
3845
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentCircuitBreaker AWS API Documentation
@@ -4796,12 +4801,12 @@ module Aws::ECS
4796
4801
  # @return [String]
4797
4802
  #
4798
4803
  # @!attribute [rw] transit_encryption
4799
- # Determines whether to enable encryption for Amazon EFS data in
4800
- # transit between the Amazon ECS host and the Amazon EFS server.
4801
- # Transit encryption must be enabled if Amazon EFS IAM authorization
4802
- # is used. If this parameter is omitted, the default value of
4803
- # `DISABLED` is used. For more information, see [Encrypting Data in
4804
- # Transit][1] in the *Amazon Elastic File System User Guide*.
4804
+ # Determines whether to use encryption for Amazon EFS data in transit
4805
+ # between the Amazon ECS host and the Amazon EFS server. Transit
4806
+ # encryption must be enabled if Amazon EFS IAM authorization is used.
4807
+ # If this parameter is omitted, the default value of `DISABLED` is
4808
+ # used. For more information, see [Encrypting Data in Transit][1] in
4809
+ # the *Amazon Elastic File System User Guide*.
4805
4810
  #
4806
4811
  #
4807
4812
  #
@@ -4898,12 +4903,9 @@ module Aws::ECS
4898
4903
  # more information, see [Fargate task storage][1] in the *Amazon ECS
4899
4904
  # User Guide for Fargate*.
4900
4905
  #
4901
- # <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using the
4902
- # following platform versions:
4903
- #
4904
- # * Linux platform version `1.4.0` or later.
4905
- #
4906
- # * Windows platform version `1.0.0` or later.
4906
+ # <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
4907
+ # Linux platform version `1.4.0` or later. This parameter is not
4908
+ # supported for Windows containers on Fargate.
4907
4909
  #
4908
4910
  # </note>
4909
4911
  #
@@ -5010,8 +5012,8 @@ module Aws::ECS
5010
5012
  # @return [String]
5011
5013
  #
5012
5014
  # @!attribute [rw] cloud_watch_encryption_enabled
5013
- # Determines whether to enable encryption on the CloudWatch logs. If
5014
- # not specified, encryption will be disabled.
5015
+ # Determines whether to use encryption on the CloudWatch logs. If not
5016
+ # specified, encryption will be disabled.
5015
5017
  # @return [Boolean]
5016
5018
  #
5017
5019
  # @!attribute [rw] s3_bucket_name
@@ -6674,6 +6676,22 @@ module Aws::ECS
6674
6676
  # balancers with services and task sets, see the CreateService and
6675
6677
  # CreateTaskSet actions.
6676
6678
  #
6679
+ # When you add, update, or remove a load blaancer configuration, Amazon
6680
+ # ECS starts a new deployment with the updated Elastic Load Balancing
6681
+ # configuration. This causes tasks to register to and deregister from
6682
+ # load balancers.
6683
+ #
6684
+ # We recommend that you verify this on a test environment before you
6685
+ # update the Elastic Load Balancing configuration.
6686
+ #
6687
+ # A service-linked role is required for services that use multiple
6688
+ # target groups. For more information, see [Service-linked roles][1] in
6689
+ # the *Amazon Elastic Container Service Developer Guide*.
6690
+ #
6691
+ #
6692
+ #
6693
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
6694
+ #
6677
6695
  # @note When making an API call, you may pass LoadBalancer
6678
6696
  # data as a hash:
6679
6697
  #
@@ -6970,8 +6988,7 @@ module Aws::ECS
6970
6988
  # }
6971
6989
  #
6972
6990
  # @!attribute [rw] status
6973
- # Determines whether to enable managed scaling for the capacity
6974
- # provider.
6991
+ # Determines whether to use managed scaling for the capacity provider.
6975
6992
  # @return [String]
6976
6993
  #
6977
6994
  # @!attribute [rw] target_capacity
@@ -7407,7 +7424,7 @@ module Aws::ECS
7407
7424
  #
7408
7425
  # For tasks that use the EC2 launch type, the container instances
7409
7426
  # require at least version 1.26.0 of the container agent and at least
7410
- # version 1.26.0-1 of the `ecs-init` package to enable a proxy
7427
+ # version 1.26.0-1 of the `ecs-init` package to use a proxy
7411
7428
  # configuration. If your container instances are launched from the
7412
7429
  # Amazon ECS optimized AMI version `20190301` or later, then they
7413
7430
  # contain the required versions of the container agent and `ecs-init`.
@@ -8391,7 +8408,7 @@ module Aws::ECS
8391
8408
  #
8392
8409
  # For tasks hosted on Amazon EC2 instances, the container instances
8393
8410
  # require at least version `1.26.0` of the container agent and at
8394
- # least version `1.26.0-1` of the `ecs-init` package to enable a proxy
8411
+ # least version `1.26.0-1` of the `ecs-init` package to use a proxy
8395
8412
  # configuration. If your container instances are launched from the
8396
8413
  # Amazon ECS-optimized AMI version `20190301` or later, then they
8397
8414
  # contain the required versions of the container agent and `ecs-init`.
@@ -8703,7 +8720,7 @@ module Aws::ECS
8703
8720
  # },
8704
8721
  # ],
8705
8722
  # platform_version: "String",
8706
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
8723
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
8707
8724
  # reference_id: "String",
8708
8725
  # started_by: "String",
8709
8726
  # tags: [
@@ -8742,9 +8759,9 @@ module Aws::ECS
8742
8759
  # @return [Integer]
8743
8760
  #
8744
8761
  # @!attribute [rw] enable_ecs_managed_tags
8745
- # Specifies whether to enable Amazon ECS managed tags for the task.
8746
- # For more information, see [Tagging Your Amazon ECS Resources][1] in
8747
- # the *Amazon Elastic Container Service Developer Guide*.
8762
+ # Specifies whether to use Amazon ECS managed tags for the task. For
8763
+ # more information, see [Tagging Your Amazon ECS Resources][1] in the
8764
+ # *Amazon Elastic Container Service Developer Guide*.
8748
8765
  #
8749
8766
  #
8750
8767
  #
@@ -8752,8 +8769,8 @@ module Aws::ECS
8752
8769
  # @return [Boolean]
8753
8770
  #
8754
8771
  # @!attribute [rw] enable_execute_command
8755
- # Determines whether to enable the execute command functionality for
8756
- # the containers in this task. If `true`, this enables execute command
8772
+ # Determines whether to use the execute command functionality for the
8773
+ # containers in this task. If `true`, this enables execute command
8757
8774
  # functionality on all containers in the task.
8758
8775
  # @return [Boolean]
8759
8776
  #
@@ -9063,12 +9080,23 @@ module Aws::ECS
9063
9080
  # either the full ARN of the Secrets Manager secret or the full ARN of
9064
9081
  # the parameter in the SSM Parameter Store.
9065
9082
  #
9083
+ # For information about the require Identity and Access Management
9084
+ # permissions, see [Required IAM permissions for Amazon ECS
9085
+ # secrets][1] (for Secrets Manager) or [Required IAM permissions for
9086
+ # Amazon ECS secrets][2] (for Systems Manager Parameter store) in the
9087
+ # *Amazon Elastic Container Service Developer Guide*.
9088
+ #
9066
9089
  # <note markdown="1"> If the SSM Parameter Store parameter exists in the same Region as
9067
9090
  # the task you're launching, then you can use either the full ARN or
9068
9091
  # name of the parameter. If the parameter exists in a different
9069
9092
  # Region, then the full ARN must be specified.
9070
9093
  #
9071
9094
  # </note>
9095
+ #
9096
+ #
9097
+ #
9098
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-secrets.html#secrets-iam
9099
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-parameters.html
9072
9100
  # @return [String]
9073
9101
  #
9074
9102
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Secret AWS API Documentation
@@ -9257,7 +9285,7 @@ module Aws::ECS
9257
9285
  # placement decisions.
9258
9286
  #
9259
9287
  # * `DAEMON`-The daemon scheduling strategy deploys exactly one task
9260
- # on each active container instance. This taskmeets all of the task
9288
+ # on each active container instance. This task meets all of the task
9261
9289
  # placement constraints that you specify in your cluster. The
9262
9290
  # service scheduler also evaluates the task placement constraints
9263
9291
  # for running tasks. It stop tasks that don't meet the placement
@@ -9314,8 +9342,8 @@ module Aws::ECS
9314
9342
  # @return [String]
9315
9343
  #
9316
9344
  # @!attribute [rw] enable_ecs_managed_tags
9317
- # Determines whether to enable Amazon ECS managed tags for the tasks
9318
- # in the service. For more information, see [Tagging Your Amazon ECS
9345
+ # Determines whether to use Amazon ECS managed tags for the tasks in
9346
+ # the service. For more information, see [Tagging Your Amazon ECS
9319
9347
  # Resources][1] in the *Amazon Elastic Container Service Developer
9320
9348
  # Guide*.
9321
9349
  #
@@ -9416,6 +9444,13 @@ module Aws::ECS
9416
9444
 
9417
9445
  # The details for the service registry.
9418
9446
  #
9447
+ # Each service may be associated with one service registry. Multiple
9448
+ # service registries for each service are not supported.
9449
+ #
9450
+ # When you add, update, or remove the service registries configuration,
9451
+ # Amazon ECS starts a new deployment. New tasks are registered and
9452
+ # deregistered to the updated service registry configuration.
9453
+ #
9419
9454
  # @note When making an API call, you may pass ServiceRegistry
9420
9455
  # data as a hash:
9421
9456
  #
@@ -9484,7 +9519,7 @@ module Aws::ECS
9484
9519
  # @return [String]
9485
9520
  #
9486
9521
  # @!attribute [rw] stream_url
9487
- # A URL back to managed agent on the container that the SSM Session
9522
+ # A URL to the managed agent on the container that the SSM Session
9488
9523
  # Manager client uses to send commands and receive output from the
9489
9524
  # container.
9490
9525
  # @return [String]
@@ -9589,7 +9624,7 @@ module Aws::ECS
9589
9624
  # size_in_gi_b: 1, # required
9590
9625
  # },
9591
9626
  # },
9592
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
9627
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
9593
9628
  # reference_id: "String",
9594
9629
  # started_by: "String",
9595
9630
  # tags: [
@@ -9614,9 +9649,9 @@ module Aws::ECS
9614
9649
  # @return [Array<String>]
9615
9650
  #
9616
9651
  # @!attribute [rw] enable_ecs_managed_tags
9617
- # Specifies whether to enable Amazon ECS managed tags for the task.
9618
- # For more information, see [Tagging Your Amazon ECS Resources][1] in
9619
- # the *Amazon Elastic Container Service Developer Guide*.
9652
+ # Specifies whether to use Amazon ECS managed tags for the task. For
9653
+ # more information, see [Tagging Your Amazon ECS Resources][1] in the
9654
+ # *Amazon Elastic Container Service Developer Guide*.
9620
9655
  #
9621
9656
  #
9622
9657
  #
@@ -10456,6 +10491,20 @@ module Aws::ECS
10456
10491
  # @!attribute [rw] stop_code
10457
10492
  # The stop code indicating why a task was stopped. The `stoppedReason`
10458
10493
  # might contain additional details.
10494
+ #
10495
+ # The following are valid values:
10496
+ #
10497
+ # * `TaskFailedToStart`
10498
+ #
10499
+ # * `EssentialContainerExited`
10500
+ #
10501
+ # * `UserInitiated`
10502
+ #
10503
+ # * `TerminationNotice`
10504
+ #
10505
+ # * `ServiceSchedulerInitiated`
10506
+ #
10507
+ # * `SpotInterruption`
10459
10508
  # @return [String]
10460
10509
  #
10461
10510
  # @!attribute [rw] stopped_at
@@ -10898,12 +10947,12 @@ module Aws::ECS
10898
10947
  #
10899
10948
  # Your Amazon ECS container instances require at least version 1.26.0
10900
10949
  # of the container agent and at least version 1.26.0-1 of the
10901
- # `ecs-init` package to enable a proxy configuration. If your
10902
- # container instances are launched from the Amazon ECS optimized AMI
10903
- # version `20190301` or later, they contain the required versions of
10904
- # the container agent and `ecs-init`. For more information, see
10905
- # [Amazon ECS-optimized Linux AMI][1] in the *Amazon Elastic Container
10906
- # Service Developer Guide*.
10950
+ # `ecs-init` package to use a proxy configuration. If your container
10951
+ # instances are launched from the Amazon ECS optimized AMI version
10952
+ # `20190301` or later, they contain the required versions of the
10953
+ # container agent and `ecs-init`. For more information, see [Amazon
10954
+ # ECS-optimized Linux AMI][1] in the *Amazon Elastic Container Service
10955
+ # Developer Guide*.
10907
10956
  #
10908
10957
  #
10909
10958
  #
@@ -11606,9 +11655,9 @@ module Aws::ECS
11606
11655
  #
11607
11656
  # @!attribute [rw] settings
11608
11657
  # The setting to use by default for a cluster. This parameter is used
11609
- # to enable CloudWatch Container Insights for a cluster. If this value
11610
- # is specified, it overrides the `containerInsights` value set with
11611
- # PutAccountSetting or PutAccountSettingDefault.
11658
+ # to turn on CloudWatch Container Insights for a cluster. If this
11659
+ # value is specified, it overrides the `containerInsights` value set
11660
+ # with PutAccountSetting or PutAccountSettingDefault.
11612
11661
  # @return [Array<Types::ClusterSetting>]
11613
11662
  #
11614
11663
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateClusterSettingsRequest AWS API Documentation
@@ -11775,7 +11824,7 @@ module Aws::ECS
11775
11824
  end
11776
11825
 
11777
11826
  # @!attribute [rw] task_set
11778
- # Details about the task set.
11827
+ # etails about the task set.
11779
11828
  # @return [Types::TaskSet]
11780
11829
  #
11781
11830
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServicePrimaryTaskSetResponse AWS API Documentation
@@ -11832,6 +11881,24 @@ module Aws::ECS
11832
11881
  # force_new_deployment: false,
11833
11882
  # health_check_grace_period_seconds: 1,
11834
11883
  # enable_execute_command: false,
11884
+ # enable_ecs_managed_tags: false,
11885
+ # load_balancers: [
11886
+ # {
11887
+ # target_group_arn: "String",
11888
+ # load_balancer_name: "String",
11889
+ # container_name: "String",
11890
+ # container_port: 1,
11891
+ # },
11892
+ # ],
11893
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
11894
+ # service_registries: [
11895
+ # {
11896
+ # registry_arn: "String",
11897
+ # port: 1,
11898
+ # container_name: "String",
11899
+ # container_port: 1,
11900
+ # },
11901
+ # ],
11835
11902
  # }
11836
11903
  #
11837
11904
  # @!attribute [rw] cluster
@@ -11969,6 +12036,62 @@ module Aws::ECS
11969
12036
  # action.
11970
12037
  # @return [Boolean]
11971
12038
  #
12039
+ # @!attribute [rw] enable_ecs_managed_tags
12040
+ # Determines whether to turn on Amazon ECS managed tags for the tasks
12041
+ # in the service. For more information, see [Tagging Your Amazon ECS
12042
+ # Resources][1] in the *Amazon Elastic Container Service Developer
12043
+ # Guide*.
12044
+ #
12045
+ # Only tasks launched after the update will reflect the update. To
12046
+ # update the tags on all tasks, set `forceNewDeployment` to `true`, so
12047
+ # that Amazon ECS starts new tasks with the updated tags.
12048
+ #
12049
+ #
12050
+ #
12051
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
12052
+ # @return [Boolean]
12053
+ #
12054
+ # @!attribute [rw] load_balancers
12055
+ # A list of Elastic Load Balancing load balancer objects. It contains
12056
+ # the load balancer name, the container name, and the container port
12057
+ # to access from the load balancer. The container name is as it
12058
+ # appears in a container definition.
12059
+ #
12060
+ # When you add, update, or remove a load balancer configuration,
12061
+ # Amazon ECS starts new tasks with the updated Elastic Load Balancing
12062
+ # configuration, and then stops the old tasks when the new tasks are
12063
+ # running.
12064
+ #
12065
+ # You can remove existing `loadBalancers` by passing an empty list.
12066
+ # @return [Array<Types::LoadBalancer>]
12067
+ #
12068
+ # @!attribute [rw] propagate_tags
12069
+ # Determines whether to propagate the tags from the task definition or
12070
+ # the service to the task. If no value is specified, the tags aren't
12071
+ # propagated.
12072
+ #
12073
+ # Only tasks launched after the update will reflect the update. To
12074
+ # update the tags on all tasks, set `forceNewDeployment` to `true`, so
12075
+ # that Amazon ECS starts new tasks with the updated tags.
12076
+ # @return [String]
12077
+ #
12078
+ # @!attribute [rw] service_registries
12079
+ # The details for the service discovery registries to assign to this
12080
+ # service. For more information, see [Service Discovery][1].
12081
+ #
12082
+ # When you add, update, or remove the service registries
12083
+ # configuration, Amazon ECS starts new tasks with the updated service
12084
+ # registries configuration, and then stops the old tasks when the new
12085
+ # tasks are running.
12086
+ #
12087
+ # You can remove existing `serviceRegistries` by passing an empty
12088
+ # list.
12089
+ #
12090
+ #
12091
+ #
12092
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
12093
+ # @return [Array<Types::ServiceRegistry>]
12094
+ #
11972
12095
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServiceRequest AWS API Documentation
11973
12096
  #
11974
12097
  class UpdateServiceRequest < Struct.new(
@@ -11984,7 +12107,11 @@ module Aws::ECS
11984
12107
  :platform_version,
11985
12108
  :force_new_deployment,
11986
12109
  :health_check_grace_period_seconds,
11987
- :enable_execute_command)
12110
+ :enable_execute_command,
12111
+ :enable_ecs_managed_tags,
12112
+ :load_balancers,
12113
+ :propagate_tags,
12114
+ :service_registries)
11988
12115
  SENSITIVE = []
11989
12116
  include Aws::Structure
11990
12117
  end
data/lib/aws-sdk-ecs.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ecs/customizations'
49
49
  # @!group service
50
50
  module Aws::ECS
51
51
 
52
- GEM_VERSION = '1.94.0'
52
+ GEM_VERSION = '1.97.0'
53
53
 
54
54
  end
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.94.0
4
+ version: 1.97.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: 2022-01-05 00:00:00.000000000 Z
11
+ date: 2022-03-07 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.125.0
22
+ version: 3.127.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.125.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement