@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.
Files changed (66) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/ECSClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +25 -25
  8. package/dist-types/commands/CreateClusterCommand.d.ts +12 -12
  9. package/dist-types/commands/CreateServiceCommand.d.ts +75 -76
  10. package/dist-types/commands/CreateTaskSetCommand.d.ts +33 -33
  11. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +19 -20
  12. package/dist-types/commands/DeleteAttributesCommand.d.ts +10 -10
  13. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +18 -18
  14. package/dist-types/commands/DeleteClusterCommand.d.ts +12 -12
  15. package/dist-types/commands/DeleteServiceCommand.d.ts +7 -4
  16. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +23 -23
  17. package/dist-types/commands/DeleteTaskSetCommand.d.ts +30 -30
  18. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +9 -6
  19. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +22 -22
  20. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +60 -61
  21. package/dist-types/commands/DescribeClustersCommand.d.ts +9 -9
  22. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +49 -49
  23. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +1 -41
  24. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +1 -41
  25. package/dist-types/commands/DescribeServicesCommand.d.ts +32 -32
  26. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +33 -33
  27. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +30 -30
  28. package/dist-types/commands/DescribeTasksCommand.d.ts +25 -25
  29. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +1 -0
  30. package/dist-types/commands/ExecuteCommandCommand.d.ts +17 -17
  31. package/dist-types/commands/GetTaskProtectionCommand.d.ts +10 -10
  32. package/dist-types/commands/ListAccountSettingsCommand.d.ts +31 -32
  33. package/dist-types/commands/ListAttributesCommand.d.ts +11 -11
  34. package/dist-types/commands/ListClustersCommand.d.ts +5 -5
  35. package/dist-types/commands/ListContainerInstancesCommand.d.ts +5 -5
  36. package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +12 -12
  37. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +1 -0
  38. package/dist-types/commands/ListServicesCommand.d.ts +5 -5
  39. package/dist-types/commands/ListTagsForResourceCommand.d.ts +7 -7
  40. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +16 -17
  41. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +16 -17
  42. package/dist-types/commands/ListTasksCommand.d.ts +16 -17
  43. package/dist-types/commands/PutAccountSettingCommand.d.ts +21 -22
  44. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +9 -9
  45. package/dist-types/commands/PutAttributesCommand.d.ts +12 -12
  46. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +129 -131
  47. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -0
  48. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +29 -29
  49. package/dist-types/commands/RunTaskCommand.d.ts +19 -19
  50. package/dist-types/commands/StartTaskCommand.d.ts +29 -29
  51. package/dist-types/commands/StopTaskCommand.d.ts +37 -37
  52. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -0
  53. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +1 -0
  54. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +1 -0
  55. package/dist-types/commands/TagResourceCommand.d.ts +10 -7
  56. package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
  57. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +25 -25
  58. package/dist-types/commands/UpdateClusterCommand.d.ts +103 -104
  59. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +20 -20
  60. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +12 -12
  61. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +90 -90
  62. package/dist-types/commands/UpdateServiceCommand.d.ts +18 -13
  63. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +29 -29
  64. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +35 -37
  65. package/dist-types/commands/UpdateTaskSetCommand.d.ts +32 -32
  66. package/package.json +34 -34
@@ -82,34 +82,34 @@ declare const DeleteAttributesCommand_base: {
82
82
  * @throws {@link ECSServiceException}
83
83
  * <p>Base exception class for all service exceptions from ECS service.</p>
84
84
  *
85
- * @public
85
+ *
86
86
  * @example To delete a custom attribute from an Amazon ECS instance
87
87
  * ```javascript
88
88
  * // This example deletes an attribute named stack from a container instance.
89
89
  * const input = {
90
- * "attributes": [
90
+ * attributes: [
91
91
  * {
92
- * "name": "stack",
93
- * "targetId": "aws:ecs:us-west-2:130757420319:container-instance/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34"
92
+ * name: "stack",
93
+ * targetId: "aws:ecs:us-west-2:130757420319:container-instance/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34"
94
94
  * }
95
95
  * ]
96
96
  * };
97
97
  * const command = new DeleteAttributesCommand(input);
98
98
  * const response = await client.send(command);
99
- * /* response ==
99
+ * /* response is
100
100
  * {
101
- * "attributes": [
101
+ * attributes: [
102
102
  * {
103
- * "name": "stack",
104
- * "value": "production",
105
- * "targetId": "aws:ecs:us-west-2:130757420319:container-instance/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34"
103
+ * name: "stack",
104
+ * targetId: "aws:ecs:us-west-2:130757420319:container-instance/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34",
105
+ * value: "production"
106
106
  * }
107
107
  * ]
108
108
  * }
109
109
  * *\/
110
- * // example id: to-delete-a-custom-attribute-from-an-amazon-ecs-instance-1733867267541
111
110
  * ```
112
111
  *
112
+ * @public
113
113
  */
114
114
  export declare class DeleteAttributesCommand extends DeleteAttributesCommand_base {
115
115
  /** @internal type navigation helper, not in runtime. */
@@ -114,39 +114,39 @@ declare const DeleteCapacityProviderCommand_base: {
114
114
  * @throws {@link ECSServiceException}
115
115
  * <p>Base exception class for all service exceptions from ECS service.</p>
116
116
  *
117
- * @public
117
+ *
118
118
  * @example To delete a specified capacity provider
119
119
  * ```javascript
120
120
  * // This example deletes a specified capacity provider.
121
121
  * const input = {
122
- * "capacityProvider": "arn:aws:ecs:us-west-2:123456789012:capacity-provider/ExampleCapacityProvider"
122
+ * capacityProvider: "arn:aws:ecs:us-west-2:123456789012:capacity-provider/ExampleCapacityProvider"
123
123
  * };
124
124
  * const command = new DeleteCapacityProviderCommand(input);
125
125
  * const response = await client.send(command);
126
- * /* response ==
126
+ * /* response is
127
127
  * {
128
- * "capacityProvider": {
129
- * "name": "ExampleCapacityProvider",
130
- * "autoScalingGroupProvider": {
131
- * "autoScalingGroupArn": "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup",
132
- * "managedScaling": {
133
- * "maximumScalingStepSize": 10000,
134
- * "minimumScalingStepSize": 1,
135
- * "status": "ENABLED",
136
- * "targetCapacity": 100
128
+ * capacityProvider: {
129
+ * autoScalingGroupProvider: {
130
+ * autoScalingGroupArn: "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup",
131
+ * managedScaling: {
132
+ * maximumScalingStepSize: 10000,
133
+ * minimumScalingStepSize: 1,
134
+ * status: "ENABLED",
135
+ * targetCapacity: 100
137
136
  * },
138
- * "managedTerminationProtection": "DISABLED"
137
+ * managedTerminationProtection: "DISABLED"
139
138
  * },
140
- * "capacityProviderArn": "arn:aws:ecs:us-west-2:123456789012:capacity-provider/ExampleCapacityProvider",
141
- * "status": "ACTIVE",
142
- * "tags": [],
143
- * "updateStatus": "DELETE_IN_PROGRESS"
139
+ * capacityProviderArn: "arn:aws:ecs:us-west-2:123456789012:capacity-provider/ExampleCapacityProvider",
140
+ * name: "ExampleCapacityProvider",
141
+ * status: "ACTIVE",
142
+ * tags: [],
143
+ * updateStatus: "DELETE_IN_PROGRESS"
144
144
  * }
145
145
  * }
146
146
  * *\/
147
- * // example id: to-delete-a-specified-capacity-provider-1733868702678
148
147
  * ```
149
148
  *
149
+ * @public
150
150
  */
151
151
  export declare class DeleteCapacityProviderCommand extends DeleteCapacityProviderCommand_base {
152
152
  /** @internal type navigation helper, not in runtime. */
@@ -176,31 +176,31 @@ declare const DeleteClusterCommand_base: {
176
176
  * @throws {@link ECSServiceException}
177
177
  * <p>Base exception class for all service exceptions from ECS service.</p>
178
178
  *
179
- * @public
179
+ *
180
180
  * @example To delete an empty cluster
181
181
  * ```javascript
182
182
  * // This example deletes an empty cluster in your default region.
183
183
  * const input = {
184
- * "cluster": "my_cluster"
184
+ * cluster: "my_cluster"
185
185
  * };
186
186
  * const command = new DeleteClusterCommand(input);
187
187
  * const response = await client.send(command);
188
- * /* response ==
188
+ * /* response is
189
189
  * {
190
- * "cluster": {
191
- * "activeServicesCount": 0,
192
- * "clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/my_cluster",
193
- * "clusterName": "my_cluster",
194
- * "pendingTasksCount": 0,
195
- * "registeredContainerInstancesCount": 0,
196
- * "runningTasksCount": 0,
197
- * "status": "INACTIVE"
190
+ * cluster: {
191
+ * activeServicesCount: 0,
192
+ * clusterArn: "arn:aws:ecs:us-east-1:012345678910:cluster/my_cluster",
193
+ * clusterName: "my_cluster",
194
+ * pendingTasksCount: 0,
195
+ * registeredContainerInstancesCount: 0,
196
+ * runningTasksCount: 0,
197
+ * status: "INACTIVE"
198
198
  * }
199
199
  * }
200
200
  * *\/
201
- * // example id: to-delete-an-empty-cluster-1472512705352
202
201
  * ```
203
202
  *
203
+ * @public
204
204
  */
205
205
  export declare class DeleteClusterCommand extends DeleteClusterCommand_base {
206
206
  /** @internal type navigation helper, not in runtime. */
@@ -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
- * @public
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
- * "service": "my-http-service"
392
+ * service: "my-http-service"
393
393
  * };
394
394
  * const command = new DeleteServiceCommand(input);
395
- * await client.send(command);
396
- * // example id: e8183e38-f86e-4390-b811-f74f30a6007d
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
- * @public
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
- * "taskDefinitions": [
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
- * "failures": [],
398
- * "taskDefinitions": [
397
+ * failures: [],
398
+ * taskDefinitions: [
399
399
  * {
400
- * "containerDefinitions": [
400
+ * containerDefinitions: [
401
401
  * {
402
- * "name": "wave",
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
- * "cpu": 50,
407
- * "entryPoint": [
405
+ * cpu: 50,
406
+ * entryPoint: [
408
407
  * "bash",
409
408
  * "-c"
410
409
  * ],
411
- * "environment": [],
412
- * "essential": true,
413
- * "image": "ubuntu",
414
- * "memory": 100,
415
- * "mountPoints": [],
416
- * "portMappings": [],
417
- * "volumesFrom": []
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
- * "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": []
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
- * @public
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
- * "cluster": "MyCluster",
177
- * "force": true,
178
- * "service": "MyService",
179
- * "taskSet": "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789"
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
- * "taskSet": {
186
- * "computedDesiredCount": 0,
187
- * "createdAt": 1557130260.276,
188
- * "id": "ecs-svc/1234567890123456789",
189
- * "launchType": "EC2",
190
- * "loadBalancers": [],
191
- * "networkConfiguration": {
192
- * "awsvpcConfiguration": {
193
- * "assignPublicIp": "DISABLED",
194
- * "securityGroups": [
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
- * "subnets": [
197
+ * subnets: [
198
198
  * "subnet-12345678"
199
199
  * ]
200
200
  * }
201
201
  * },
202
- * "pendingCount": 0,
203
- * "runningCount": 0,
204
- * "scale": {
205
- * "value": 0,
206
- * "unit": "PERCENT"
202
+ * pendingCount: 0,
203
+ * runningCount: 0,
204
+ * scale: {
205
+ * unit: "PERCENT",
206
+ * value: 0
207
207
  * },
208
- * "serviceRegistries": [],
209
- * "stabilityStatus": "STABILIZING",
210
- * "stabilityStatusAt": 1557130290.707,
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": 1557130290.707
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
- * @public
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
- * "cluster": "default",
183
- * "containerInstance": "container_instance_UUID",
184
- * "force": true
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
- * // example id: bf624927-cf64-4f4b-8b7e-c024a4e682f6
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
- * @public
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
- * "taskDefinition": "curler:1"
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
- * "taskDefinition": {
380
- * "containerDefinitions": [
379
+ * taskDefinition: {
380
+ * containerDefinitions: [
381
381
  * {
382
- * "name": "curler",
383
- * "command": [
382
+ * command: [
384
383
  * "curl -v http://example.com/"
385
384
  * ],
386
- * "cpu": 100,
387
- * "entryPoint": [],
388
- * "environment": [],
389
- * "essential": true,
390
- * "image": "curl:latest",
391
- * "memory": 256,
392
- * "mountPoints": [],
393
- * "portMappings": [],
394
- * "volumesFrom": []
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
- * "family": "curler",
398
- * "revision": 1,
399
- * "status": "INACTIVE",
400
- * "taskDefinitionArn": "arn:aws:ecs:us-west-2:123456789012:task-definition/curler:1",
401
- * "volumes": []
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
- * @public
122
- * @example To describe all capacity providers
121
+ *
122
+ * @example To describe a specific capacity provider
123
123
  * ```javascript
124
- * // This example retrieves details about all capacity providers.
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
- * "capacityProviders": [
137
+ * capacityProviders: [
131
138
  * {
132
- * "name": "MyCapacityProvider",
133
- * "autoScalingGroupProvider": {
134
- * "autoScalingGroupArn": "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup",
135
- * "managedScaling": {
136
- * "maximumScalingStepSize": 1000,
137
- * "minimumScalingStepSize": 1,
138
- * "status": "ENABLED",
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
- * "managedTerminationProtection": "ENABLED"
147
+ * managedTerminationProtection: "ENABLED"
142
148
  * },
143
- * "capacityProviderArn": "arn:aws:ecs:us-west-2:123456789012:capacity-provider/MyCapacityProvider",
144
- * "status": "ACTIVE",
145
- * "tags": []
146
- * },
147
- * {
148
- * "name": "FARGATE",
149
- * "capacityProviderArn": "arn:aws:ecs:us-west-2:123456789012:capacity-provider/FARGATE",
150
- * "status": "ACTIVE",
151
- * "tags": []
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 a specific capacity provider
164
+ * @example To describe all capacity providers
166
165
  * ```javascript
167
- * // This example retrieves details about the capacity provider MyCapacityProvider
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
- * "capacityProviders": [
172
+ * capacityProviders: [
181
173
  * {
182
- * "name": "MyCapacityProvider",
183
- * "autoScalingGroupProvider": {
184
- * "autoScalingGroupArn": "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup",
185
- * "managedScaling": {
186
- * "maximumScalingStepSize": 1000,
187
- * "minimumScalingStepSize": 1,
188
- * "status": "ENABLED",
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
- * "managedTerminationProtection": "ENABLED"
182
+ * managedTerminationProtection: "ENABLED"
192
183
  * },
193
- * "capacityProviderArn": "arn:aws:ecs:us-west-2:123456789012:capacity-provider/MyCapacityProvider",
194
- * "status": "ACTIVE",
195
- * "tags": [
196
- * {
197
- * "key": "environment",
198
- * "value": "production"
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
- * @public
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
- * "clusters": [
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
- * "clusters": [
178
+ * clusters: [
179
179
  * {
180
- * "clusterArn": "arn:aws:ecs:us-east-1:aws_account_id:cluster/default",
181
- * "clusterName": "default",
182
- * "status": "ACTIVE"
180
+ * clusterArn: "arn:aws:ecs:us-east-1:aws_account_id:cluster/default",
181
+ * clusterName: "default",
182
+ * status: "ACTIVE"
183
183
  * }
184
184
  * ],
185
- * "failures": []
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. */