Skip to content

Commit 429a78d

Browse files
This is an Amazon ECs documentation only release to support the change of the container exit "reason" field from 255 characters to 1024 characters.
1 parent 6a30e33 commit 429a78d

18 files changed

+290
-5734
lines changed

generator/ServiceModels/ecs/ecs-2014-11-13.docs.json

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

generator/ServiceModels/ecs/ecs-2014-11-13.normal.json

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

sdk/src/Services/ECS/Generated/Model/ClientException.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,6 @@ namespace Amazon.ECS.Model
3333
/// These errors are usually caused by a client action. This client action might be using
3434
/// an action or resource on behalf of a user that doesn't have permissions to use the
3535
/// action or resource. Or, it might be specifying an identifier that isn't valid.
36-
///
37-
///
38-
/// <para>
39-
/// The following list includes additional causes for the error:
40-
/// </para>
41-
/// <ul> <li>
42-
/// <para>
43-
/// The <c>RunTask</c> could not be processed because you use managed scaling and there
44-
/// is a capacity error because the quota of tasks in the <c>PROVISIONING</c> per cluster
45-
/// has been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon
46-
/// ECS service quotas</a>.
47-
/// </para>
48-
/// </li> </ul>
4936
/// </summary>
5037
#if !NETSTANDARD
5138
[Serializable]

sdk/src/Services/ECS/Generated/Model/Container.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ internal bool IsSetNetworkInterfaces()
309309
/// <summary>
310310
/// Gets and sets the property Reason.
311311
/// <para>
312-
/// A short (255 max characters) human-readable string to provide additional details about
313-
/// a running or stopped container.
312+
/// A short (1024 max characters) human-readable string to provide additional details
313+
/// about a running or stopped container.
314314
/// </para>
315315
/// </summary>
316316
public string Reason

sdk/src/Services/ECS/Generated/Model/DeleteAccountSettingRequest.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,16 @@ internal bool IsSetName()
6565
/// <summary>
6666
/// Gets and sets the property PrincipalArn.
6767
/// <para>
68-
/// The Amazon Resource Name (ARN) of the principal. It can be an user, role, or the root
68+
/// The Amazon Resource Name (ARN) of the principal. It can be a user, role, or the root
6969
/// user. If you specify the root user, it disables the account setting for all users,
7070
/// roles, and the root user of the account unless a user or role explicitly overrides
7171
/// these settings. If this field is omitted, the setting is changed only for the authenticated
7272
/// user.
7373
/// </para>
74+
///
75+
/// <para>
76+
/// In order to use this parameter, you must be the root user, or the principal.
77+
/// </para>
7478
/// </summary>
7579
public string PrincipalArn
7680
{

sdk/src/Services/ECS/Generated/Model/ListAccountSettingsRequest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ internal bool IsSetNextToken()
138138
/// The ARN of the principal, which can be a user, role, or the root user. If this field
139139
/// is omitted, the account settings are listed only for the authenticated user.
140140
/// </para>
141+
///
142+
/// <para>
143+
/// In order to use this parameter, you must be the root user, or the principal.
144+
/// </para>
141145
/// <note>
142146
/// <para>
143147
/// Federated users assume the account setting of the root user and can't have explicit

sdk/src/Services/ECS/Generated/Model/PutAccountSettingRequest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ internal bool IsSetName()
189189
/// user of the account unless a user or role explicitly overrides these settings. If
190190
/// this field is omitted, the setting is changed only for the authenticated user.
191191
/// </para>
192+
///
193+
/// <para>
194+
/// In order to use this parameter, you must be the root user, or the principal.
195+
/// </para>
192196
/// <note>
193197
/// <para>
194198
/// You must use the root user when you set the Fargate wait time (<c>fargateTaskRetirementWaitPeriod</c>).

sdk/src/Services/ECS/Generated/Model/RegisterTaskDefinitionRequest.cs

Lines changed: 3 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -116,56 +116,10 @@ internal bool IsSetContainerDefinitions()
116116
/// </para>
117117
///
118118
/// <para>
119-
/// If you're using the Fargate launch type, this field is required and you must use one
120-
/// of the following values, which determines your range of supported values for the <c>memory</c>
121-
/// parameter:
119+
/// This field is required for Fargate. For information about the valid values, see <a
120+
/// href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">Task
121+
/// size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
122122
/// </para>
123-
///
124-
/// <para>
125-
/// The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate.
126-
/// </para>
127-
/// <ul> <li>
128-
/// <para>
129-
/// 256 (.25 vCPU) - Available <c>memory</c> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2
130-
/// GB)
131-
/// </para>
132-
/// </li> <li>
133-
/// <para>
134-
/// 512 (.5 vCPU) - Available <c>memory</c> values: 1024 (1 GB), 2048 (2 GB), 3072 (3
135-
/// GB), 4096 (4 GB)
136-
/// </para>
137-
/// </li> <li>
138-
/// <para>
139-
/// 1024 (1 vCPU) - Available <c>memory</c> values: 2048 (2 GB), 3072 (3 GB), 4096 (4
140-
/// GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)
141-
/// </para>
142-
/// </li> <li>
143-
/// <para>
144-
/// 2048 (2 vCPU) - Available <c>memory</c> values: 4096 (4 GB) and 16384 (16 GB) in increments
145-
/// of 1024 (1 GB)
146-
/// </para>
147-
/// </li> <li>
148-
/// <para>
149-
/// 4096 (4 vCPU) - Available <c>memory</c> values: 8192 (8 GB) and 30720 (30 GB) in increments
150-
/// of 1024 (1 GB)
151-
/// </para>
152-
/// </li> <li>
153-
/// <para>
154-
/// 8192 (8 vCPU) - Available <c>memory</c> values: 16 GB and 60 GB in 4 GB increments
155-
/// </para>
156-
///
157-
/// <para>
158-
/// This option requires Linux platform <c>1.4.0</c> or later.
159-
/// </para>
160-
/// </li> <li>
161-
/// <para>
162-
/// 16384 (16vCPU) - Available <c>memory</c> values: 32GB and 120 GB in 8 GB increments
163-
/// </para>
164-
///
165-
/// <para>
166-
/// This option requires Linux platform <c>1.4.0</c> or later.
167-
/// </para>
168-
/// </li> </ul>
169123
/// </summary>
170124
public string Cpu
171125
{

sdk/src/Services/ECS/Generated/Model/RunTaskRequest.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,14 @@ namespace Amazon.ECS.Model
106106
/// <para>
107107
/// Run <c>RunTask</c> with the <c>clientToken</c> and the original set of parameters
108108
/// </para>
109-
/// </li> </ul>
109+
/// </li> </ul>
110+
/// <para>
111+
/// If you get a <c>ClientException</c>error, the <c>RunTask</c> could not be processed
112+
/// because you use managed scaling and there is a capacity error because the quota of
113+
/// tasks in the <c>PROVISIONING</c> per cluster has been reached. For information about
114+
/// the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon
115+
/// ECS service quotas</a>.
116+
/// </para>
110117
/// </summary>
111118
public partial class RunTaskRequest : AmazonECSRequest
112119
{

sdk/src/Services/ECS/Generated/Model/StopServiceDeploymentRequest.cs

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,26 @@ namespace Amazon.ECS.Model
3333
/// Container for the parameters to the StopServiceDeployment operation.
3434
/// Stops an ongoing service deployment.
3535
///
36-
/// <note>
36+
///
3737
/// <para>
38-
/// StopServiceDeployment isn't currently supported.
38+
/// The following stop types are avaiable:
39+
/// </para>
40+
/// <ul> <li>
41+
/// <para>
42+
/// ROLLBACK - This option rolls back the service deployment to the previous service revision.
43+
///
44+
/// </para>
45+
///
46+
/// <para>
47+
/// You can use this option even if you didn't configure the service deployment for the
48+
/// rollback option.
49+
/// </para>
50+
/// </li> </ul>
51+
/// <para>
52+
/// For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stop-service-deployment.html">Stopping
53+
/// Amazon ECS service deployments</a> in the <i>Amazon Elastic Container Service Developer
54+
/// Guide</i>.
3955
/// </para>
40-
/// </note>
4156
/// </summary>
4257
public partial class StopServiceDeploymentRequest : AmazonECSRequest
4358
{
@@ -70,7 +85,7 @@ internal bool IsSetServiceDeploymentArn()
7085
/// </para>
7186
///
7287
/// <para>
73-
/// The ROLLBACK and ABORT stopType aren't supported.
88+
/// The valid values are <c>ROLLBACK</c>.
7489
/// </para>
7590
/// </summary>
7691
public StopServiceDeploymentStopType StopType

0 commit comments

Comments
 (0)