@aws-sdk/client-ecs 3.53.0 → 3.54.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
18
 
8
19
 
@@ -316,6 +316,7 @@ var PlacementStrategy;
316
316
  })(PlacementStrategy = exports.PlacementStrategy || (exports.PlacementStrategy = {}));
317
317
  var PropagateTags;
318
318
  (function (PropagateTags) {
319
+ PropagateTags["NONE"] = "NONE";
319
320
  PropagateTags["SERVICE"] = "SERVICE";
320
321
  PropagateTags["TASK_DEFINITION"] = "TASK_DEFINITION";
321
322
  })(PropagateTags = exports.PropagateTags || (exports.PropagateTags = {}));
@@ -4904,6 +4904,8 @@ const serializeAws_json1_1UpdateServiceRequest = (input, context) => {
4904
4904
  deploymentConfiguration: serializeAws_json1_1DeploymentConfiguration(input.deploymentConfiguration, context),
4905
4905
  }),
4906
4906
  ...(input.desiredCount !== undefined && input.desiredCount !== null && { desiredCount: input.desiredCount }),
4907
+ ...(input.enableECSManagedTags !== undefined &&
4908
+ input.enableECSManagedTags !== null && { enableECSManagedTags: input.enableECSManagedTags }),
4907
4909
  ...(input.enableExecuteCommand !== undefined &&
4908
4910
  input.enableExecuteCommand !== null && { enableExecuteCommand: input.enableExecuteCommand }),
4909
4911
  ...(input.forceNewDeployment !== undefined &&
@@ -4912,6 +4914,10 @@ const serializeAws_json1_1UpdateServiceRequest = (input, context) => {
4912
4914
  input.healthCheckGracePeriodSeconds !== null && {
4913
4915
  healthCheckGracePeriodSeconds: input.healthCheckGracePeriodSeconds,
4914
4916
  }),
4917
+ ...(input.loadBalancers !== undefined &&
4918
+ input.loadBalancers !== null && {
4919
+ loadBalancers: serializeAws_json1_1LoadBalancers(input.loadBalancers, context),
4920
+ }),
4915
4921
  ...(input.networkConfiguration !== undefined &&
4916
4922
  input.networkConfiguration !== null && {
4917
4923
  networkConfiguration: serializeAws_json1_1NetworkConfiguration(input.networkConfiguration, context),
@@ -4926,7 +4932,12 @@ const serializeAws_json1_1UpdateServiceRequest = (input, context) => {
4926
4932
  }),
4927
4933
  ...(input.platformVersion !== undefined &&
4928
4934
  input.platformVersion !== null && { platformVersion: input.platformVersion }),
4935
+ ...(input.propagateTags !== undefined && input.propagateTags !== null && { propagateTags: input.propagateTags }),
4929
4936
  ...(input.service !== undefined && input.service !== null && { service: input.service }),
4937
+ ...(input.serviceRegistries !== undefined &&
4938
+ input.serviceRegistries !== null && {
4939
+ serviceRegistries: serializeAws_json1_1ServiceRegistries(input.serviceRegistries, context),
4940
+ }),
4930
4941
  ...(input.taskDefinition !== undefined &&
4931
4942
  input.taskDefinition !== null && { taskDefinition: input.taskDefinition }),
4932
4943
  };
@@ -254,6 +254,7 @@ export var PlacementStrategy;
254
254
  })(PlacementStrategy || (PlacementStrategy = {}));
255
255
  export var PropagateTags;
256
256
  (function (PropagateTags) {
257
+ PropagateTags["NONE"] = "NONE";
257
258
  PropagateTags["SERVICE"] = "SERVICE";
258
259
  PropagateTags["TASK_DEFINITION"] = "TASK_DEFINITION";
259
260
  })(PropagateTags || (PropagateTags = {}));
@@ -5294,17 +5294,21 @@ var serializeAws_json1_1UpdateServicePrimaryTaskSetRequest = function (input, co
5294
5294
  input.primaryTaskSet !== null && { primaryTaskSet: input.primaryTaskSet })), (input.service !== undefined && input.service !== null && { service: input.service }));
5295
5295
  };
5296
5296
  var serializeAws_json1_1UpdateServiceRequest = function (input, context) {
5297
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacityProviderStrategy !== undefined &&
5297
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacityProviderStrategy !== undefined &&
5298
5298
  input.capacityProviderStrategy !== null && {
5299
5299
  capacityProviderStrategy: serializeAws_json1_1CapacityProviderStrategy(input.capacityProviderStrategy, context),
5300
5300
  })), (input.cluster !== undefined && input.cluster !== null && { cluster: input.cluster })), (input.deploymentConfiguration !== undefined &&
5301
5301
  input.deploymentConfiguration !== null && {
5302
5302
  deploymentConfiguration: serializeAws_json1_1DeploymentConfiguration(input.deploymentConfiguration, context),
5303
- })), (input.desiredCount !== undefined && input.desiredCount !== null && { desiredCount: input.desiredCount })), (input.enableExecuteCommand !== undefined &&
5303
+ })), (input.desiredCount !== undefined && input.desiredCount !== null && { desiredCount: input.desiredCount })), (input.enableECSManagedTags !== undefined &&
5304
+ input.enableECSManagedTags !== null && { enableECSManagedTags: input.enableECSManagedTags })), (input.enableExecuteCommand !== undefined &&
5304
5305
  input.enableExecuteCommand !== null && { enableExecuteCommand: input.enableExecuteCommand })), (input.forceNewDeployment !== undefined &&
5305
5306
  input.forceNewDeployment !== null && { forceNewDeployment: input.forceNewDeployment })), (input.healthCheckGracePeriodSeconds !== undefined &&
5306
5307
  input.healthCheckGracePeriodSeconds !== null && {
5307
5308
  healthCheckGracePeriodSeconds: input.healthCheckGracePeriodSeconds,
5309
+ })), (input.loadBalancers !== undefined &&
5310
+ input.loadBalancers !== null && {
5311
+ loadBalancers: serializeAws_json1_1LoadBalancers(input.loadBalancers, context),
5308
5312
  })), (input.networkConfiguration !== undefined &&
5309
5313
  input.networkConfiguration !== null && {
5310
5314
  networkConfiguration: serializeAws_json1_1NetworkConfiguration(input.networkConfiguration, context),
@@ -5315,7 +5319,10 @@ var serializeAws_json1_1UpdateServiceRequest = function (input, context) {
5315
5319
  input.placementStrategy !== null && {
5316
5320
  placementStrategy: serializeAws_json1_1PlacementStrategies(input.placementStrategy, context),
5317
5321
  })), (input.platformVersion !== undefined &&
5318
- input.platformVersion !== null && { platformVersion: input.platformVersion })), (input.service !== undefined && input.service !== null && { service: input.service })), (input.taskDefinition !== undefined &&
5322
+ input.platformVersion !== null && { platformVersion: input.platformVersion })), (input.propagateTags !== undefined && input.propagateTags !== null && { propagateTags: input.propagateTags })), (input.service !== undefined && input.service !== null && { service: input.service })), (input.serviceRegistries !== undefined &&
5323
+ input.serviceRegistries !== null && {
5324
+ serviceRegistries: serializeAws_json1_1ServiceRegistries(input.serviceRegistries, context),
5325
+ })), (input.taskDefinition !== undefined &&
5319
5326
  input.taskDefinition !== null && { taskDefinition: input.taskDefinition }));
5320
5327
  };
5321
5328
  var serializeAws_json1_1UpdateTaskSetRequest = function (input, context) {
@@ -109,8 +109,7 @@ export declare class ECS extends ECSClient {
109
109
  * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
110
110
  * <p>Tasks for services that don't use a load balancer are considered healthy if they're in
111
111
  * the <code>RUNNING</code> state. Tasks for services that use a load balancer are
112
- * considered healthy if they're in the <code>RUNNING</code> state and the container
113
- * instance that they're hosted on is reported as healthy by the load balancer.</p>
112
+ * considered healthy if they're in the <code>RUNNING</code> state and are reported as healthy by the load balancer.</p>
114
113
  * <p>There are two service scheduler strategies available:</p>
115
114
  * <ul>
116
115
  * <li>
@@ -490,7 +489,7 @@ export declare class ECS extends ECSClient {
490
489
  * the root user for an account is affected. The opt-in and opt-out account setting must be
491
490
  * set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is
492
491
  * defined by the opt-in status of the IAM user or role that created the resource. You must
493
- * enable this setting to use Amazon ECS features such as resource tagging.</p>
492
+ * turn on this setting to use Amazon ECS features such as resource tagging.</p>
494
493
  * <p>When <code>awsvpcTrunking</code> is specified, the elastic network interface (ENI)
495
494
  * limit for any new container instances that support the feature is changed. If
496
495
  * <code>awsvpcTrunking</code> is enabled, any new container instances that support the
@@ -750,8 +749,7 @@ export declare class ECS extends ECSClient {
750
749
  * replacement tasks are considered healthy. Tasks for services that do not use a
751
750
  * load balancer are considered healthy if they're in the <code>RUNNING</code>
752
751
  * state. Tasks for services that use a load balancer are considered healthy if
753
- * they're in the <code>RUNNING</code> state and the container instance they're
754
- * hosted on is reported as healthy by the load balancer.</p>
752
+ * they're in the <code>RUNNING</code> state and are reported as healthy by the load balancer..</p>
755
753
  * </li>
756
754
  * <li>
757
755
  * <p>The <code>maximumPercent</code> parameter represents an upper limit on the
@@ -782,19 +780,21 @@ export declare class ECS extends ECSClient {
782
780
  * apply to your participation in this preview.</p>
783
781
  * </important>
784
782
  * <p>Modifies the parameters of a service.</p>
785
- * <p>For services using the rolling update (<code>ECS</code>) deployment controller, the
786
- * desired count, deployment configuration, network configuration, task placement
787
- * constraints and strategies, or task definition used can be updated.</p>
788
- * <p>For services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller,
789
- * only the desired count, deployment configuration, task placement constraints and
790
- * strategies, and health check grace period can be updated using this API. If the network
791
- * configuration, platform version, or task definition need to be updated, a new CodeDeploy
792
- * deployment is created. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html">CreateDeployment</a> in the <i>CodeDeploy API Reference</i>.</p>
793
- * <p>For services using an external deployment controller, you can update only the desired
794
- * count, task placement constraints and strategies, and health check grace period using
795
- * this API. If the launch type, load balancer, network configuration, platform version, or
796
- * task definition need to be updated, create a new task set. For more information, see
797
- * <a>CreateTaskSet</a>.</p>
783
+ * <p>For services using the rolling update (<code>ECS</code>) you can update the desired count,
784
+ * the deployment configuration, the network configuration, load balancers, service
785
+ * registries, enable ECS managed tags option, propagate tags option, task placement
786
+ * constraints and strategies, and the task definition. When you update any of these
787
+ * parameters, Amazon ECS starts new tasks with the new configuration. </p>
788
+ * <p>For services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller, only the
789
+ * desired count, deployment configuration, task placement constraints and strategies,
790
+ * enable ECS managed tags option, and propagate tags can be updated using this API. If the
791
+ * network configuration, platform version, task definition, or load balancer need to be
792
+ * updated, create a new CodeDeploy deployment. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html">CreateDeployment</a> in the <i>CodeDeploy API Reference</i>.</p>
793
+ * <p>For services using an external deployment controller, you can update only the desired count,
794
+ * task placement constraints and strategies, health check grace period, enable ECS managed
795
+ * tags option, and propagate tags option, using this API. If the launch type, load
796
+ * balancer, network configuration, platform version, or task definition need to be
797
+ * updated, create a new task set For more information, see <a>CreateTaskSet</a>.</p>
798
798
  * <p>You can add to or subtract from the number of instantiations of a task definition in a
799
799
  * service by specifying the cluster that the service is running in and a new
800
800
  * <code>desiredCount</code> parameter.</p>
@@ -822,9 +822,8 @@ export declare class ECS extends ECSClient {
822
822
  * scheduler to stop two existing tasks before starting two new tasks. Tasks for
823
823
  * services that don't use a load balancer are considered healthy if they're in the
824
824
  * <code>RUNNING</code> state. Tasks for services that use a load balancer are
825
- * considered healthy if they're in the <code>RUNNING</code> state and the
826
- * container instance they're hosted on is reported as healthy by the load
827
- * balancer.</p>
825
+ * considered healthy if they're in the <code>RUNNING</code> state and are reported
826
+ * as healthy by the load balancer.</p>
828
827
  * </li>
829
828
  * <li>
830
829
  * <p>The <code>maximumPercent</code> parameter represents an upper limit on the
@@ -869,6 +868,7 @@ export declare class ECS extends ECSClient {
869
868
  * </ul>
870
869
  * </li>
871
870
  * </ul>
871
+ *
872
872
  * <p>When the service scheduler stops running tasks, it attempts to maintain balance across
873
873
  * the Availability Zones in your cluster using the following logic: </p>
874
874
  * <ul>
@@ -884,6 +884,25 @@ export declare class ECS extends ECSClient {
884
884
  * running tasks for this service.</p>
885
885
  * </li>
886
886
  * </ul>
887
+ * <note>
888
+ * <p>You must have a service-linked role when you update any of the following service properties.
889
+ * If you specified a custom IAM role when you created the service, Amazon ECS automatically
890
+ * replaces the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Service.html#ECS-Type-Service-roleArn">roleARN</a> associated with the service with the ARN of your service-linked
891
+ * role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Service-linked
892
+ * roles</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
893
+ * <ul>
894
+ * <li>
895
+ * <p>
896
+ * <code>loadBalancers,</code>
897
+ * </p>
898
+ * </li>
899
+ * <li>
900
+ * <p>
901
+ * <code>serviceRegistries</code>
902
+ * </p>
903
+ * </li>
904
+ * </ul>
905
+ * </note>
887
906
  */
888
907
  updateService(args: UpdateServiceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceCommandOutput>;
889
908
  updateService(args: UpdateServiceCommandInput, cb: (err: any, data?: UpdateServiceCommandOutput) => void): void;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
10
10
  import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
11
11
  import { CreateServiceCommandInput, CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
@@ -80,7 +80,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
80
80
  * A function that can calculate the length of a request body.
81
81
  * @internal
82
82
  */
83
- bodyLengthChecker?: (body: any) => number | undefined;
83
+ bodyLengthChecker?: __BodyLengthCalculator;
84
84
  /**
85
85
  * A function that converts a stream into an array of bytes.
86
86
  * @internal
@@ -18,8 +18,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
18
18
  * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
19
19
  * <p>Tasks for services that don't use a load balancer are considered healthy if they're in
20
20
  * the <code>RUNNING</code> state. Tasks for services that use a load balancer are
21
- * considered healthy if they're in the <code>RUNNING</code> state and the container
22
- * instance that they're hosted on is reported as healthy by the load balancer.</p>
21
+ * considered healthy if they're in the <code>RUNNING</code> state and are reported as healthy by the load balancer.</p>
23
22
  * <p>There are two service scheduler strategies available:</p>
24
23
  * <ul>
25
24
  * <li>
@@ -18,7 +18,7 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons
18
18
  * the root user for an account is affected. The opt-in and opt-out account setting must be
19
19
  * set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is
20
20
  * defined by the opt-in status of the IAM user or role that created the resource. You must
21
- * enable this setting to use Amazon ECS features such as resource tagging.</p>
21
+ * turn on this setting to use Amazon ECS features such as resource tagging.</p>
22
22
  * <p>When <code>awsvpcTrunking</code> is specified, the elastic network interface (ENI)
23
23
  * limit for any new container instances that support the feature is changed. If
24
24
  * <code>awsvpcTrunking</code> is enabled, any new container instances that support the
@@ -36,8 +36,7 @@ export interface UpdateContainerInstancesStateCommandOutput extends UpdateContai
36
36
  * replacement tasks are considered healthy. Tasks for services that do not use a
37
37
  * load balancer are considered healthy if they're in the <code>RUNNING</code>
38
38
  * state. Tasks for services that use a load balancer are considered healthy if
39
- * they're in the <code>RUNNING</code> state and the container instance they're
40
- * hosted on is reported as healthy by the load balancer.</p>
39
+ * they're in the <code>RUNNING</code> state and are reported as healthy by the load balancer..</p>
41
40
  * </li>
42
41
  * <li>
43
42
  * <p>The <code>maximumPercent</code> parameter represents an upper limit on the
@@ -14,19 +14,21 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
14
14
  * apply to your participation in this preview.</p>
15
15
  * </important>
16
16
  * <p>Modifies the parameters of a service.</p>
17
- * <p>For services using the rolling update (<code>ECS</code>) deployment controller, the
18
- * desired count, deployment configuration, network configuration, task placement
19
- * constraints and strategies, or task definition used can be updated.</p>
20
- * <p>For services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller,
21
- * only the desired count, deployment configuration, task placement constraints and
22
- * strategies, and health check grace period can be updated using this API. If the network
23
- * configuration, platform version, or task definition need to be updated, a new CodeDeploy
24
- * deployment is created. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html">CreateDeployment</a> in the <i>CodeDeploy API Reference</i>.</p>
25
- * <p>For services using an external deployment controller, you can update only the desired
26
- * count, task placement constraints and strategies, and health check grace period using
27
- * this API. If the launch type, load balancer, network configuration, platform version, or
28
- * task definition need to be updated, create a new task set. For more information, see
29
- * <a>CreateTaskSet</a>.</p>
17
+ * <p>For services using the rolling update (<code>ECS</code>) you can update the desired count,
18
+ * the deployment configuration, the network configuration, load balancers, service
19
+ * registries, enable ECS managed tags option, propagate tags option, task placement
20
+ * constraints and strategies, and the task definition. When you update any of these
21
+ * parameters, Amazon ECS starts new tasks with the new configuration. </p>
22
+ * <p>For services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller, only the
23
+ * desired count, deployment configuration, task placement constraints and strategies,
24
+ * enable ECS managed tags option, and propagate tags can be updated using this API. If the
25
+ * network configuration, platform version, task definition, or load balancer need to be
26
+ * updated, create a new CodeDeploy deployment. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html">CreateDeployment</a> in the <i>CodeDeploy API Reference</i>.</p>
27
+ * <p>For services using an external deployment controller, you can update only the desired count,
28
+ * task placement constraints and strategies, health check grace period, enable ECS managed
29
+ * tags option, and propagate tags option, using this API. If the launch type, load
30
+ * balancer, network configuration, platform version, or task definition need to be
31
+ * updated, create a new task set For more information, see <a>CreateTaskSet</a>.</p>
30
32
  * <p>You can add to or subtract from the number of instantiations of a task definition in a
31
33
  * service by specifying the cluster that the service is running in and a new
32
34
  * <code>desiredCount</code> parameter.</p>
@@ -54,9 +56,8 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
54
56
  * scheduler to stop two existing tasks before starting two new tasks. Tasks for
55
57
  * services that don't use a load balancer are considered healthy if they're in the
56
58
  * <code>RUNNING</code> state. Tasks for services that use a load balancer are
57
- * considered healthy if they're in the <code>RUNNING</code> state and the
58
- * container instance they're hosted on is reported as healthy by the load
59
- * balancer.</p>
59
+ * considered healthy if they're in the <code>RUNNING</code> state and are reported
60
+ * as healthy by the load balancer.</p>
60
61
  * </li>
61
62
  * <li>
62
63
  * <p>The <code>maximumPercent</code> parameter represents an upper limit on the
@@ -101,6 +102,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
101
102
  * </ul>
102
103
  * </li>
103
104
  * </ul>
105
+ *
104
106
  * <p>When the service scheduler stops running tasks, it attempts to maintain balance across
105
107
  * the Availability Zones in your cluster using the following logic: </p>
106
108
  * <ul>
@@ -116,6 +118,25 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
116
118
  * running tasks for this service.</p>
117
119
  * </li>
118
120
  * </ul>
121
+ * <note>
122
+ * <p>You must have a service-linked role when you update any of the following service properties.
123
+ * If you specified a custom IAM role when you created the service, Amazon ECS automatically
124
+ * replaces the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Service.html#ECS-Type-Service-roleArn">roleARN</a> associated with the service with the ARN of your service-linked
125
+ * role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Service-linked
126
+ * roles</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
127
+ * <ul>
128
+ * <li>
129
+ * <p>
130
+ * <code>loadBalancers,</code>
131
+ * </p>
132
+ * </li>
133
+ * <li>
134
+ * <p>
135
+ * <code>serviceRegistries</code>
136
+ * </p>
137
+ * </li>
138
+ * </ul>
139
+ * </note>
119
140
  * @example
120
141
  * Use a bare-bones client and the command you need to make an API call.
121
142
  * ```javascript
@@ -47,7 +47,7 @@ export declare enum ManagedScalingStatus {
47
47
  */
48
48
  export interface ManagedScaling {
49
49
  /**
50
- * <p>Determines whether to enable managed scaling for the capacity provider.</p>
50
+ * <p>Determines whether to use managed scaling for the capacity provider.</p>
51
51
  */
52
52
  status?: ManagedScalingStatus | string;
53
53
  /**
@@ -406,7 +406,7 @@ export interface ExecuteCommandLogConfiguration {
406
406
  */
407
407
  cloudWatchLogGroupName?: string;
408
408
  /**
409
- * <p>Determines whether to enable encryption on the CloudWatch logs. If not specified,
409
+ * <p>Determines whether to use encryption on the CloudWatch logs. If not specified,
410
410
  * encryption will be disabled.</p>
411
411
  */
412
412
  cloudWatchEncryptionEnabled?: boolean;
@@ -561,7 +561,7 @@ export declare enum ClusterSettingName {
561
561
  CONTAINER_INSIGHTS = "containerInsights"
562
562
  }
563
563
  /**
564
- * <p>The settings to use when creating a cluster. This parameter is used to enable CloudWatch
564
+ * <p>The settings to use when creating a cluster. This parameter is used to turn on CloudWatch
565
565
  * Container Insights for a cluster.</p>
566
566
  */
567
567
  export interface ClusterSetting {
@@ -629,7 +629,7 @@ export interface CreateClusterRequest {
629
629
  */
630
630
  tags?: Tag[];
631
631
  /**
632
- * <p>The setting to use when creating a cluster. This parameter is used to enable CloudWatch
632
+ * <p>The setting to use when creating a cluster. This parameter is used to turn on CloudWatch
633
633
  * Container Insights for a cluster. If this value is specified, it overrides the
634
634
  * <code>containerInsights</code> value set with <a>PutAccountSetting</a> or
635
635
  * <a>PutAccountSettingDefault</a>.</p>
@@ -943,18 +943,18 @@ export declare class ClusterNotFoundException extends __BaseException {
943
943
  * <p>The <b>deployment circuit breaker</b> determines whether a
944
944
  * service deployment will fail if the service can't reach a steady state. If enabled, a
945
945
  * service deployment will transition to a failed state and stop launching new tasks. You
946
- * can also enable Amazon ECS to roll back your service to the last completed deployment after a
946
+ * can also configure Amazon ECS to roll back your service to the last completed deployment after a
947
947
  * failure. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html">Rolling
948
948
  * update</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
949
949
  */
950
950
  export interface DeploymentCircuitBreaker {
951
951
  /**
952
- * <p>Determines whether to enable the deployment circuit breaker logic for the
952
+ * <p>Determines whether to use the deployment circuit breaker logic for the
953
953
  * service.</p>
954
954
  */
955
955
  enable: boolean | undefined;
956
956
  /**
957
- * <p>Determines whether to enable Amazon ECS to roll back the service if a service deployment
957
+ * <p>Determines whether to configure Amazon ECS to roll back the service if a service deployment
958
958
  * fails. If rollback is enabled, when a service deployment fails, the service is rolled
959
959
  * back to the last deployment that completed successfully.</p>
960
960
  */
@@ -1089,6 +1089,14 @@ export declare enum LaunchType {
1089
1089
  * <p>The load balancer configuration to use with a service or task set.</p>
1090
1090
  * <p>For specific notes and restrictions regarding the use of load balancers with services
1091
1091
  * and task sets, see the CreateService and CreateTaskSet actions.</p>
1092
+ * <p>When you add, update, or remove a load blaancer configuration, Amazon ECS starts a new
1093
+ * deployment with the updated Elastic Load Balancing configuration. This causes tasks to register to and
1094
+ * deregister from load balancers.</p>
1095
+ * <p>We recommend that you verify this on a test environment before you update the Elastic Load Balancing
1096
+ * configuration. </p>
1097
+ * <p>A service-linked role is required for services that use multiple target groups. For
1098
+ * more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Service-linked
1099
+ * roles</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
1092
1100
  */
1093
1101
  export interface LoadBalancer {
1094
1102
  /**
@@ -1269,6 +1277,7 @@ export declare namespace PlacementStrategy {
1269
1277
  const filterSensitiveLog: (obj: PlacementStrategy) => any;
1270
1278
  }
1271
1279
  export declare enum PropagateTags {
1280
+ NONE = "NONE",
1272
1281
  SERVICE = "SERVICE",
1273
1282
  TASK_DEFINITION = "TASK_DEFINITION"
1274
1283
  }
@@ -1278,6 +1287,11 @@ export declare enum SchedulingStrategy {
1278
1287
  }
1279
1288
  /**
1280
1289
  * <p>The details for the service registry.</p>
1290
+ * <p>Each service may be associated with one service registry. Multiple service registries for
1291
+ * each service are not supported.</p>
1292
+ * <p>When you add, update, or remove the service registries configuration, Amazon ECS starts a
1293
+ * new deployment. New tasks are registered and deregistered to the updated service
1294
+ * registry configuration.</p>
1281
1295
  */
1282
1296
  export interface ServiceRegistry {
1283
1297
  /**
@@ -1358,10 +1372,8 @@ export interface CreateServiceRequest {
1358
1372
  * also have up to two listeners: a required listener for production traffic and an
1359
1373
  * optional listener that you can use to perform validation tests with Lambda functions
1360
1374
  * before routing production traffic to it.</p>
1361
- * <p>After you create a service using the <code>ECS</code> deployment controller, the load
1362
- * balancer name or target group ARN, container name, and container port that's specified
1363
- * in the service definition are immutable. If you use the <code>CODE_DEPLOY</code>
1364
- * deployment controller, these values can be changed when updating the service.</p>
1375
+ * <p>If you use the <code>CODE_DEPLOY</code> deployment controller, these values can be changed
1376
+ * when updating the service.</p>
1365
1377
  * <p>For Application Load Balancers and Network Load Balancers, this object must contain the load balancer target group ARN,
1366
1378
  * the container name, and the container port to access from the load balancer. The
1367
1379
  * container name must be as it appears in a container definition. The load balancer name
@@ -1493,6 +1505,7 @@ export interface CreateServiceRequest {
1493
1505
  * service is configured to use a load balancer. If your service has a load balancer
1494
1506
  * defined and you don't specify a health check grace period value, the default value of
1495
1507
  * <code>0</code> is used.</p>
1508
+ * <p>If you do not use an Elastic Load Balancing, we recomend that you use the <code>startPeriod</code> in the task definition healtch check parameters. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html">Health check</a>.</p>
1496
1509
  * <p>If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you
1497
1510
  * can specify a health check grace period of up to
1498
1511
  * 2,147,483,647
@@ -1576,7 +1589,7 @@ export interface CreateServiceRequest {
1576
1589
  */
1577
1590
  tags?: Tag[];
1578
1591
  /**
1579
- * <p>Specifies whether to enable Amazon ECS managed tags for the tasks within the service. For
1592
+ * <p>Specifies whether to turn on Amazon ECS managed tags for the tasks within the service. For
1580
1593
  * more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS
1581
1594
  * Resources</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
1582
1595
  */
@@ -2122,13 +2135,11 @@ export interface Service {
2122
2135
  * </li>
2123
2136
  * <li>
2124
2137
  * <p>
2125
- * <code>DAEMON</code>-The daemon scheduling strategy deploys exactly one
2126
- * task on each active container
2127
- * instance.
2128
- * This taskmeets all of the task placement constraints that you
2129
- * specify in your cluster. The service scheduler also evaluates the task placement
2130
- * constraints for running tasks. It stop tasks that don't meet the placement
2131
- * constraints.</p>
2138
+ * <code>DAEMON</code>-The daemon scheduling strategy deploys exactly one task on each
2139
+ * active container instance. This task meets all of the task placement constraints
2140
+ * that you specify in your cluster. The service scheduler also evaluates the task
2141
+ * placement constraints for running tasks. It stop tasks that don't meet the
2142
+ * placement constraints.</p>
2132
2143
  * <note>
2133
2144
  * <p>Fargate tasks don't support the <code>DAEMON</code>
2134
2145
  * scheduling strategy.</p>
@@ -2185,7 +2196,7 @@ export interface Service {
2185
2196
  */
2186
2197
  createdBy?: string;
2187
2198
  /**
2188
- * <p>Determines whether to enable Amazon ECS managed tags for the tasks in the service. For more
2199
+ * <p>Determines whether to use Amazon ECS managed tags for the tasks in the service. For more
2189
2200
  * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS
2190
2201
  * Resources</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
2191
2202
  */
@@ -2502,8 +2513,8 @@ export declare enum TargetType {
2502
2513
  CONTAINER_INSTANCE = "container-instance"
2503
2514
  }
2504
2515
  /**
2505
- * <p>An attribute is a name-value pair that's associated with an Amazon ECS object. Attributes
2506
- * enable you to extend the Amazon ECS data model by adding custom metadata to your resources.
2516
+ * <p>An attribute is a name-value pair that's associated with an Amazon ECS object. Use attributes
2517
+ * to extend the Amazon ECS data model by adding custom metadata to your resources.
2507
2518
  * For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes">Attributes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
2508
2519
  */
2509
2520
  export interface Attribute {
@@ -3109,7 +3120,7 @@ export declare enum ContainerCondition {
3109
3120
  * multiple dependencies. When a dependency is defined for container startup, for container
3110
3121
  * shutdown it is reversed.</p>
3111
3122
  * <p>Your Amazon ECS container instances require at least version 1.26.0 of the container agent
3112
- * to enable container dependencies. However, we recommend using the latest container agent
3123
+ * to use container dependencies. However, we recommend using the latest container agent
3113
3124
  * version. For information about checking your agent version and updating to the latest
3114
3125
  * version, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html">Updating the Amazon ECS
3115
3126
  * Container Agent</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. If you're using
@@ -3636,6 +3647,7 @@ export interface Secret {
3636
3647
  /**
3637
3648
  * <p>The secret to expose to the container. The supported values are either the full ARN of
3638
3649
  * the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.</p>
3650
+ * <p>For information about the require Identity and Access Management permissions, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-secrets.html#secrets-iam">Required IAM permissions for Amazon ECS secrets</a> (for Secrets Manager) or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-parameters.html">Required IAM permissions for Amazon ECS secrets</a> (for Systems Manager Parameter store) in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
3639
3651
  * <note>
3640
3652
  * <p>If the SSM Parameter Store parameter exists in the same Region as the task
3641
3653
  * you're launching, then you can use either the full ARN or name of the parameter. If
@@ -4300,7 +4312,7 @@ export interface ContainerDefinition {
4300
4312
  * multiple dependencies. When a dependency is defined for container startup, for container
4301
4313
  * shutdown it is reversed.</p>
4302
4314
  * <p>For tasks using the EC2 launch type, the container instances require at
4303
- * least version 1.26.0 of the container agent to enable container dependencies. However,
4315
+ * least version 1.26.0 of the container agent to turn on container dependencies. However,
4304
4316
  * we recommend using the latest container agent version. For information about checking
4305
4317
  * your agent version and updating to the latest version, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html">Updating the Amazon ECS
4306
4318
  * Container Agent</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. If you're using
@@ -4343,7 +4355,7 @@ export interface ContainerDefinition {
4343
4355
  * </li>
4344
4356
  * </ul>
4345
4357
  * <p>For tasks using the EC2 launch type, your container instances require at
4346
- * least version <code>1.26.0</code> of the container agent to enable a container start
4358
+ * least version <code>1.26.0</code> of the container agent to use a container start
4347
4359
  * timeout value. However, we recommend using the latest container agent version. For
4348
4360
  * information about checking your agent version and updating to the latest version, see
4349
4361
  * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html">Updating the Amazon ECS
@@ -4375,7 +4387,7 @@ export interface ContainerDefinition {
4375
4387
  * <code>stopTimeout</code> parameter or the <code>ECS_CONTAINER_STOP_TIMEOUT</code>
4376
4388
  * agent configuration variable are set, then the default values of 30 seconds for Linux
4377
4389
  * containers and 30 seconds on Windows containers are used. Your container instances
4378
- * require at least version 1.26.0 of the container agent to enable a container stop
4390
+ * require at least version 1.26.0 of the container agent to use a container stop
4379
4391
  * timeout value. However, we recommend using the latest container agent version. For
4380
4392
  * information about checking your agent version and updating to the latest version, see
4381
4393
  * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html">Updating the Amazon ECS
@@ -4656,16 +4668,9 @@ export declare namespace ContainerDefinition {
4656
4668
  * tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html">Fargate task
4657
4669
  * storage</a> in the <i>Amazon ECS User Guide for Fargate</i>.</p>
4658
4670
  * <note>
4659
- * <p>This parameter is only supported for tasks hosted on Fargate using
4660
- * the following platform versions:</p>
4661
- * <ul>
4662
- * <li>
4663
- * <p>Linux platform version <code>1.4.0</code> or later.</p>
4664
- * </li>
4665
- * <li>
4666
- * <p>Windows platform version <code>1.0.0</code> or later.</p>
4667
- * </li>
4668
- * </ul>
4671
+ * <p>This parameter is only supported for tasks hosted on Fargate using Linux
4672
+ * platform version <code>1.4.0</code> or later. This parameter is not supported for
4673
+ * Windows containers on Fargate.</p>
4669
4674
  * </note>
4670
4675
  */
4671
4676
  export interface EphemeralStorage {
@@ -4755,7 +4760,7 @@ export declare enum ProxyConfigurationType {
4755
4760
  * <p>The configuration details for the App Mesh proxy.</p>
4756
4761
  * <p>For tasks that use the EC2 launch type, the container instances require
4757
4762
  * at least version 1.26.0 of the container agent and at least version 1.26.0-1 of the
4758
- * <code>ecs-init</code> package to enable a proxy configuration. If your container
4763
+ * <code>ecs-init</code> package to use a proxy configuration. If your container
4759
4764
  * instances are launched from the Amazon ECS optimized AMI version <code>20190301</code> or
4760
4765
  * later, then they contain the required versions of the container agent and
4761
4766
  * <code>ecs-init</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html">Amazon ECS-optimized Linux AMI</a>
@@ -4987,7 +4992,7 @@ export interface EFSVolumeConfiguration {
4987
4992
  */
4988
4993
  rootDirectory?: string;
4989
4994
  /**
4990
- * <p>Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS
4995
+ * <p>Determines whether to use encryption for Amazon EFS data in transit between the Amazon ECS
4991
4996
  * host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization
4992
4997
  * is used. If this parameter is omitted, the default value of <code>DISABLED</code> is
4993
4998
  * used. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html">Encrypting Data in Transit</a> in
@@ -5394,7 +5399,7 @@ export interface TaskDefinition {
5394
5399
  /**
5395
5400
  * <p>The configuration details for the App Mesh proxy.</p>
5396
5401
  * <p>Your Amazon ECS container instances require at least version 1.26.0 of the container agent
5397
- * and at least version 1.26.0-1 of the <code>ecs-init</code> package to enable a proxy
5402
+ * and at least version 1.26.0-1 of the <code>ecs-init</code> package to use a proxy
5398
5403
  * configuration. If your container instances are launched from the Amazon ECS optimized AMI
5399
5404
  * version <code>20190301</code> or later, they contain the required versions of the
5400
5405
  * container agent and <code>ecs-init</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html">Amazon ECS-optimized Linux AMI</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
@@ -6294,6 +6299,39 @@ export interface Task {
6294
6299
  /**
6295
6300
  * <p>The stop code indicating why a task was stopped. The <code>stoppedReason</code> might
6296
6301
  * contain additional details.</p>
6302
+ * <p>The following are valid values:</p>
6303
+ * <ul>
6304
+ * <li>
6305
+ * <p>
6306
+ * <code>TaskFailedToStart</code>
6307
+ * </p>
6308
+ * </li>
6309
+ * <li>
6310
+ * <p>
6311
+ * <code>EssentialContainerExited</code>
6312
+ * </p>
6313
+ * </li>
6314
+ * <li>
6315
+ * <p>
6316
+ * <code>UserInitiated</code>
6317
+ * </p>
6318
+ * </li>
6319
+ * <li>
6320
+ * <p>
6321
+ * <code>TerminationNotice</code>
6322
+ * </p>
6323
+ * </li>
6324
+ * <li>
6325
+ * <p>
6326
+ * <code>ServiceSchedulerInitiated</code>
6327
+ * </p>
6328
+ * </li>
6329
+ * <li>
6330
+ * <p>
6331
+ * <code>SpotInterruption</code>
6332
+ * </p>
6333
+ * </li>
6334
+ * </ul>
6297
6335
  */
6298
6336
  stopCode?: TaskStopCode | string;
6299
6337
  /**
@@ -6514,8 +6552,7 @@ export interface Session {
6514
6552
  sessionId?: string;
6515
6553
  /**
6516
6554
  * <p>A URL
6517
- * back
6518
- * to managed agent on the container that the SSM Session Manager client
6555
+ * to the managed agent on the container that the SSM Session Manager client
6519
6556
  * uses to send commands and receive output from the container.</p>
6520
6557
  */
6521
6558
  streamUrl?: string;
@@ -7765,7 +7802,7 @@ export interface RegisterTaskDefinitionRequest {
7765
7802
  * <p>The configuration details for the App Mesh proxy.</p>
7766
7803
  * <p>For tasks hosted on Amazon EC2 instances, the container instances require at least version
7767
7804
  * <code>1.26.0</code> of the container agent and at least version
7768
- * <code>1.26.0-1</code> of the <code>ecs-init</code> package to enable a proxy
7805
+ * <code>1.26.0-1</code> of the <code>ecs-init</code> package to use a proxy
7769
7806
  * configuration. If your container instances are launched from the Amazon ECS-optimized
7770
7807
  * AMI version <code>20190301</code> or later, then they contain the required versions of
7771
7808
  * the container agent and <code>ecs-init</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-ami-versions.html">Amazon ECS-optimized AMI versions</a> in the
@@ -7860,13 +7897,13 @@ export interface RunTaskRequest {
7860
7897
  */
7861
7898
  count?: number;
7862
7899
  /**
7863
- * <p>Specifies whether to enable Amazon ECS managed tags for the task. For more information, see
7900
+ * <p>Specifies whether to use Amazon ECS managed tags for the task. For more information, see
7864
7901
  * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS
7865
7902
  * Resources</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
7866
7903
  */
7867
7904
  enableECSManagedTags?: boolean;
7868
7905
  /**
7869
- * <p>Determines whether to enable the execute command functionality for the containers in
7906
+ * <p>Determines whether to use the execute command functionality for the containers in
7870
7907
  * this task. If <code>true</code>, this enables execute command functionality on all
7871
7908
  * containers in the task.</p>
7872
7909
  */
@@ -8044,7 +8081,7 @@ export interface StartTaskRequest {
8044
8081
  */
8045
8082
  containerInstances: string[] | undefined;
8046
8083
  /**
8047
- * <p>Specifies whether to enable Amazon ECS managed tags for the task. For more information, see
8084
+ * <p>Specifies whether to use Amazon ECS managed tags for the task. For more information, see
8048
8085
  * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS
8049
8086
  * Resources</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
8050
8087
  */
@@ -8619,7 +8656,7 @@ export interface UpdateClusterSettingsRequest {
8619
8656
  */
8620
8657
  cluster: string | undefined;
8621
8658
  /**
8622
- * <p>The setting to use by default for a cluster. This parameter is used to enable CloudWatch
8659
+ * <p>The setting to use by default for a cluster. This parameter is used to turn on CloudWatch
8623
8660
  * Container Insights for a cluster. If this value is specified, it overrides the
8624
8661
  * <code>containerInsights</code> value set with <a>PutAccountSetting</a> or
8625
8662
  * <a>PutAccountSettingDefault</a>.</p>
@@ -8851,6 +8888,44 @@ export interface UpdateServiceRequest {
8851
8888
  * you can set this to <code>null</code> when performing this action.</p>
8852
8889
  */
8853
8890
  enableExecuteCommand?: boolean;
8891
+ /**
8892
+ * <p>Determines whether to turn on Amazon ECS managed tags for the tasks in the service. For more
8893
+ * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS
8894
+ * Resources</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
8895
+ * <p>Only tasks launched after the update will reflect the update. To update the tags on
8896
+ * all tasks, set <code>forceNewDeployment</code> to <code>true</code>, so that Amazon ECS
8897
+ * starts new tasks with the updated tags.</p>
8898
+ */
8899
+ enableECSManagedTags?: boolean;
8900
+ /**
8901
+ * <p>A list of Elastic Load Balancing load balancer objects. It contains the load balancer name, the
8902
+ * container name, and the container port to access from the load balancer. The container
8903
+ * name is as it appears in a container definition.</p>
8904
+ * <p>When you add, update, or remove a load balancer configuration, Amazon ECS starts new tasks with
8905
+ * the updated Elastic Load Balancing configuration, and then stops the old tasks when the new tasks are
8906
+ * running.</p>
8907
+ * <p>You can remove existing <code>loadBalancers</code> by passing an empty list.</p>
8908
+ */
8909
+ loadBalancers?: LoadBalancer[];
8910
+ /**
8911
+ * <p>Determines whether to propagate the tags from the task definition or the service to
8912
+ * the task. If no value is specified, the tags aren't propagated.</p>
8913
+ * <p>Only tasks launched after the update will reflect the update. To update the tags on
8914
+ * all tasks, set <code>forceNewDeployment</code> to <code>true</code>, so that Amazon ECS
8915
+ * starts new tasks with the updated tags.</p>
8916
+ */
8917
+ propagateTags?: PropagateTags | string;
8918
+ /**
8919
+ * <p>The details for the service discovery registries to assign to this service. For more
8920
+ * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html">Service
8921
+ * Discovery</a>.</p>
8922
+ * <p>When you add, update, or remove the service registries configuration, Amazon ECS starts new tasks
8923
+ * with the updated service registries configuration, and then stops the old tasks when the
8924
+ * new tasks are running.</p>
8925
+ * <p>You can remove existing <code>serviceRegistries</code> by passing an empty
8926
+ * list.</p>
8927
+ */
8928
+ serviceRegistries?: ServiceRegistry[];
8854
8929
  }
8855
8930
  export declare namespace UpdateServiceRequest {
8856
8931
  /**
@@ -8894,7 +8969,7 @@ export declare namespace UpdateServicePrimaryTaskSetRequest {
8894
8969
  }
8895
8970
  export interface UpdateServicePrimaryTaskSetResponse {
8896
8971
  /**
8897
- * <p>Details about the task set.</p>
8972
+ * <p>etails about the task set.</p>
8898
8973
  */
8899
8974
  taskSet?: TaskSet;
8900
8975
  }
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
10
10
  import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
11
11
  import { CreateServiceCommandInput, CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
@@ -68,7 +68,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
68
68
 
69
69
  urlParser?: __UrlParser;
70
70
 
71
- bodyLengthChecker?: (body: any) => number | undefined;
71
+ bodyLengthChecker?: __BodyLengthCalculator;
72
72
 
73
73
  streamCollector?: __StreamCollector;
74
74
 
@@ -435,6 +435,7 @@ export declare namespace PlacementStrategy {
435
435
  const filterSensitiveLog: (obj: PlacementStrategy) => any;
436
436
  }
437
437
  export declare enum PropagateTags {
438
+ NONE = "NONE",
438
439
  SERVICE = "SERVICE",
439
440
  TASK_DEFINITION = "TASK_DEFINITION"
440
441
  }
@@ -3123,6 +3124,14 @@ export interface UpdateServiceRequest {
3123
3124
  healthCheckGracePeriodSeconds?: number;
3124
3125
 
3125
3126
  enableExecuteCommand?: boolean;
3127
+
3128
+ enableECSManagedTags?: boolean;
3129
+
3130
+ loadBalancers?: LoadBalancer[];
3131
+
3132
+ propagateTags?: PropagateTags | string;
3133
+
3134
+ serviceRegistries?: ServiceRegistry[];
3126
3135
  }
3127
3136
  export declare namespace UpdateServiceRequest {
3128
3137
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
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.53.0",
4
+ "version": "3.54.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,37 +18,37 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.53.0",
22
- "@aws-sdk/config-resolver": "3.53.0",
23
- "@aws-sdk/credential-provider-node": "3.53.0",
24
- "@aws-sdk/fetch-http-handler": "3.53.0",
25
- "@aws-sdk/hash-node": "3.53.0",
26
- "@aws-sdk/invalid-dependency": "3.53.0",
27
- "@aws-sdk/middleware-content-length": "3.53.0",
28
- "@aws-sdk/middleware-host-header": "3.53.0",
29
- "@aws-sdk/middleware-logger": "3.53.0",
30
- "@aws-sdk/middleware-retry": "3.53.0",
31
- "@aws-sdk/middleware-serde": "3.53.0",
32
- "@aws-sdk/middleware-signing": "3.53.0",
33
- "@aws-sdk/middleware-stack": "3.53.0",
34
- "@aws-sdk/middleware-user-agent": "3.53.0",
35
- "@aws-sdk/node-config-provider": "3.53.0",
36
- "@aws-sdk/node-http-handler": "3.53.0",
37
- "@aws-sdk/protocol-http": "3.53.0",
38
- "@aws-sdk/smithy-client": "3.53.0",
39
- "@aws-sdk/types": "3.53.0",
40
- "@aws-sdk/url-parser": "3.53.0",
21
+ "@aws-sdk/client-sts": "3.54.0",
22
+ "@aws-sdk/config-resolver": "3.54.0",
23
+ "@aws-sdk/credential-provider-node": "3.54.0",
24
+ "@aws-sdk/fetch-http-handler": "3.54.0",
25
+ "@aws-sdk/hash-node": "3.54.0",
26
+ "@aws-sdk/invalid-dependency": "3.54.0",
27
+ "@aws-sdk/middleware-content-length": "3.54.0",
28
+ "@aws-sdk/middleware-host-header": "3.54.0",
29
+ "@aws-sdk/middleware-logger": "3.54.0",
30
+ "@aws-sdk/middleware-retry": "3.54.0",
31
+ "@aws-sdk/middleware-serde": "3.54.0",
32
+ "@aws-sdk/middleware-signing": "3.54.0",
33
+ "@aws-sdk/middleware-stack": "3.54.0",
34
+ "@aws-sdk/middleware-user-agent": "3.54.0",
35
+ "@aws-sdk/node-config-provider": "3.54.0",
36
+ "@aws-sdk/node-http-handler": "3.54.0",
37
+ "@aws-sdk/protocol-http": "3.54.0",
38
+ "@aws-sdk/smithy-client": "3.54.0",
39
+ "@aws-sdk/types": "3.54.0",
40
+ "@aws-sdk/url-parser": "3.54.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
44
- "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
- "@aws-sdk/util-user-agent-browser": "3.53.0",
48
- "@aws-sdk/util-user-agent-node": "3.53.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.0",
48
+ "@aws-sdk/util-user-agent-node": "3.54.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
- "@aws-sdk/util-waiter": "3.53.0",
51
+ "@aws-sdk/util-waiter": "3.54.0",
52
52
  "tslib": "^2.3.0"
53
53
  },
54
54
  "devDependencies": {