@aws-sdk/client-ecs 3.541.0 → 3.547.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-types/commands/CreateServiceCommand.d.ts +1 -1
- package/dist-types/commands/CreateTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/RunTaskCommand.d.ts +1 -1
- package/dist-types/commands/StartTaskCommand.d.ts +1 -1
- package/dist-types/commands/UpdateServiceCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +18 -14
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ declare const CreateServiceCommand_base: {
|
|
|
31
31
|
* Amazon ECS runs another copy of the task in the specified cluster. To update an existing
|
|
32
32
|
* service, see the <a>UpdateService</a> action.</p>
|
|
33
33
|
* <note>
|
|
34
|
-
* <p>
|
|
34
|
+
* <p>On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.</p>
|
|
35
35
|
* </note>
|
|
36
36
|
* <p>In addition to maintaining the desired count of tasks in your service, you can
|
|
37
37
|
* optionally run your service behind one or more load balancers. The load balancers
|
|
@@ -31,7 +31,7 @@ declare const CreateTaskSetCommand_base: {
|
|
|
31
31
|
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment
|
|
32
32
|
* types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
33
33
|
* <note>
|
|
34
|
-
* <p>
|
|
34
|
+
* <p>On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.</p>
|
|
35
35
|
* </note>
|
|
36
36
|
* <p>For information about the maximum number of task sets and otther quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
37
37
|
* service quotas</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
@@ -28,7 +28,7 @@ declare const RunTaskCommand_base: {
|
|
|
28
28
|
/**
|
|
29
29
|
* <p>Starts a new task using the specified task definition.</p>
|
|
30
30
|
* <note>
|
|
31
|
-
* <p>
|
|
31
|
+
* <p>On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.</p>
|
|
32
32
|
* </note>
|
|
33
33
|
* <p>You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places
|
|
34
34
|
* tasks using placement constraints and placement strategies. For more information, see
|
|
@@ -29,7 +29,7 @@ declare const StartTaskCommand_base: {
|
|
|
29
29
|
* <p>Starts a new task from the specified task definition on the specified container
|
|
30
30
|
* instance or instances.</p>
|
|
31
31
|
* <note>
|
|
32
|
-
* <p>
|
|
32
|
+
* <p>On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.</p>
|
|
33
33
|
* </note>
|
|
34
34
|
* <p>Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service. </p>
|
|
35
35
|
* <p>Alternatively, you can use <a>RunTask</a> to place tasks for you. For more
|
|
@@ -28,7 +28,7 @@ declare const UpdateServiceCommand_base: {
|
|
|
28
28
|
/**
|
|
29
29
|
* <p>Modifies the parameters of a service.</p>
|
|
30
30
|
* <note>
|
|
31
|
-
* <p>
|
|
31
|
+
* <p>On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.</p>
|
|
32
32
|
* </note>
|
|
33
33
|
* <p>For services using the rolling update (<code>ECS</code>) you can update the desired
|
|
34
34
|
* count, deployment configuration, network configuration, load balancers, service
|
|
@@ -1287,6 +1287,15 @@ export interface DeploymentConfiguration {
|
|
|
1287
1287
|
* the task towards the minimum healthy percent total.</p>
|
|
1288
1288
|
* </li>
|
|
1289
1289
|
* </ul>
|
|
1290
|
+
* <p>The default value for a replica service for
|
|
1291
|
+
* <code>minimumHealthyPercent</code> is 100%. The default
|
|
1292
|
+
* <code>minimumHealthyPercent</code> value for a service using
|
|
1293
|
+
* the <code>DAEMON</code> service schedule is 0% for the CLI,
|
|
1294
|
+
* the Amazon Web Services SDKs, and the APIs and 50% for the Amazon Web Services Management Console.</p>
|
|
1295
|
+
* <p>The minimum number of healthy tasks during a deployment is the
|
|
1296
|
+
* <code>desiredCount</code> multiplied by the
|
|
1297
|
+
* <code>minimumHealthyPercent</code>/100, rounded up to the
|
|
1298
|
+
* nearest integer value.</p>
|
|
1290
1299
|
* <p>If a service is using either the blue/green (<code>CODE_DEPLOY</code>) or
|
|
1291
1300
|
* <code>EXTERNAL</code> deployment types and is running tasks that use the
|
|
1292
1301
|
* EC2 launch type, the <b>minimum healthy
|
|
@@ -10464,22 +10473,17 @@ export interface RunTaskRequest {
|
|
|
10464
10473
|
* <p>The <code>family</code> and <code>revision</code> (<code>family:revision</code>) or
|
|
10465
10474
|
* full ARN of the task definition to run. If a <code>revision</code> isn't specified,
|
|
10466
10475
|
* the latest <code>ACTIVE</code> revision is used.</p>
|
|
10467
|
-
* <p>When you create a policy for run-task, you can set the resource to be the latest task
|
|
10468
|
-
* definition revision, or a specific revision.</p>
|
|
10469
10476
|
* <p>The full ARN value must match the value that you specified as the
|
|
10470
10477
|
* <code>Resource</code> of the principal's permissions policy.</p>
|
|
10471
|
-
* <p>When you specify
|
|
10472
|
-
*
|
|
10473
|
-
*
|
|
10474
|
-
*
|
|
10475
|
-
* <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName</code>.</p>
|
|
10476
|
-
* <p>
|
|
10477
|
-
*
|
|
10478
|
-
* <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName
|
|
10479
|
-
*
|
|
10480
|
-
* then set this value to
|
|
10481
|
-
* <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1</code>.</p>
|
|
10482
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources">Policy Resources for Amazon ECS</a> in the Amazon Elastic Container Service developer Guide.</p>
|
|
10478
|
+
* <p>When you specify a task definition, you must either specify a specific revision, or
|
|
10479
|
+
* all revisions in the ARN.</p>
|
|
10480
|
+
* <p>To specify a specific revision, include the revision number in the ARN. For example,
|
|
10481
|
+
* to specify revision 2, use
|
|
10482
|
+
* <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:2</code>.</p>
|
|
10483
|
+
* <p>To specify all revisions, use the wildcard (*) in the ARN. For example, to specify all
|
|
10484
|
+
* revisions, use
|
|
10485
|
+
* <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*</code>.</p>
|
|
10486
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources">Policy Resources for Amazon ECS</a> in the Amazon Elastic Container Service Developer Guide.</p>
|
|
10483
10487
|
* @public
|
|
10484
10488
|
*/
|
|
10485
10489
|
taskDefinition: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.547.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",
|