@aws-sdk/client-ecs 3.882.0 → 3.883.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.
@@ -401,7 +401,7 @@ declare const RunTaskCommand_base: {
401
401
  *
402
402
  * @throws {@link BlockedException} (client fault)
403
403
  * <p>Your Amazon Web Services account was blocked. For more information, contact <a href="http://aws.amazon.com/contact-us/">
404
- * Amazon Web ServicesSupport</a>.</p>
404
+ * Amazon Web Services Support</a>.</p>
405
405
  *
406
406
  * @throws {@link ClientException} (client fault)
407
407
  * <p>These errors are usually caused by a client action. This client action might be using
@@ -796,7 +796,7 @@ export type ClusterSettingName = (typeof ClusterSettingName)[keyof typeof Cluste
796
796
  */
797
797
  export interface ClusterSetting {
798
798
  /**
799
- * <p>The name of the cluster setting. The value is <code>containerInsights</code> .</p>
799
+ * <p>The name of the cluster setting. The value is <code>containerInsights</code>.</p>
800
800
  * @public
801
801
  */
802
802
  name?: ClusterSettingName | undefined;
@@ -1485,7 +1485,7 @@ export interface DeploymentConfiguration {
1485
1485
  * scheduler to start replacement tasks, the scheduler stops the unhealthy tasks one-by-one
1486
1486
  * — using the <code>minimumHealthyPercent</code> as a constraint — to clear up capacity to
1487
1487
  * launch replacement tasks. For more information about how the scheduler replaces
1488
- * unhealthy tasks, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Amazon ECS services</a> . </p>
1488
+ * unhealthy tasks, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Amazon ECS services</a>. </p>
1489
1489
  * <p>For services that <i>do not</i> use a load balancer, the following
1490
1490
  * should be noted:</p>
1491
1491
  * <ul>
@@ -2932,13 +2932,22 @@ export interface CreateServiceRequest {
2932
2932
  * the <i>
2933
2933
  * <i>Amazon Elastic Container Service Developer Guide</i>
2934
2934
  * </i>.</p>
2935
+ * <p>The default behavior of <code>AvailabilityZoneRebalancing</code> differs between create and update requests:</p>
2936
+ * <ul>
2937
+ * <li>
2938
+ * <p>For create service requests, when when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults the value to to <code>ENABLED</code>.</p>
2939
+ * </li>
2940
+ * <li>
2941
+ * <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>
2942
+ * </li>
2943
+ * </ul>
2935
2944
  * @public
2936
2945
  */
2937
2946
  availabilityZoneRebalancing?: AvailabilityZoneRebalancing | undefined;
2938
2947
  /**
2939
2948
  * <p>A load balancer object representing the load balancers to use with your service. For
2940
2949
  * 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>
2941
- * <p>If the service uses the rolling update (<code>ECS</code>) deployment controller and
2950
+ * <p>If the service uses the <code>ECS</code> deployment controller and
2942
2951
  * using either an Application Load Balancer or Network Load Balancer, you must specify one or more target group ARNs to attach
2943
2952
  * to the service. The service-linked role is required for services that use multiple
2944
2953
  * 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
@@ -3092,16 +3101,7 @@ export interface CreateServiceRequest {
3092
3101
  */
3093
3102
  networkConfiguration?: NetworkConfiguration | undefined;
3094
3103
  /**
3095
- * <p>The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy
3096
- * Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you don't
3097
- * specify a health check grace period value, the default value of <code>0</code> is used.
3098
- * If you don't use any of the health checks, then
3099
- * <code>healthCheckGracePeriodSeconds</code> is unused.</p>
3100
- * <p>If your service's tasks take a while to start and respond to health checks, you can
3101
- * specify a health check grace period of up to 2,147,483,647 seconds (about 69 years).
3102
- * During that time, the Amazon ECS service scheduler ignores health check status. This grace
3103
- * period can prevent the service scheduler from marking tasks as unhealthy and stopping
3104
- * them before they have time to come up.</p>
3104
+ * <p>The period of time, in seconds, that the Amazon 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>
3105
3105
  * @public
3106
3106
  */
3107
3107
  healthCheckGracePeriodSeconds?: number | undefined;
@@ -3891,7 +3891,7 @@ export interface Service {
3891
3891
  networkConfiguration?: NetworkConfiguration | undefined;
3892
3892
  /**
3893
3893
  * <p>The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy
3894
- * Elastic Load Balancing target health checks after a task has first started.</p>
3894
+ * Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started.</p>
3895
3895
  * @public
3896
3896
  */
3897
3897
  healthCheckGracePeriodSeconds?: number | undefined;
@@ -3997,6 +3997,15 @@ export interface Service {
3997
3997
  * the <i>
3998
3998
  * <i>Amazon Elastic Container Service Developer Guide</i>
3999
3999
  * </i>.</p>
4000
+ * <p>The default behavior of <code>AvailabilityZoneRebalancing</code> differs between create and update requests:</p>
4001
+ * <ul>
4002
+ * <li>
4003
+ * <p>For create service requests, when when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults the value to to <code>ENABLED</code>.</p>
4004
+ * </li>
4005
+ * <li>
4006
+ * <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>
4007
+ * </li>
4008
+ * </ul>
4000
4009
  * @public
4001
4010
  */
4002
4011
  availabilityZoneRebalancing?: AvailabilityZoneRebalancing | undefined;
@@ -11554,7 +11563,7 @@ export interface RegisterTaskDefinitionResponse {
11554
11563
  }
11555
11564
  /**
11556
11565
  * <p>Your Amazon Web Services account was blocked. For more information, contact <a href="http://aws.amazon.com/contact-us/">
11557
- * Amazon Web ServicesSupport</a>.</p>
11566
+ * Amazon Web Services Support</a>.</p>
11558
11567
  * @public
11559
11568
  */
11560
11569
  export declare class BlockedException extends __BaseException {
@@ -642,6 +642,15 @@ export interface UpdateServiceRequest {
642
642
  * the <i>
643
643
  * <i>Amazon Elastic Container Service Developer Guide</i>
644
644
  * </i>.</p>
645
+ * <p>The default behavior of <code>AvailabilityZoneRebalancing</code> differs between create and update requests:</p>
646
+ * <ul>
647
+ * <li>
648
+ * <p>For create service requests, when when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults the value to to <code>ENABLED</code>.</p>
649
+ * </li>
650
+ * <li>
651
+ * <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>
652
+ * </li>
653
+ * </ul>
645
654
  * <p>This parameter doesn't trigger a new service deployment.</p>
646
655
  * @public
647
656
  */
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.882.0",
4
+ "version": "3.883.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,17 +20,17 @@
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.882.0",
24
- "@aws-sdk/credential-provider-node": "3.882.0",
23
+ "@aws-sdk/core": "3.883.0",
24
+ "@aws-sdk/credential-provider-node": "3.883.0",
25
25
  "@aws-sdk/middleware-host-header": "3.873.0",
26
26
  "@aws-sdk/middleware-logger": "3.876.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.873.0",
28
- "@aws-sdk/middleware-user-agent": "3.882.0",
28
+ "@aws-sdk/middleware-user-agent": "3.883.0",
29
29
  "@aws-sdk/region-config-resolver": "3.873.0",
30
30
  "@aws-sdk/types": "3.862.0",
31
31
  "@aws-sdk/util-endpoints": "3.879.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.873.0",
33
- "@aws-sdk/util-user-agent-node": "3.882.0",
33
+ "@aws-sdk/util-user-agent-node": "3.883.0",
34
34
  "@smithy/config-resolver": "^4.1.5",
35
35
  "@smithy/core": "^3.9.2",
36
36
  "@smithy/fetch-http-handler": "^5.1.1",