lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.15.0 vs lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.16.0
- old
+ new
@@ -329,11 +329,11 @@
#
# @option params [required, String] :service_name
# The name of your service. Up to 255 letters (uppercase and lowercase),
# numbers, hyphens, and underscores are allowed. Service names must be
# unique within a cluster, but you can have similarly named services in
- # multiple clusters within a region or across multiple regions.
+ # multiple clusters within a Region or across multiple Regions.
#
# @option params [required, 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.
@@ -365,12 +365,12 @@
# you must choose `ip` as the target type, not `instance`, because tasks
# that use the `awsvpc` network mode are associated with an elastic
# network interface, not an Amazon EC2 instance.
#
# @option params [Array<Types::ServiceRegistry>] :service_registries
- # The details of the service discovery registries you want to assign to
- # this service. For more information, see [Service Discovery][1].
+ # The details of the service discovery registries to assign to this
+ # service. For more information, see [Service Discovery][1].
#
# <note markdown="1"> Service discovery is supported for Fargate tasks if using platform
# version v1.1.0 or later. For more information, see [AWS Fargate
# Platform Versions][2].
#
@@ -453,11 +453,11 @@
# The period of time, in seconds, that the Amazon ECS service scheduler
# should ignore unhealthy Elastic Load Balancing target health checks
# after a task has first started. This is only valid if your service is
# configured to use a load balancer. If your service's tasks take a
# while to start and respond to Elastic Load Balancing health checks,
- # you can specify a health check grace period of up to 1,800 seconds
+ # you can specify a health check grace period of up to 7,200 seconds
# during which the ECS service scheduler ignores health check status.
# This grace period can prevent the ECS service scheduler from marking
# tasks as unhealthy and stopping them before they have time to come up.
#
# @option params [String] :scheduling_strategy
@@ -995,11 +995,11 @@
# cluster, the default cluster is assumed.
#
# @option params [required, String] :container_instance
# The container instance ID or full ARN of the container instance to
# deregister. The ARN contains the `arn:aws:ecs` namespace, followed by
- # the region of the container instance, the AWS account ID of the
+ # the Region of the container instance, the AWS account ID of the
# container instance owner, the `container-instance` namespace, and then
# the container instance ID. For example,
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID
# `.
#
@@ -1137,10 +1137,11 @@
#
# resp.task_definition.task_definition_arn #=> String
# resp.task_definition.container_definitions #=> Array
# resp.task_definition.container_definitions[0].name #=> String
# resp.task_definition.container_definitions[0].image #=> String
+ # resp.task_definition.container_definitions[0].repository_credentials.credentials_parameter #=> String
# resp.task_definition.container_definitions[0].cpu #=> Integer
# resp.task_definition.container_definitions[0].memory #=> Integer
# resp.task_definition.container_definitions[0].memory_reservation #=> Integer
# resp.task_definition.container_definitions[0].links #=> Array
# resp.task_definition.container_definitions[0].links[0] #=> String
@@ -1743,10 +1744,11 @@
#
# resp.task_definition.task_definition_arn #=> String
# resp.task_definition.container_definitions #=> Array
# resp.task_definition.container_definitions[0].name #=> String
# resp.task_definition.container_definitions[0].image #=> String
+ # resp.task_definition.container_definitions[0].repository_credentials.credentials_parameter #=> String
# resp.task_definition.container_definitions[0].cpu #=> Integer
# resp.task_definition.container_definitions[0].memory #=> Integer
# resp.task_definition.container_definitions[0].memory_reservation #=> Integer
# resp.task_definition.container_definitions[0].links #=> Array
# resp.task_definition.container_definitions[0].links[0] #=> String
@@ -2003,11 +2005,11 @@
#
# Returns an endpoint for the Amazon ECS agent to poll for updates.
#
# @option params [String] :container_instance
# The container instance ID or full ARN of the container instance. The
- # ARN contains the `arn:aws:ecs` namespace, followed by the region of
+ # ARN contains the `arn:aws:ecs` namespace, followed by the Region of
# the container instance, the AWS account ID of the container instance
# owner, the `container-instance` namespace, and then the container
# instance ID. For example,
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID
# `.
@@ -2320,11 +2322,11 @@
# `nextToken` value. This value can be between 1 and 10. If this
# parameter is not used, then `ListServices` returns up to 10 results
# and a `nextToken` value if applicable.
#
# @option params [String] :launch_type
- # The launch type for services you want to list.
+ # The launch type for the services to list.
#
# @option params [String] :scheduling_strategy
# The scheduling strategy for services to list.
#
# @return [Types::ListServicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -2675,11 +2677,11 @@
# `lastStatus` may have a value of `PENDING`).
#
# </note>
#
# @option params [String] :launch_type
- # The launch type for services you want to list.
+ # The launch type for services to list.
#
# @return [Types::ListTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::ListTasksResponse#task_arns #task_arns} => Array<String>
# * {Types::ListTasksResponse#next_token #next_token} => String
@@ -2945,11 +2947,11 @@
#
# You can specify a Docker networking mode for the containers in your
# task definition with the `networkMode` parameter. The available
# network modes correspond to those described in [Network settings][3]
# in the Docker run reference. If you specify the `awsvpc` network mode,
- # the task is allocated an Elastic Network Interface, and you must
+ # the task is allocated an elastic network interface, and you must
# specify a NetworkConfiguration when you create a service or run a task
# with the task definition. For more information, see [Task
# Networking][4] in the *Amazon Elastic Container Service Developer
# Guide*.
#
@@ -3039,13 +3041,13 @@
# 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 but will
- # be converted to an integer indicating the CPU units when the task
- # definition is registered.
+ # vCPUs, for example `1 vCPU` or `1 vcpu`, in a task definition. String
+ # values are converted to an integer indicating the CPU units when the
+ # task definition is registered.
#
# <note markdown="1"> Task-level CPU and memory parameters are ignored for Windows
# containers. We recommend specifying container-level resources for
# Windows containers.
#
@@ -3075,12 +3077,13 @@
# 30720 (30 GB) in increments of 1024 (1 GB)
#
# @option params [String] :memory
# The amount of memory (in MiB) used by the task. It can be expressed as
# an integer using MiB, for example `1024`, or as a string using GB, for
- # example `1GB` or `1 GB`, in a task definition but will be converted to
- # an integer indicating the MiB when the task definition is registered.
+ # example `1GB` or `1 GB`, in a task definition. String values are
+ # converted to an integer indicating the MiB when the task definition is
+ # registered.
#
# <note markdown="1"> Task-level CPU and memory parameters are ignored for Windows
# containers. We recommend specifying container-level resources for
# Windows containers.
#
@@ -3177,10 +3180,13 @@
# network_mode: "bridge", # accepts bridge, host, awsvpc, none
# container_definitions: [ # required
# {
# name: "String",
# image: "String",
+ # repository_credentials: {
+ # credentials_parameter: "String", # required
+ # },
# cpu: 1,
# memory: 1,
# memory_reservation: 1,
# links: ["String"],
# port_mappings: [
@@ -3297,10 +3303,11 @@
#
# resp.task_definition.task_definition_arn #=> String
# resp.task_definition.container_definitions #=> Array
# resp.task_definition.container_definitions[0].name #=> String
# resp.task_definition.container_definitions[0].image #=> String
+ # resp.task_definition.container_definitions[0].repository_credentials.credentials_parameter #=> String
# resp.task_definition.container_definitions[0].cpu #=> Integer
# resp.task_definition.container_definitions[0].memory #=> Integer
# resp.task_definition.container_definitions[0].memory_reservation #=> Integer
# resp.task_definition.container_definitions[0].links #=> Array
# resp.task_definition.container_definitions[0].links[0] #=> String
@@ -3424,11 +3431,11 @@
# * Confirm the state of the resource before you run a command to modify
# it. Run the DescribeTasks command using an exponential backoff
# algorithm to ensure that you allow enough time for the previous
# command to propagate through the system. To do this, run the
# DescribeTasks command repeatedly, starting with a couple of seconds
- # of wait time, and increasing gradually up to five minutes of wait
+ # of wait time and increasing gradually up to five minutes of wait
# time.
#
# * Add wait time between subsequent commands, even if the DescribeTasks
# command returns an accurate response. Apply an exponential backoff
# algorithm starting with a couple of seconds of wait time, and
@@ -3738,11 +3745,11 @@
# value is the family name of the task definition (for example,
# family:my-family-name).
#
# @option params [Types::NetworkConfiguration] :network_configuration
# The VPC subnet and security group configuration for tasks that receive
- # their own Elastic Network Interface by using the `awsvpc` networking
+ # their own elastic network interface by using the `awsvpc` networking
# mode.
#
# @return [Types::StartTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::StartTaskResponse#tasks #tasks} => Array<Types::Task>
@@ -4482,11 +4489,11 @@
#
#
# [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
#
# @option params [String] :platform_version
- # The platform version you want to update your service to run.
+ # The platform version that your service should run.
#
# @option params [Boolean] :force_new_deployment
# Whether to force a new deployment of the service. Deployments are not
# forced by default. You can use this option to trigger a new deployment
# with no service definition changes. For example, you can update a
@@ -4640,10 +4647,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-ecs'
- context[:gem_version] = '1.15.0'
+ context[:gem_version] = '1.16.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#