Skip to content

Commit 0e63f84

Browse files
Add ECS support for Windows Server 2025
1 parent fcc113e commit 0e63f84

15 files changed

+91
-74
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2812,6 +2812,8 @@
28122812
"WINDOWS_SERVER_2004_CORE",
28132813
"WINDOWS_SERVER_2022_CORE",
28142814
"WINDOWS_SERVER_2022_FULL",
2815+
"WINDOWS_SERVER_2025_CORE",
2816+
"WINDOWS_SERVER_2025_FULL",
28152817
"WINDOWS_SERVER_20H2_CORE",
28162818
"LINUX"
28172819
]

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

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

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

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

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -646,10 +646,15 @@ internal bool IsSetHostname()
646646
/// The image used to start a container. This string is passed directly to the Docker
647647
/// daemon. By default, images in the Docker Hub registry are available. Other repositories
648648
/// are specified with either <c> <i>repository-url</i>/<i>image</i>:<i>tag</i> </c> or
649-
/// <c> <i>repository-url</i>/<i>image</i>@<i>digest</i> </c>. Up to 255 letters (uppercase
650-
/// and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and
651-
/// number signs are allowed. This parameter maps to <c>Image</c> in the docker container
652-
/// create command and the <c>IMAGE</c> parameter of docker run.
649+
/// <c> <i>repository-url</i>/<i>image</i>@<i>digest</i> </c>. For images using tags (repository-url/image:tag),
650+
/// up to 255 characters total are allowed, including letters (uppercase and lowercase),
651+
/// numbers, hyphens, underscores, colons, periods, forward slashes, and number signs
652+
/// (#). For images using digests (repository-url/image@digest), the 255 character limit
653+
/// applies only to the repository URL and image name (everything before the @ sign).
654+
/// The only supported hash function is sha256, and the hash value after sha256: must
655+
/// be exactly 64 characters (only letters A-F, a-f, and numbers 0-9 are allowed). This
656+
/// parameter maps to <c>Image</c> in the docker container create command and the <c>IMAGE</c>
657+
/// parameter of docker run.
653658
/// </para>
654659
/// <ul> <li>
655660
/// <para>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ namespace Amazon.ECS.Model
5858
/// <para>
5959
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
6060
/// creating or updating a service. <c>volumeConfigurations</c> is only supported for
61-
/// REPLICA service and not DAEMON service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
61+
/// REPLICA service and not DAEMON service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
6262
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
6363
/// </para>
6464
///

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ namespace Amazon.ECS.Model
5858
///
5959
/// <para>
6060
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
61-
/// creating or updating a service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
61+
/// creating or updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
6262
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
6363
/// </para>
6464
///

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ namespace Amazon.ECS.Model
5353
///
5454
/// <para>
5555
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
56-
/// creating or updating a service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
56+
/// creating or updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
5757
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
5858
/// </para>
5959
/// </summary>

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ namespace Amazon.ECS.Model
5050
///
5151
/// <para>
5252
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
53-
/// starting or running a task, or when creating or updating a service. For more infomation,
53+
/// starting or running a task, or when creating or updating a service. For more information,
5454
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
5555
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. You
5656
/// can update your volume configurations and trigger a new deployment. <c>volumeConfigurations</c>
5757
/// is only supported for REPLICA service and not DAEMON service. If you leave <c>volumeConfigurations</c>
58-
/// <c>null</c>, it doesn't trigger a new deployment. For more infomation on volumes,
58+
/// <c>null</c>, it doesn't trigger a new deployment. For more information on volumes,
5959
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
6060
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
6161
/// </para>
@@ -86,7 +86,7 @@ namespace Amazon.ECS.Model
8686
///
8787
/// <para>
8888
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
89-
/// starting or running a task, or when creating or updating a service. For more infomation,
89+
/// starting or running a task, or when creating or updating a service. For more information,
9090
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
9191
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
9292
/// </para>
@@ -260,27 +260,27 @@ internal bool IsSetAvailabilityZoneRebalancing()
260260
/// </para>
261261
/// <ul> <li>
262262
/// <para>
263-
/// Update the Fargate launch type to an EC2 capacity provider.
263+
/// Update the Fargate launch type to an Auto Scaling group capacity provider.
264264
/// </para>
265265
/// </li> <li>
266266
/// <para>
267267
/// Update the Amazon EC2 launch type to a Fargate capacity provider.
268268
/// </para>
269269
/// </li> <li>
270270
/// <para>
271-
/// Update the Fargate capacity provider to an EC2 capacity provider.
271+
/// Update the Fargate capacity provider to an Auto Scaling group capacity provider.
272272
/// </para>
273273
/// </li> <li>
274274
/// <para>
275275
/// Update the Amazon EC2 capacity provider to a Fargate capacity provider.
276276
/// </para>
277277
/// </li> <li>
278278
/// <para>
279-
/// Update the EC2 or Fargate capacity provider back to the launch type.
279+
/// Update the Auto Scaling group or Fargate capacity provider back to the launch type.
280280
/// </para>
281281
///
282282
/// <para>
283-
/// Pass an empty list in the <c>capacityProvider</c> parameter.
283+
/// Pass an empty list in the <c>capacityProviderStrategy</c> parameter.
284284
/// </para>
285285
/// </li> </ul>
286286
/// <para>

sdk/src/Services/ECS/Generated/ServiceEnumerations.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1979,6 +1979,14 @@ public class OSFamily : ConstantClass
19791979
/// </summary>
19801980
public static readonly OSFamily WINDOWS_SERVER_2022_FULL = new OSFamily("WINDOWS_SERVER_2022_FULL");
19811981
/// <summary>
1982+
/// Constant WINDOWS_SERVER_2025_CORE for OSFamily
1983+
/// </summary>
1984+
public static readonly OSFamily WINDOWS_SERVER_2025_CORE = new OSFamily("WINDOWS_SERVER_2025_CORE");
1985+
/// <summary>
1986+
/// Constant WINDOWS_SERVER_2025_FULL for OSFamily
1987+
/// </summary>
1988+
public static readonly OSFamily WINDOWS_SERVER_2025_FULL = new OSFamily("WINDOWS_SERVER_2025_FULL");
1989+
/// <summary>
19821990
/// Constant WINDOWS_SERVER_20H2_CORE for OSFamily
19831991
/// </summary>
19841992
public static readonly OSFamily WINDOWS_SERVER_20H2_CORE = new OSFamily("WINDOWS_SERVER_20H2_CORE");

sdk/src/Services/ECS/Generated/_bcl35/AmazonECSClient.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ public virtual CreateClusterResponse EndCreateCluster(IAsyncResult asyncResult)
496496
/// <para>
497497
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
498498
/// creating or updating a service. <c>volumeConfigurations</c> is only supported for
499-
/// REPLICA service and not DAEMON service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
499+
/// REPLICA service and not DAEMON service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
500500
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
501501
/// </para>
502502
///
@@ -3885,7 +3885,7 @@ public virtual RegisterTaskDefinitionResponse EndRegisterTaskDefinition(IAsyncRe
38853885
///
38863886
/// <para>
38873887
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
3888-
/// creating or updating a service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
3888+
/// creating or updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
38893889
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
38903890
/// </para>
38913891
///
@@ -4058,7 +4058,7 @@ public virtual RunTaskResponse EndRunTask(IAsyncResult asyncResult)
40584058
///
40594059
/// <para>
40604060
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
4061-
/// creating or updating a service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
4061+
/// creating or updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
40624062
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
40634063
/// </para>
40644064
/// </summary>
@@ -5089,12 +5089,12 @@ public virtual UpdateContainerInstancesStateResponse EndUpdateContainerInstances
50895089
///
50905090
/// <para>
50915091
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
5092-
/// starting or running a task, or when creating or updating a service. For more infomation,
5092+
/// starting or running a task, or when creating or updating a service. For more information,
50935093
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
50945094
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. You
50955095
/// can update your volume configurations and trigger a new deployment. <c>volumeConfigurations</c>
50965096
/// is only supported for REPLICA service and not DAEMON service. If you leave <c>volumeConfigurations</c>
5097-
/// <c>null</c>, it doesn't trigger a new deployment. For more infomation on volumes,
5097+
/// <c>null</c>, it doesn't trigger a new deployment. For more information on volumes,
50985098
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
50995099
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
51005100
/// </para>
@@ -5125,7 +5125,7 @@ public virtual UpdateContainerInstancesStateResponse EndUpdateContainerInstances
51255125
///
51265126
/// <para>
51275127
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
5128-
/// starting or running a task, or when creating or updating a service. For more infomation,
5128+
/// starting or running a task, or when creating or updating a service. For more information,
51295129
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
51305130
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
51315131
/// </para>

0 commit comments

Comments
 (0)