@aws-sdk/client-ecs 3.775.0 → 3.777.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/CreateCapacityProviderCommand.d.ts +25 -25
- package/dist-types/commands/CreateClusterCommand.d.ts +12 -12
- package/dist-types/commands/CreateServiceCommand.d.ts +75 -76
- package/dist-types/commands/CreateTaskSetCommand.d.ts +33 -33
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +19 -20
- package/dist-types/commands/DeleteAttributesCommand.d.ts +10 -10
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +18 -18
- package/dist-types/commands/DeleteClusterCommand.d.ts +12 -12
- package/dist-types/commands/DeleteServiceCommand.d.ts +7 -4
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +23 -23
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +30 -30
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +9 -6
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +22 -22
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +60 -61
- package/dist-types/commands/DescribeClustersCommand.d.ts +9 -9
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +49 -49
- package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +1 -41
- package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +1 -41
- package/dist-types/commands/DescribeServicesCommand.d.ts +32 -32
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +33 -33
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +30 -30
- package/dist-types/commands/DescribeTasksCommand.d.ts +25 -25
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +1 -0
- package/dist-types/commands/ExecuteCommandCommand.d.ts +17 -17
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +10 -10
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +31 -32
- package/dist-types/commands/ListAttributesCommand.d.ts +11 -11
- package/dist-types/commands/ListClustersCommand.d.ts +5 -5
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +5 -5
- package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +12 -12
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +1 -0
- package/dist-types/commands/ListServicesCommand.d.ts +5 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +7 -7
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +16 -17
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +16 -17
- package/dist-types/commands/ListTasksCommand.d.ts +16 -17
- package/dist-types/commands/PutAccountSettingCommand.d.ts +21 -22
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +9 -9
- package/dist-types/commands/PutAttributesCommand.d.ts +12 -12
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +129 -131
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -0
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +29 -29
- package/dist-types/commands/RunTaskCommand.d.ts +19 -19
- package/dist-types/commands/StartTaskCommand.d.ts +29 -29
- package/dist-types/commands/StopTaskCommand.d.ts +37 -37
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -0
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +1 -0
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +10 -7
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +25 -25
- package/dist-types/commands/UpdateClusterCommand.d.ts +103 -104
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +20 -20
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +12 -12
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +90 -90
- package/dist-types/commands/UpdateServiceCommand.d.ts +18 -13
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +29 -29
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +35 -37
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +32 -32
- package/package.json +2 -2
|
@@ -384,18 +384,21 @@ declare const DeleteServiceCommand_base: {
|
|
|
384
384
|
* @throws {@link ECSServiceException}
|
|
385
385
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
386
386
|
*
|
|
387
|
-
*
|
|
387
|
+
*
|
|
388
388
|
* @example To delete a service
|
|
389
389
|
* ```javascript
|
|
390
390
|
* // This example deletes the my-http-service service. The service must have a desired count and running count of 0 before you can delete it.
|
|
391
391
|
* const input = {
|
|
392
|
-
*
|
|
392
|
+
* service: "my-http-service"
|
|
393
393
|
* };
|
|
394
394
|
* const command = new DeleteServiceCommand(input);
|
|
395
|
-
* await client.send(command);
|
|
396
|
-
*
|
|
395
|
+
* const response = await client.send(command);
|
|
396
|
+
* /* response is
|
|
397
|
+
* { /* empty *\/ }
|
|
398
|
+
* *\/
|
|
397
399
|
* ```
|
|
398
400
|
*
|
|
401
|
+
* @public
|
|
399
402
|
*/
|
|
400
403
|
export declare class DeleteServiceCommand extends DeleteServiceCommand_base {
|
|
401
404
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -381,54 +381,54 @@ declare const DeleteTaskDefinitionsCommand_base: {
|
|
|
381
381
|
* @throws {@link ECSServiceException}
|
|
382
382
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
383
383
|
*
|
|
384
|
-
*
|
|
384
|
+
*
|
|
385
385
|
* @example To delete a task definition that has been deregistered
|
|
386
386
|
* ```javascript
|
|
387
387
|
* // This example deletes a specified deregistered task definition.
|
|
388
388
|
* const input = {
|
|
389
|
-
*
|
|
389
|
+
* taskDefinitions: [
|
|
390
390
|
* "Example-task-definition:1"
|
|
391
391
|
* ]
|
|
392
392
|
* };
|
|
393
393
|
* const command = new DeleteTaskDefinitionsCommand(input);
|
|
394
394
|
* const response = await client.send(command);
|
|
395
|
-
* /* response
|
|
395
|
+
* /* response is
|
|
396
396
|
* {
|
|
397
|
-
*
|
|
398
|
-
*
|
|
397
|
+
* failures: [],
|
|
398
|
+
* taskDefinitions: [
|
|
399
399
|
* {
|
|
400
|
-
*
|
|
400
|
+
* containerDefinitions: [
|
|
401
401
|
* {
|
|
402
|
-
*
|
|
403
|
-
* "command": [
|
|
402
|
+
* command: [
|
|
404
403
|
* "apt-get update; apt-get install stress; while true; do stress --cpu $(( RANDOM % 4 )) -t $(( RANDOM % 10 )); done"
|
|
405
404
|
* ],
|
|
406
|
-
*
|
|
407
|
-
*
|
|
405
|
+
* cpu: 50,
|
|
406
|
+
* entryPoint: [
|
|
408
407
|
* "bash",
|
|
409
408
|
* "-c"
|
|
410
409
|
* ],
|
|
411
|
-
*
|
|
412
|
-
*
|
|
413
|
-
*
|
|
414
|
-
*
|
|
415
|
-
*
|
|
416
|
-
* "
|
|
417
|
-
*
|
|
410
|
+
* environment: [],
|
|
411
|
+
* essential: true,
|
|
412
|
+
* image: "ubuntu",
|
|
413
|
+
* memory: 100,
|
|
414
|
+
* mountPoints: [],
|
|
415
|
+
* name: "wave",
|
|
416
|
+
* portMappings: [],
|
|
417
|
+
* volumesFrom: []
|
|
418
418
|
* }
|
|
419
419
|
* ],
|
|
420
|
-
*
|
|
421
|
-
*
|
|
422
|
-
*
|
|
423
|
-
*
|
|
424
|
-
*
|
|
420
|
+
* family: "cpu-wave",
|
|
421
|
+
* revision: 1,
|
|
422
|
+
* status: "DELETE_IN_PROGRESS",
|
|
423
|
+
* taskDefinitionArn: "arn:aws:ecs:us-east-1:012345678910:task-definition/Example-task-definition:1",
|
|
424
|
+
* volumes: []
|
|
425
425
|
* }
|
|
426
426
|
* ]
|
|
427
427
|
* }
|
|
428
428
|
* *\/
|
|
429
|
-
* // example id: to-delete-a-task-definition-that-has-been-deregistered-1733940790186
|
|
430
429
|
* ```
|
|
431
430
|
*
|
|
431
|
+
* @public
|
|
432
432
|
*/
|
|
433
433
|
export declare class DeleteTaskDefinitionsCommand extends DeleteTaskDefinitionsCommand_base {
|
|
434
434
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -168,56 +168,56 @@ declare const DeleteTaskSetCommand_base: {
|
|
|
168
168
|
* @throws {@link ECSServiceException}
|
|
169
169
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
170
170
|
*
|
|
171
|
-
*
|
|
171
|
+
*
|
|
172
172
|
* @example To delete a task set within a service that uses the EXTERNAL deployment controller type
|
|
173
173
|
* ```javascript
|
|
174
174
|
* // This example deletes a task set and uses the force flag to force deletion if it hasn't scaled to zero.
|
|
175
175
|
* const input = {
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
176
|
+
* cluster: "MyCluster",
|
|
177
|
+
* force: true,
|
|
178
|
+
* service: "MyService",
|
|
179
|
+
* taskSet: "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789"
|
|
180
180
|
* };
|
|
181
181
|
* const command = new DeleteTaskSetCommand(input);
|
|
182
182
|
* const response = await client.send(command);
|
|
183
|
-
* /* response
|
|
183
|
+
* /* response is
|
|
184
184
|
* {
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
*
|
|
185
|
+
* taskSet: {
|
|
186
|
+
* computedDesiredCount: 0,
|
|
187
|
+
* createdAt: 1.557130260276E9,
|
|
188
|
+
* id: "ecs-svc/1234567890123456789",
|
|
189
|
+
* launchType: "EC2",
|
|
190
|
+
* loadBalancers: [],
|
|
191
|
+
* networkConfiguration: {
|
|
192
|
+
* awsvpcConfiguration: {
|
|
193
|
+
* assignPublicIp: "DISABLED",
|
|
194
|
+
* securityGroups: [
|
|
195
195
|
* "sg-12345678"
|
|
196
196
|
* ],
|
|
197
|
-
*
|
|
197
|
+
* subnets: [
|
|
198
198
|
* "subnet-12345678"
|
|
199
199
|
* ]
|
|
200
200
|
* }
|
|
201
201
|
* },
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
* "
|
|
206
|
-
*
|
|
202
|
+
* pendingCount: 0,
|
|
203
|
+
* runningCount: 0,
|
|
204
|
+
* scale: {
|
|
205
|
+
* unit: "PERCENT",
|
|
206
|
+
* value: 0
|
|
207
207
|
* },
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
*
|
|
208
|
+
* serviceRegistries: [],
|
|
209
|
+
* stabilityStatus: "STABILIZING",
|
|
210
|
+
* stabilityStatusAt: 1.557130290707E9,
|
|
211
|
+
* status: "DRAINING",
|
|
212
|
+
* taskDefinition: "arn:aws:ecs:us-west-2:123456789012:task-definition/sample-fargate:2",
|
|
213
|
+
* taskSetArn: "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789",
|
|
214
|
+
* updatedAt: 1.557130290707E9
|
|
215
215
|
* }
|
|
216
216
|
* }
|
|
217
217
|
* *\/
|
|
218
|
-
* // example id: to-delete-a-task-set-within-a-service-that-uses-the-external-deployment-controller-type-1733949897807
|
|
219
218
|
* ```
|
|
220
219
|
*
|
|
220
|
+
* @public
|
|
221
221
|
*/
|
|
222
222
|
export declare class DeleteTaskSetCommand extends DeleteTaskSetCommand_base {
|
|
223
223
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -174,20 +174,23 @@ declare const DeregisterContainerInstanceCommand_base: {
|
|
|
174
174
|
* @throws {@link ECSServiceException}
|
|
175
175
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
176
176
|
*
|
|
177
|
-
*
|
|
177
|
+
*
|
|
178
178
|
* @example To deregister a container instance from a cluster
|
|
179
179
|
* ```javascript
|
|
180
180
|
* // This example deregisters a container instance from the specified cluster in your default region. If there are still tasks running on the container instance, you must either stop those tasks before deregistering, or use the force option.
|
|
181
181
|
* const input = {
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
182
|
+
* cluster: "default",
|
|
183
|
+
* containerInstance: "container_instance_UUID",
|
|
184
|
+
* force: true
|
|
185
185
|
* };
|
|
186
186
|
* const command = new DeregisterContainerInstanceCommand(input);
|
|
187
|
-
* await client.send(command);
|
|
188
|
-
*
|
|
187
|
+
* const response = await client.send(command);
|
|
188
|
+
* /* response is
|
|
189
|
+
* { /* empty *\/ }
|
|
190
|
+
* *\/
|
|
189
191
|
* ```
|
|
190
192
|
*
|
|
193
|
+
* @public
|
|
191
194
|
*/
|
|
192
195
|
export declare class DeregisterContainerInstanceCommand extends DeregisterContainerInstanceCommand_base {
|
|
193
196
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -365,46 +365,46 @@ declare const DeregisterTaskDefinitionCommand_base: {
|
|
|
365
365
|
* @throws {@link ECSServiceException}
|
|
366
366
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
367
367
|
*
|
|
368
|
-
*
|
|
368
|
+
*
|
|
369
369
|
* @example To deregister a revision of a task definition
|
|
370
370
|
* ```javascript
|
|
371
371
|
* // This example deregisters the first revision of the curler task definition
|
|
372
372
|
* const input = {
|
|
373
|
-
*
|
|
373
|
+
* taskDefinition: "curler:1"
|
|
374
374
|
* };
|
|
375
375
|
* const command = new DeregisterTaskDefinitionCommand(input);
|
|
376
376
|
* const response = await client.send(command);
|
|
377
|
-
* /* response
|
|
377
|
+
* /* response is
|
|
378
378
|
* {
|
|
379
|
-
*
|
|
380
|
-
*
|
|
379
|
+
* taskDefinition: {
|
|
380
|
+
* containerDefinitions: [
|
|
381
381
|
* {
|
|
382
|
-
*
|
|
383
|
-
* "command": [
|
|
382
|
+
* command: [
|
|
384
383
|
* "curl -v http://example.com/"
|
|
385
384
|
* ],
|
|
386
|
-
*
|
|
387
|
-
*
|
|
388
|
-
*
|
|
389
|
-
*
|
|
390
|
-
*
|
|
391
|
-
*
|
|
392
|
-
*
|
|
393
|
-
* "
|
|
394
|
-
*
|
|
385
|
+
* cpu: 100,
|
|
386
|
+
* entryPoint: [],
|
|
387
|
+
* environment: [],
|
|
388
|
+
* essential: true,
|
|
389
|
+
* image: "curl:latest",
|
|
390
|
+
* memory: 256,
|
|
391
|
+
* mountPoints: [],
|
|
392
|
+
* name: "curler",
|
|
393
|
+
* portMappings: [],
|
|
394
|
+
* volumesFrom: []
|
|
395
395
|
* }
|
|
396
396
|
* ],
|
|
397
|
-
*
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
*
|
|
401
|
-
*
|
|
397
|
+
* family: "curler",
|
|
398
|
+
* revision: 1,
|
|
399
|
+
* status: "INACTIVE",
|
|
400
|
+
* taskDefinitionArn: "arn:aws:ecs:us-west-2:123456789012:task-definition/curler:1",
|
|
401
|
+
* volumes: []
|
|
402
402
|
* }
|
|
403
403
|
* }
|
|
404
404
|
* *\/
|
|
405
|
-
* // example id: to-deregister-a-revision-of-a-task-definition-1733950214421
|
|
406
405
|
* ```
|
|
407
406
|
*
|
|
407
|
+
* @public
|
|
408
408
|
*/
|
|
409
409
|
export declare class DeregisterTaskDefinitionCommand extends DeregisterTaskDefinitionCommand_base {
|
|
410
410
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -118,93 +118,92 @@ declare const DescribeCapacityProvidersCommand_base: {
|
|
|
118
118
|
* @throws {@link ECSServiceException}
|
|
119
119
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
120
120
|
*
|
|
121
|
-
*
|
|
122
|
-
* @example To describe
|
|
121
|
+
*
|
|
122
|
+
* @example To describe a specific capacity provider
|
|
123
123
|
* ```javascript
|
|
124
|
-
* // This example retrieves details about
|
|
125
|
-
* const input = {
|
|
124
|
+
* // This example retrieves details about the capacity provider MyCapacityProvider
|
|
125
|
+
* const input = {
|
|
126
|
+
* capacityProviders: [
|
|
127
|
+
* "MyCapacityProvider"
|
|
128
|
+
* ],
|
|
129
|
+
* include: [
|
|
130
|
+
* "TAGS"
|
|
131
|
+
* ]
|
|
132
|
+
* };
|
|
126
133
|
* const command = new DescribeCapacityProvidersCommand(input);
|
|
127
134
|
* const response = await client.send(command);
|
|
128
|
-
* /* response
|
|
135
|
+
* /* response is
|
|
129
136
|
* {
|
|
130
|
-
*
|
|
137
|
+
* capacityProviders: [
|
|
131
138
|
* {
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
* "
|
|
138
|
-
*
|
|
139
|
-
* "targetCapacity": 100
|
|
139
|
+
* autoScalingGroupProvider: {
|
|
140
|
+
* autoScalingGroupArn: "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup",
|
|
141
|
+
* managedScaling: {
|
|
142
|
+
* maximumScalingStepSize: 1000,
|
|
143
|
+
* minimumScalingStepSize: 1,
|
|
144
|
+
* status: "ENABLED",
|
|
145
|
+
* targetCapacity: 100
|
|
140
146
|
* },
|
|
141
|
-
*
|
|
147
|
+
* managedTerminationProtection: "ENABLED"
|
|
142
148
|
* },
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
* "
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
* },
|
|
153
|
-
* {
|
|
154
|
-
* "name": "FARGATE_SPOT",
|
|
155
|
-
* "capacityProviderArn": "arn:aws:ecs:us-west-2:123456789012:capacity-provider/FARGATE_SPOT",
|
|
156
|
-
* "status": "ACTIVE",
|
|
157
|
-
* "tags": []
|
|
149
|
+
* capacityProviderArn: "arn:aws:ecs:us-west-2:123456789012:capacity-provider/MyCapacityProvider",
|
|
150
|
+
* name: "MyCapacityProvider",
|
|
151
|
+
* status: "ACTIVE",
|
|
152
|
+
* tags: [
|
|
153
|
+
* {
|
|
154
|
+
* key: "environment",
|
|
155
|
+
* value: "production"
|
|
156
|
+
* }
|
|
157
|
+
* ]
|
|
158
158
|
* }
|
|
159
159
|
* ]
|
|
160
160
|
* }
|
|
161
161
|
* *\/
|
|
162
|
-
* // example id: to-describe-all-capacity-providers-1733951199913
|
|
163
162
|
* ```
|
|
164
163
|
*
|
|
165
|
-
* @example To describe
|
|
164
|
+
* @example To describe all capacity providers
|
|
166
165
|
* ```javascript
|
|
167
|
-
* // This example retrieves details about
|
|
168
|
-
* const input = {
|
|
169
|
-
* "capacityProviders": [
|
|
170
|
-
* "MyCapacityProvider"
|
|
171
|
-
* ],
|
|
172
|
-
* "include": [
|
|
173
|
-
* "TAGS"
|
|
174
|
-
* ]
|
|
175
|
-
* };
|
|
166
|
+
* // This example retrieves details about all capacity providers.
|
|
167
|
+
* const input = { /* empty *\/ };
|
|
176
168
|
* const command = new DescribeCapacityProvidersCommand(input);
|
|
177
169
|
* const response = await client.send(command);
|
|
178
|
-
* /* response
|
|
170
|
+
* /* response is
|
|
179
171
|
* {
|
|
180
|
-
*
|
|
172
|
+
* capacityProviders: [
|
|
181
173
|
* {
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
* "
|
|
188
|
-
*
|
|
189
|
-
* "targetCapacity": 100
|
|
174
|
+
* autoScalingGroupProvider: {
|
|
175
|
+
* autoScalingGroupArn: "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup",
|
|
176
|
+
* managedScaling: {
|
|
177
|
+
* maximumScalingStepSize: 1000,
|
|
178
|
+
* minimumScalingStepSize: 1,
|
|
179
|
+
* status: "ENABLED",
|
|
180
|
+
* targetCapacity: 100
|
|
190
181
|
* },
|
|
191
|
-
*
|
|
182
|
+
* managedTerminationProtection: "ENABLED"
|
|
192
183
|
* },
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
* "
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
184
|
+
* capacityProviderArn: "arn:aws:ecs:us-west-2:123456789012:capacity-provider/MyCapacityProvider",
|
|
185
|
+
* name: "MyCapacityProvider",
|
|
186
|
+
* status: "ACTIVE",
|
|
187
|
+
* tags: []
|
|
188
|
+
* },
|
|
189
|
+
* {
|
|
190
|
+
* capacityProviderArn: "arn:aws:ecs:us-west-2:123456789012:capacity-provider/FARGATE",
|
|
191
|
+
* name: "FARGATE",
|
|
192
|
+
* status: "ACTIVE",
|
|
193
|
+
* tags: []
|
|
194
|
+
* },
|
|
195
|
+
* {
|
|
196
|
+
* capacityProviderArn: "arn:aws:ecs:us-west-2:123456789012:capacity-provider/FARGATE_SPOT",
|
|
197
|
+
* name: "FARGATE_SPOT",
|
|
198
|
+
* status: "ACTIVE",
|
|
199
|
+
* tags: []
|
|
201
200
|
* }
|
|
202
201
|
* ]
|
|
203
202
|
* }
|
|
204
203
|
* *\/
|
|
205
|
-
* // example id: to-describe-a-specific-capacity-provider-1733951378688
|
|
206
204
|
* ```
|
|
207
205
|
*
|
|
206
|
+
* @public
|
|
208
207
|
*/
|
|
209
208
|
export declare class DescribeCapacityProvidersCommand extends DescribeCapacityProvidersCommand_base {
|
|
210
209
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -162,32 +162,32 @@ declare const DescribeClustersCommand_base: {
|
|
|
162
162
|
* @throws {@link ECSServiceException}
|
|
163
163
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
164
164
|
*
|
|
165
|
-
*
|
|
165
|
+
*
|
|
166
166
|
* @example To describe a cluster
|
|
167
167
|
* ```javascript
|
|
168
168
|
* // This example provides a description of the specified cluster in your default region.
|
|
169
169
|
* const input = {
|
|
170
|
-
*
|
|
170
|
+
* clusters: [
|
|
171
171
|
* "default"
|
|
172
172
|
* ]
|
|
173
173
|
* };
|
|
174
174
|
* const command = new DescribeClustersCommand(input);
|
|
175
175
|
* const response = await client.send(command);
|
|
176
|
-
* /* response
|
|
176
|
+
* /* response is
|
|
177
177
|
* {
|
|
178
|
-
*
|
|
178
|
+
* clusters: [
|
|
179
179
|
* {
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
*
|
|
180
|
+
* clusterArn: "arn:aws:ecs:us-east-1:aws_account_id:cluster/default",
|
|
181
|
+
* clusterName: "default",
|
|
182
|
+
* status: "ACTIVE"
|
|
183
183
|
* }
|
|
184
184
|
* ],
|
|
185
|
-
*
|
|
185
|
+
* failures: []
|
|
186
186
|
* }
|
|
187
187
|
* *\/
|
|
188
|
-
* // example id: ba88d100-9672-4231-80da-a4bd210bf728
|
|
189
188
|
* ```
|
|
190
189
|
*
|
|
190
|
+
* @public
|
|
191
191
|
*/
|
|
192
192
|
export declare class DescribeClustersCommand extends DescribeClustersCommand_base {
|
|
193
193
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -175,95 +175,95 @@ declare const DescribeContainerInstancesCommand_base: {
|
|
|
175
175
|
* @throws {@link ECSServiceException}
|
|
176
176
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
177
177
|
*
|
|
178
|
-
*
|
|
178
|
+
*
|
|
179
179
|
* @example To describe container instance
|
|
180
180
|
* ```javascript
|
|
181
181
|
* // This example provides a description of the specified container instance in your default region, using the container instance UUID as an identifier.
|
|
182
182
|
* const input = {
|
|
183
|
-
*
|
|
184
|
-
*
|
|
183
|
+
* cluster: "default",
|
|
184
|
+
* containerInstances: [
|
|
185
185
|
* "f2756532-8f13-4d53-87c9-aed50dc94cd7"
|
|
186
186
|
* ]
|
|
187
187
|
* };
|
|
188
188
|
* const command = new DescribeContainerInstancesCommand(input);
|
|
189
189
|
* const response = await client.send(command);
|
|
190
|
-
* /* response
|
|
190
|
+
* /* response is
|
|
191
191
|
* {
|
|
192
|
-
*
|
|
192
|
+
* containerInstances: [
|
|
193
193
|
* {
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
194
|
+
* agentConnected: true,
|
|
195
|
+
* containerInstanceArn: "arn:aws:ecs:us-east-1:012345678910:container-instance/default/f2756532-8f13-4d53-87c9-aed50dc94cd7",
|
|
196
|
+
* ec2InstanceId: "i-807f3249",
|
|
197
|
+
* pendingTasksCount: 0,
|
|
198
|
+
* registeredResources: [
|
|
199
199
|
* {
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
203
|
-
* "
|
|
204
|
-
* "
|
|
200
|
+
* doubleValue: 0.0,
|
|
201
|
+
* integerValue: 2048,
|
|
202
|
+
* longValue: 0,
|
|
203
|
+
* name: "CPU",
|
|
204
|
+
* type: "INTEGER"
|
|
205
205
|
* },
|
|
206
206
|
* {
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
* "
|
|
211
|
-
* "
|
|
207
|
+
* doubleValue: 0.0,
|
|
208
|
+
* integerValue: 3768,
|
|
209
|
+
* longValue: 0,
|
|
210
|
+
* name: "MEMORY",
|
|
211
|
+
* type: "INTEGER"
|
|
212
212
|
* },
|
|
213
213
|
* {
|
|
214
|
-
*
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
* "
|
|
218
|
-
*
|
|
219
|
-
* "stringSetValue": [
|
|
214
|
+
* doubleValue: 0.0,
|
|
215
|
+
* integerValue: 0,
|
|
216
|
+
* longValue: 0,
|
|
217
|
+
* name: "PORTS",
|
|
218
|
+
* stringSetValue: [
|
|
220
219
|
* "2376",
|
|
221
220
|
* "22",
|
|
222
221
|
* "51678",
|
|
223
222
|
* "2375"
|
|
224
|
-
* ]
|
|
223
|
+
* ],
|
|
224
|
+
* type: "STRINGSET"
|
|
225
225
|
* }
|
|
226
226
|
* ],
|
|
227
|
-
*
|
|
227
|
+
* remainingResources: [
|
|
228
228
|
* {
|
|
229
|
-
*
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
* "
|
|
233
|
-
* "
|
|
229
|
+
* doubleValue: 0.0,
|
|
230
|
+
* integerValue: 1948,
|
|
231
|
+
* longValue: 0,
|
|
232
|
+
* name: "CPU",
|
|
233
|
+
* type: "INTEGER"
|
|
234
234
|
* },
|
|
235
235
|
* {
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
* "
|
|
240
|
-
* "
|
|
236
|
+
* doubleValue: 0.0,
|
|
237
|
+
* integerValue: 3668,
|
|
238
|
+
* longValue: 0,
|
|
239
|
+
* name: "MEMORY",
|
|
240
|
+
* type: "INTEGER"
|
|
241
241
|
* },
|
|
242
242
|
* {
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
* "
|
|
247
|
-
*
|
|
248
|
-
* "stringSetValue": [
|
|
243
|
+
* doubleValue: 0.0,
|
|
244
|
+
* integerValue: 0,
|
|
245
|
+
* longValue: 0,
|
|
246
|
+
* name: "PORTS",
|
|
247
|
+
* stringSetValue: [
|
|
249
248
|
* "2376",
|
|
250
249
|
* "22",
|
|
251
250
|
* "80",
|
|
252
251
|
* "51678",
|
|
253
252
|
* "2375"
|
|
254
|
-
* ]
|
|
253
|
+
* ],
|
|
254
|
+
* type: "STRINGSET"
|
|
255
255
|
* }
|
|
256
256
|
* ],
|
|
257
|
-
*
|
|
258
|
-
*
|
|
257
|
+
* runningTasksCount: 1,
|
|
258
|
+
* status: "ACTIVE"
|
|
259
259
|
* }
|
|
260
260
|
* ],
|
|
261
|
-
*
|
|
261
|
+
* failures: []
|
|
262
262
|
* }
|
|
263
263
|
* *\/
|
|
264
|
-
* // example id: c8f439de-eb27-4269-8ca7-2c0a7ba75ab0
|
|
265
264
|
* ```
|
|
266
265
|
*
|
|
266
|
+
* @public
|
|
267
267
|
*/
|
|
268
268
|
export declare class DescribeContainerInstancesCommand extends DescribeContainerInstancesCommand_base {
|
|
269
269
|
/** @internal type navigation helper, not in runtime. */
|