@aws-sdk/client-ecs 3.830.0 → 3.835.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 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 infomation, 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
+ * 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 infomation, 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>
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 infomation, 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>
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 infomation, 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
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 infomation on volumes,
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 infomation, 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>
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
@@ -8,7 +8,7 @@ export interface ClientInputEndpointParameters {
8
8
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
- export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
11
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
@@ -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>. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to <code>Image</code> in the docker
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 EC2 capacity provider.</p>
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 EC2 capacity provider.</p>
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 EC2 or Fargate capacity provider back to the launch type.</p>
382
- * <p>Pass an empty list in the <code>capacityProvider</code> parameter.</p>
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>
@@ -16,7 +16,10 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
19
+ export type ClientResolvedEndpointParameters = Pick<
20
+ ClientInputEndpointParameters,
21
+ Exclude<keyof ClientInputEndpointParameters, "endpoint">
22
+ > & {
20
23
  defaultSigningName: string;
21
24
  };
22
25
  export declare const resolveClientEndpointParameters: <T>(
@@ -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.830.0",
4
+ "version": "3.835.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",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.826.0",
24
- "@aws-sdk/credential-provider-node": "3.830.0",
23
+ "@aws-sdk/core": "3.835.0",
24
+ "@aws-sdk/credential-provider-node": "3.835.0",
25
25
  "@aws-sdk/middleware-host-header": "3.821.0",
26
26
  "@aws-sdk/middleware-logger": "3.821.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
28
- "@aws-sdk/middleware-user-agent": "3.828.0",
28
+ "@aws-sdk/middleware-user-agent": "3.835.0",
29
29
  "@aws-sdk/region-config-resolver": "3.821.0",
30
30
  "@aws-sdk/types": "3.821.0",
31
31
  "@aws-sdk/util-endpoints": "3.828.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.821.0",
33
- "@aws-sdk/util-user-agent-node": "3.828.0",
33
+ "@aws-sdk/util-user-agent-node": "3.835.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
35
  "@smithy/core": "^3.5.3",
36
36
  "@smithy/fetch-http-handler": "^5.0.4",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.11",
41
- "@smithy/middleware-retry": "^4.1.12",
40
+ "@smithy/middleware-endpoint": "^4.1.12",
41
+ "@smithy/middleware-retry": "^4.1.13",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.0.6",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.3",
47
+ "@smithy/smithy-client": "^4.4.4",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.19",
54
- "@smithy/util-defaults-mode-node": "^4.0.19",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.20",
54
+ "@smithy/util-defaults-mode-node": "^4.0.20",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
- "@smithy/util-retry": "^4.0.5",
57
+ "@smithy/util-retry": "^4.0.6",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
59
  "@smithy/util-waiter": "^4.0.5",
60
60
  "@types/uuid": "^9.0.1",