Skip to content

Commit

Permalink
Amazon ECS UpdateService now supports the following parameters: Place…
Browse files Browse the repository at this point in the history
…mentStrategies, PlacementConstraints and CapacityProviderStrategy.
  • Loading branch information
aws-sdk-dotnet-automation committed Jun 21, 2022
1 parent 37290fe commit d7908cf
Show file tree
Hide file tree
Showing 35 changed files with 440 additions and 373 deletions.
92 changes: 46 additions & 46 deletions generator/ServiceModels/ecs/ecs-2014-11-13.docs.json

Large diffs are not rendered by default.

92 changes: 46 additions & 46 deletions generator/ServiceModels/ecs/ecs-2014-11-13.normal.json

Large diffs are not rendered by default.

12 changes: 5 additions & 7 deletions sdk/src/Services/ECS/Generated/Model/Cluster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ internal bool IsSetActiveServicesCount()
/// Gets and sets the property Attachments.
/// <para>
/// The resources attached to a cluster. When using a capacity provider with a cluster,
/// the Auto Scaling plan that's created is returned as a cluster attachment.
/// the capacity provider and associated resources are returned as cluster attachments.
/// </para>
/// </summary>
public List<Attachment> Attachments
Expand All @@ -98,8 +98,7 @@ internal bool IsSetAttachments()
/// </para>
/// <dl> <dt>UPDATE_IN_PROGRESS</dt> <dd>
/// <para>
/// The available capacity providers for the cluster are updating. This occurs when the
/// Auto Scaling plan is provisioning or deprovisioning.
/// The available capacity providers for the cluster are updating.
/// </para>
/// </dd> <dt>UPDATE_COMPLETE</dt> <dd>
/// <para>
Expand Down Expand Up @@ -144,10 +143,9 @@ internal bool IsSetCapacityProviders()
/// <summary>
/// Gets and sets the property ClusterArn.
/// <para>
/// The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains the <code>arn:aws:ecs</code>
/// namespace, followed by the Region of the cluster, the Amazon Web Services account
/// ID of the cluster owner, the <code>cluster</code> namespace, and then the cluster
/// name. For example, <code>arn:aws:ecs:region:012345678910:cluster/test</code>.
/// The Amazon Resource Name (ARN) that identifies the cluster. For more information about
/// the ARN format, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids">Amazon
/// Resource Name (ARN)</a> in the <i>Amazon ECS Developer Guide</i>.
/// </para>
/// </summary>
public string ClusterArn
Expand Down
6 changes: 3 additions & 3 deletions sdk/src/Services/ECS/Generated/Model/ContainerDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -821,13 +821,13 @@ internal bool IsSetLogConfiguration()
/// </para>
///
/// <para>
/// The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory for a container,
/// so you should not specify fewer than 6 MiB of memory for your containers.
/// The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory for a container.
/// So, don't specify less than 6 MiB of memory for your containers.
/// </para>
///
/// <para>
/// The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of memory for
/// a container, so you should not specify fewer than 4 MiB of memory for your containers.
/// a container. So, don't specify less than 4 MiB of memory for your containers.
/// </para>
/// </summary>
public int Memory
Expand Down
19 changes: 9 additions & 10 deletions sdk/src/Services/ECS/Generated/Model/ContainerInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
namespace Amazon.ECS.Model
{
/// <summary>
/// An EC2 instance that's running the Amazon ECS agent and has been registered with a
/// cluster.
/// An Amazon EC2 or External instance that's running the Amazon ECS agent and has been
/// registered with a cluster.
/// </summary>
public partial class ContainerInstance
{
Expand All @@ -57,8 +57,8 @@ public partial class ContainerInstance
/// Gets and sets the property AgentConnected.
/// <para>
/// This parameter returns <code>true</code> if the agent is connected to Amazon ECS.
/// Registered instances with an agent that may be unhealthy or stopped return <code>false</code>.
/// Only instances connected to an agent can accept placement requests.
/// An instance with an agent that may be unhealthy or stopped return <code>false</code>.
/// Only instances connected to an agent can accept task placement requests.
/// </para>
/// </summary>
public bool AgentConnected
Expand Down Expand Up @@ -95,7 +95,7 @@ internal bool IsSetAgentUpdateStatus()
/// <summary>
/// Gets and sets the property Attachments.
/// <para>
/// The resources attached to a container instance, such as elastic network interfaces.
/// The resources attached to a container instance, such as an elastic network interface.
/// </para>
/// </summary>
public List<Attachment> Attachments
Expand Down Expand Up @@ -150,10 +150,9 @@ internal bool IsSetCapacityProviderName()
/// <summary>
/// Gets and sets the property ContainerInstanceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the container instance. The ARN contains the <code>arn:aws:ecs</code>
/// namespace, followed by the Region of the container instance, the Amazon Web Services
/// account ID of the container instance owner, the <code>container-instance</code> namespace,
/// and then the container instance ID. For example, <code>arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID</code>.
/// The Amazon Resource Name (ARN) of the container instance. For more information about
/// the ARN format, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids">Amazon
/// Resource Name (ARN)</a> in the <i>Amazon ECS Developer Guide</i>.
/// </para>
/// </summary>
public string ContainerInstanceArn
Expand Down Expand Up @@ -333,7 +332,7 @@ internal bool IsSetRunningTasksCount()
/// The <code>DRAINING</code> indicates that new tasks aren't placed on the container
/// instance and any service tasks running on the container instance are removed if possible.
/// For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-draining.html">Container
/// Instance Draining</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
/// instance draining</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
/// </para>
/// </summary>
public string Status
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace Amazon.ECS.Model
/// required resources in other Amazon Web Services services on your behalf. However,
/// if the IAM user that makes the call doesn't have permissions to create the service-linked
/// role, it isn't created. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Using
/// Service-Linked Roles for Amazon ECS</a> in the <i>Amazon Elastic Container Service
/// service-linked roles for Amazon ECS</a> in the <i>Amazon Elastic Container Service
/// Developer Guide</i>.
/// </para>
/// </note>
Expand Down
14 changes: 7 additions & 7 deletions sdk/src/Services/ECS/Generated/Model/CreateServiceRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ namespace Amazon.ECS.Model
/// Runs and maintains your desired number of tasks from a specified task definition.
/// If the number of tasks running in a service drops below the <code>desiredCount</code>,
/// Amazon ECS runs another copy of the task in the specified cluster. To update an existing
/// service, see the UpdateService action.
/// service, see the <a>UpdateService</a> action.
///
///
/// <para>
/// In addition to maintaining the desired count of tasks in your service, you can optionally
/// run your service behind one or more load balancers. The load balancers distribute
/// traffic across the tasks that are associated with the service. For more information,
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html">Service
/// Load Balancing</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
/// load balancing</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
/// </para>
///
/// <para>
Expand All @@ -60,7 +60,7 @@ namespace Amazon.ECS.Model
/// desired number of tasks across your cluster. By default, the service scheduler spreads
/// tasks across Availability Zones. You can use task placement strategies and constraints
/// to customize task placement decisions. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service
/// Scheduler Concepts</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
/// scheduler concepts</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
/// </para>
/// </li> <li>
/// <para>
Expand All @@ -71,7 +71,7 @@ namespace Amazon.ECS.Model
/// When using this strategy, you don't need to specify a desired number of tasks, a task
/// placement strategy, or use 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 <i>Amazon Elastic Container Service Developer Guide</i>.
/// scheduler concepts</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
/// </para>
/// </li> </ul>
/// <para>
Expand Down Expand Up @@ -129,7 +129,7 @@ namespace Amazon.ECS.Model
/// you can specify only parameters that aren't controlled at the task set level. The
/// only 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>.
/// ECS deployment types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
/// </para>
///
/// <para>
Expand Down Expand Up @@ -323,7 +323,7 @@ internal bool IsSetDesiredCount()
/// <para>
/// Specifies whether to turn on Amazon ECS managed tags for the tasks within the service.
/// For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging
/// Your Amazon ECS Resources</a> in the <i>Amazon Elastic Container Service Developer
/// your Amazon ECS resources</a> in the <i>Amazon Elastic Container Service Developer
/// Guide</i>.
/// </para>
/// </summary>
Expand Down Expand Up @@ -444,7 +444,7 @@ internal bool IsSetLaunchType()
/// <para>
/// A load balancer object representing the load balancers to use with your service. For
/// more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html">Service
/// Load Balancing</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
/// load balancing</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
/// </para>
///
/// <para>
Expand Down
6 changes: 3 additions & 3 deletions sdk/src/Services/ECS/Generated/Model/CreateTaskSetRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace Amazon.ECS.Model
/// Create a task set in the specified cluster and service. This is used when a service
/// uses the <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>.
/// ECS deployment types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
/// </summary>
public partial class CreateTaskSetRequest : AmazonECSRequest
{
Expand Down Expand Up @@ -167,7 +167,7 @@ internal bool IsSetExternalId()
/// <para>
/// The launch type that new tasks in the task set uses. For more information, see <a
/// href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html">Amazon
/// ECS Launch Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
/// ECS launch types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
/// </para>
///
/// <para>
Expand Down Expand Up @@ -289,7 +289,7 @@ internal bool IsSetService()
/// <para>
/// The details of the service discovery registries to assign to this task set. For more
/// information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html">Service
/// Discovery</a>.
/// discovery</a>.
/// </para>
/// </summary>
public List<ServiceRegistry> ServiceRegistries
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace Amazon.ECS.Model
/// Container for the parameters to the DeleteTaskSet operation.
/// Deletes a specified task set within a service. This is used when a service uses the
/// <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>.
/// ECS deployment types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
/// </summary>
public partial class DeleteTaskSetRequest : AmazonECSRequest
{
Expand Down
Loading

0 comments on commit d7908cf

Please sign in to comment.