lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.70.0 vs lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.71.0
- old
+ new
@@ -773,25 +773,25 @@
# @option params [String] :task_definition
# The `family` and `revision` (`family:revision`) or full ARN of the
# task definition to run in your service. If a `revision` is not
# specified, the latest `ACTIVE` revision is used.
#
- # A task definition must be specified if the service is using the `ECS`
- # deployment controller.
+ # A task definition must be specified if the service is using either the
+ # `ECS` or `CODE_DEPLOY` deployment controllers.
#
# @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*.
#
# If the service is using the rolling update (`ECS`) deployment
# controller and using either an Application Load Balancer or Network
- # Load Balancer, you can specify multiple target groups to attach to the
- # service. The service-linked role is required for services that make
- # use of multiple target groups. For more information, see [Using
- # Service-Linked Roles for Amazon ECS][2] in the *Amazon Elastic
- # Container Service Developer Guide*.
+ # Load Balancer, you must specify one or more target group ARNs to
+ # attach to the service. The service-linked role is required for
+ # services that make use of multiple target groups. For more
+ # information, see [Using Service-Linked Roles for Amazon ECS][2] in the
+ # *Amazon Elastic Container Service Developer Guide*.
#
# If the service is using the `CODE_DEPLOY` deployment controller, the
# service is required to use either an Application Load Balancer or
# Network Load Balancer. When creating an AWS CodeDeploy deployment
# group, you specify two target groups (referred to as a
@@ -810,19 +810,21 @@
# changed when updating the service.
#
# For Application Load Balancers and Network Load Balancers, this object
# must contain the load balancer target group ARN, the container name
# (as it appears in a container definition), and the container port to
- # access from the load balancer. When a task from this service is placed
- # on a container instance, the container instance and port combination
- # is registered as a target in the target group specified here.
+ # access from the load balancer. The load balancer name parameter must
+ # be omitted. When a task from this service is placed on a container
+ # instance, the container instance and port combination is registered as
+ # a target in the target group specified here.
#
# For Classic Load Balancers, this object must contain the load balancer
# name, the container name (as it appears in a container definition),
- # and the container port to access from the load balancer. When a task
- # from this service is placed on a container instance, the container
- # instance is registered with the load balancer specified here.
+ # and the container port to access from the load balancer. The target
+ # group ARN parameter must be omitted. When a task from this service is
+ # placed on a container instance, the container instance is registered
+ # with the load balancer specified here.
#
# Services with tasks that use the `awsvpc` network mode (for example,
# those with the Fargate launch type) only support Application Load
# Balancers and Network Load Balancers. Classic Load Balancers are not
# supported. Also, when you create any target groups for these services,
@@ -2475,10 +2477,14 @@
# resp.task_definition.volumes[0].efs_volume_configuration.root_directory #=> String
# resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption #=> String, one of "ENABLED", "DISABLED"
# resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
# resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
# resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
# resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
# resp.task_definition.requires_attributes #=> Array
# resp.task_definition.requires_attributes[0].name #=> String
# resp.task_definition.requires_attributes[0].value #=> String
# resp.task_definition.requires_attributes[0].target_type #=> String, one of "container-instance"
@@ -3343,10 +3349,14 @@
# resp.task_definition.volumes[0].efs_volume_configuration.root_directory #=> String
# resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption #=> String, one of "ENABLED", "DISABLED"
# resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
# resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
# resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
# resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
# resp.task_definition.requires_attributes #=> Array
# resp.task_definition.requires_attributes[0].name #=> String
# resp.task_definition.requires_attributes[0].value #=> String
# resp.task_definition.requires_attributes[0].target_type #=> String, one of "container-instance"
@@ -5303,12 +5313,14 @@
# An array of placement constraint objects to use for the task. You can
# specify a maximum of 10 constraints per task (this limit includes
# constraints in the task definition and those specified at runtime).
#
# @option params [Array<String>] :requires_compatibilities
- # The launch type required by the task. If no value is specified, it
- # defaults to `EC2`.
+ # The task launch type that Amazon ECS should validate the task
+ # definition against. This ensures that the task definition parameters
+ # are compatible with the specified launch type. If no value is
+ # specified, it defaults to `EC2`.
#
# @option params [String] :cpu
# The number of CPU units used by the task. It can be expressed as an
# integer using CPU units, for example `1024`, or as a string using
# vCPUs, for example `1 vCPU` or `1 vcpu`, in a task definition. String
@@ -5739,10 +5751,18 @@
# authorization_config: {
# access_point_id: "String",
# iam: "ENABLED", # accepts ENABLED, DISABLED
# },
# },
+ # fsx_windows_file_server_volume_configuration: {
+ # file_system_id: "String", # required
+ # root_directory: "String", # required
+ # authorization_config: { # required
+ # credentials_parameter: "String", # required
+ # domain: "String", # required
+ # },
+ # },
# },
# ],
# placement_constraints: [
# {
# type: "memberOf", # accepts memberOf
@@ -5901,10 +5921,14 @@
# resp.task_definition.volumes[0].efs_volume_configuration.root_directory #=> String
# resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption #=> String, one of "ENABLED", "DISABLED"
# resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
# resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
# resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
# resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
# resp.task_definition.requires_attributes #=> Array
# resp.task_definition.requires_attributes[0].name #=> String
# resp.task_definition.requires_attributes[0].value #=> String
# resp.task_definition.requires_attributes[0].target_type #=> String, one of "container-instance"
@@ -8086,10 +8110,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-ecs'
- context[:gem_version] = '1.70.0'
+ context[:gem_version] = '1.71.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#