aws-sdk-ecs 1.25.0 → 1.26.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
  SHA1:
3
- metadata.gz: 1011bf23f523721fd1073ac851b2c1557f02fba1
4
- data.tar.gz: 4a3e3b0f2299f5746509cb80f3cf3f56c5e1d46f
3
+ metadata.gz: d4831d2d97d19e7e4c4a9c1279f057f6fdf405c5
4
+ data.tar.gz: 9f1adb0c179cb5c351f791f89a58cebbb5f79682
5
5
  SHA512:
6
- metadata.gz: 98e95265a67a83f788dcd47b6e38781523eefeb82f89dfc875e7f79ea126243eabbe12a4c4ce4f291ac02190a764d03b32b4e718f9f3011eb58acc155bcd4e52
7
- data.tar.gz: 4e9406a47877d0d228dea451b44b907f1dbe7c36f592c35ce13567c08efbff50ea16b696b63293bbf67781e2ef8a081a5e0aa99c985f89ba7d587889e82d848c
6
+ metadata.gz: c237d99d361047a091c5c80d06de8cd17a6a580e4ed6bec6dd0fb01be9847be4fc6bd909ae71ceaa866dbc1c0907f645146705175850383d3c6cc0d9cc3ce7a3
7
+ data.tar.gz: a74dff04557edb8201638b3c8eb012a3b4330ab717fc51c41f0b6e5972377e2e95f83f00d1696d93bfe536274a6dcb4896592aa3b7a5623e5f01de2cddd16ebe
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecs/customizations'
43
43
  # @service
44
44
  module Aws::ECS
45
45
 
46
- GEM_VERSION = '1.25.0'
46
+ GEM_VERSION = '1.26.0'
47
47
 
48
48
  end
@@ -322,42 +322,56 @@ module Aws::ECS
322
322
  # the *Amazon Elastic Container Service Developer Guide*.
323
323
  #
324
324
  # You can optionally specify a deployment configuration for your
325
- # service. During a deployment, the service scheduler uses the
326
- # `minimumHealthyPercent` and `maximumPercent` parameters to determine
327
- # the deployment strategy. The deployment is triggered by changing the
328
- # task definition or the desired count of a service with an
325
+ # service. The deployment is triggered by changing properties, such as
326
+ # the task definition or the desired count of a service, with an
329
327
  # UpdateService operation.
330
328
  #
331
- # The `minimumHealthyPercent` represents a lower limit on the number of
332
- # your service's tasks that must remain in the `RUNNING` state during a
333
- # deployment, as a percentage of the `desiredCount` (rounded up to the
334
- # nearest integer). This parameter enables you to deploy without using
335
- # additional cluster capacity. For example, if your service has a
336
- # `desiredCount` of four tasks and a `minimumHealthyPercent` of 50%, the
337
- # scheduler can stop two existing tasks to free up cluster capacity
338
- # before starting two new tasks. Tasks for services that *do not* use a
339
- # load balancer are considered healthy if they are in the `RUNNING`
340
- # state. Tasks for services that *do* use a load balancer are considered
341
- # healthy if they are in the `RUNNING` state and the container instance
342
- # they are hosted on is reported as healthy by the load balancer. The
343
- # default value for a replica service for `minimumHealthyPercent` is 50%
344
- # in the console and 100% for the AWS CLI, the AWS SDKs, and the APIs.
345
- # The default value for a daemon service for `minimumHealthyPercent` is
346
- # 0% for the AWS CLI, the AWS SDKs, and the APIs and 50% for the
347
- # console.
348
- #
349
- # The `maximumPercent` parameter represents an upper limit on the number
350
- # of your service's tasks that are allowed in the `RUNNING` or
351
- # `PENDING` state during a deployment, as a percentage of the
352
- # `desiredCount` (rounded down to the nearest integer). This parameter
353
- # enables you to define the deployment batch size. For example, if your
354
- # replica service has a `desiredCount` of four tasks and a
355
- # `maximumPercent` value of 200%, the scheduler can start four new tasks
356
- # before stopping the four older tasks (provided that the cluster
357
- # resources required to do this are available). The default value for a
358
- # replica service for `maximumPercent` is 200%. If you are using a
359
- # daemon service type, the `maximumPercent` should remain at 100%, which
360
- # is the default value.
329
+ # If a service is using the `ECS` deployment controller, the **minimum
330
+ # healthy percent** represents a lower limit on the number of tasks in a
331
+ # service that must remain in the `RUNNING` state during a deployment,
332
+ # as a percentage of the desired number of tasks (rounded up to the
333
+ # nearest integer), and while any container instances are in the
334
+ # `DRAINING` state if the service contains tasks using the EC2 launch
335
+ # type. This parameter enables you to deploy without using additional
336
+ # cluster capacity. For example, if your service has a desired number of
337
+ # four tasks and a minimum healthy percent of 50%, the scheduler may
338
+ # stop two existing tasks to free up cluster capacity before starting
339
+ # two new tasks. Tasks for services that *do not* use a load balancer
340
+ # are considered healthy if they are in the `RUNNING` state; tasks for
341
+ # services that *do* use a load balancer are considered healthy if they
342
+ # are in the `RUNNING` state and they are reported as healthy by the
343
+ # load balancer. The default value for minimum healthy percent is 100%.
344
+ #
345
+ # If a service is using the `ECS` deployment controller, the **maximum
346
+ # percent** parameter represents an upper limit on the number of tasks
347
+ # in a service that are allowed in the `RUNNING` or `PENDING` state
348
+ # during a deployment, as a percentage of the desired number of tasks
349
+ # (rounded down to the nearest integer), and while any container
350
+ # instances are in the `DRAINING` state if the service contains tasks
351
+ # using the EC2 launch type. This parameter enables you to define the
352
+ # deployment batch size. For example, if your service has a desired
353
+ # number of four tasks and a maximum percent value of 200%, the
354
+ # scheduler may start four new tasks before stopping the four older
355
+ # tasks (provided that the cluster resources required to do this are
356
+ # available). The default value for maximum percent is 200%.
357
+ #
358
+ # If a service is using the `CODE_DEPLOY` deployment controller and
359
+ # tasks that use the EC2 launch type, the **minimum healthy percent**
360
+ # and **maximum percent** values are only used to define the lower and
361
+ # upper limit on the number of the tasks in the service that remain in
362
+ # the `RUNNING` state while the container instances are in the
363
+ # `DRAINING` state. If the tasks in the service use the Fargate launch
364
+ # type, the minimum healthy percent and maximum percent values are not
365
+ # used, although they are currently visible when describing your
366
+ # service.
367
+ #
368
+ # Tasks for services that *do not* use a load balancer are considered
369
+ # healthy if they are in the `RUNNING` state. Tasks for services that
370
+ # *do* use a load balancer are considered healthy if they are in the
371
+ # `RUNNING` state and the container instance they are hosted on is
372
+ # reported as healthy by the load balancer. The default value for a
373
+ # replica service for `minimumHealthyPercent` is 100%. The default value
374
+ # for a daemon service for `minimumHealthyPercent` is 0%.
361
375
  #
362
376
  # When the service scheduler launches new tasks, it determines task
363
377
  # placement in your cluster using the following logic:
@@ -405,10 +419,28 @@ module Aws::ECS
405
419
  #
406
420
  # @option params [Array<Types::LoadBalancer>] :load_balancers
407
421
  # A load balancer object representing the load balancer to use with your
408
- # service. Currently, you are limited to one load balancer or target
409
- # group per service. After you create a service, the load balancer name
410
- # or target group ARN, container name, and container port specified in
411
- # the service definition are immutable.
422
+ # service.
423
+ #
424
+ # If the service is using the `ECS` deployment controller, you are
425
+ # limited to one load balancer or target group.
426
+ #
427
+ # If the service is using the `CODE_DEPLOY` deployment controller, the
428
+ # service is required to use either an Application Load Balancer or
429
+ # Network Load Balancer. When creating an AWS CodeDeploy deployment
430
+ # group, you specify two target groups (referred to as a
431
+ # `targetGroupPair`). During a deployment, AWS CodeDeploy determines
432
+ # which task set in your service has the status `PRIMARY` and associates
433
+ # one target group with it, and then associates the other target group
434
+ # with the replacement task set. The load balancer can also have up to
435
+ # two listeners: a required listener for production traffic and an
436
+ # optional listener that allows you perform validation tests with Lambda
437
+ # functions before routing production traffic to it.
438
+ #
439
+ # After you create a service using the `ECS` deployment controller, the
440
+ # load balancer name or target group ARN, container name, and container
441
+ # port specified in the service definition are immutable. If you are
442
+ # using the `CODE_DEPLOY` deployment controller, these values can be
443
+ # changed when updating the service.
412
444
  #
413
445
  # For Classic Load Balancers, this object must contain the load balancer
414
446
  # name, the container name (as it appears in a container definition),
@@ -455,11 +487,25 @@ module Aws::ECS
455
487
  # idempotency of the request. Up to 32 ASCII characters are allowed.
456
488
  #
457
489
  # @option params [String] :launch_type
458
- # The launch type on which to run your service.
490
+ # The launch type on which to run your service. For more information,
491
+ # see [Amazon ECS Launch Types][1] in the *Amazon Elastic Container
492
+ # Service Developer Guide*.
493
+ #
494
+ #
495
+ #
496
+ # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
459
497
  #
460
498
  # @option params [String] :platform_version
461
- # The platform version on which to run your service. If one is not
462
- # specified, the latest version is used by default.
499
+ # The platform version on which your tasks in the service are running. A
500
+ # platform version is only specified for tasks using the Fargate launch
501
+ # type. If one is not specified, the `LATEST` platform version is used
502
+ # by default. For more information, see [AWS Fargate Platform
503
+ # Versions][1] in the *Amazon Elastic Container Service Developer
504
+ # Guide*.
505
+ #
506
+ #
507
+ #
508
+ # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
463
509
  #
464
510
  # @option params [String] :role
465
511
  # The name or full Amazon Resource Name (ARN) of the IAM role that
@@ -520,10 +566,11 @@ module Aws::ECS
520
566
  # after a task has first started. This is only valid if your service is
521
567
  # configured to use a load balancer. If your service's tasks take a
522
568
  # while to start and respond to Elastic Load Balancing health checks,
523
- # you can specify a health check grace period of up to 7,200 seconds
524
- # during which the ECS service scheduler ignores health check status.
525
- # This grace period can prevent the ECS service scheduler from marking
526
- # tasks as unhealthy and stopping them before they have time to come up.
569
+ # you can specify a health check grace period of up to 7,200 seconds.
570
+ # During that time, the ECS service scheduler ignores health check
571
+ # status. This grace period can prevent the ECS service scheduler from
572
+ # marking tasks as unhealthy and stopping them before they have time to
573
+ # come up.
527
574
  #
528
575
  # @option params [String] :scheduling_strategy
529
576
  # The scheduling strategy to use for the service. For more information,
@@ -535,7 +582,8 @@ module Aws::ECS
535
582
  # desired number of tasks across your cluster. By default, the service
536
583
  # scheduler spreads tasks across Availability Zones. You can use task
537
584
  # placement strategies and constraints to customize task placement
538
- # decisions.
585
+ # decisions. This scheduler strategy is required if using the
586
+ # `CODE_DEPLOY` deployment controller.
539
587
  #
540
588
  # * `DAEMON`-The daemon scheduling strategy deploys exactly one task on
541
589
  # each active container instance that meets all of the task placement
@@ -544,13 +592,17 @@ module Aws::ECS
544
592
  # tasks, a task placement strategy, or use Service Auto Scaling
545
593
  # policies.
546
594
  #
547
- # <note markdown="1"> Fargate tasks do not support the `DAEMON` scheduling strategy.
595
+ # <note markdown="1"> Tasks using the Fargate launch type or the `CODE_DEPLOY` deploymenet
596
+ # controller do not support the `DAEMON` scheduling strategy.
548
597
  #
549
598
  # </note>
550
599
  #
551
600
  #
552
601
  #
553
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguideecs_services.html
602
+ # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html
603
+ #
604
+ # @option params [Types::DeploymentController] :deployment_controller
605
+ # The deployment controller to use for the service.
554
606
  #
555
607
  # @option params [Array<Types::Tag>] :tags
556
608
  # The metadata that you apply to the service to help you categorize and
@@ -751,6 +803,9 @@ module Aws::ECS
751
803
  # },
752
804
  # health_check_grace_period_seconds: 1,
753
805
  # scheduling_strategy: "REPLICA", # accepts REPLICA, DAEMON
806
+ # deployment_controller: {
807
+ # type: "ECS", # required, accepts ECS, CODE_DEPLOY
808
+ # },
754
809
  # tags: [
755
810
  # {
756
811
  # key: "TagKey",
@@ -785,6 +840,34 @@ module Aws::ECS
785
840
  # resp.service.task_definition #=> String
786
841
  # resp.service.deployment_configuration.maximum_percent #=> Integer
787
842
  # resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
843
+ # resp.service.task_sets #=> Array
844
+ # resp.service.task_sets[0].id #=> String
845
+ # resp.service.task_sets[0].task_set_arn #=> String
846
+ # resp.service.task_sets[0].started_by #=> String
847
+ # resp.service.task_sets[0].external_id #=> String
848
+ # resp.service.task_sets[0].status #=> String
849
+ # resp.service.task_sets[0].task_definition #=> String
850
+ # resp.service.task_sets[0].computed_desired_count #=> Integer
851
+ # resp.service.task_sets[0].pending_count #=> Integer
852
+ # resp.service.task_sets[0].running_count #=> Integer
853
+ # resp.service.task_sets[0].created_at #=> Time
854
+ # resp.service.task_sets[0].updated_at #=> Time
855
+ # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE"
856
+ # resp.service.task_sets[0].platform_version #=> String
857
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
858
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
859
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
860
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
861
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
862
+ # resp.service.task_sets[0].load_balancers #=> Array
863
+ # resp.service.task_sets[0].load_balancers[0].target_group_arn #=> String
864
+ # resp.service.task_sets[0].load_balancers[0].load_balancer_name #=> String
865
+ # resp.service.task_sets[0].load_balancers[0].container_name #=> String
866
+ # resp.service.task_sets[0].load_balancers[0].container_port #=> Integer
867
+ # resp.service.task_sets[0].scale.value #=> Float
868
+ # resp.service.task_sets[0].scale.unit #=> String, one of "PERCENT"
869
+ # resp.service.task_sets[0].stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
870
+ # resp.service.task_sets[0].stability_status_at #=> Time
788
871
  # resp.service.deployments #=> Array
789
872
  # resp.service.deployments[0].id #=> String
790
873
  # resp.service.deployments[0].status #=> String
@@ -820,6 +903,7 @@ module Aws::ECS
820
903
  # resp.service.network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
821
904
  # resp.service.health_check_grace_period_seconds #=> Integer
822
905
  # resp.service.scheduling_strategy #=> String, one of "REPLICA", "DAEMON"
906
+ # resp.service.deployment_controller.type #=> String, one of "ECS", "CODE_DEPLOY"
823
907
  # resp.service.tags #=> Array
824
908
  # resp.service.tags[0].key #=> String
825
909
  # resp.service.tags[0].value #=> String
@@ -1083,6 +1167,34 @@ module Aws::ECS
1083
1167
  # resp.service.task_definition #=> String
1084
1168
  # resp.service.deployment_configuration.maximum_percent #=> Integer
1085
1169
  # resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
1170
+ # resp.service.task_sets #=> Array
1171
+ # resp.service.task_sets[0].id #=> String
1172
+ # resp.service.task_sets[0].task_set_arn #=> String
1173
+ # resp.service.task_sets[0].started_by #=> String
1174
+ # resp.service.task_sets[0].external_id #=> String
1175
+ # resp.service.task_sets[0].status #=> String
1176
+ # resp.service.task_sets[0].task_definition #=> String
1177
+ # resp.service.task_sets[0].computed_desired_count #=> Integer
1178
+ # resp.service.task_sets[0].pending_count #=> Integer
1179
+ # resp.service.task_sets[0].running_count #=> Integer
1180
+ # resp.service.task_sets[0].created_at #=> Time
1181
+ # resp.service.task_sets[0].updated_at #=> Time
1182
+ # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE"
1183
+ # resp.service.task_sets[0].platform_version #=> String
1184
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
1185
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
1186
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
1187
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
1188
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
1189
+ # resp.service.task_sets[0].load_balancers #=> Array
1190
+ # resp.service.task_sets[0].load_balancers[0].target_group_arn #=> String
1191
+ # resp.service.task_sets[0].load_balancers[0].load_balancer_name #=> String
1192
+ # resp.service.task_sets[0].load_balancers[0].container_name #=> String
1193
+ # resp.service.task_sets[0].load_balancers[0].container_port #=> Integer
1194
+ # resp.service.task_sets[0].scale.value #=> Float
1195
+ # resp.service.task_sets[0].scale.unit #=> String, one of "PERCENT"
1196
+ # resp.service.task_sets[0].stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
1197
+ # resp.service.task_sets[0].stability_status_at #=> Time
1086
1198
  # resp.service.deployments #=> Array
1087
1199
  # resp.service.deployments[0].id #=> String
1088
1200
  # resp.service.deployments[0].status #=> String
@@ -1118,6 +1230,7 @@ module Aws::ECS
1118
1230
  # resp.service.network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
1119
1231
  # resp.service.health_check_grace_period_seconds #=> Integer
1120
1232
  # resp.service.scheduling_strategy #=> String, one of "REPLICA", "DAEMON"
1233
+ # resp.service.deployment_controller.type #=> String, one of "ECS", "CODE_DEPLOY"
1121
1234
  # resp.service.tags #=> Array
1122
1235
  # resp.service.tags[0].key #=> String
1123
1236
  # resp.service.tags[0].value #=> String
@@ -1275,9 +1388,9 @@ module Aws::ECS
1275
1388
  #
1276
1389
  # You cannot use an `INACTIVE` task definition to run new tasks or
1277
1390
  # create new services, and you cannot update an existing service to
1278
- # reference an `INACTIVE` task definition (although there may be up to a
1391
+ # reference an `INACTIVE` task definition. However, there may be up to a
1279
1392
  # 10-minute window following deregistration where these restrictions
1280
- # have not yet taken effect).
1393
+ # have not yet taken effect.
1281
1394
  #
1282
1395
  # <note markdown="1"> At this time, `INACTIVE` task definitions remain discoverable in your
1283
1396
  # account indefinitely. However, this behavior is subject to change in
@@ -1808,6 +1921,34 @@ module Aws::ECS
1808
1921
  # resp.services[0].task_definition #=> String
1809
1922
  # resp.services[0].deployment_configuration.maximum_percent #=> Integer
1810
1923
  # resp.services[0].deployment_configuration.minimum_healthy_percent #=> Integer
1924
+ # resp.services[0].task_sets #=> Array
1925
+ # resp.services[0].task_sets[0].id #=> String
1926
+ # resp.services[0].task_sets[0].task_set_arn #=> String
1927
+ # resp.services[0].task_sets[0].started_by #=> String
1928
+ # resp.services[0].task_sets[0].external_id #=> String
1929
+ # resp.services[0].task_sets[0].status #=> String
1930
+ # resp.services[0].task_sets[0].task_definition #=> String
1931
+ # resp.services[0].task_sets[0].computed_desired_count #=> Integer
1932
+ # resp.services[0].task_sets[0].pending_count #=> Integer
1933
+ # resp.services[0].task_sets[0].running_count #=> Integer
1934
+ # resp.services[0].task_sets[0].created_at #=> Time
1935
+ # resp.services[0].task_sets[0].updated_at #=> Time
1936
+ # resp.services[0].task_sets[0].launch_type #=> String, one of "EC2", "FARGATE"
1937
+ # resp.services[0].task_sets[0].platform_version #=> String
1938
+ # resp.services[0].task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
1939
+ # resp.services[0].task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
1940
+ # resp.services[0].task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
1941
+ # resp.services[0].task_sets[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
1942
+ # resp.services[0].task_sets[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
1943
+ # resp.services[0].task_sets[0].load_balancers #=> Array
1944
+ # resp.services[0].task_sets[0].load_balancers[0].target_group_arn #=> String
1945
+ # resp.services[0].task_sets[0].load_balancers[0].load_balancer_name #=> String
1946
+ # resp.services[0].task_sets[0].load_balancers[0].container_name #=> String
1947
+ # resp.services[0].task_sets[0].load_balancers[0].container_port #=> Integer
1948
+ # resp.services[0].task_sets[0].scale.value #=> Float
1949
+ # resp.services[0].task_sets[0].scale.unit #=> String, one of "PERCENT"
1950
+ # resp.services[0].task_sets[0].stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
1951
+ # resp.services[0].task_sets[0].stability_status_at #=> Time
1811
1952
  # resp.services[0].deployments #=> Array
1812
1953
  # resp.services[0].deployments[0].id #=> String
1813
1954
  # resp.services[0].deployments[0].status #=> String
@@ -1843,6 +1984,7 @@ module Aws::ECS
1843
1984
  # resp.services[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
1844
1985
  # resp.services[0].health_check_grace_period_seconds #=> Integer
1845
1986
  # resp.services[0].scheduling_strategy #=> String, one of "REPLICA", "DAEMON"
1987
+ # resp.services[0].deployment_controller.type #=> String, one of "ECS", "CODE_DEPLOY"
1846
1988
  # resp.services[0].tags #=> Array
1847
1989
  # resp.services[0].tags[0].key #=> String
1848
1990
  # resp.services[0].tags[0].value #=> String
@@ -3634,7 +3776,7 @@ module Aws::ECS
3634
3776
  #
3635
3777
  # [1]: https://docs.docker.com/engine/reference/run/#ipc-settings---ipc
3636
3778
  # [2]: https://docs.docker.com/engine/security/security/
3637
- # [3]: http://docs.aws.amazon.com/AmazonECS/latest/developerguidetask_definition_parameters.html
3779
+ # [3]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html
3638
3780
  #
3639
3781
  # @return [Types::RegisterTaskDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3640
3782
  #
@@ -4081,11 +4223,24 @@ module Aws::ECS
4081
4223
  # maximum of five strategy rules per task.
4082
4224
  #
4083
4225
  # @option params [String] :launch_type
4084
- # The launch type on which to run your task.
4226
+ # The launch type on which to run your task. For more information, see
4227
+ # [Amazon ECS Launch Types][1] in the *Amazon Elastic Container Service
4228
+ # Developer Guide*.
4229
+ #
4230
+ #
4231
+ #
4232
+ # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
4085
4233
  #
4086
4234
  # @option params [String] :platform_version
4087
- # The platform version on which to run your task. If one is not
4088
- # specified, the latest version is used by default.
4235
+ # The platform version the task should run. A platform version is only
4236
+ # specified for tasks using the Fargate launch type. If one is not
4237
+ # specified, the `LATEST` platform version is used by default. For more
4238
+ # information, see [AWS Fargate Platform Versions][1] in the *Amazon
4239
+ # Elastic Container Service Developer Guide*.
4240
+ #
4241
+ #
4242
+ #
4243
+ # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
4089
4244
  #
4090
4245
  # @option params [Types::NetworkConfiguration] :network_configuration
4091
4246
  # The network configuration for the task. This parameter is required for
@@ -4518,10 +4673,10 @@ module Aws::ECS
4518
4673
  #
4519
4674
  # When StopTask is called on a task, the equivalent of `docker stop` is
4520
4675
  # issued to the containers running in the task. This results in a
4521
- # `SIGTERM` and a default 30-second timeout, after which `SIGKILL` is
4522
- # sent and the containers are forcibly stopped. If the container handles
4523
- # the `SIGTERM` gracefully and exits within 30 seconds from receiving
4524
- # it, no `SIGKILL` is sent.
4676
+ # `SIGTERM` value and a default 30-second timeout, after which the
4677
+ # `SIGKILL` value is sent and the containers are forcibly stopped. If
4678
+ # the container handles the `SIGTERM` value gracefully and exits within
4679
+ # 30 seconds from receiving it, no `SIGKILL` value is sent.
4525
4680
  #
4526
4681
  # <note markdown="1"> The default 30-second timeout can be configured on the Amazon ECS
4527
4682
  # container agent with the `ECS_CONTAINER_STOP_TIMEOUT` variable. For
@@ -5017,11 +5172,11 @@ module Aws::ECS
5017
5172
  # * The `maximumPercent` parameter represents an upper limit on the
5018
5173
  # number of running tasks during task replacement, which enables you
5019
5174
  # to define the replacement batch size. For example, if `desiredCount`
5020
- # of four tasks, a maximum of 200% starts four new tasks before
5021
- # stopping the four tasks to be drained (provided that the cluster
5022
- # resources required to do this are available). If the maximum is
5023
- # 100%, then replacement tasks can't start until the draining tasks
5024
- # have stopped.
5175
+ # is four tasks, a maximum of 200% starts four new tasks before
5176
+ # stopping the four tasks to be drained, provided that the cluster
5177
+ # resources required to do this are available. If the maximum is 100%,
5178
+ # then replacement tasks can't start until the draining tasks have
5179
+ # stopped.
5025
5180
  #
5026
5181
  # Any `PENDING` or `RUNNING` tasks that do not belong to a service are
5027
5182
  # not affected. You must wait for them to finish or stop them manually.
@@ -5116,8 +5271,19 @@ module Aws::ECS
5116
5271
  req.send_request(options)
5117
5272
  end
5118
5273
 
5119
- # Modifies the desired count, deployment configuration, network
5120
- # configuration, or task definition used in a service.
5274
+ # Modifies the parameters of a service.
5275
+ #
5276
+ # For services using the rolling update (`ECS`) deployment controller,
5277
+ # the desired count, deployment configuration, network configuration, or
5278
+ # task definition used can be updated.
5279
+ #
5280
+ # For services using the blue/green (`CODE_DEPLOY`) deployment
5281
+ # controller, only the desired count, deployment configuration, and
5282
+ # health check grace period can be updated using this API. If the
5283
+ # network configuration, platform version, or task definition need to be
5284
+ # updated, a new AWS CodeDeploy deployment should be created. For more
5285
+ # information, see [CreateDeployment][1] in the *AWS CodeDeploy API
5286
+ # Reference*.
5121
5287
  #
5122
5288
  # You can add to or subtract from the number of instantiations of a task
5123
5289
  # definition in a service by specifying the cluster that the service is
@@ -5205,6 +5371,10 @@ module Aws::ECS
5205
5371
  # Zone (based on the previous steps), favoring container instances
5206
5372
  # with the largest number of running tasks for this service.
5207
5373
  #
5374
+ #
5375
+ #
5376
+ # [1]: https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html
5377
+ #
5208
5378
  # @option params [String] :cluster
5209
5379
  # The short name or full Amazon Resource Name (ARN) of the cluster that
5210
5380
  # your service is running on. If you do not specify a cluster, the
@@ -5249,7 +5419,16 @@ module Aws::ECS
5249
5419
  # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
5250
5420
  #
5251
5421
  # @option params [String] :platform_version
5252
- # The platform version that your service should run.
5422
+ # The platform version on which your tasks in the service are running. A
5423
+ # platform version is only specified for tasks using the Fargate launch
5424
+ # type. If one is not specified, the `LATEST` platform version is used
5425
+ # by default. For more information, see [AWS Fargate Platform
5426
+ # Versions][1] in the *Amazon Elastic Container Service Developer
5427
+ # Guide*.
5428
+ #
5429
+ #
5430
+ #
5431
+ # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
5253
5432
  #
5254
5433
  # @option params [Boolean] :force_new_deployment
5255
5434
  # Whether to force a new deployment of the service. Deployments are not
@@ -5265,8 +5444,8 @@ module Aws::ECS
5265
5444
  # after a task has first started. This is only valid if your service is
5266
5445
  # configured to use a load balancer. If your service's tasks take a
5267
5446
  # while to start and respond to Elastic Load Balancing health checks,
5268
- # you can specify a health check grace period of up to 1,800 seconds
5269
- # during which the ECS service scheduler ignores the Elastic Load
5447
+ # you can specify a health check grace period of up to 1,800 seconds.
5448
+ # During that time, the ECS service scheduler ignores the Elastic Load
5270
5449
  # Balancing health check status. This grace period can prevent the ECS
5271
5450
  # service scheduler from marking tasks as unhealthy and stopping them
5272
5451
  # before they have time to come up.
@@ -5349,6 +5528,34 @@ module Aws::ECS
5349
5528
  # resp.service.task_definition #=> String
5350
5529
  # resp.service.deployment_configuration.maximum_percent #=> Integer
5351
5530
  # resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
5531
+ # resp.service.task_sets #=> Array
5532
+ # resp.service.task_sets[0].id #=> String
5533
+ # resp.service.task_sets[0].task_set_arn #=> String
5534
+ # resp.service.task_sets[0].started_by #=> String
5535
+ # resp.service.task_sets[0].external_id #=> String
5536
+ # resp.service.task_sets[0].status #=> String
5537
+ # resp.service.task_sets[0].task_definition #=> String
5538
+ # resp.service.task_sets[0].computed_desired_count #=> Integer
5539
+ # resp.service.task_sets[0].pending_count #=> Integer
5540
+ # resp.service.task_sets[0].running_count #=> Integer
5541
+ # resp.service.task_sets[0].created_at #=> Time
5542
+ # resp.service.task_sets[0].updated_at #=> Time
5543
+ # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE"
5544
+ # resp.service.task_sets[0].platform_version #=> String
5545
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
5546
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
5547
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
5548
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
5549
+ # resp.service.task_sets[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
5550
+ # resp.service.task_sets[0].load_balancers #=> Array
5551
+ # resp.service.task_sets[0].load_balancers[0].target_group_arn #=> String
5552
+ # resp.service.task_sets[0].load_balancers[0].load_balancer_name #=> String
5553
+ # resp.service.task_sets[0].load_balancers[0].container_name #=> String
5554
+ # resp.service.task_sets[0].load_balancers[0].container_port #=> Integer
5555
+ # resp.service.task_sets[0].scale.value #=> Float
5556
+ # resp.service.task_sets[0].scale.unit #=> String, one of "PERCENT"
5557
+ # resp.service.task_sets[0].stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
5558
+ # resp.service.task_sets[0].stability_status_at #=> Time
5352
5559
  # resp.service.deployments #=> Array
5353
5560
  # resp.service.deployments[0].id #=> String
5354
5561
  # resp.service.deployments[0].status #=> String
@@ -5384,6 +5591,7 @@ module Aws::ECS
5384
5591
  # resp.service.network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
5385
5592
  # resp.service.health_check_grace_period_seconds #=> Integer
5386
5593
  # resp.service.scheduling_strategy #=> String, one of "REPLICA", "DAEMON"
5594
+ # resp.service.deployment_controller.type #=> String, one of "ECS", "CODE_DEPLOY"
5387
5595
  # resp.service.tags #=> Array
5388
5596
  # resp.service.tags[0].key #=> String
5389
5597
  # resp.service.tags[0].value #=> String
@@ -5413,7 +5621,7 @@ module Aws::ECS
5413
5621
  params: params,
5414
5622
  config: config)
5415
5623
  context[:gem_name] = 'aws-sdk-ecs'
5416
- context[:gem_version] = '1.25.0'
5624
+ context[:gem_version] = '1.26.0'
5417
5625
  Seahorse::Client::Request.new(handlers, context)
5418
5626
  end
5419
5627