@aws-sdk/client-ecs 3.830.0 → 3.834.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +2 -0
- package/dist-es/models/models_0.js +2 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/RunTaskCommand.d.ts +1 -1
- package/dist-types/commands/StartTaskCommand.d.ts +1 -1
- package/dist-types/commands/UpdateServiceCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +3 -1
- package/dist-types/models/models_1.d.ts +4 -4
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -895,6 +895,8 @@ var OSFamily = {
|
|
|
895
895
|
WINDOWS_SERVER_2019_FULL: "WINDOWS_SERVER_2019_FULL",
|
|
896
896
|
WINDOWS_SERVER_2022_CORE: "WINDOWS_SERVER_2022_CORE",
|
|
897
897
|
WINDOWS_SERVER_2022_FULL: "WINDOWS_SERVER_2022_FULL",
|
|
898
|
+
WINDOWS_SERVER_2025_CORE: "WINDOWS_SERVER_2025_CORE",
|
|
899
|
+
WINDOWS_SERVER_2025_FULL: "WINDOWS_SERVER_2025_FULL",
|
|
898
900
|
WINDOWS_SERVER_20H2_CORE: "WINDOWS_SERVER_20H2_CORE"
|
|
899
901
|
};
|
|
900
902
|
var TaskDefinitionStatus = {
|
|
@@ -420,6 +420,8 @@ export const OSFamily = {
|
|
|
420
420
|
WINDOWS_SERVER_2019_FULL: "WINDOWS_SERVER_2019_FULL",
|
|
421
421
|
WINDOWS_SERVER_2022_CORE: "WINDOWS_SERVER_2022_CORE",
|
|
422
422
|
WINDOWS_SERVER_2022_FULL: "WINDOWS_SERVER_2022_FULL",
|
|
423
|
+
WINDOWS_SERVER_2025_CORE: "WINDOWS_SERVER_2025_CORE",
|
|
424
|
+
WINDOWS_SERVER_2025_FULL: "WINDOWS_SERVER_2025_FULL",
|
|
423
425
|
WINDOWS_SERVER_20H2_CORE: "WINDOWS_SERVER_20H2_CORE",
|
|
424
426
|
};
|
|
425
427
|
export const TaskDefinitionStatus = {
|
|
@@ -43,7 +43,7 @@ declare const CreateServiceCommand_base: {
|
|
|
43
43
|
* 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>.</p>
|
|
44
44
|
* <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or
|
|
45
45
|
* updating a service. <code>volumeConfigurations</code> is only supported for REPLICA
|
|
46
|
-
* service and not DAEMON service. For more
|
|
46
|
+
* 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 EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
47
47
|
* <p>Tasks for services that don't use a load balancer are considered healthy if they're in
|
|
48
48
|
* the <code>RUNNING</code> state. Tasks for services that use a load balancer are
|
|
49
49
|
* considered healthy if they're in the <code>RUNNING</code> state and are reported as
|
|
@@ -301,7 +301,7 @@ declare const DeleteTaskDefinitionsCommand_base: {
|
|
|
301
301
|
* // ],
|
|
302
302
|
* // runtimePlatform: { // RuntimePlatform
|
|
303
303
|
* // cpuArchitecture: "X86_64" || "ARM64",
|
|
304
|
-
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
|
|
304
|
+
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_2025_CORE" || "WINDOWS_SERVER_2025_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
|
|
305
305
|
* // },
|
|
306
306
|
* // requiresCompatibilities: [
|
|
307
307
|
* // "EC2" || "FARGATE" || "EXTERNAL",
|
|
@@ -296,7 +296,7 @@ declare const DeregisterTaskDefinitionCommand_base: {
|
|
|
296
296
|
* // ],
|
|
297
297
|
* // runtimePlatform: { // RuntimePlatform
|
|
298
298
|
* // cpuArchitecture: "X86_64" || "ARM64",
|
|
299
|
-
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
|
|
299
|
+
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_2025_CORE" || "WINDOWS_SERVER_2025_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
|
|
300
300
|
* // },
|
|
301
301
|
* // requiresCompatibilities: [
|
|
302
302
|
* // "EC2" || "FARGATE" || "EXTERNAL",
|
|
@@ -289,7 +289,7 @@ declare const DescribeTaskDefinitionCommand_base: {
|
|
|
289
289
|
* // ],
|
|
290
290
|
* // runtimePlatform: { // RuntimePlatform
|
|
291
291
|
* // cpuArchitecture: "X86_64" || "ARM64",
|
|
292
|
-
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
|
|
292
|
+
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_2025_CORE" || "WINDOWS_SERVER_2025_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
|
|
293
293
|
* // },
|
|
294
294
|
* // requiresCompatibilities: [
|
|
295
295
|
* // "EC2" || "FARGATE" || "EXTERNAL",
|
|
@@ -306,7 +306,7 @@ declare const RegisterTaskDefinitionCommand_base: {
|
|
|
306
306
|
* },
|
|
307
307
|
* runtimePlatform: { // RuntimePlatform
|
|
308
308
|
* cpuArchitecture: "X86_64" || "ARM64",
|
|
309
|
-
* operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
|
|
309
|
+
* operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_2025_CORE" || "WINDOWS_SERVER_2025_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
|
|
310
310
|
* },
|
|
311
311
|
* enableFaultInjection: true || false,
|
|
312
312
|
* };
|
|
@@ -552,7 +552,7 @@ declare const RegisterTaskDefinitionCommand_base: {
|
|
|
552
552
|
* // ],
|
|
553
553
|
* // runtimePlatform: { // RuntimePlatform
|
|
554
554
|
* // cpuArchitecture: "X86_64" || "ARM64",
|
|
555
|
-
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
|
|
555
|
+
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_2025_CORE" || "WINDOWS_SERVER_2025_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
|
|
556
556
|
* // },
|
|
557
557
|
* // requiresCompatibilities: [
|
|
558
558
|
* // "EC2" || "FARGATE" || "EXTERNAL",
|
|
@@ -40,7 +40,7 @@ declare const RunTaskCommand_base: {
|
|
|
40
40
|
* <p>Alternatively, you can use <code>StartTask</code> to use your own scheduler or place
|
|
41
41
|
* tasks manually on specific container instances.</p>
|
|
42
42
|
* <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or
|
|
43
|
-
* updating a service. For more
|
|
43
|
+
* updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
44
44
|
* <p>The Amazon ECS API follows an eventual consistency model. This is because of the
|
|
45
45
|
* distributed nature of the system supporting the API. This means that the result of an
|
|
46
46
|
* API command you run that affects your Amazon ECS resources might not be immediately visible
|
|
@@ -38,7 +38,7 @@ declare const StartTaskCommand_base: {
|
|
|
38
38
|
* <p>Alternatively, you can use<code>RunTask</code> to place tasks for you. For more
|
|
39
39
|
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html">Scheduling Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
40
40
|
* <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or
|
|
41
|
-
* updating a service. For more
|
|
41
|
+
* updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
42
42
|
* @example
|
|
43
43
|
* Use a bare-bones client and the command you need to make an API call.
|
|
44
44
|
* ```javascript
|
|
@@ -37,11 +37,11 @@ declare const UpdateServiceCommand_base: {
|
|
|
37
37
|
* constraints and strategies, and task definition. When you update any of these
|
|
38
38
|
* parameters, Amazon ECS starts new tasks with the new configuration. </p>
|
|
39
39
|
* <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or
|
|
40
|
-
* running a task, or when creating or updating a service. For more
|
|
40
|
+
* running a task, or when 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 EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. You can update
|
|
41
41
|
* your volume configurations and trigger a new deployment.
|
|
42
42
|
* <code>volumeConfigurations</code> is only supported for REPLICA service and not
|
|
43
43
|
* DAEMON service. If you leave <code>volumeConfigurations</code>
|
|
44
|
-
* <code>null</code>, it doesn't trigger a new deployment. For more
|
|
44
|
+
* <code>null</code>, it doesn't trigger a new deployment. For more information on volumes,
|
|
45
45
|
* see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
46
46
|
* <p>For services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller,
|
|
47
47
|
* only the desired count, deployment configuration, health check grace period, task
|
|
@@ -58,7 +58,7 @@ declare const UpdateServiceCommand_base: {
|
|
|
58
58
|
* service by specifying the cluster that the service is running in and a new
|
|
59
59
|
* <code>desiredCount</code> parameter.</p>
|
|
60
60
|
* <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or
|
|
61
|
-
* running a task, or when creating or updating a service. For more
|
|
61
|
+
* running a task, or when 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 EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
62
62
|
* <p>If you have updated the container image of your application, you can create a new task
|
|
63
63
|
* definition with that image and deploy it to your service. The service scheduler uses the
|
|
64
64
|
* minimum healthy percent and maximum percent parameters (in the service's deployment
|
|
@@ -5450,7 +5450,7 @@ export interface ContainerDefinition {
|
|
|
5450
5450
|
* <i>repository-url</i>/<i>image</i>:<i>tag</i>
|
|
5451
5451
|
* </code> or <code>
|
|
5452
5452
|
* <i>repository-url</i>/<i>image</i>@<i>digest</i>
|
|
5453
|
-
* </code>.
|
|
5453
|
+
* </code>. For images using tags (repository-url/image:tag), up to 255 characters total are allowed, including letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs (#). For images using digests (repository-url/image@digest), the 255 character limit applies only to the repository URL and image name (everything before the @ sign). The only supported hash function is sha256, and the hash value after sha256: must be exactly 64 characters (only letters A-F, a-f, and numbers 0-9 are allowed). This parameter maps to <code>Image</code> in the docker
|
|
5454
5454
|
* container create command and the <code>IMAGE</code> parameter of docker run.</p>
|
|
5455
5455
|
* <ul>
|
|
5456
5456
|
* <li>
|
|
@@ -6366,6 +6366,8 @@ export declare const OSFamily: {
|
|
|
6366
6366
|
readonly WINDOWS_SERVER_2019_FULL: "WINDOWS_SERVER_2019_FULL";
|
|
6367
6367
|
readonly WINDOWS_SERVER_2022_CORE: "WINDOWS_SERVER_2022_CORE";
|
|
6368
6368
|
readonly WINDOWS_SERVER_2022_FULL: "WINDOWS_SERVER_2022_FULL";
|
|
6369
|
+
readonly WINDOWS_SERVER_2025_CORE: "WINDOWS_SERVER_2025_CORE";
|
|
6370
|
+
readonly WINDOWS_SERVER_2025_FULL: "WINDOWS_SERVER_2025_FULL";
|
|
6369
6371
|
readonly WINDOWS_SERVER_20H2_CORE: "WINDOWS_SERVER_20H2_CORE";
|
|
6370
6372
|
};
|
|
6371
6373
|
/**
|
|
@@ -366,20 +366,20 @@ export interface UpdateServiceRequest {
|
|
|
366
366
|
* <p>The following list provides the valid transitions:</p>
|
|
367
367
|
* <ul>
|
|
368
368
|
* <li>
|
|
369
|
-
* <p>Update the Fargate launch type to an
|
|
369
|
+
* <p>Update the Fargate launch type to an Auto Scaling group capacity provider.</p>
|
|
370
370
|
* </li>
|
|
371
371
|
* <li>
|
|
372
372
|
* <p>Update the Amazon EC2 launch type to a Fargate capacity provider.</p>
|
|
373
373
|
* </li>
|
|
374
374
|
* <li>
|
|
375
|
-
* <p>Update the Fargate capacity provider to an
|
|
375
|
+
* <p>Update the Fargate capacity provider to an Auto Scaling group capacity provider.</p>
|
|
376
376
|
* </li>
|
|
377
377
|
* <li>
|
|
378
378
|
* <p>Update the Amazon EC2 capacity provider to a Fargate capacity provider. </p>
|
|
379
379
|
* </li>
|
|
380
380
|
* <li>
|
|
381
|
-
* <p>Update the
|
|
382
|
-
* <p>Pass an empty list in the <code>
|
|
381
|
+
* <p>Update the Auto Scaling group or Fargate capacity provider back to the launch type.</p>
|
|
382
|
+
* <p>Pass an empty list in the <code>capacityProviderStrategy</code> parameter.</p>
|
|
383
383
|
* </li>
|
|
384
384
|
* </ul>
|
|
385
385
|
* <p>For information about Amazon Web Services CDK considerations, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service-parameters.html">Amazon Web Services CDK considerations</a>.</p>
|
|
@@ -977,6 +977,8 @@ export declare const OSFamily: {
|
|
|
977
977
|
readonly WINDOWS_SERVER_2019_FULL: "WINDOWS_SERVER_2019_FULL";
|
|
978
978
|
readonly WINDOWS_SERVER_2022_CORE: "WINDOWS_SERVER_2022_CORE";
|
|
979
979
|
readonly WINDOWS_SERVER_2022_FULL: "WINDOWS_SERVER_2022_FULL";
|
|
980
|
+
readonly WINDOWS_SERVER_2025_CORE: "WINDOWS_SERVER_2025_CORE";
|
|
981
|
+
readonly WINDOWS_SERVER_2025_FULL: "WINDOWS_SERVER_2025_FULL";
|
|
980
982
|
readonly WINDOWS_SERVER_20H2_CORE: "WINDOWS_SERVER_20H2_CORE";
|
|
981
983
|
};
|
|
982
984
|
export type OSFamily = (typeof OSFamily)[keyof typeof OSFamily];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.834.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ecs",
|