@aws-sdk/client-ecs 3.109.0 → 3.115.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 +24 -0
- package/README.md +4 -4
- package/dist-cjs/waiters/index.js +1 -0
- package/dist-cjs/waiters/waitForServicesStable.js +84 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForServicesStable.js +130 -0
- package/dist-types/ECS.d.ts +52 -52
- package/dist-types/ECSClient.d.ts +4 -4
- package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
- package/dist-types/commands/CreateServiceCommand.d.ts +7 -6
- package/dist-types/commands/CreateTaskSetCommand.d.ts +2 -2
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTasksCommand.d.ts +1 -0
- package/dist-types/commands/ExecuteCommandCommand.d.ts +4 -0
- package/dist-types/commands/PutAccountSettingCommand.d.ts +3 -3
- package/dist-types/commands/RunTaskCommand.d.ts +5 -5
- package/dist-types/commands/UpdateServiceCommand.d.ts +24 -30
- package/dist-types/models/models_0.d.ts +220 -183
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForServicesStable.d.ts +7 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForServicesStable.d.ts +14 -0
- package/package.json +27 -27
|
@@ -16,9 +16,9 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons
|
|
|
16
16
|
* <code>containerInstanceLongArnFormat</code> are specified, the Amazon Resource Name
|
|
17
17
|
* (ARN) and resource ID format of the resource type for a specified IAM user, IAM role, or
|
|
18
18
|
* the root user for an account is affected. The opt-in and opt-out account setting must be
|
|
19
|
-
* set for each Amazon ECS resource separately. The ARN and resource ID format of a resource
|
|
20
|
-
* defined by the opt-in status of the IAM user or role that created the resource. You
|
|
21
|
-
* turn on this setting to use Amazon ECS features such as resource tagging.</p>
|
|
19
|
+
* set for each Amazon ECS resource separately. The ARN and resource ID format of a resource
|
|
20
|
+
* is defined by the opt-in status of the IAM user or role that created the resource. You
|
|
21
|
+
* must 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
|
|
@@ -14,11 +14,11 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
|
|
|
14
14
|
* <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
15
15
|
* <p>Alternatively, you can use <a>StartTask</a> to use your own scheduler or
|
|
16
16
|
* place tasks manually on specific container instances.</p>
|
|
17
|
-
* <p>The Amazon ECS API follows an eventual consistency model. This is because of the
|
|
18
|
-
* nature of the system supporting the API. This means that the result of an
|
|
19
|
-
* you run that affects your Amazon ECS resources might not be immediately visible
|
|
20
|
-
* subsequent commands you run. Keep this in mind when you carry out an API command
|
|
21
|
-
* immediately follows a previous API command.</p>
|
|
17
|
+
* <p>The Amazon ECS API follows an eventual consistency model. This is because of the
|
|
18
|
+
* distributed nature of the system supporting the API. This means that the result of an
|
|
19
|
+
* API command you run that affects your Amazon ECS resources might not be immediately visible
|
|
20
|
+
* to all subsequent commands you run. Keep this in mind when you carry out an API command
|
|
21
|
+
* that immediately follows a previous API command.</p>
|
|
22
22
|
* <p>To manage eventual consistency, you can do the following:</p>
|
|
23
23
|
* <ul>
|
|
24
24
|
* <li>
|
|
@@ -7,27 +7,21 @@ export interface UpdateServiceCommandInput extends UpdateServiceRequest {
|
|
|
7
7
|
export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* <p>
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* 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, health check grace period, task placement
|
|
24
|
-
* constraints and strategies, enable ECS managed tags option, and propagate tags can be
|
|
25
|
-
* updated using this API. If the network configuration, platform version, task definition,
|
|
26
|
-
* or load balancer need to be updated, create a new CodeDeploy deployment. For more
|
|
10
|
+
* <p>Modifies the parameters of a service.</p>
|
|
11
|
+
* <p>For services using the rolling update (<code>ECS</code>) you can update the desired
|
|
12
|
+
* count, deployment configuration, network configuration, load balancers, service
|
|
13
|
+
* registries, enable ECS managed tags option, propagate tags option, task placement
|
|
14
|
+
* constraints and strategies, and task definition. When you update any of these
|
|
15
|
+
* parameters, Amazon ECS starts new tasks with the new configuration. </p>
|
|
16
|
+
* <p>For services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller,
|
|
17
|
+
* only the desired count, deployment configuration, health check grace period, task
|
|
18
|
+
* placement constraints and strategies, enable ECS managed tags option, and propagate tags
|
|
19
|
+
* can be updated using this API. If the network configuration, platform version, task
|
|
20
|
+
* definition, or load balancer need to be updated, create a new CodeDeploy deployment. For more
|
|
27
21
|
* 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>
|
|
28
|
-
* <p>For services using an external deployment controller, you can update only the desired
|
|
29
|
-
* task placement constraints and strategies, health check grace period, enable ECS
|
|
30
|
-
* tags option, and propagate tags option, using this API. If the launch type, load
|
|
22
|
+
* <p>For services using an external deployment controller, you can update only the desired
|
|
23
|
+
* count, task placement constraints and strategies, health check grace period, enable ECS
|
|
24
|
+
* managed tags option, and propagate tags option, using this API. If the launch type, load
|
|
31
25
|
* balancer, network configuration, platform version, or task definition need to be
|
|
32
26
|
* updated, create a new task set For more information, see <a>CreateTaskSet</a>.</p>
|
|
33
27
|
* <p>You can add to or subtract from the number of instantiations of a task definition in a
|
|
@@ -120,22 +114,22 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
|
|
|
120
114
|
* </li>
|
|
121
115
|
* </ul>
|
|
122
116
|
* <note>
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
117
|
+
* <p>You must have a service-linked role when you update any of the following service
|
|
118
|
+
* properties. If you specified a custom IAM role when you created the service, Amazon ECS
|
|
119
|
+
* automatically 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
|
|
120
|
+
* service-linked role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Service-linked roles</a> in the
|
|
121
|
+
* <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
122
|
+
* <ul>
|
|
129
123
|
* <li>
|
|
130
|
-
*
|
|
124
|
+
* <p>
|
|
131
125
|
* <code>loadBalancers,</code>
|
|
132
126
|
* </p>
|
|
133
|
-
*
|
|
127
|
+
* </li>
|
|
134
128
|
* <li>
|
|
135
|
-
*
|
|
129
|
+
* <p>
|
|
136
130
|
* <code>serviceRegistries</code>
|
|
137
131
|
* </p>
|
|
138
|
-
*
|
|
132
|
+
* </li>
|
|
139
133
|
* </ul>
|
|
140
134
|
* </note>
|
|
141
135
|
* @example
|