lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.169.0 vs lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.170.0

- old
+ new

@@ -970,10 +970,22 @@ # # # # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html # + # @option params [String] :availability_zone_rebalancing + # Indicates whether to use Availability Zone rebalancing for the + # service. + # + # For more information, see [Balancing an Amazon ECS service across + # Availability Zones][1] in the *Amazon Elastic Container Service + # Developer Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html + # # @option params [Array<Types::LoadBalancer>] :load_balancers # A load balancer object representing the load balancers to use with # your service. For more information, see [Service load balancing][1] in # the *Amazon Elastic Container Service Developer Guide*. # @@ -1430,10 +1442,11 @@ # # resp = client.create_service({ # cluster: "String", # service_name: "String", # required # task_definition: "String", + # availability_zone_rebalancing: "ENABLED", # accepts ENABLED, DISABLED # load_balancers: [ # { # target_group_arn: "String", # load_balancer_name: "String", # container_name: "String", @@ -1756,10 +1769,11 @@ # resp.service.tags[0].value #=> String # resp.service.created_by #=> String # resp.service.enable_ecs_managed_tags #=> Boolean # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE" # resp.service.enable_execute_command #=> Boolean + # resp.service.availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED" # # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService AWS API Documentation # # @overload create_service(params = {}) # @param [Hash] params ({}) @@ -2173,17 +2187,18 @@ # `forceNewDeployment` option can be used to ensure that any tasks using # the Amazon EC2 instance capacity provided by the capacity provider are # transitioned to use the capacity from the remaining capacity # providers. Only capacity providers that aren't associated with a # cluster can be deleted. To remove a capacity provider from a cluster, - # you can either use [PutCapacityProviderProviders][1] or delete the + # you can either use [PutClusterCapacityProviders][3] or delete the # cluster. # # # # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProviderProviders.html # [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html + # [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html # # @option params [required, String] :capacity_provider # The short name or full Amazon Resource Name (ARN) of the capacity # provider to delete. # @@ -2571,10 +2586,11 @@ # resp.service.tags[0].value #=> String # resp.service.created_by #=> String # resp.service.enable_ecs_managed_tags #=> Boolean # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE" # resp.service.enable_execute_command #=> Boolean + # resp.service.availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED" # # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService AWS API Documentation # # @overload delete_service(params = {}) # @param [Hash] params ({}) @@ -4143,10 +4159,11 @@ # resp.services[0].tags[0].value #=> String # resp.services[0].created_by #=> String # resp.services[0].enable_ecs_managed_tags #=> Boolean # resp.services[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE" # resp.services[0].enable_execute_command #=> Boolean + # resp.services[0].availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED" # resp.failures #=> Array # resp.failures[0].arn #=> String # resp.failures[0].reason #=> String # resp.failures[0].detail #=> String # @@ -9861,10 +9878,22 @@ # # @option params [Types::DeploymentConfiguration] :deployment_configuration # Optional deployment parameters that control how many tasks run during # the deployment and the ordering of stopping and starting tasks. # + # @option params [String] :availability_zone_rebalancing + # Indicates whether to use Availability Zone rebalancing for the + # service. + # + # For more information, see [Balancing an Amazon ECS service across + # Availability Zones][1] in the *Amazon Elastic Container Service + # Developer Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html + # # @option params [Types::NetworkConfiguration] :network_configuration # An object representing the network configuration for the service. # # @option params [Array<Types::PlacementConstraint>] :placement_constraints # An array of task placement constraint objects to update the service to @@ -10091,10 +10120,11 @@ # alarm_names: ["String"], # required # rollback: false, # required # enable: false, # required # }, # }, + # availability_zone_rebalancing: "ENABLED", # accepts ENABLED, DISABLED # network_configuration: { # awsvpc_configuration: { # subnets: ["String"], # required # security_groups: ["String"], # assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED @@ -10384,10 +10414,11 @@ # resp.service.tags[0].value #=> String # resp.service.created_by #=> String # resp.service.enable_ecs_managed_tags #=> Boolean # resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE" # resp.service.enable_execute_command #=> Boolean + # resp.service.availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED" # # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService AWS API Documentation # # @overload update_service(params = {}) # @param [Hash] params ({}) @@ -10770,10 +10801,10 @@ params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-ecs' - context[:gem_version] = '1.169.0' + context[:gem_version] = '1.170.0' Seahorse::Client::Request.new(handlers, context) end # Polls an API operation until a resource enters a desired state. #