@aws-sdk/client-ecs 3.900.0 → 3.901.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.
@@ -1401,7 +1401,7 @@ export type ClusterSettingName = (typeof ClusterSettingName)[keyof typeof Cluste
1401
1401
  */
1402
1402
  export interface ClusterSetting {
1403
1403
  /**
1404
- * <p>The name of the cluster setting. The value is <code>containerInsights</code> .</p>
1404
+ * <p>The name of the cluster setting. The value is <code>containerInsights</code>.</p>
1405
1405
  * @public
1406
1406
  */
1407
1407
  name?: ClusterSettingName | undefined;
@@ -1994,7 +1994,7 @@ export interface DeploymentLifecycleHook {
1994
1994
  */
1995
1995
  lifecycleStages?: DeploymentLifecycleHookStage[] | undefined;
1996
1996
  /**
1997
- * <p>The details of the deployment lifecycle hook. This provides additional configuration for how the hook should be executed during deployment operations on Amazon ECS Managed Instances.</p>
1997
+ * <p>Use this field to specify custom parameters that Amazon ECS will pass to your hook target invocations (such as a Lambda function).</p>
1998
1998
  * @public
1999
1999
  */
2000
2000
  hookDetails?: __DocumentType | undefined;
@@ -2083,7 +2083,7 @@ export interface DeploymentConfiguration {
2083
2083
  * scheduler to start replacement tasks, the scheduler stops the unhealthy tasks one-by-one
2084
2084
  * — using the <code>minimumHealthyPercent</code> as a constraint — to clear up capacity to
2085
2085
  * launch replacement tasks. For more information about how the scheduler replaces
2086
- * unhealthy tasks, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Amazon ECS services</a> . </p>
2086
+ * unhealthy tasks, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Amazon ECS services</a>. </p>
2087
2087
  * <p>For services that <i>do not</i> use a load balancer, the following
2088
2088
  * should be noted:</p>
2089
2089
  * <ul>
@@ -3531,13 +3531,22 @@ export interface CreateServiceRequest {
3531
3531
  * the <i>
3532
3532
  * <i>Amazon Elastic Container Service Developer Guide</i>
3533
3533
  * </i>.</p>
3534
+ * <p>The default behavior of <code>AvailabilityZoneRebalancing</code> differs between create and update requests:</p>
3535
+ * <ul>
3536
+ * <li>
3537
+ * <p>For create service requests, when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults the value to <code>ENABLED</code>.</p>
3538
+ * </li>
3539
+ * <li>
3540
+ * <p>For update service requests, when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults to the existing service’s <code>AvailabilityZoneRebalancing</code> value. If the service never had an <code>AvailabilityZoneRebalancing</code> value set, Amazon ECS treats this as <code>DISABLED</code>.</p>
3541
+ * </li>
3542
+ * </ul>
3534
3543
  * @public
3535
3544
  */
3536
3545
  availabilityZoneRebalancing?: AvailabilityZoneRebalancing | undefined;
3537
3546
  /**
3538
3547
  * <p>A load balancer object representing the load balancers to use with your service. For
3539
3548
  * 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>.</p>
3540
- * <p>If the service uses the rolling update (<code>ECS</code>) deployment controller and
3549
+ * <p>If the service uses the <code>ECS</code> deployment controller and
3541
3550
  * using either an Application Load Balancer or Network Load Balancer, you must specify one or more target group ARNs to attach
3542
3551
  * to the service. The service-linked role is required for services that use multiple
3543
3552
  * target groups. 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
@@ -3691,16 +3700,8 @@ export interface CreateServiceRequest {
3691
3700
  */
3692
3701
  networkConfiguration?: NetworkConfiguration | undefined;
3693
3702
  /**
3694
- * <p>The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy
3695
- * Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you don't
3696
- * specify a health check grace period value, the default value of <code>0</code> is used.
3697
- * If you don't use any of the health checks, then
3698
- * <code>healthCheckGracePeriodSeconds</code> is unused.</p>
3699
- * <p>If your service's tasks take a while to start and respond to health checks, you can
3700
- * specify a health check grace period of up to 2,147,483,647 seconds (about 69 years).
3701
- * During that time, the Amazon ECS service scheduler ignores health check status. This grace
3702
- * period can prevent the service scheduler from marking tasks as unhealthy and stopping
3703
- * them before they have time to come up.</p>
3703
+ * <p>The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you do not specify a health check grace period value, the default value of 0 is used. If you do not use any of the health checks, then <code>healthCheckGracePeriodSeconds</code> is unused.</p>
3704
+ * <p>If your service has more running tasks than desired, unhealthy tasks in the grace period might be stopped to reach the desired count.</p>
3704
3705
  * @public
3705
3706
  */
3706
3707
  healthCheckGracePeriodSeconds?: number | undefined;
@@ -4491,6 +4492,7 @@ export interface Service {
4491
4492
  /**
4492
4493
  * <p>The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy
4493
4494
  * Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started.</p>
4495
+ * <p>If your service has more running tasks than desired, unhealthy tasks in the grace period might be stopped to reach the desired count.</p>
4494
4496
  * @public
4495
4497
  */
4496
4498
  healthCheckGracePeriodSeconds?: number | undefined;
@@ -4596,6 +4598,15 @@ export interface Service {
4596
4598
  * the <i>
4597
4599
  * <i>Amazon Elastic Container Service Developer Guide</i>
4598
4600
  * </i>.</p>
4601
+ * <p>The default behavior of <code>AvailabilityZoneRebalancing</code> differs between create and update requests:</p>
4602
+ * <ul>
4603
+ * <li>
4604
+ * <p>For create service requests, when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults the value to <code>ENABLED</code>.</p>
4605
+ * </li>
4606
+ * <li>
4607
+ * <p>For update service requests, when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults to the existing service’s <code>AvailabilityZoneRebalancing</code> value. If the service never had an <code>AvailabilityZoneRebalancing</code> value set, Amazon ECS treats this as <code>DISABLED</code>.</p>
4608
+ * </li>
4609
+ * </ul>
4599
4610
  * @public
4600
4611
  */
4601
4612
  availabilityZoneRebalancing?: AvailabilityZoneRebalancing | undefined;
@@ -6554,7 +6565,7 @@ export interface ContainerDefinition {
6554
6565
  * <p>Port mappings on Windows use the <code>NetNAT</code> gateway address rather than
6555
6566
  * <code>localhost</code>. There's no loopback for port mappings on Windows, so you
6556
6567
  * can't access a container's mapped port from the host itself. </p>
6557
- * <p>This parameter maps to <code>PortBindings</code> in the the docker container create
6568
+ * <p>This parameter maps to <code>PortBindings</code> in the docker container create
6558
6569
  * command and the <code>--publish</code> option to docker run. If the network mode of a
6559
6570
  * task definition is set to <code>none</code>, then you can't specify port mappings. If
6560
6571
  * the network mode of a task definition is set to <code>host</code>, then host ports must
@@ -1175,7 +1175,7 @@ export interface RunTaskRequest {
1175
1175
  clientToken?: string | undefined;
1176
1176
  /**
1177
1177
  * <p>The details of the volume that was <code>configuredAtLaunch</code>. You can configure
1178
- * the size, volumeType, IOPS, throughput, snapshot and encryption in in <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskManagedEBSVolumeConfiguration.html">TaskManagedEBSVolumeConfiguration</a>. The <code>name</code> of the volume must
1178
+ * the size, volumeType, IOPS, throughput, snapshot and encryption in <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskManagedEBSVolumeConfiguration.html">TaskManagedEBSVolumeConfiguration</a>. The <code>name</code> of the volume must
1179
1179
  * match the <code>name</code> from the task definition.</p>
1180
1180
  * @public
1181
1181
  */
@@ -2127,6 +2127,15 @@ export interface UpdateServiceRequest {
2127
2127
  * the <i>
2128
2128
  * <i>Amazon Elastic Container Service Developer Guide</i>
2129
2129
  * </i>.</p>
2130
+ * <p>The default behavior of <code>AvailabilityZoneRebalancing</code> differs between create and update requests:</p>
2131
+ * <ul>
2132
+ * <li>
2133
+ * <p>For create service requests, when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults the value to <code>ENABLED</code>.</p>
2134
+ * </li>
2135
+ * <li>
2136
+ * <p>For update service requests, when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults to the existing service’s <code>AvailabilityZoneRebalancing</code> value. If the service never had an <code>AvailabilityZoneRebalancing</code> value set, Amazon ECS treats this as <code>DISABLED</code>.</p>
2137
+ * </li>
2138
+ * </ul>
2130
2139
  * <p>This parameter doesn't trigger a new service deployment.</p>
2131
2140
  * @public
2132
2141
  */
@@ -2189,6 +2198,7 @@ export interface UpdateServiceRequest {
2189
2198
  * During that time, the Amazon ECS service scheduler ignores health check status. This grace
2190
2199
  * period can prevent the service scheduler from marking tasks as unhealthy and stopping
2191
2200
  * them before they have time to come up.</p>
2201
+ * <p>If your service has more running tasks than desired, unhealthy tasks in the grace period might be stopped to reach the desired count.</p>
2192
2202
  * <p>This parameter doesn't trigger a new service deployment.</p>
2193
2203
  * @public
2194
2204
  */
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.900.0",
4
+ "version": "3.901.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,44 +20,44 @@
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.899.0",
24
- "@aws-sdk/credential-provider-node": "3.899.0",
25
- "@aws-sdk/middleware-host-header": "3.893.0",
26
- "@aws-sdk/middleware-logger": "3.893.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.893.0",
28
- "@aws-sdk/middleware-user-agent": "3.899.0",
29
- "@aws-sdk/region-config-resolver": "3.893.0",
30
- "@aws-sdk/types": "3.893.0",
31
- "@aws-sdk/util-endpoints": "3.895.0",
32
- "@aws-sdk/util-user-agent-browser": "3.893.0",
33
- "@aws-sdk/util-user-agent-node": "3.899.0",
34
- "@smithy/config-resolver": "^4.2.2",
35
- "@smithy/core": "^3.13.0",
36
- "@smithy/fetch-http-handler": "^5.2.1",
37
- "@smithy/hash-node": "^4.1.1",
38
- "@smithy/invalid-dependency": "^4.1.1",
39
- "@smithy/middleware-content-length": "^4.1.1",
40
- "@smithy/middleware-endpoint": "^4.2.5",
41
- "@smithy/middleware-retry": "^4.3.1",
42
- "@smithy/middleware-serde": "^4.1.1",
43
- "@smithy/middleware-stack": "^4.1.1",
44
- "@smithy/node-config-provider": "^4.2.2",
45
- "@smithy/node-http-handler": "^4.2.1",
46
- "@smithy/protocol-http": "^5.2.1",
47
- "@smithy/smithy-client": "^4.6.5",
48
- "@smithy/types": "^4.5.0",
49
- "@smithy/url-parser": "^4.1.1",
50
- "@smithy/util-base64": "^4.1.0",
51
- "@smithy/util-body-length-browser": "^4.1.0",
52
- "@smithy/util-body-length-node": "^4.1.0",
53
- "@smithy/util-defaults-mode-browser": "^4.1.5",
54
- "@smithy/util-defaults-mode-node": "^4.1.5",
55
- "@smithy/util-endpoints": "^3.1.2",
56
- "@smithy/util-middleware": "^4.1.1",
57
- "@smithy/util-retry": "^4.1.2",
58
- "@smithy/util-utf8": "^4.1.0",
59
- "@smithy/util-waiter": "^4.1.1",
60
- "@smithy/uuid": "^1.0.0",
23
+ "@aws-sdk/core": "3.901.0",
24
+ "@aws-sdk/credential-provider-node": "3.901.0",
25
+ "@aws-sdk/middleware-host-header": "3.901.0",
26
+ "@aws-sdk/middleware-logger": "3.901.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.901.0",
28
+ "@aws-sdk/middleware-user-agent": "3.901.0",
29
+ "@aws-sdk/region-config-resolver": "3.901.0",
30
+ "@aws-sdk/types": "3.901.0",
31
+ "@aws-sdk/util-endpoints": "3.901.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.901.0",
33
+ "@aws-sdk/util-user-agent-node": "3.901.0",
34
+ "@smithy/config-resolver": "^4.3.0",
35
+ "@smithy/core": "^3.14.0",
36
+ "@smithy/fetch-http-handler": "^5.3.0",
37
+ "@smithy/hash-node": "^4.2.0",
38
+ "@smithy/invalid-dependency": "^4.2.0",
39
+ "@smithy/middleware-content-length": "^4.2.0",
40
+ "@smithy/middleware-endpoint": "^4.3.0",
41
+ "@smithy/middleware-retry": "^4.4.0",
42
+ "@smithy/middleware-serde": "^4.2.0",
43
+ "@smithy/middleware-stack": "^4.2.0",
44
+ "@smithy/node-config-provider": "^4.3.0",
45
+ "@smithy/node-http-handler": "^4.3.0",
46
+ "@smithy/protocol-http": "^5.3.0",
47
+ "@smithy/smithy-client": "^4.7.0",
48
+ "@smithy/types": "^4.6.0",
49
+ "@smithy/url-parser": "^4.2.0",
50
+ "@smithy/util-base64": "^4.2.0",
51
+ "@smithy/util-body-length-browser": "^4.2.0",
52
+ "@smithy/util-body-length-node": "^4.2.0",
53
+ "@smithy/util-defaults-mode-browser": "^4.2.0",
54
+ "@smithy/util-defaults-mode-node": "^4.2.0",
55
+ "@smithy/util-endpoints": "^3.2.0",
56
+ "@smithy/util-middleware": "^4.2.0",
57
+ "@smithy/util-retry": "^4.2.0",
58
+ "@smithy/util-utf8": "^4.2.0",
59
+ "@smithy/util-waiter": "^4.2.0",
60
+ "@smithy/uuid": "^1.1.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {