aws-sdk-ecs 1.193.0 → 1.194.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: 87c40760ea45c679271d1afac3dda39cf978f54202b3e5abde8a9f1656448002
4
- data.tar.gz: d3742aeb3ba24251dded9a117f1ea98b613130112d05d44884a7d2e1981282d2
3
+ metadata.gz: ee3ea98304c30b7f4a951642bcdcaefe62f892514bde76debabd1cc01542237f
4
+ data.tar.gz: fe6518043d1024c569ad19f76723a3a3b95d7667e6e38315d66524e7073bb7e1
5
5
  SHA512:
6
- metadata.gz: 13cc472445993c3bfcbc09b54971ba8105a595b80df567cfe2397805b197117deeb2770c28f213f0aebca6e11ec90e48aab7c00a9bdd8962a7d4d46a5105d32f
7
- data.tar.gz: f0eae285ed5a9dba8fb274f4915526c7c76228381ebf21a603040e97723c928083d638396e129f0e6b65d5b2f363cc0a14e0d70daa8e571f84c2a0dd84495abb
6
+ metadata.gz: 7704db613a2eca8b7668508b4996940bf720a46514f7ca11683649af8fd766b616aa933d35addf1da7c1b203458f250ca8ef6ada66e18f0d3e024483fd8c1573
7
+ data.tar.gz: 6d6bda55d509d52b8fda932bba887c24bb8b2fc0e464958661f8aa04a95617ec129983bb3faea99ccab99089bab0c971deab289eaff2538d6b3eb9271c556dc2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.194.0 (2025-06-12)
5
+ ------------------
6
+
7
+ * Feature - This Amazon ECS release supports updating the capacityProviderStrategy parameter in update-service.
8
+
4
9
  1.193.0 (2025-06-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.193.0
1
+ 1.194.0
@@ -11457,31 +11457,20 @@ module Aws::ECS
11457
11457
  # Zone (based on the previous steps), favoring container instances
11458
11458
  # with the largest number of running tasks for this service.
11459
11459
  #
11460
- # <note markdown="1"> You must have a service-linked role when you update any of the
11461
- # following service properties:
11462
- #
11463
- # * `loadBalancers`,
11464
- #
11465
- # * `serviceRegistries`
11466
- #
11467
- # For more information about the role see the `CreateService` request
11468
- # parameter [ `role` ][5].
11469
- #
11470
- # </note>
11471
- #
11472
11460
  #
11473
11461
  #
11474
11462
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
11475
11463
  # [2]: https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html
11476
11464
  # [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html
11477
11465
  # [4]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html
11478
- # [5]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role
11479
11466
  #
11480
11467
  # @option params [String] :cluster
11481
11468
  # The short name or full Amazon Resource Name (ARN) of the cluster that
11482
11469
  # your service runs on. If you do not specify a cluster, the default
11483
11470
  # cluster is assumed.
11484
11471
  #
11472
+ # You can't change the cluster name.
11473
+ #
11485
11474
  # @option params [required, String] :service
11486
11475
  # The name of the service to update.
11487
11476
  #
@@ -11498,41 +11487,39 @@ module Aws::ECS
11498
11487
  # after the new version is running.
11499
11488
  #
11500
11489
  # @option params [Array<Types::CapacityProviderStrategyItem>] :capacity_provider_strategy
11501
- # The capacity provider strategy to update the service to use.
11490
+ # The details of a capacity provider strategy. You can set a capacity
11491
+ # provider when you create a cluster, run a task, or update a service.
11502
11492
  #
11503
- # if the service uses the default capacity provider strategy for the
11504
- # cluster, the service can be updated to use one or more capacity
11505
- # providers as opposed to the default capacity provider strategy.
11506
- # However, when a service is using a capacity provider strategy that's
11507
- # not the default capacity provider strategy, the service can't be
11508
- # updated to use the cluster's default capacity provider strategy.
11493
+ # When you use Fargate, the capacity providers are `FARGATE` or
11494
+ # `FARGATE_SPOT`.
11509
11495
  #
11510
- # A capacity provider strategy consists of one or more capacity
11511
- # providers along with the `base` and `weight` to assign to them. A
11512
- # capacity provider must be associated with the cluster to be used in a
11513
- # capacity provider strategy. The [PutClusterCapacityProviders][1] API
11514
- # is used to associate a capacity provider with a cluster. Only capacity
11515
- # providers with an `ACTIVE` or `UPDATING` status can be used.
11496
+ # When you use Amazon EC2, the capacity providers are Auto Scaling
11497
+ # groups.
11516
11498
  #
11517
- # If specifying a capacity provider that uses an Auto Scaling group, the
11518
- # capacity provider must already be created. New capacity providers can
11519
- # be created with the [CreateClusterCapacityProvider][2] API operation.
11499
+ # You can change capacity providers for rolling deployments and
11500
+ # blue/green deployments.
11520
11501
  #
11521
- # To use a Fargate capacity provider, specify either the `FARGATE` or
11522
- # `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
11523
- # available to all accounts and only need to be associated with a
11524
- # cluster to be used.
11502
+ # The following list provides the valid transitions:
11525
11503
  #
11526
- # The [PutClusterCapacityProviders][1]API operation is used to update
11527
- # the list of available capacity providers for a cluster after the
11528
- # cluster is created.
11504
+ # * Update the Fargate launch type to an EC2 capacity provider.
11529
11505
  #
11506
+ # * Update the Amazon EC2 launch type to a Fargate capacity provider.
11530
11507
  #
11508
+ # * Update the Fargate capacity provider to an EC2 capacity provider.
11531
11509
  #
11510
+ # * Update the Amazon EC2 capacity provider to a Fargate capacity
11511
+ # provider.
11532
11512
  #
11513
+ # * Update the EC2 or Fargate capacity provider back to the launch type.
11533
11514
  #
11534
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
11535
- # [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateClusterCapacityProvider.html
11515
+ # Pass an empty list in the `capacityProvider` parameter.
11516
+ #
11517
+ # For information about Amazon Web Services CDK considerations, see
11518
+ # [Amazon Web Services CDK considerations][1].
11519
+ #
11520
+ #
11521
+ #
11522
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service-parameters.html
11536
11523
  #
11537
11524
  # @option params [Types::DeploymentConfiguration] :deployment_configuration
11538
11525
  # Optional deployment parameters that control how many tasks run during
@@ -11629,6 +11616,10 @@ module Aws::ECS
11629
11616
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
11630
11617
  #
11631
11618
  # @option params [Array<Types::LoadBalancer>] :load_balancers
11619
+ # <note markdown="1"> You must have a service-linked role when you update this property
11620
+ #
11621
+ # </note>
11622
+ #
11632
11623
  # A list of Elastic Load Balancing load balancer objects. It contains
11633
11624
  # the load balancer name, the container name, and the container port to
11634
11625
  # access from the load balancer. The container name is as it appears in
@@ -11675,8 +11666,15 @@ module Aws::ECS
11675
11666
  # that Amazon ECS starts new tasks with the updated tags.
11676
11667
  #
11677
11668
  # @option params [Array<Types::ServiceRegistry>] :service_registries
11669
+ # <note markdown="1"> You must have a service-linked role when you update this property.
11670
+ #
11671
+ # For more information about the role see the `CreateService` request
11672
+ # parameter [ `role` ][1].
11673
+ #
11674
+ # </note>
11675
+ #
11678
11676
  # The details for the service discovery registries to assign to this
11679
- # service. For more information, see [Service Discovery][1].
11677
+ # service. For more information, see [Service Discovery][2].
11680
11678
  #
11681
11679
  # When you add, update, or remove the service registries configuration,
11682
11680
  # Amazon ECS starts new tasks with the updated service registries
@@ -11687,7 +11685,8 @@ module Aws::ECS
11687
11685
  #
11688
11686
  #
11689
11687
  #
11690
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
11688
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role
11689
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
11691
11690
  #
11692
11691
  # @option params [Types::ServiceConnectConfiguration] :service_connect_configuration
11693
11692
  # The configuration for this service to discover and connect to
@@ -12563,7 +12562,7 @@ module Aws::ECS
12563
12562
  tracer: tracer
12564
12563
  )
12565
12564
  context[:gem_name] = 'aws-sdk-ecs'
12566
- context[:gem_version] = '1.193.0'
12565
+ context[:gem_version] = '1.194.0'
12567
12566
  Seahorse::Client::Request.new(handlers, context)
12568
12567
  end
12569
12568
 
@@ -5382,6 +5382,45 @@ module Aws::ECS
5382
5382
  # are part of a service, if the task reports as unhealthy then the task
5383
5383
  # will be stopped and the service scheduler will replace it.
5384
5384
  #
5385
+ # When a container health check fails for a task that is part of a
5386
+ # service, the following process occurs:
5387
+ #
5388
+ # 1. The task is marked as `UNHEALTHY`.
5389
+ #
5390
+ # 2. The unhealthy task will be stopped, and during the stopping
5391
+ # process, it will go through the following states:
5392
+ #
5393
+ # * `DEACTIVATING` - In this state, Amazon ECS performs additional
5394
+ # steps before stopping the task. For example, for tasks that are
5395
+ # part of services configured to use Elastic Load Balancing target
5396
+ # groups, target groups will be deregistered in this state.
5397
+ #
5398
+ # * `STOPPING` - The task is in the process of being stopped.
5399
+ #
5400
+ # * `DEPROVISIONING` - Resources associated with the task are being
5401
+ # cleaned up.
5402
+ #
5403
+ # * `STOPPED` - The task has been completely stopped.
5404
+ # 3. After the old task stops, a new task will be launched to ensure
5405
+ # service operation, and the new task will go through the following
5406
+ # lifecycle:
5407
+ #
5408
+ # * `PROVISIONING` - Resources required for the task are being
5409
+ # provisioned.
5410
+ #
5411
+ # * `PENDING` - The task is waiting to be placed on a container
5412
+ # instance.
5413
+ #
5414
+ # * `ACTIVATING` - In this state, Amazon ECS pulls container images,
5415
+ # creates containers, configures task networking, registers load
5416
+ # balancer target groups, and configures service discovery status.
5417
+ #
5418
+ # * `RUNNING` - The task is running and performing its work.
5419
+ #
5420
+ # For more detailed information about task lifecycle states, see [Task
5421
+ # lifecycle][1] in the *Amazon Elastic Container Service Developer
5422
+ # Guide*.
5423
+ #
5385
5424
  # The following are notes about container health check support:
5386
5425
  #
5387
5426
  # * If the Amazon ECS container agent becomes disconnected from the
@@ -5396,25 +5435,26 @@ module Aws::ECS
5396
5435
  #
5397
5436
  # * Container health checks require version `1.17.0` or greater of the
5398
5437
  # Amazon ECS container agent. For more information, see [Updating the
5399
- # Amazon ECS container agent][1].
5438
+ # Amazon ECS container agent][2].
5400
5439
  #
5401
5440
  # * Container health checks are supported for Fargate tasks if you're
5402
5441
  # using platform version `1.1.0` or greater. For more information, see
5403
- # [Fargate platform versions][2].
5442
+ # [Fargate platform versions][3].
5404
5443
  #
5405
5444
  # * Container health checks aren't supported for tasks that are part of
5406
5445
  # a service that's configured to use a Classic Load Balancer.
5407
5446
  #
5408
5447
  # For an example of how to specify a task definition with multiple
5409
5448
  # containers where container dependency is specified, see [Container
5410
- # dependency][3] in the *Amazon Elastic Container Service Developer
5449
+ # dependency][4] in the *Amazon Elastic Container Service Developer
5411
5450
  # Guide*.
5412
5451
  #
5413
5452
  #
5414
5453
  #
5415
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
5416
- # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
5417
- # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency
5454
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle-explanation.html
5455
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
5456
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
5457
+ # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency
5418
5458
  #
5419
5459
  # @!attribute [rw] command
5420
5460
  # A string array representing the command that the container runs to
@@ -13352,6 +13392,8 @@ module Aws::ECS
13352
13392
  # The short name or full Amazon Resource Name (ARN) of the cluster
13353
13393
  # that your service runs on. If you do not specify a cluster, the
13354
13394
  # default cluster is assumed.
13395
+ #
13396
+ # You can't change the cluster name.
13355
13397
  # @return [String]
13356
13398
  #
13357
13399
  # @!attribute [rw] service
@@ -13373,44 +13415,40 @@ module Aws::ECS
13373
13415
  # @return [String]
13374
13416
  #
13375
13417
  # @!attribute [rw] capacity_provider_strategy
13376
- # The capacity provider strategy to update the service to use.
13418
+ # The details of a capacity provider strategy. You can set a capacity
13419
+ # provider when you create a cluster, run a task, or update a service.
13377
13420
  #
13378
- # if the service uses the default capacity provider strategy for the
13379
- # cluster, the service can be updated to use one or more capacity
13380
- # providers as opposed to the default capacity provider strategy.
13381
- # However, when a service is using a capacity provider strategy
13382
- # that's not the default capacity provider strategy, the service
13383
- # can't be updated to use the cluster's default capacity provider
13384
- # strategy.
13421
+ # When you use Fargate, the capacity providers are `FARGATE` or
13422
+ # `FARGATE_SPOT`.
13385
13423
  #
13386
- # A capacity provider strategy consists of one or more capacity
13387
- # providers along with the `base` and `weight` to assign to them. A
13388
- # capacity provider must be associated with the cluster to be used in
13389
- # a capacity provider strategy. The [PutClusterCapacityProviders][1]
13390
- # API is used to associate a capacity provider with a cluster. Only
13391
- # capacity providers with an `ACTIVE` or `UPDATING` status can be
13392
- # used.
13424
+ # When you use Amazon EC2, the capacity providers are Auto Scaling
13425
+ # groups.
13393
13426
  #
13394
- # If specifying a capacity provider that uses an Auto Scaling group,
13395
- # the capacity provider must already be created. New capacity
13396
- # providers can be created with the [CreateClusterCapacityProvider][2]
13397
- # API operation.
13427
+ # You can change capacity providers for rolling deployments and
13428
+ # blue/green deployments.
13398
13429
  #
13399
- # To use a Fargate capacity provider, specify either the `FARGATE` or
13400
- # `FARGATE_SPOT` capacity providers. The Fargate capacity providers
13401
- # are available to all accounts and only need to be associated with a
13402
- # cluster to be used.
13430
+ # The following list provides the valid transitions:
13403
13431
  #
13404
- # The [PutClusterCapacityProviders][1]API operation is used to update
13405
- # the list of available capacity providers for a cluster after the
13406
- # cluster is created.
13432
+ # * Update the Fargate launch type to an EC2 capacity provider.
13407
13433
  #
13434
+ # * Update the Amazon EC2 launch type to a Fargate capacity provider.
13408
13435
  #
13436
+ # * Update the Fargate capacity provider to an EC2 capacity provider.
13409
13437
  #
13438
+ # * Update the Amazon EC2 capacity provider to a Fargate capacity
13439
+ # provider.
13410
13440
  #
13441
+ # * Update the EC2 or Fargate capacity provider back to the launch
13442
+ # type.
13411
13443
  #
13412
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
13413
- # [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateClusterCapacityProvider.html
13444
+ # Pass an empty list in the `capacityProvider` parameter.
13445
+ #
13446
+ # For information about Amazon Web Services CDK considerations, see
13447
+ # [Amazon Web Services CDK considerations][1].
13448
+ #
13449
+ #
13450
+ #
13451
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service-parameters.html
13414
13452
  # @return [Array<Types::CapacityProviderStrategyItem>]
13415
13453
  #
13416
13454
  # @!attribute [rw] deployment_configuration
@@ -13522,6 +13560,10 @@ module Aws::ECS
13522
13560
  # @return [Boolean]
13523
13561
  #
13524
13562
  # @!attribute [rw] load_balancers
13563
+ # <note markdown="1"> You must have a service-linked role when you update this property
13564
+ #
13565
+ # </note>
13566
+ #
13525
13567
  # A list of Elastic Load Balancing load balancer objects. It contains
13526
13568
  # the load balancer name, the container name, and the container port
13527
13569
  # to access from the load balancer. The container name is as it
@@ -13570,8 +13612,15 @@ module Aws::ECS
13570
13612
  # @return [String]
13571
13613
  #
13572
13614
  # @!attribute [rw] service_registries
13615
+ # <note markdown="1"> You must have a service-linked role when you update this property.
13616
+ #
13617
+ # For more information about the role see the `CreateService` request
13618
+ # parameter [ `role` ][1].
13619
+ #
13620
+ # </note>
13621
+ #
13573
13622
  # The details for the service discovery registries to assign to this
13574
- # service. For more information, see [Service Discovery][1].
13623
+ # service. For more information, see [Service Discovery][2].
13575
13624
  #
13576
13625
  # When you add, update, or remove the service registries
13577
13626
  # configuration, Amazon ECS starts new tasks with the updated service
@@ -13583,7 +13632,8 @@ module Aws::ECS
13583
13632
  #
13584
13633
  #
13585
13634
  #
13586
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
13635
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role
13636
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
13587
13637
  # @return [Array<Types::ServiceRegistry>]
13588
13638
  #
13589
13639
  # @!attribute [rw] service_connect_configuration
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.193.0'
58
+ GEM_VERSION = '1.194.0'
59
59
 
60
60
  end
61
61
 
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.193.0
4
+ version: 1.194.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services