@aws-sdk/client-ecs 3.775.0 → 3.778.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 (61) hide show
  1. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +25 -25
  2. package/dist-types/commands/CreateClusterCommand.d.ts +12 -12
  3. package/dist-types/commands/CreateServiceCommand.d.ts +75 -76
  4. package/dist-types/commands/CreateTaskSetCommand.d.ts +33 -33
  5. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +19 -20
  6. package/dist-types/commands/DeleteAttributesCommand.d.ts +10 -10
  7. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +18 -18
  8. package/dist-types/commands/DeleteClusterCommand.d.ts +12 -12
  9. package/dist-types/commands/DeleteServiceCommand.d.ts +7 -4
  10. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +23 -23
  11. package/dist-types/commands/DeleteTaskSetCommand.d.ts +30 -30
  12. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +9 -6
  13. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +22 -22
  14. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +60 -61
  15. package/dist-types/commands/DescribeClustersCommand.d.ts +9 -9
  16. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +49 -49
  17. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +1 -41
  18. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +1 -41
  19. package/dist-types/commands/DescribeServicesCommand.d.ts +32 -32
  20. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +33 -33
  21. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +30 -30
  22. package/dist-types/commands/DescribeTasksCommand.d.ts +25 -25
  23. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +1 -0
  24. package/dist-types/commands/ExecuteCommandCommand.d.ts +17 -17
  25. package/dist-types/commands/GetTaskProtectionCommand.d.ts +10 -10
  26. package/dist-types/commands/ListAccountSettingsCommand.d.ts +31 -32
  27. package/dist-types/commands/ListAttributesCommand.d.ts +11 -11
  28. package/dist-types/commands/ListClustersCommand.d.ts +5 -5
  29. package/dist-types/commands/ListContainerInstancesCommand.d.ts +5 -5
  30. package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +12 -12
  31. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +1 -0
  32. package/dist-types/commands/ListServicesCommand.d.ts +5 -5
  33. package/dist-types/commands/ListTagsForResourceCommand.d.ts +7 -7
  34. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +16 -17
  35. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +16 -17
  36. package/dist-types/commands/ListTasksCommand.d.ts +16 -17
  37. package/dist-types/commands/PutAccountSettingCommand.d.ts +21 -22
  38. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +9 -9
  39. package/dist-types/commands/PutAttributesCommand.d.ts +12 -12
  40. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +129 -131
  41. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -0
  42. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +29 -29
  43. package/dist-types/commands/RunTaskCommand.d.ts +19 -19
  44. package/dist-types/commands/StartTaskCommand.d.ts +29 -29
  45. package/dist-types/commands/StopTaskCommand.d.ts +37 -37
  46. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -0
  47. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +1 -0
  48. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +1 -0
  49. package/dist-types/commands/TagResourceCommand.d.ts +10 -7
  50. package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
  51. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +25 -25
  52. package/dist-types/commands/UpdateClusterCommand.d.ts +103 -104
  53. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +20 -20
  54. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +12 -12
  55. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +90 -90
  56. package/dist-types/commands/UpdateServiceCommand.d.ts +18 -13
  57. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +29 -29
  58. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +35 -37
  59. package/dist-types/commands/UpdateTaskSetCommand.d.ts +32 -32
  60. package/dist-types/models/models_0.d.ts +0 -7
  61. package/package.json +2 -2
@@ -89,36 +89,36 @@ declare const PutAttributesCommand_base: {
89
89
  * @throws {@link ECSServiceException}
90
90
  * <p>Base exception class for all service exceptions from ECS service.</p>
91
91
  *
92
- * @public
92
+ *
93
93
  * @example To create or update an attribute on a resource
94
94
  * ```javascript
95
95
  * // This example adds an attribute "stack" with the value "production" to a container instance.
96
96
  * const input = {
97
- * "attributes": [
97
+ * attributes: [
98
98
  * {
99
- * "name": "stack",
100
- * "value": "production",
101
- * "targetId": "arn:aws:ecs:us-west-2:123456789012:container-instance/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34"
99
+ * name: "stack",
100
+ * targetId: "arn:aws:ecs:us-west-2:123456789012:container-instance/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34",
101
+ * value: "production"
102
102
  * }
103
103
  * ],
104
- * "cluster": "MyCluster"
104
+ * cluster: "MyCluster"
105
105
  * };
106
106
  * const command = new PutAttributesCommand(input);
107
107
  * const response = await client.send(command);
108
- * /* response ==
108
+ * /* response is
109
109
  * {
110
- * "attributes": [
110
+ * attributes: [
111
111
  * {
112
- * "name": "stack",
113
- * "value": "production",
114
- * "targetId": "arn:aws:ecs:us-west-2:123456789012:container-instance/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34"
112
+ * name: "stack",
113
+ * targetId: "arn:aws:ecs:us-west-2:123456789012:container-instance/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34",
114
+ * value: "production"
115
115
  * }
116
116
  * ]
117
117
  * }
118
118
  * *\/
119
- * // example id: to-create-or-update-an-attribute-on-a-resource-1734382423405
120
119
  * ```
121
120
  *
121
+ * @public
122
122
  */
123
123
  export declare class PutAttributesCommand extends PutAttributesCommand_base {
124
124
  /** @internal type navigation helper, not in runtime. */
@@ -183,256 +183,254 @@ declare const PutClusterCapacityProvidersCommand_base: {
183
183
  * @throws {@link ECSServiceException}
184
184
  * <p>Base exception class for all service exceptions from ECS service.</p>
185
185
  *
186
- * @public
186
+ *
187
187
  * @example To add an existing capacity provider to a cluuster
188
188
  * ```javascript
189
189
  * // This example adds an existing capacity provider "MyCapacityProvider2" to a cluster that already has the capacity provider "MyCapacityProvider1" associated with it. Both "MyCapacityProvider2" and "MyCapacityProvider1" need to be specified.
190
190
  * const input = {
191
- * "capacityProviders": [
191
+ * capacityProviders: [
192
192
  * "MyCapacityProvider1",
193
193
  * "MyCapacityProvider2"
194
194
  * ],
195
- * "cluster": "MyCluster",
196
- * "defaultCapacityProviderStrategy": [
195
+ * cluster: "MyCluster",
196
+ * defaultCapacityProviderStrategy: [
197
197
  * {
198
- * "capacityProvider": "MyCapacityProvider1",
199
- * "weight": 1
198
+ * capacityProvider: "MyCapacityProvider1",
199
+ * weight: 1
200
200
  * },
201
201
  * {
202
- * "capacityProvider": "MyCapacityProvider2",
203
- * "weight": 1
202
+ * capacityProvider: "MyCapacityProvider2",
203
+ * weight: 1
204
204
  * }
205
205
  * ]
206
206
  * };
207
207
  * const command = new PutClusterCapacityProvidersCommand(input);
208
208
  * const response = await client.send(command);
209
- * /* response ==
209
+ * /* response is
210
210
  * {
211
- * "cluster": {
212
- * "activeServicesCount": 0,
213
- * "attachments": [
211
+ * cluster: {
212
+ * activeServicesCount: 0,
213
+ * attachments: [
214
214
  * {
215
- * "type": "as_policy",
216
- * "details": [
215
+ * details: [
217
216
  * {
218
- * "name": "capacityProviderName",
219
- * "value": "MyCapacityProvider1"
217
+ * name: "capacityProviderName",
218
+ * value: "MyCapacityProvider1"
220
219
  * },
221
220
  * {
222
- * "name": "scalingPolicyName",
223
- * "value": "ECSManagedAutoScalingPolicy-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
221
+ * name: "scalingPolicyName",
222
+ * value: "ECSManagedAutoScalingPolicy-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
224
223
  * }
225
224
  * ],
226
- * "id": "0fb0c8f4-6edd-4de1-9b09-17e470ee1918",
227
- * "status": "ACTIVE"
225
+ * id: "0fb0c8f4-6edd-4de1-9b09-17e470ee1918",
226
+ * status: "ACTIVE",
227
+ * type: "as_policy"
228
228
  * },
229
229
  * {
230
- * "type": "as_policy",
231
- * "details": [
230
+ * details: [
232
231
  * {
233
- * "name": "capacityProviderName",
234
- * "value": "MyCapacityProvider2"
232
+ * name: "capacityProviderName",
233
+ * value: "MyCapacityProvider2"
235
234
  * },
236
235
  * {
237
- * "name": "scalingPolicyName",
238
- * "value": "ECSManagedAutoScalingPolicy-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
236
+ * name: "scalingPolicyName",
237
+ * value: "ECSManagedAutoScalingPolicy-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
239
238
  * }
240
239
  * ],
241
- * "id": "ae592060-2382-4663-9476-b015c685593c",
242
- * "status": "ACTIVE"
240
+ * id: "ae592060-2382-4663-9476-b015c685593c",
241
+ * status: "ACTIVE",
242
+ * type: "as_policy"
243
243
  * }
244
244
  * ],
245
- * "attachmentsStatus": "UPDATE_IN_PROGRESS",
246
- * "capacityProviders": [
245
+ * attachmentsStatus: "UPDATE_IN_PROGRESS",
246
+ * capacityProviders: [
247
247
  * "MyCapacityProvider1",
248
248
  * "MyCapacityProvider2"
249
249
  * ],
250
- * "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/MyCluster",
251
- * "clusterName": "MyCluster",
252
- * "defaultCapacityProviderStrategy": [
250
+ * clusterArn: "arn:aws:ecs:us-west-2:123456789012:cluster/MyCluster",
251
+ * clusterName: "MyCluster",
252
+ * defaultCapacityProviderStrategy: [
253
253
  * {
254
- * "base": 0,
255
- * "capacityProvider": "MyCapacityProvider1",
256
- * "weight": 1
254
+ * base: 0,
255
+ * capacityProvider: "MyCapacityProvider1",
256
+ * weight: 1
257
257
  * },
258
258
  * {
259
- * "base": 0,
260
- * "capacityProvider": "MyCapacityProvider2",
261
- * "weight": 1
259
+ * base: 0,
260
+ * capacityProvider: "MyCapacityProvider2",
261
+ * weight: 1
262
262
  * }
263
263
  * ],
264
- * "pendingTasksCount": 0,
265
- * "registeredContainerInstancesCount": 0,
266
- * "runningTasksCount": 0,
267
- * "settings": [
264
+ * pendingTasksCount: 0,
265
+ * registeredContainerInstancesCount: 0,
266
+ * runningTasksCount: 0,
267
+ * settings: [
268
268
  * {
269
- * "name": "containerInsights",
270
- * "value": "enabled"
269
+ * name: "containerInsights",
270
+ * value: "enabled"
271
271
  * }
272
272
  * ],
273
- * "statistics": [],
274
- * "status": "ACTIVE",
275
- * "tags": []
273
+ * statistics: [],
274
+ * status: "ACTIVE",
275
+ * tags: []
276
276
  * }
277
277
  * }
278
278
  * *\/
279
- * // example id: to-add-an-existing-capacity-provider-to-a-cluster-1734385195698
280
279
  * ```
281
280
  *
282
281
  * @example To remove a capacity provider from a cluster
283
282
  * ```javascript
284
283
  * // This example removes a capacity provider "MyCapacityProvider2" from a cluster that has both "MyCapacityProvider2" and "MyCapacityProvider1" associated with it. Only "MyCapacityProvider1" needs to be specified in this scenario.
285
284
  * const input = {
286
- * "capacityProviders": [
285
+ * capacityProviders: [
287
286
  * "MyCapacityProvider1"
288
287
  * ],
289
- * "cluster": "MyCluster",
290
- * "defaultCapacityProviderStrategy": [
288
+ * cluster: "MyCluster",
289
+ * defaultCapacityProviderStrategy: [
291
290
  * {
292
- * "base": 0,
293
- * "capacityProvider": "MyCapacityProvider1",
294
- * "weight": 1
291
+ * base: 0,
292
+ * capacityProvider: "MyCapacityProvider1",
293
+ * weight: 1
295
294
  * }
296
295
  * ]
297
296
  * };
298
297
  * const command = new PutClusterCapacityProvidersCommand(input);
299
298
  * const response = await client.send(command);
300
- * /* response ==
299
+ * /* response is
301
300
  * {
302
- * "cluster": {
303
- * "activeServicesCount": 0,
304
- * "attachments": [
301
+ * cluster: {
302
+ * activeServicesCount: 0,
303
+ * attachments: [
305
304
  * {
306
- * "type": "as_policy",
307
- * "details": [
305
+ * details: [
308
306
  * {
309
- * "name": "capacityProviderName",
310
- * "value": "MyCapacityProvider1"
307
+ * name: "capacityProviderName",
308
+ * value: "MyCapacityProvider1"
311
309
  * },
312
310
  * {
313
- * "name": "scalingPolicyName",
314
- * "value": "ECSManagedAutoScalingPolicy-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
311
+ * name: "scalingPolicyName",
312
+ * value: "ECSManagedAutoScalingPolicy-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
315
313
  * }
316
314
  * ],
317
- * "id": "0fb0c8f4-6edd-4de1-9b09-17e470ee1918",
318
- * "status": "ACTIVE"
315
+ * id: "0fb0c8f4-6edd-4de1-9b09-17e470ee1918",
316
+ * status: "ACTIVE",
317
+ * type: "as_policy"
319
318
  * },
320
319
  * {
321
- * "type": "as_policy",
322
- * "details": [
320
+ * details: [
323
321
  * {
324
- * "name": "capacityProviderName",
325
- * "value": "MyCapacityProvider2"
322
+ * name: "capacityProviderName",
323
+ * value: "MyCapacityProvider2"
326
324
  * },
327
325
  * {
328
- * "name": "scalingPolicyName",
329
- * "value": "ECSManagedAutoScalingPolicy-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
326
+ * name: "scalingPolicyName",
327
+ * value: "ECSManagedAutoScalingPolicy-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
330
328
  * }
331
329
  * ],
332
- * "id": "ae592060-2382-4663-9476-b015c685593c",
333
- * "status": "DELETING"
330
+ * id: "ae592060-2382-4663-9476-b015c685593c",
331
+ * status: "DELETING",
332
+ * type: "as_policy"
334
333
  * }
335
334
  * ],
336
- * "attachmentsStatus": "UPDATE_IN_PROGRESS",
337
- * "capacityProviders": [
335
+ * attachmentsStatus: "UPDATE_IN_PROGRESS",
336
+ * capacityProviders: [
338
337
  * "MyCapacityProvider1"
339
338
  * ],
340
- * "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/MyCluster",
341
- * "clusterName": "MyCluster",
342
- * "defaultCapacityProviderStrategy": [
339
+ * clusterArn: "arn:aws:ecs:us-west-2:123456789012:cluster/MyCluster",
340
+ * clusterName: "MyCluster",
341
+ * defaultCapacityProviderStrategy: [
343
342
  * {
344
- * "base": 0,
345
- * "capacityProvider": "MyCapacityProvider1",
346
- * "weight": 1
343
+ * base: 0,
344
+ * capacityProvider: "MyCapacityProvider1",
345
+ * weight: 1
347
346
  * }
348
347
  * ],
349
- * "pendingTasksCount": 0,
350
- * "registeredContainerInstancesCount": 0,
351
- * "runningTasksCount": 0,
352
- * "settings": [
348
+ * pendingTasksCount: 0,
349
+ * registeredContainerInstancesCount: 0,
350
+ * runningTasksCount: 0,
351
+ * settings: [
353
352
  * {
354
- * "name": "containerInsights",
355
- * "value": "enabled"
353
+ * name: "containerInsights",
354
+ * value: "enabled"
356
355
  * }
357
356
  * ],
358
- * "statistics": [],
359
- * "status": "ACTIVE",
360
- * "tags": []
357
+ * statistics: [],
358
+ * status: "ACTIVE",
359
+ * tags: []
361
360
  * }
362
361
  * }
363
362
  * *\/
364
- * // example id: to-remove-a-capacity-provider-from-a-cluster-1734386641517
365
363
  * ```
366
364
  *
367
365
  * @example To remove all capacity providers from a cluster
368
366
  * ```javascript
369
367
  * // This example removes all capacity providers associated with a cluster.
370
368
  * const input = {
371
- * "capacityProviders": [],
372
- * "cluster": "MyCluster",
373
- * "defaultCapacityProviderStrategy": []
369
+ * capacityProviders: [],
370
+ * cluster: "MyCluster",
371
+ * defaultCapacityProviderStrategy: []
374
372
  * };
375
373
  * const command = new PutClusterCapacityProvidersCommand(input);
376
374
  * const response = await client.send(command);
377
- * /* response ==
375
+ * /* response is
378
376
  * {
379
- * "cluster": {
380
- * "activeServicesCount": 0,
381
- * "attachments": [
377
+ * cluster: {
378
+ * activeServicesCount: 0,
379
+ * attachments: [
382
380
  * {
383
- * "type": "as_policy",
384
- * "details": [
381
+ * details: [
385
382
  * {
386
- * "name": "capacityProviderName",
387
- * "value": "MyCapacityProvider1"
383
+ * name: "capacityProviderName",
384
+ * value: "MyCapacityProvider1"
388
385
  * },
389
386
  * {
390
- * "name": "scalingPolicyName",
391
- * "value": "ECSManagedAutoScalingPolicy-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
387
+ * name: "scalingPolicyName",
388
+ * value: "ECSManagedAutoScalingPolicy-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
392
389
  * }
393
390
  * ],
394
- * "id": "0fb0c8f4-6edd-4de1-9b09-17e470ee1918",
395
- * "status": "DELETING"
391
+ * id: "0fb0c8f4-6edd-4de1-9b09-17e470ee1918",
392
+ * status: "DELETING",
393
+ * type: "as_policy"
396
394
  * },
397
395
  * {
398
- * "type": "as_policy",
399
- * "details": [
396
+ * details: [
400
397
  * {
401
- * "name": "capacityProviderName",
402
- * "value": "MyCapacityProvider2"
398
+ * name: "capacityProviderName",
399
+ * value: "MyCapacityProvider2"
403
400
  * },
404
401
  * {
405
- * "name": "scalingPolicyName",
406
- * "value": "ECSManagedAutoScalingPolicy-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
402
+ * name: "scalingPolicyName",
403
+ * value: "ECSManagedAutoScalingPolicy-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
407
404
  * }
408
405
  * ],
409
- * "id": "ae592060-2382-4663-9476-b015c685593c",
410
- * "status": "DELETING"
406
+ * id: "ae592060-2382-4663-9476-b015c685593c",
407
+ * status: "DELETING",
408
+ * type: "as_policy"
411
409
  * }
412
410
  * ],
413
- * "attachmentsStatus": "UPDATE_IN_PROGRESS",
414
- * "capacityProviders": [],
415
- * "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/MyCluster",
416
- * "clusterName": "MyCluster",
417
- * "defaultCapacityProviderStrategy": [],
418
- * "pendingTasksCount": 0,
419
- * "registeredContainerInstancesCount": 0,
420
- * "runningTasksCount": 0,
421
- * "settings": [
411
+ * attachmentsStatus: "UPDATE_IN_PROGRESS",
412
+ * capacityProviders: [],
413
+ * clusterArn: "arn:aws:ecs:us-west-2:123456789012:cluster/MyCluster",
414
+ * clusterName: "MyCluster",
415
+ * defaultCapacityProviderStrategy: [],
416
+ * pendingTasksCount: 0,
417
+ * registeredContainerInstancesCount: 0,
418
+ * runningTasksCount: 0,
419
+ * settings: [
422
420
  * {
423
- * "name": "containerInsights",
424
- * "value": "enabled"
421
+ * name: "containerInsights",
422
+ * value: "enabled"
425
423
  * }
426
424
  * ],
427
- * "statistics": [],
428
- * "status": "ACTIVE",
429
- * "tags": []
425
+ * statistics: [],
426
+ * status: "ACTIVE",
427
+ * tags: []
430
428
  * }
431
429
  * }
432
430
  * *\/
433
- * // example id: to-remove-all-capacity-providers-from-a-cluster-1734387170874
434
431
  * ```
435
432
  *
433
+ * @public
436
434
  */
437
435
  export declare class PutClusterCapacityProvidersCommand extends PutClusterCapacityProvidersCommand_base {
438
436
  /** @internal type navigation helper, not in runtime. */
@@ -200,6 +200,7 @@ declare const RegisterContainerInstanceCommand_base: {
200
200
  * @throws {@link ECSServiceException}
201
201
  * <p>Base exception class for all service exceptions from ECS service.</p>
202
202
  *
203
+ *
203
204
  * @public
204
205
  */
205
206
  export declare class RegisterContainerInstanceCommand extends RegisterContainerInstanceCommand_base {
@@ -627,60 +627,60 @@ declare const RegisterTaskDefinitionCommand_base: {
627
627
  * @throws {@link ECSServiceException}
628
628
  * <p>Base exception class for all service exceptions from ECS service.</p>
629
629
  *
630
- * @public
630
+ *
631
631
  * @example To register a task definition
632
632
  * ```javascript
633
633
  * // This example registers a task definition to the specified family.
634
634
  * const input = {
635
- * "containerDefinitions": [
635
+ * containerDefinitions: [
636
636
  * {
637
- * "name": "sleep",
638
- * "command": [
637
+ * command: [
639
638
  * "sleep",
640
639
  * "360"
641
640
  * ],
642
- * "cpu": 10,
643
- * "essential": true,
644
- * "image": "busybox",
645
- * "memory": 10
641
+ * cpu: 10,
642
+ * essential: true,
643
+ * image: "busybox",
644
+ * memory: 10,
645
+ * name: "sleep"
646
646
  * }
647
647
  * ],
648
- * "family": "sleep360",
649
- * "taskRoleArn": "",
650
- * "volumes": []
648
+ * family: "sleep360",
649
+ * taskRoleArn: "",
650
+ * volumes: []
651
651
  * };
652
652
  * const command = new RegisterTaskDefinitionCommand(input);
653
653
  * const response = await client.send(command);
654
- * /* response ==
654
+ * /* response is
655
655
  * {
656
- * "taskDefinition": {
657
- * "containerDefinitions": [
656
+ * taskDefinition: {
657
+ * containerDefinitions: [
658
658
  * {
659
- * "name": "sleep",
660
- * "command": [
659
+ * command: [
661
660
  * "sleep",
662
661
  * "360"
663
662
  * ],
664
- * "cpu": 10,
665
- * "environment": [],
666
- * "essential": true,
667
- * "image": "busybox",
668
- * "memory": 10,
669
- * "mountPoints": [],
670
- * "portMappings": [],
671
- * "volumesFrom": []
663
+ * cpu: 10,
664
+ * environment: [],
665
+ * essential: true,
666
+ * image: "busybox",
667
+ * memory: 10,
668
+ * mountPoints: [],
669
+ * name: "sleep",
670
+ * portMappings: [],
671
+ * volumesFrom: []
672
672
  * }
673
673
  * ],
674
- * "family": "sleep360",
675
- * "revision": 1,
676
- * "taskDefinitionArn": "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/sleep360:19",
677
- * "volumes": []
674
+ * family: "sleep360",
675
+ * revision: 1,
676
+ * taskDefinitionArn: "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/sleep360:19",
677
+ * volumes: []
678
678
  * }
679
679
  * }
680
680
  * *\/
681
- * // example id: to-register-a-task-definition-1470764550877
682
681
  * ```
683
682
  *
683
+ * @public
684
684
  */
685
685
  export declare class RegisterTaskDefinitionCommand extends RegisterTaskDefinitionCommand_base {
686
686
  /** @internal type navigation helper, not in runtime. */
@@ -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
- * @public
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
- * "cluster": "default",
447
- * "taskDefinition": "sleep360:1"
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
- * "tasks": [
453
+ * tasks: [
454
454
  * {
455
- * "containerInstanceArn": "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/default/ffe3d344-77e2-476c-a4d0-bf560ad50acb",
456
- * "containers": [
455
+ * containerInstanceArn: "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/default/ffe3d344-77e2-476c-a4d0-bf560ad50acb",
456
+ * containers: [
457
457
  * {
458
- * "name": "sleep",
459
- * "containerArn": "arn:aws:ecs:us-east-1:<aws_account_id>:container/default/58591c8e-be29-4ddf-95aa-ee459d4c59fd",
460
- * "lastStatus": "PENDING",
461
- * "taskArn": "arn:aws:ecs:us-east-1:<aws_account_id>:task/default/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0"
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
- * "desiredStatus": "RUNNING",
465
- * "lastStatus": "PENDING",
466
- * "overrides": {
467
- * "containerOverrides": [
464
+ * desiredStatus: "RUNNING",
465
+ * lastStatus: "PENDING",
466
+ * overrides: {
467
+ * containerOverrides: [
468
468
  * {
469
- * "name": "sleep"
469
+ * name: "sleep"
470
470
  * }
471
471
  * ]
472
472
  * },
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"
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. */