@aws-sdk/client-ecs 3.774.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-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/ECSClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- 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 +34 -34
|
@@ -438,47 +438,47 @@ declare const RunTaskCommand_base: {
|
|
|
438
438
|
* @throws {@link ECSServiceException}
|
|
439
439
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
440
440
|
*
|
|
441
|
-
*
|
|
441
|
+
*
|
|
442
442
|
* @example To run a task on your default cluster
|
|
443
443
|
* ```javascript
|
|
444
444
|
* // This example runs the specified task definition on your default cluster.
|
|
445
445
|
* const input = {
|
|
446
|
-
*
|
|
447
|
-
*
|
|
446
|
+
* cluster: "default",
|
|
447
|
+
* taskDefinition: "sleep360:1"
|
|
448
448
|
* };
|
|
449
449
|
* const command = new RunTaskCommand(input);
|
|
450
450
|
* const response = await client.send(command);
|
|
451
|
-
* /* response
|
|
451
|
+
* /* response is
|
|
452
452
|
* {
|
|
453
|
-
*
|
|
453
|
+
* tasks: [
|
|
454
454
|
* {
|
|
455
|
-
*
|
|
456
|
-
*
|
|
455
|
+
* containerInstanceArn: "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/default/ffe3d344-77e2-476c-a4d0-bf560ad50acb",
|
|
456
|
+
* containers: [
|
|
457
457
|
* {
|
|
458
|
-
*
|
|
459
|
-
*
|
|
460
|
-
*
|
|
461
|
-
*
|
|
458
|
+
* containerArn: "arn:aws:ecs:us-east-1:<aws_account_id>:container/default/58591c8e-be29-4ddf-95aa-ee459d4c59fd",
|
|
459
|
+
* lastStatus: "PENDING",
|
|
460
|
+
* name: "sleep",
|
|
461
|
+
* taskArn: "arn:aws:ecs:us-east-1:<aws_account_id>:task/default/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0"
|
|
462
462
|
* }
|
|
463
463
|
* ],
|
|
464
|
-
*
|
|
465
|
-
*
|
|
466
|
-
*
|
|
467
|
-
*
|
|
464
|
+
* desiredStatus: "RUNNING",
|
|
465
|
+
* lastStatus: "PENDING",
|
|
466
|
+
* overrides: {
|
|
467
|
+
* containerOverrides: [
|
|
468
468
|
* {
|
|
469
|
-
*
|
|
469
|
+
* name: "sleep"
|
|
470
470
|
* }
|
|
471
471
|
* ]
|
|
472
472
|
* },
|
|
473
|
-
*
|
|
474
|
-
*
|
|
473
|
+
* taskArn: "arn:aws:ecs:us-east-1:<aws_account_id>:task/default/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0",
|
|
474
|
+
* taskDefinitionArn: "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/sleep360:1"
|
|
475
475
|
* }
|
|
476
476
|
* ]
|
|
477
477
|
* }
|
|
478
478
|
* *\/
|
|
479
|
-
* // example id: 6f238c83-a133-42cd-ab3d-abeca0560445
|
|
480
479
|
* ```
|
|
481
480
|
*
|
|
481
|
+
* @public
|
|
482
482
|
*/
|
|
483
483
|
export declare class RunTaskCommand extends RunTaskCommand_base {
|
|
484
484
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -362,63 +362,63 @@ declare const StartTaskCommand_base: {
|
|
|
362
362
|
* @throws {@link ECSServiceException}
|
|
363
363
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
364
364
|
*
|
|
365
|
-
*
|
|
365
|
+
*
|
|
366
366
|
* @example To start a new task
|
|
367
367
|
* ```javascript
|
|
368
368
|
* // This example starts a new task in the cluster "MyCluster" on the specified container instance using the latest revision of the "hello-world" task definition.
|
|
369
369
|
* const input = {
|
|
370
|
-
*
|
|
371
|
-
*
|
|
370
|
+
* cluster: "MyCluster",
|
|
371
|
+
* containerInstances: [
|
|
372
372
|
* "4c543eed-f83f-47da-b1d8-3d23f1da4c64"
|
|
373
373
|
* ],
|
|
374
|
-
*
|
|
374
|
+
* taskDefinition: "hello-world"
|
|
375
375
|
* };
|
|
376
376
|
* const command = new StartTaskCommand(input);
|
|
377
377
|
* const response = await client.send(command);
|
|
378
|
-
* /* response
|
|
378
|
+
* /* response is
|
|
379
379
|
* {
|
|
380
|
-
*
|
|
381
|
-
*
|
|
380
|
+
* failures: [],
|
|
381
|
+
* tasks: [
|
|
382
382
|
* {
|
|
383
|
-
* "
|
|
384
|
-
*
|
|
385
|
-
*
|
|
386
|
-
* "containers": [
|
|
383
|
+
* clusterArn: "arn:aws:ecs:us-east-1:012345678910:cluster/default",
|
|
384
|
+
* containerInstanceArn: "arn:aws:ecs:us-east-1:012345678910:container-instance/default/4c543eed-f83f-47da-b1d8-3d23f1da4c64",
|
|
385
|
+
* containers: [
|
|
387
386
|
* {
|
|
388
|
-
*
|
|
389
|
-
*
|
|
390
|
-
*
|
|
391
|
-
*
|
|
387
|
+
* containerArn: "arn:aws:ecs:us-east-1:012345678910:container/e76594d4-27e1-4c74-98b5-46a6435eb769",
|
|
388
|
+
* lastStatus: "PENDING",
|
|
389
|
+
* name: "wordpress",
|
|
390
|
+
* taskArn: "arn:aws:ecs:us-east-1:012345678910:task/default/fdf2c302-468c-4e55-b884-5331d816e7fb"
|
|
392
391
|
* },
|
|
393
392
|
* {
|
|
394
|
-
*
|
|
395
|
-
*
|
|
396
|
-
*
|
|
397
|
-
*
|
|
393
|
+
* containerArn: "arn:aws:ecs:us-east-1:012345678910:container/default/b19106ea-4fa8-4f1d-9767-96922c82b070",
|
|
394
|
+
* lastStatus: "PENDING",
|
|
395
|
+
* name: "mysql",
|
|
396
|
+
* taskArn: "arn:aws:ecs:us-east-1:012345678910:task/default/fdf2c302-468c-4e55-b884-5331d816e7fb"
|
|
398
397
|
* }
|
|
399
398
|
* ],
|
|
400
|
-
*
|
|
401
|
-
*
|
|
402
|
-
*
|
|
403
|
-
*
|
|
404
|
-
*
|
|
399
|
+
* createdAt: 1.479765460842E9,
|
|
400
|
+
* desiredStatus: "RUNNING",
|
|
401
|
+
* lastStatus: "PENDING",
|
|
402
|
+
* overrides: {
|
|
403
|
+
* containerOverrides: [
|
|
405
404
|
* {
|
|
406
|
-
*
|
|
405
|
+
* name: "wordpress"
|
|
407
406
|
* },
|
|
408
407
|
* {
|
|
409
|
-
*
|
|
408
|
+
* name: "mysql"
|
|
410
409
|
* }
|
|
411
410
|
* ]
|
|
412
411
|
* },
|
|
413
|
-
*
|
|
414
|
-
*
|
|
412
|
+
* taskArn: "arn:aws:ecs:us-east-1:012345678910:task/default/fdf2c302-468c-4e55-b884-5331d816e7fb",
|
|
413
|
+
* taskDefinitionArn: "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6",
|
|
414
|
+
* version: 1
|
|
415
415
|
* }
|
|
416
416
|
* ]
|
|
417
417
|
* }
|
|
418
418
|
* *\/
|
|
419
|
-
* // example id: to-start-a-new-task-1734455482966
|
|
420
419
|
* ```
|
|
421
420
|
*
|
|
421
|
+
* @public
|
|
422
422
|
*/
|
|
423
423
|
export declare class StartTaskCommand extends StartTaskCommand_base {
|
|
424
424
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -256,70 +256,70 @@ declare const StopTaskCommand_base: {
|
|
|
256
256
|
* @throws {@link ECSServiceException}
|
|
257
257
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
258
258
|
*
|
|
259
|
-
*
|
|
259
|
+
*
|
|
260
260
|
* @example To stop a task
|
|
261
261
|
* ```javascript
|
|
262
262
|
* // This example stops a task with ID "1dc5c17a-422b-4dc4-b493-371970c6c4d6" in cluster "MyCluster".
|
|
263
263
|
* const input = {
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
*
|
|
264
|
+
* cluster: "MyCluster",
|
|
265
|
+
* reason: "testing stop task.",
|
|
266
|
+
* task: "1dc5c17a-422b-4dc4-b493-371970c6c4d6"
|
|
267
267
|
* };
|
|
268
268
|
* const command = new StopTaskCommand(input);
|
|
269
269
|
* const response = await client.send(command);
|
|
270
|
-
* /* response
|
|
270
|
+
* /* response is
|
|
271
271
|
* {
|
|
272
|
-
*
|
|
273
|
-
* "
|
|
274
|
-
*
|
|
275
|
-
*
|
|
276
|
-
* "containers": [
|
|
272
|
+
* task: {
|
|
273
|
+
* clusterArn: "arn:aws:ecs:us-east-1:012345678910:cluster/MyCluster",
|
|
274
|
+
* containerInstanceArn: "arn:aws:ecs:us-east-1:012345678910:container-instance/MyCluster/5991d8da-1d59-49d2-a31f-4230f9e73140",
|
|
275
|
+
* containers: [
|
|
277
276
|
* {
|
|
278
|
-
*
|
|
279
|
-
*
|
|
280
|
-
*
|
|
281
|
-
*
|
|
277
|
+
* containerArn: "arn:aws:ecs:us-east-1:012345678910:container/4df26bb4-f057-467b-a079-961675296e64",
|
|
278
|
+
* lastStatus: "RUNNING",
|
|
279
|
+
* name: "simple-app",
|
|
280
|
+
* networkBindings: [
|
|
282
281
|
* {
|
|
283
|
-
*
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
*
|
|
282
|
+
* bindIP: "0.0.0.0",
|
|
283
|
+
* containerPort: 80,
|
|
284
|
+
* hostPort: 32774,
|
|
285
|
+
* protocol: "tcp"
|
|
287
286
|
* }
|
|
288
287
|
* ],
|
|
289
|
-
*
|
|
288
|
+
* taskArn: "arn:aws:ecs:us-east-1:012345678910:task/MyCluster/1dc5c17a-422b-4dc4-b493-371970c6c4d6"
|
|
290
289
|
* },
|
|
291
290
|
* {
|
|
292
|
-
*
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
*
|
|
296
|
-
*
|
|
291
|
+
* containerArn: "arn:aws:ecs:us-east-1:012345678910:container/e09064f7-7361-4c87-8ab9-8d073bbdbcb9",
|
|
292
|
+
* lastStatus: "RUNNING",
|
|
293
|
+
* name: "busybox",
|
|
294
|
+
* networkBindings: [],
|
|
295
|
+
* taskArn: "arn:aws:ecs:us-east-1:012345678910:task/MyCluster/1dc5c17a-422b-4dc4-b493-371970c6c4d6"
|
|
297
296
|
* }
|
|
298
297
|
* ],
|
|
299
|
-
*
|
|
300
|
-
*
|
|
301
|
-
*
|
|
302
|
-
*
|
|
303
|
-
*
|
|
298
|
+
* createdAt: 1.476822811295E9,
|
|
299
|
+
* desiredStatus: "STOPPED",
|
|
300
|
+
* lastStatus: "RUNNING",
|
|
301
|
+
* overrides: {
|
|
302
|
+
* containerOverrides: [
|
|
304
303
|
* {
|
|
305
|
-
*
|
|
304
|
+
* name: "simple-app"
|
|
306
305
|
* },
|
|
307
306
|
* {
|
|
308
|
-
*
|
|
307
|
+
* name: "busybox"
|
|
309
308
|
* }
|
|
310
309
|
* ]
|
|
311
310
|
* },
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
*
|
|
311
|
+
* startedAt: 1.476822833998E9,
|
|
312
|
+
* startedBy: "ecs-svc/9223370560032507596",
|
|
313
|
+
* stoppedReason: "testing stop task.",
|
|
314
|
+
* taskArn: "arn:aws:ecs:us-east-1:012345678910:task/1dc5c17a-422b-4dc4-b493-371970c6c4d6",
|
|
315
|
+
* taskDefinitionArn: "arn:aws:ecs:us-east-1:012345678910:task-definition/console-sample-app-dynamic-ports:1",
|
|
316
|
+
* version: 0
|
|
317
317
|
* }
|
|
318
318
|
* }
|
|
319
319
|
* *\/
|
|
320
|
-
* // example id: to-stop-a-task-1734457210346
|
|
321
320
|
* ```
|
|
322
321
|
*
|
|
322
|
+
* @public
|
|
323
323
|
*/
|
|
324
324
|
export declare class StopTaskCommand extends StopTaskCommand_base {
|
|
325
325
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -89,6 +89,7 @@ declare const SubmitAttachmentStateChangesCommand_base: {
|
|
|
89
89
|
* @throws {@link ECSServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
91
91
|
*
|
|
92
|
+
*
|
|
92
93
|
* @public
|
|
93
94
|
*/
|
|
94
95
|
export declare class SubmitAttachmentStateChangesCommand extends SubmitAttachmentStateChangesCommand_base {
|
|
@@ -94,6 +94,7 @@ declare const SubmitContainerStateChangeCommand_base: {
|
|
|
94
94
|
* @throws {@link ECSServiceException}
|
|
95
95
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
96
96
|
*
|
|
97
|
+
*
|
|
97
98
|
* @public
|
|
98
99
|
*/
|
|
99
100
|
export declare class SubmitContainerStateChangeCommand extends SubmitContainerStateChangeCommand_base {
|
|
@@ -123,6 +123,7 @@ declare const SubmitTaskStateChangeCommand_base: {
|
|
|
123
123
|
* @throws {@link ECSServiceException}
|
|
124
124
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
125
125
|
*
|
|
126
|
+
*
|
|
126
127
|
* @public
|
|
127
128
|
*/
|
|
128
129
|
export declare class SubmitTaskStateChangeCommand extends SubmitTaskStateChangeCommand_base {
|
|
@@ -90,24 +90,27 @@ declare const TagResourceCommand_base: {
|
|
|
90
90
|
* @throws {@link ECSServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
92
92
|
*
|
|
93
|
-
*
|
|
93
|
+
*
|
|
94
94
|
* @example To tag a cluster.
|
|
95
95
|
* ```javascript
|
|
96
96
|
* // This example tags the 'dev' cluster with key 'team' and value 'dev'.
|
|
97
97
|
* const input = {
|
|
98
|
-
*
|
|
99
|
-
*
|
|
98
|
+
* resourceArn: "arn:aws:ecs:region:aws_account_id:cluster/dev",
|
|
99
|
+
* tags: [
|
|
100
100
|
* {
|
|
101
|
-
*
|
|
102
|
-
*
|
|
101
|
+
* key: "team",
|
|
102
|
+
* value: "dev"
|
|
103
103
|
* }
|
|
104
104
|
* ]
|
|
105
105
|
* };
|
|
106
106
|
* const command = new TagResourceCommand(input);
|
|
107
|
-
* await client.send(command);
|
|
108
|
-
*
|
|
107
|
+
* const response = await client.send(command);
|
|
108
|
+
* /* response is
|
|
109
|
+
* { /* empty *\/ }
|
|
110
|
+
* *\/
|
|
109
111
|
* ```
|
|
110
112
|
*
|
|
113
|
+
* @public
|
|
111
114
|
*/
|
|
112
115
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
113
116
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -84,21 +84,24 @@ declare const UntagResourceCommand_base: {
|
|
|
84
84
|
* @throws {@link ECSServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
86
86
|
*
|
|
87
|
-
*
|
|
87
|
+
*
|
|
88
88
|
* @example To untag a cluster.
|
|
89
89
|
* ```javascript
|
|
90
90
|
* // This example deletes the 'team' tag from the 'dev' cluster.
|
|
91
91
|
* const input = {
|
|
92
|
-
*
|
|
93
|
-
*
|
|
92
|
+
* resourceArn: "arn:aws:ecs:region:aws_account_id:cluster/dev",
|
|
93
|
+
* tagKeys: [
|
|
94
94
|
* "team"
|
|
95
95
|
* ]
|
|
96
96
|
* };
|
|
97
97
|
* const command = new UntagResourceCommand(input);
|
|
98
|
-
* await client.send(command);
|
|
99
|
-
*
|
|
98
|
+
* const response = await client.send(command);
|
|
99
|
+
* /* response is
|
|
100
|
+
* { /* empty *\/ }
|
|
101
|
+
* *\/
|
|
100
102
|
* ```
|
|
101
103
|
*
|
|
104
|
+
* @public
|
|
102
105
|
*/
|
|
103
106
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
104
107
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -112,47 +112,47 @@ declare const UpdateCapacityProviderCommand_base: {
|
|
|
112
112
|
* @throws {@link ECSServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
114
114
|
*
|
|
115
|
-
*
|
|
115
|
+
*
|
|
116
116
|
* @example To update a capacity provider's parameters
|
|
117
117
|
* ```javascript
|
|
118
118
|
* // This example updates the targetCapacity and instanceWarmupPeriod parameters for the capacity provider MyCapacityProvider to 90 and 150 respectively.
|
|
119
119
|
* const input = {
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
* "
|
|
124
|
-
*
|
|
125
|
-
* "targetCapacity": 90
|
|
120
|
+
* autoScalingGroupProvider: {
|
|
121
|
+
* managedScaling: {
|
|
122
|
+
* instanceWarmupPeriod: 150,
|
|
123
|
+
* status: "ENABLED",
|
|
124
|
+
* targetCapacity: 90
|
|
126
125
|
* }
|
|
127
|
-
* }
|
|
126
|
+
* },
|
|
127
|
+
* name: "MyCapacityProvider"
|
|
128
128
|
* };
|
|
129
129
|
* const command = new UpdateCapacityProviderCommand(input);
|
|
130
130
|
* const response = await client.send(command);
|
|
131
|
-
* /* response
|
|
131
|
+
* /* response is
|
|
132
132
|
* {
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
* "
|
|
141
|
-
*
|
|
142
|
-
* "targetCapacity": 90
|
|
133
|
+
* capacityProvider: {
|
|
134
|
+
* autoScalingGroupProvider: {
|
|
135
|
+
* autoScalingGroupArn: "arn:aws:autoscaling:us-east-1:132456789012:autoScalingGroup:57ffcb94-11f0-4d6d-bf60-3bac5EXAMPLE:autoScalingGroupName/MyASG",
|
|
136
|
+
* managedScaling: {
|
|
137
|
+
* instanceWarmupPeriod: 150,
|
|
138
|
+
* maximumScalingStepSize: 10000,
|
|
139
|
+
* minimumScalingStepSize: 1,
|
|
140
|
+
* status: "ENABLED",
|
|
141
|
+
* targetCapacity: 90
|
|
143
142
|
* },
|
|
144
|
-
*
|
|
143
|
+
* managedTerminationProtection: "ENABLED"
|
|
145
144
|
* },
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
* "
|
|
149
|
-
*
|
|
145
|
+
* capacityProviderArn: "arn:aws:ecs:us-east-1:123456789012:capacity-provider/MyCapacityProvider",
|
|
146
|
+
* name: "MyCapacityProvider",
|
|
147
|
+
* status: "ACTIVE",
|
|
148
|
+
* tags: [],
|
|
149
|
+
* updateStatus: "UPDATE_COMPLETE"
|
|
150
150
|
* }
|
|
151
151
|
* }
|
|
152
152
|
* *\/
|
|
153
|
-
* // example id: to-update-a-capacity-providers-parameters-1734557290198
|
|
154
153
|
* ```
|
|
155
154
|
*
|
|
155
|
+
* @public
|
|
156
156
|
*/
|
|
157
157
|
export declare class UpdateCapacityProviderCommand extends UpdateCapacityProviderCommand_base {
|
|
158
158
|
/** @internal type navigation helper, not in runtime. */
|