aws-sdk-ecs 1.169.0 → 1.170.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: 30fac8616313be6b5ff15e2f15998e16eebfa2a3a54c42bd189f583911f5e42f
4
- data.tar.gz: d4fb4e9ed2ea70e2107f264b4798194971becdf92dde3f69f729e729b5c8c80c
3
+ metadata.gz: d5ba3a8adb0ca2a0cbe572d3c5316851447e9cf94c082b8962079a660961bb16
4
+ data.tar.gz: 2b8d641cf8f3efe8640f04c071bd6b54efc5f4c09777310122b219602abd203c
5
5
  SHA512:
6
- metadata.gz: baabe262a4076a5ef4c54cd38d09aa076f83ce61056da35b9b03f54253e18aae365cbe9f88a42834506ee3bc1e4a74f2ca78349d3251446387bd9ddc218cf9a1
7
- data.tar.gz: 12d2dbb5c31e2cd65a058fcb045c28b10d38781e277a79d00839595dd3d77262668fec76b5006949d10860d313f238f575db430c4f93a3b5b89e539adc0e371c
6
+ metadata.gz: 3a897493042c405f4f6a354741bfe3ce5242483221053021cbc2f8b9a36b66b02d89d436e49255a1082a72234142651a772465595140fbd28daed83fa695134d
7
+ data.tar.gz: fe995a23ea6e9eeca1637f7361225817c561dafeb4d2debfda75ae375a55b3d410d22fe0e47fc4b24cae7570eb46401db44f9c4545fdadd9e88b271087e3705b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.170.0 (2024-11-20)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for the Availability Zone rebalancing feature on Amazon ECS.
8
+
4
9
  1.169.0 (2024-11-19)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.169.0
1
+ 1.170.0
@@ -972,6 +972,18 @@ module Aws::ECS
972
972
  #
973
973
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
974
974
  #
975
+ # @option params [String] :availability_zone_rebalancing
976
+ # Indicates whether to use Availability Zone rebalancing for the
977
+ # service.
978
+ #
979
+ # For more information, see [Balancing an Amazon ECS service across
980
+ # Availability Zones][1] in the *Amazon Elastic Container Service
981
+ # Developer Guide*.
982
+ #
983
+ #
984
+ #
985
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
986
+ #
975
987
  # @option params [Array<Types::LoadBalancer>] :load_balancers
976
988
  # A load balancer object representing the load balancers to use with
977
989
  # your service. For more information, see [Service load balancing][1] in
@@ -1432,6 +1444,7 @@ module Aws::ECS
1432
1444
  # cluster: "String",
1433
1445
  # service_name: "String", # required
1434
1446
  # task_definition: "String",
1447
+ # availability_zone_rebalancing: "ENABLED", # accepts ENABLED, DISABLED
1435
1448
  # load_balancers: [
1436
1449
  # {
1437
1450
  # target_group_arn: "String",
@@ -1758,6 +1771,7 @@ module Aws::ECS
1758
1771
  # resp.service.enable_ecs_managed_tags #=> Boolean
1759
1772
  # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
1760
1773
  # resp.service.enable_execute_command #=> Boolean
1774
+ # resp.service.availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
1761
1775
  #
1762
1776
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService AWS API Documentation
1763
1777
  #
@@ -2175,13 +2189,14 @@ module Aws::ECS
2175
2189
  # transitioned to use the capacity from the remaining capacity
2176
2190
  # providers. Only capacity providers that aren't associated with a
2177
2191
  # cluster can be deleted. To remove a capacity provider from a cluster,
2178
- # you can either use [PutCapacityProviderProviders][1] or delete the
2192
+ # you can either use [PutClusterCapacityProviders][3] or delete the
2179
2193
  # cluster.
2180
2194
  #
2181
2195
  #
2182
2196
  #
2183
2197
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProviderProviders.html
2184
2198
  # [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html
2199
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
2185
2200
  #
2186
2201
  # @option params [required, String] :capacity_provider
2187
2202
  # The short name or full Amazon Resource Name (ARN) of the capacity
@@ -2573,6 +2588,7 @@ module Aws::ECS
2573
2588
  # resp.service.enable_ecs_managed_tags #=> Boolean
2574
2589
  # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
2575
2590
  # resp.service.enable_execute_command #=> Boolean
2591
+ # resp.service.availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
2576
2592
  #
2577
2593
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService AWS API Documentation
2578
2594
  #
@@ -4145,6 +4161,7 @@ module Aws::ECS
4145
4161
  # resp.services[0].enable_ecs_managed_tags #=> Boolean
4146
4162
  # resp.services[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
4147
4163
  # resp.services[0].enable_execute_command #=> Boolean
4164
+ # resp.services[0].availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
4148
4165
  # resp.failures #=> Array
4149
4166
  # resp.failures[0].arn #=> String
4150
4167
  # resp.failures[0].reason #=> String
@@ -9863,6 +9880,18 @@ module Aws::ECS
9863
9880
  # Optional deployment parameters that control how many tasks run during
9864
9881
  # the deployment and the ordering of stopping and starting tasks.
9865
9882
  #
9883
+ # @option params [String] :availability_zone_rebalancing
9884
+ # Indicates whether to use Availability Zone rebalancing for the
9885
+ # service.
9886
+ #
9887
+ # For more information, see [Balancing an Amazon ECS service across
9888
+ # Availability Zones][1] in the *Amazon Elastic Container Service
9889
+ # Developer Guide*.
9890
+ #
9891
+ #
9892
+ #
9893
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
9894
+ #
9866
9895
  # @option params [Types::NetworkConfiguration] :network_configuration
9867
9896
  # An object representing the network configuration for the service.
9868
9897
  #
@@ -10093,6 +10122,7 @@ module Aws::ECS
10093
10122
  # enable: false, # required
10094
10123
  # },
10095
10124
  # },
10125
+ # availability_zone_rebalancing: "ENABLED", # accepts ENABLED, DISABLED
10096
10126
  # network_configuration: {
10097
10127
  # awsvpc_configuration: {
10098
10128
  # subnets: ["String"], # required
@@ -10386,6 +10416,7 @@ module Aws::ECS
10386
10416
  # resp.service.enable_ecs_managed_tags #=> Boolean
10387
10417
  # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
10388
10418
  # resp.service.enable_execute_command #=> Boolean
10419
+ # resp.service.availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
10389
10420
  #
10390
10421
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService AWS API Documentation
10391
10422
  #
@@ -10772,7 +10803,7 @@ module Aws::ECS
10772
10803
  tracer: tracer
10773
10804
  )
10774
10805
  context[:gem_name] = 'aws-sdk-ecs'
10775
- context[:gem_version] = '1.169.0'
10806
+ context[:gem_version] = '1.170.0'
10776
10807
  Seahorse::Client::Request.new(handlers, context)
10777
10808
  end
10778
10809
 
@@ -28,6 +28,7 @@ module Aws::ECS
28
28
  Attributes = Shapes::ListShape.new(name: 'Attributes')
29
29
  AutoScalingGroupProvider = Shapes::StructureShape.new(name: 'AutoScalingGroupProvider')
30
30
  AutoScalingGroupProviderUpdate = Shapes::StructureShape.new(name: 'AutoScalingGroupProviderUpdate')
31
+ AvailabilityZoneRebalancing = Shapes::StringShape.new(name: 'AvailabilityZoneRebalancing')
31
32
  AwsVpcConfiguration = Shapes::StructureShape.new(name: 'AwsVpcConfiguration')
32
33
  BlockedException = Shapes::StructureShape.new(name: 'BlockedException')
33
34
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -722,6 +723,7 @@ module Aws::ECS
722
723
  CreateServiceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
723
724
  CreateServiceRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceName"))
724
725
  CreateServiceRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinition"))
726
+ CreateServiceRequest.add_member(:availability_zone_rebalancing, Shapes::ShapeRef.new(shape: AvailabilityZoneRebalancing, location_name: "availabilityZoneRebalancing"))
725
727
  CreateServiceRequest.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
726
728
  CreateServiceRequest.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
727
729
  CreateServiceRequest.add_member(:desired_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "desiredCount"))
@@ -1546,6 +1548,7 @@ module Aws::ECS
1546
1548
  Service.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
1547
1549
  Service.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
1548
1550
  Service.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
1551
+ Service.add_member(:availability_zone_rebalancing, Shapes::ShapeRef.new(shape: AvailabilityZoneRebalancing, location_name: "availabilityZoneRebalancing"))
1549
1552
  Service.struct_class = Types::Service
1550
1553
 
1551
1554
  ServiceConnectClientAlias.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, required: true, location_name: "port"))
@@ -2034,6 +2037,7 @@ module Aws::ECS
2034
2037
  UpdateServiceRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinition"))
2035
2038
  UpdateServiceRequest.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "capacityProviderStrategy"))
2036
2039
  UpdateServiceRequest.add_member(:deployment_configuration, Shapes::ShapeRef.new(shape: DeploymentConfiguration, location_name: "deploymentConfiguration"))
2040
+ UpdateServiceRequest.add_member(:availability_zone_rebalancing, Shapes::ShapeRef.new(shape: AvailabilityZoneRebalancing, location_name: "availabilityZoneRebalancing"))
2037
2041
  UpdateServiceRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
2038
2042
  UpdateServiceRequest.add_member(:placement_constraints, Shapes::ShapeRef.new(shape: PlacementConstraints, location_name: "placementConstraints"))
2039
2043
  UpdateServiceRequest.add_member(:placement_strategy, Shapes::ShapeRef.new(shape: PlacementStrategies, location_name: "placementStrategy"))
@@ -2624,6 +2624,19 @@ module Aws::ECS
2624
2624
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
2625
2625
  # @return [String]
2626
2626
  #
2627
+ # @!attribute [rw] availability_zone_rebalancing
2628
+ # Indicates whether to use Availability Zone rebalancing for the
2629
+ # service.
2630
+ #
2631
+ # For more information, see [Balancing an Amazon ECS service across
2632
+ # Availability Zones][1] in the *Amazon Elastic Container Service
2633
+ # Developer Guide*.
2634
+ #
2635
+ #
2636
+ #
2637
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
2638
+ # @return [String]
2639
+ #
2627
2640
  # @!attribute [rw] load_balancers
2628
2641
  # A load balancer object representing the load balancers to use with
2629
2642
  # your service. For more information, see [Service load balancing][1]
@@ -2991,6 +3004,7 @@ module Aws::ECS
2991
3004
  :cluster,
2992
3005
  :service_name,
2993
3006
  :task_definition,
3007
+ :availability_zone_rebalancing,
2994
3008
  :load_balancers,
2995
3009
  :service_registries,
2996
3010
  :desired_count,
@@ -3923,13 +3937,7 @@ module Aws::ECS
3923
3937
  include Aws::Structure
3924
3938
  end
3925
3939
 
3926
- # The deployment controller to use for the service. For more
3927
- # information, see [Amazon ECS deployment types][1] in the *Amazon
3928
- # Elastic Container Service Developer Guide*.
3929
- #
3930
- #
3931
- #
3932
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
3940
+ # The deployment controller to use for the service.
3933
3941
  #
3934
3942
  # @!attribute [rw] type
3935
3943
  # The deployment controller type to use.
@@ -3946,6 +3954,10 @@ module Aws::ECS
3946
3954
  # service deployment, as specified in the
3947
3955
  # [DeploymentConfiguration][1].
3948
3956
  #
3957
+ # For more information about rolling deployments, see [Deploy Amazon
3958
+ # ECS services by replacing tasks][2] in the *Amazon Elastic
3959
+ # Container Service Developer Guide*.
3960
+ #
3949
3961
  # CODE\_DEPLOY
3950
3962
  #
3951
3963
  # : The blue/green (`CODE_DEPLOY`) deployment type uses the blue/green
@@ -3953,15 +3965,26 @@ module Aws::ECS
3953
3965
  # a new deployment of a service before sending production traffic to
3954
3966
  # it.
3955
3967
  #
3968
+ # For more information about blue/green deployments, see [Validate
3969
+ # the state of an Amazon ECS service before deployment ][3] in the
3970
+ # *Amazon Elastic Container Service Developer Guide*.
3971
+ #
3956
3972
  # EXTERNAL
3957
3973
  #
3958
3974
  # : The external (`EXTERNAL`) deployment type enables you to use any
3959
3975
  # third-party deployment controller for full control over the
3960
3976
  # deployment process for an Amazon ECS service.
3961
3977
  #
3978
+ # For more information about external deployments, see [Deploy
3979
+ # Amazon ECS services using a third-party controller ][4] in the
3980
+ # *Amazon Elastic Container Service Developer Guide*.
3981
+ #
3962
3982
  #
3963
3983
  #
3964
3984
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeploymentConfiguration.html
3985
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html
3986
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html
3987
+ # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-external.html
3965
3988
  # @return [String]
3966
3989
  #
3967
3990
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentController AWS API Documentation
@@ -9503,6 +9526,19 @@ module Aws::ECS
9503
9526
  # turned on for all containers in tasks as part of the service.
9504
9527
  # @return [Boolean]
9505
9528
  #
9529
+ # @!attribute [rw] availability_zone_rebalancing
9530
+ # Indicates whether to use Availability Zone rebalancing for the
9531
+ # service.
9532
+ #
9533
+ # For more information, see [Balancing an Amazon ECS service across
9534
+ # Availability Zones][1] in the *Amazon Elastic Container Service
9535
+ # Developer Guide*.
9536
+ #
9537
+ #
9538
+ #
9539
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
9540
+ # @return [String]
9541
+ #
9506
9542
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Service AWS API Documentation
9507
9543
  #
9508
9544
  class Service < Struct.new(
@@ -9536,7 +9572,8 @@ module Aws::ECS
9536
9572
  :created_by,
9537
9573
  :enable_ecs_managed_tags,
9538
9574
  :propagate_tags,
9539
- :enable_execute_command)
9575
+ :enable_execute_command,
9576
+ :availability_zone_rebalancing)
9540
9577
  SENSITIVE = []
9541
9578
  include Aws::Structure
9542
9579
  end
@@ -13149,6 +13186,19 @@ module Aws::ECS
13149
13186
  # tasks.
13150
13187
  # @return [Types::DeploymentConfiguration]
13151
13188
  #
13189
+ # @!attribute [rw] availability_zone_rebalancing
13190
+ # Indicates whether to use Availability Zone rebalancing for the
13191
+ # service.
13192
+ #
13193
+ # For more information, see [Balancing an Amazon ECS service across
13194
+ # Availability Zones][1] in the *Amazon Elastic Container Service
13195
+ # Developer Guide*.
13196
+ #
13197
+ #
13198
+ #
13199
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
13200
+ # @return [String]
13201
+ #
13152
13202
  # @!attribute [rw] network_configuration
13153
13203
  # An object representing the network configuration for the service.
13154
13204
  # @return [Types::NetworkConfiguration]
@@ -13350,6 +13400,7 @@ module Aws::ECS
13350
13400
  :task_definition,
13351
13401
  :capacity_provider_strategy,
13352
13402
  :deployment_configuration,
13403
+ :availability_zone_rebalancing,
13353
13404
  :network_configuration,
13354
13405
  :placement_constraints,
13355
13406
  :placement_strategy,
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.169.0'
58
+ GEM_VERSION = '1.170.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -163,6 +163,7 @@ module Aws
163
163
  ?cluster: ::String,
164
164
  service_name: ::String,
165
165
  ?task_definition: ::String,
166
+ ?availability_zone_rebalancing: ("ENABLED" | "DISABLED"),
166
167
  ?load_balancers: Array[
167
168
  {
168
169
  target_group_arn: ::String?,
@@ -1635,6 +1636,7 @@ module Aws
1635
1636
  enable: bool
1636
1637
  }?
1637
1638
  },
1639
+ ?availability_zone_rebalancing: ("ENABLED" | "DISABLED"),
1638
1640
  ?network_configuration: {
1639
1641
  awsvpc_configuration: {
1640
1642
  subnets: Array[::String],
data/sig/types.rbs CHANGED
@@ -313,6 +313,7 @@ module Aws::ECS
313
313
  attr_accessor cluster: ::String
314
314
  attr_accessor service_name: ::String
315
315
  attr_accessor task_definition: ::String
316
+ attr_accessor availability_zone_rebalancing: ("ENABLED" | "DISABLED")
316
317
  attr_accessor load_balancers: ::Array[Types::LoadBalancer]
317
318
  attr_accessor service_registries: ::Array[Types::ServiceRegistry]
318
319
  attr_accessor desired_count: ::Integer
@@ -1347,6 +1348,7 @@ module Aws::ECS
1347
1348
  attr_accessor enable_ecs_managed_tags: bool
1348
1349
  attr_accessor propagate_tags: ("TASK_DEFINITION" | "SERVICE" | "NONE")
1349
1350
  attr_accessor enable_execute_command: bool
1351
+ attr_accessor availability_zone_rebalancing: ("ENABLED" | "DISABLED")
1350
1352
  SENSITIVE: []
1351
1353
  end
1352
1354
 
@@ -1897,6 +1899,7 @@ module Aws::ECS
1897
1899
  attr_accessor task_definition: ::String
1898
1900
  attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
1899
1901
  attr_accessor deployment_configuration: Types::DeploymentConfiguration
1902
+ attr_accessor availability_zone_rebalancing: ("ENABLED" | "DISABLED")
1900
1903
  attr_accessor network_configuration: Types::NetworkConfiguration
1901
1904
  attr_accessor placement_constraints: ::Array[Types::PlacementConstraint]
1902
1905
  attr_accessor placement_strategy: ::Array[Types::PlacementStrategy]
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.169.0
4
+ version: 1.170.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-19 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core