Skip to content

Commit 8997986

Browse files
author
awstools
committed
docs(client-ecs): Amazon ECS UpdateService now supports the following parameters: PlacementStrategies, PlacementConstraints and CapacityProviderStrategy.
1 parent 7347da1 commit 8997986

16 files changed

+533
-357
lines changed

clients/client-ecs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ AWS SDK for JavaScript ECS Client for Node.js, Browser and React Native.
1212
<fullname>Amazon Elastic Container Service</fullname>
1313

1414
<p>Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes
15-
it easy to run, stop, and manage Docker containers on a cluster. You can host your
16-
cluster on a serverless infrastructure that's managed by Amazon ECS by launching your
17-
services or tasks on Fargate. For more control, you can host your tasks on a cluster
18-
of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage.</p>
15+
it easy to run, stop, and manage Docker containers. You can host your cluster on a
16+
serverless infrastructure that's managed by Amazon ECS by launching your services or tasks on
17+
Fargate. For more control, you can host your tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2)
18+
or External (on-premises) instances that you manage.</p>
1919
<p>Amazon ECS makes it easy to launch and stop container-based applications with simple API
2020
calls. This makes it easy to get the state of your cluster from a centralized service,
2121
and gives you access to many familiar Amazon EC2 features.</p>

clients/client-ecs/src/ECS.ts

Lines changed: 52 additions & 52 deletions
Large diffs are not rendered by default.

clients/client-ecs/src/ECSClient.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -449,10 +449,10 @@ export interface ECSClientResolvedConfig extends ECSClientResolvedConfigType {}
449449
/**
450450
* <fullname>Amazon Elastic Container Service</fullname>
451451
* <p>Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes
452-
* it easy to run, stop, and manage Docker containers on a cluster. You can host your
453-
* cluster on a serverless infrastructure that's managed by Amazon ECS by launching your
454-
* services or tasks on Fargate. For more control, you can host your tasks on a cluster
455-
* of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage.</p>
452+
* it easy to run, stop, and manage Docker containers. You can host your cluster on a
453+
* serverless infrastructure that's managed by Amazon ECS by launching your services or tasks on
454+
* Fargate. For more control, you can host your tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2)
455+
* or External (on-premises) instances that you manage.</p>
456456
* <p>Amazon ECS makes it easy to launch and stop container-based applications with simple API
457457
* calls. This makes it easy to get the state of your cluster from a centralized service,
458458
* and gives you access to many familiar Amazon EC2 features.</p>

clients/client-ecs/src/commands/CreateClusterCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
3232
* required resources in other Amazon Web Services services on your behalf. However, if the IAM user
3333
* that makes the call doesn't have permissions to create the service-linked role, it
3434
* isn't created. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Using
35-
* Service-Linked Roles for Amazon ECS</a> in the
35+
* service-linked roles for Amazon ECS</a> in the
3636
* <i>Amazon Elastic Container Service Developer Guide</i>.</p>
3737
* </note>
3838
* @example

clients/client-ecs/src/commands/CreateServiceCommand.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,16 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
2626
* <p>Runs and maintains your desired number of tasks from a specified task definition. If
2727
* the number of tasks running in a service drops below the <code>desiredCount</code>,
2828
* Amazon ECS runs another copy of the task in the specified cluster. To update an existing
29-
* service, see the UpdateService action.</p>
29+
* service, see the <a>UpdateService</a> action.</p>
3030
* <p>In addition to maintaining the desired count of tasks in your service, you can
3131
* optionally run your service behind one or more load balancers. The load balancers
3232
* distribute traffic across the tasks that are associated with the service. For more
33-
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html">Service Load Balancing</a> in the
33+
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html">Service load balancing</a> in the
3434
* <i>Amazon Elastic Container Service Developer Guide</i>.</p>
3535
* <p>Tasks for services that don't use a load balancer are considered healthy if they're in
3636
* the <code>RUNNING</code> state. Tasks for services that use a load balancer are
37-
* considered healthy if they're in the <code>RUNNING</code> state and are reported as healthy by the load balancer.</p>
37+
* considered healthy if they're in the <code>RUNNING</code> state and are reported as
38+
* healthy by the load balancer.</p>
3839
* <p>There are two service scheduler strategies available:</p>
3940
* <ul>
4041
* <li>
@@ -43,7 +44,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
4344
* maintains your desired number of tasks across your cluster. By default, the
4445
* service scheduler spreads tasks across Availability Zones. You can use task
4546
* placement strategies and constraints to customize task placement decisions. For
46-
* more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service Scheduler Concepts</a> in the
47+
* more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service scheduler concepts</a> in the
4748
* <i>Amazon Elastic Container Service Developer Guide</i>.</p>
4849
* </li>
4950
* <li>
@@ -54,7 +55,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
5455
* evaluates the task placement constraints for running tasks. It also stops tasks
5556
* that don't meet the placement constraints. When using this strategy, you don't
5657
* need to specify a desired number of tasks, a task placement strategy, or use
57-
* Service Auto Scaling policies. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service Scheduler Concepts</a> in the
58+
* Service Auto Scaling policies. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service scheduler concepts</a> in the
5859
* <i>Amazon Elastic Container Service Developer Guide</i>.</p>
5960
* </li>
6061
* </ul>
@@ -98,7 +99,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
9899
* currently visible when describing your service.</p>
99100
* <p>When creating a service that uses the <code>EXTERNAL</code> deployment controller, you
100101
* can specify only parameters that aren't controlled at the task set level. The only
101-
* required parameter is the service name. You control your services using the <a>CreateTaskSet</a> operation. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
102+
* required parameter is the service name. You control your services using the <a>CreateTaskSet</a> operation. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
102103
* <p>When the service scheduler launches new tasks, it determines task placement in your
103104
* cluster using the following logic:</p>
104105
* <ul>

clients/client-ecs/src/commands/CreateTaskSetCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met
2525
/**
2626
* <p>Create a task set in the specified cluster and service. This is used when a service
2727
* uses the <code>EXTERNAL</code> deployment controller type. For more information, see
28-
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment
29-
* Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
28+
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment
29+
* types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
3030
* @example
3131
* Use a bare-bones client and the command you need to make an API call.
3232
* ```javascript

clients/client-ecs/src/commands/DeleteTaskSetCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface DeleteTaskSetCommandOutput extends DeleteTaskSetResponse, __Met
2424

2525
/**
2626
* <p>Deletes a specified task set within a service. This is used when a service uses the
27-
* <code>EXTERNAL</code> deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
27+
* <code>EXTERNAL</code> deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
2828
* @example
2929
* Use a bare-bones client and the command you need to make an API call.
3030
* ```javascript

clients/client-ecs/src/commands/DescribeTasksCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met
2424

2525
/**
2626
* <p>Describes a specified task or tasks.</p>
27+
* <p>Currently, stopped tasks appear in the returned results for at least one hour.</p>
2728
* @example
2829
* Use a bare-bones client and the command you need to make an API call.
2930
* ```javascript

clients/client-ecs/src/commands/ExecuteCommandCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ export interface ExecuteCommandCommandOutput extends ExecuteCommandResponse, __M
2424

2525
/**
2626
* <p>Runs a command remotely on a container within a task.</p>
27+
* <p>If you use a condition key in your IAM policy to refine the conditions for the policy
28+
* statement, for example limit the actions to a specific cluster, you recevie an
29+
* <code>AccessDeniedException</code> when there is a mismatch between the condition
30+
* key value and the corresponding parameter value.</p>
2731
* @example
2832
* Use a bare-bones client and the command you need to make an API call.
2933
* ```javascript

clients/client-ecs/src/commands/PutAccountSettingCommand.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons
3232
* <code>containerInstanceLongArnFormat</code> are specified, the Amazon Resource Name
3333
* (ARN) and resource ID format of the resource type for a specified IAM user, IAM role, or
3434
* the root user for an account is affected. The opt-in and opt-out account setting must be
35-
* set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is
36-
* defined by the opt-in status of the IAM user or role that created the resource. You must
37-
* turn on this setting to use Amazon ECS features such as resource tagging.</p>
35+
* set for each Amazon ECS resource separately. The ARN and resource ID format of a resource
36+
* is defined by the opt-in status of the IAM user or role that created the resource. You
37+
* must turn on this setting to use Amazon ECS features such as resource tagging.</p>
3838
* <p>When <code>awsvpcTrunking</code> is specified, the elastic network interface (ENI)
3939
* limit for any new container instances that support the feature is changed. If
4040
* <code>awsvpcTrunking</code> is enabled, any new container instances that support the

0 commit comments

Comments
 (0)