@aws-sdk/client-ecs 3.321.1 → 3.326.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 (58) hide show
  1. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +29 -0
  2. package/dist-types/commands/CreateClusterCommand.d.ts +72 -0
  3. package/dist-types/commands/CreateServiceCommand.d.ts +236 -0
  4. package/dist-types/commands/CreateTaskSetCommand.d.ts +69 -0
  5. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +10 -0
  6. package/dist-types/commands/DeleteAttributesCommand.d.ts +13 -0
  7. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +29 -0
  8. package/dist-types/commands/DeleteClusterCommand.d.ts +72 -0
  9. package/dist-types/commands/DeleteServiceCommand.d.ts +236 -0
  10. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +275 -0
  11. package/dist-types/commands/DeleteTaskSetCommand.d.ts +69 -0
  12. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +85 -0
  13. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +266 -0
  14. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +39 -0
  15. package/dist-types/commands/DescribeClustersCommand.d.ts +81 -0
  16. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +94 -0
  17. package/dist-types/commands/DescribeServicesCommand.d.ts +245 -0
  18. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +272 -0
  19. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +78 -0
  20. package/dist-types/commands/DescribeTasksCommand.d.ts +170 -0
  21. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +8 -0
  22. package/dist-types/commands/ExecuteCommandCommand.d.ts +15 -0
  23. package/dist-types/commands/GetTaskProtectionCommand.d.ts +19 -0
  24. package/dist-types/commands/ListAccountSettingsCommand.d.ts +13 -0
  25. package/dist-types/commands/ListAttributesCommand.d.ts +14 -0
  26. package/dist-types/commands/ListClustersCommand.d.ts +9 -0
  27. package/dist-types/commands/ListContainerInstancesCommand.d.ts +9 -0
  28. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +9 -0
  29. package/dist-types/commands/ListServicesCommand.d.ts +9 -0
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  31. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +9 -0
  32. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +9 -0
  33. package/dist-types/commands/ListTasksCommand.d.ts +9 -0
  34. package/dist-types/commands/PutAccountSettingCommand.d.ts +10 -0
  35. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +10 -0
  36. package/dist-types/commands/PutAttributesCommand.d.ts +13 -0
  37. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +72 -0
  38. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +85 -0
  39. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +272 -0
  40. package/dist-types/commands/RunTaskCommand.d.ts +170 -0
  41. package/dist-types/commands/StartTaskCommand.d.ts +170 -0
  42. package/dist-types/commands/StopTaskCommand.d.ts +161 -0
  43. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +6 -0
  44. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +6 -0
  45. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +6 -0
  46. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  47. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  48. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +29 -0
  49. package/dist-types/commands/UpdateClusterCommand.d.ts +72 -0
  50. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +72 -0
  51. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +85 -0
  52. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +94 -0
  53. package/dist-types/commands/UpdateServiceCommand.d.ts +236 -0
  54. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +69 -0
  55. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +19 -0
  56. package/dist-types/commands/UpdateTaskSetCommand.d.ts +69 -0
  57. package/dist-types/models/models_0.d.ts +4 -2
  58. package/package.json +16 -16
@@ -54,6 +54,33 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi
54
54
  * };
55
55
  * const command = new CreateCapacityProviderCommand(input);
56
56
  * const response = await client.send(command);
57
+ * // { // CreateCapacityProviderResponse
58
+ * // capacityProvider: { // CapacityProvider
59
+ * // capacityProviderArn: "STRING_VALUE",
60
+ * // name: "STRING_VALUE",
61
+ * // status: "ACTIVE" || "INACTIVE",
62
+ * // autoScalingGroupProvider: { // AutoScalingGroupProvider
63
+ * // autoScalingGroupArn: "STRING_VALUE", // required
64
+ * // managedScaling: { // ManagedScaling
65
+ * // status: "ENABLED" || "DISABLED",
66
+ * // targetCapacity: Number("int"),
67
+ * // minimumScalingStepSize: Number("int"),
68
+ * // maximumScalingStepSize: Number("int"),
69
+ * // instanceWarmupPeriod: Number("int"),
70
+ * // },
71
+ * // managedTerminationProtection: "ENABLED" || "DISABLED",
72
+ * // },
73
+ * // updateStatus: "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
74
+ * // updateStatusReason: "STRING_VALUE",
75
+ * // tags: [ // Tags
76
+ * // { // Tag
77
+ * // key: "STRING_VALUE",
78
+ * // value: "STRING_VALUE",
79
+ * // },
80
+ * // ],
81
+ * // },
82
+ * // };
83
+ *
57
84
  * ```
58
85
  *
59
86
  * @param CreateCapacityProviderCommandInput - {@link CreateCapacityProviderCommandInput}
@@ -84,6 +111,8 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi
84
111
  * process can get stuck in that state. However, when the agent reconnects, it resumes
85
112
  * where it stopped previously.</p>
86
113
  *
114
+ * @throws {@link ECSServiceException}
115
+ * <p>Base exception class for all service exceptions from ECS service.</p>
87
116
  *
88
117
  */
89
118
  export declare class CreateCapacityProviderCommand extends $Command<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput, ECSClientResolvedConfig> {
@@ -79,6 +79,76 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
79
79
  * };
80
80
  * const command = new CreateClusterCommand(input);
81
81
  * const response = await client.send(command);
82
+ * // { // CreateClusterResponse
83
+ * // cluster: { // Cluster
84
+ * // clusterArn: "STRING_VALUE",
85
+ * // clusterName: "STRING_VALUE",
86
+ * // configuration: { // ClusterConfiguration
87
+ * // executeCommandConfiguration: { // ExecuteCommandConfiguration
88
+ * // kmsKeyId: "STRING_VALUE",
89
+ * // logging: "NONE" || "DEFAULT" || "OVERRIDE",
90
+ * // logConfiguration: { // ExecuteCommandLogConfiguration
91
+ * // cloudWatchLogGroupName: "STRING_VALUE",
92
+ * // cloudWatchEncryptionEnabled: true || false,
93
+ * // s3BucketName: "STRING_VALUE",
94
+ * // s3EncryptionEnabled: true || false,
95
+ * // s3KeyPrefix: "STRING_VALUE",
96
+ * // },
97
+ * // },
98
+ * // },
99
+ * // status: "STRING_VALUE",
100
+ * // registeredContainerInstancesCount: Number("int"),
101
+ * // runningTasksCount: Number("int"),
102
+ * // pendingTasksCount: Number("int"),
103
+ * // activeServicesCount: Number("int"),
104
+ * // statistics: [ // Statistics
105
+ * // { // KeyValuePair
106
+ * // name: "STRING_VALUE",
107
+ * // value: "STRING_VALUE",
108
+ * // },
109
+ * // ],
110
+ * // tags: [ // Tags
111
+ * // { // Tag
112
+ * // key: "STRING_VALUE",
113
+ * // value: "STRING_VALUE",
114
+ * // },
115
+ * // ],
116
+ * // settings: [ // ClusterSettings
117
+ * // { // ClusterSetting
118
+ * // name: "containerInsights",
119
+ * // value: "STRING_VALUE",
120
+ * // },
121
+ * // ],
122
+ * // capacityProviders: [ // StringList
123
+ * // "STRING_VALUE",
124
+ * // ],
125
+ * // defaultCapacityProviderStrategy: [ // CapacityProviderStrategy
126
+ * // { // CapacityProviderStrategyItem
127
+ * // capacityProvider: "STRING_VALUE", // required
128
+ * // weight: Number("int"),
129
+ * // base: Number("int"),
130
+ * // },
131
+ * // ],
132
+ * // attachments: [ // Attachments
133
+ * // { // Attachment
134
+ * // id: "STRING_VALUE",
135
+ * // type: "STRING_VALUE",
136
+ * // status: "STRING_VALUE",
137
+ * // details: [ // AttachmentDetails
138
+ * // {
139
+ * // name: "STRING_VALUE",
140
+ * // value: "STRING_VALUE",
141
+ * // },
142
+ * // ],
143
+ * // },
144
+ * // ],
145
+ * // attachmentsStatus: "STRING_VALUE",
146
+ * // serviceConnectDefaults: { // ClusterServiceConnectDefaults
147
+ * // namespace: "STRING_VALUE",
148
+ * // },
149
+ * // },
150
+ * // };
151
+ *
82
152
  * ```
83
153
  *
84
154
  * @param CreateClusterCommandInput - {@link CreateClusterCommandInput}
@@ -99,6 +169,8 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
99
169
  * @throws {@link ServerException} (server fault)
100
170
  * <p>These errors are usually caused by a server issue.</p>
101
171
  *
172
+ * @throws {@link ECSServiceException}
173
+ * <p>Base exception class for all service exceptions from ECS service.</p>
102
174
  *
103
175
  * @example To create a new cluster
104
176
  * ```javascript
@@ -221,6 +221,240 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
221
221
  * };
222
222
  * const command = new CreateServiceCommand(input);
223
223
  * const response = await client.send(command);
224
+ * // { // CreateServiceResponse
225
+ * // service: { // Service
226
+ * // serviceArn: "STRING_VALUE",
227
+ * // serviceName: "STRING_VALUE",
228
+ * // clusterArn: "STRING_VALUE",
229
+ * // loadBalancers: [ // LoadBalancers
230
+ * // { // LoadBalancer
231
+ * // targetGroupArn: "STRING_VALUE",
232
+ * // loadBalancerName: "STRING_VALUE",
233
+ * // containerName: "STRING_VALUE",
234
+ * // containerPort: Number("int"),
235
+ * // },
236
+ * // ],
237
+ * // serviceRegistries: [ // ServiceRegistries
238
+ * // { // ServiceRegistry
239
+ * // registryArn: "STRING_VALUE",
240
+ * // port: Number("int"),
241
+ * // containerName: "STRING_VALUE",
242
+ * // containerPort: Number("int"),
243
+ * // },
244
+ * // ],
245
+ * // status: "STRING_VALUE",
246
+ * // desiredCount: Number("int"),
247
+ * // runningCount: Number("int"),
248
+ * // pendingCount: Number("int"),
249
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
250
+ * // capacityProviderStrategy: [ // CapacityProviderStrategy
251
+ * // { // CapacityProviderStrategyItem
252
+ * // capacityProvider: "STRING_VALUE", // required
253
+ * // weight: Number("int"),
254
+ * // base: Number("int"),
255
+ * // },
256
+ * // ],
257
+ * // platformVersion: "STRING_VALUE",
258
+ * // platformFamily: "STRING_VALUE",
259
+ * // taskDefinition: "STRING_VALUE",
260
+ * // deploymentConfiguration: { // DeploymentConfiguration
261
+ * // deploymentCircuitBreaker: { // DeploymentCircuitBreaker
262
+ * // enable: true || false, // required
263
+ * // rollback: true || false, // required
264
+ * // },
265
+ * // maximumPercent: Number("int"),
266
+ * // minimumHealthyPercent: Number("int"),
267
+ * // alarms: { // DeploymentAlarms
268
+ * // alarmNames: [ // StringList // required
269
+ * // "STRING_VALUE",
270
+ * // ],
271
+ * // enable: true || false, // required
272
+ * // rollback: true || false, // required
273
+ * // },
274
+ * // },
275
+ * // taskSets: [ // TaskSets
276
+ * // { // TaskSet
277
+ * // id: "STRING_VALUE",
278
+ * // taskSetArn: "STRING_VALUE",
279
+ * // serviceArn: "STRING_VALUE",
280
+ * // clusterArn: "STRING_VALUE",
281
+ * // startedBy: "STRING_VALUE",
282
+ * // externalId: "STRING_VALUE",
283
+ * // status: "STRING_VALUE",
284
+ * // taskDefinition: "STRING_VALUE",
285
+ * // computedDesiredCount: Number("int"),
286
+ * // pendingCount: Number("int"),
287
+ * // runningCount: Number("int"),
288
+ * // createdAt: new Date("TIMESTAMP"),
289
+ * // updatedAt: new Date("TIMESTAMP"),
290
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
291
+ * // capacityProviderStrategy: [
292
+ * // {
293
+ * // capacityProvider: "STRING_VALUE", // required
294
+ * // weight: Number("int"),
295
+ * // base: Number("int"),
296
+ * // },
297
+ * // ],
298
+ * // platformVersion: "STRING_VALUE",
299
+ * // platformFamily: "STRING_VALUE",
300
+ * // networkConfiguration: { // NetworkConfiguration
301
+ * // awsvpcConfiguration: { // AwsVpcConfiguration
302
+ * // subnets: [ // required
303
+ * // "STRING_VALUE",
304
+ * // ],
305
+ * // securityGroups: [
306
+ * // "STRING_VALUE",
307
+ * // ],
308
+ * // assignPublicIp: "ENABLED" || "DISABLED",
309
+ * // },
310
+ * // },
311
+ * // loadBalancers: [
312
+ * // {
313
+ * // targetGroupArn: "STRING_VALUE",
314
+ * // loadBalancerName: "STRING_VALUE",
315
+ * // containerName: "STRING_VALUE",
316
+ * // containerPort: Number("int"),
317
+ * // },
318
+ * // ],
319
+ * // serviceRegistries: [
320
+ * // {
321
+ * // registryArn: "STRING_VALUE",
322
+ * // port: Number("int"),
323
+ * // containerName: "STRING_VALUE",
324
+ * // containerPort: Number("int"),
325
+ * // },
326
+ * // ],
327
+ * // scale: { // Scale
328
+ * // value: Number("double"),
329
+ * // unit: "PERCENT",
330
+ * // },
331
+ * // stabilityStatus: "STEADY_STATE" || "STABILIZING",
332
+ * // stabilityStatusAt: new Date("TIMESTAMP"),
333
+ * // tags: [ // Tags
334
+ * // { // Tag
335
+ * // key: "STRING_VALUE",
336
+ * // value: "STRING_VALUE",
337
+ * // },
338
+ * // ],
339
+ * // },
340
+ * // ],
341
+ * // deployments: [ // Deployments
342
+ * // { // Deployment
343
+ * // id: "STRING_VALUE",
344
+ * // status: "STRING_VALUE",
345
+ * // taskDefinition: "STRING_VALUE",
346
+ * // desiredCount: Number("int"),
347
+ * // pendingCount: Number("int"),
348
+ * // runningCount: Number("int"),
349
+ * // failedTasks: Number("int"),
350
+ * // createdAt: new Date("TIMESTAMP"),
351
+ * // updatedAt: new Date("TIMESTAMP"),
352
+ * // capacityProviderStrategy: [
353
+ * // {
354
+ * // capacityProvider: "STRING_VALUE", // required
355
+ * // weight: Number("int"),
356
+ * // base: Number("int"),
357
+ * // },
358
+ * // ],
359
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
360
+ * // platformVersion: "STRING_VALUE",
361
+ * // platformFamily: "STRING_VALUE",
362
+ * // networkConfiguration: {
363
+ * // awsvpcConfiguration: {
364
+ * // subnets: [ // required
365
+ * // "STRING_VALUE",
366
+ * // ],
367
+ * // securityGroups: [
368
+ * // "STRING_VALUE",
369
+ * // ],
370
+ * // assignPublicIp: "ENABLED" || "DISABLED",
371
+ * // },
372
+ * // },
373
+ * // rolloutState: "COMPLETED" || "FAILED" || "IN_PROGRESS",
374
+ * // rolloutStateReason: "STRING_VALUE",
375
+ * // serviceConnectConfiguration: { // ServiceConnectConfiguration
376
+ * // enabled: true || false, // required
377
+ * // namespace: "STRING_VALUE",
378
+ * // services: [ // ServiceConnectServiceList
379
+ * // { // ServiceConnectService
380
+ * // portName: "STRING_VALUE", // required
381
+ * // discoveryName: "STRING_VALUE",
382
+ * // clientAliases: [ // ServiceConnectClientAliasList
383
+ * // { // ServiceConnectClientAlias
384
+ * // port: Number("int"), // required
385
+ * // dnsName: "STRING_VALUE",
386
+ * // },
387
+ * // ],
388
+ * // ingressPortOverride: Number("int"),
389
+ * // },
390
+ * // ],
391
+ * // logConfiguration: { // LogConfiguration
392
+ * // logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk" || "awsfirelens", // required
393
+ * // options: { // LogConfigurationOptionsMap
394
+ * // "<keys>": "STRING_VALUE",
395
+ * // },
396
+ * // secretOptions: [ // SecretList
397
+ * // { // Secret
398
+ * // name: "STRING_VALUE", // required
399
+ * // valueFrom: "STRING_VALUE", // required
400
+ * // },
401
+ * // ],
402
+ * // },
403
+ * // },
404
+ * // serviceConnectResources: [ // ServiceConnectServiceResourceList
405
+ * // { // ServiceConnectServiceResource
406
+ * // discoveryName: "STRING_VALUE",
407
+ * // discoveryArn: "STRING_VALUE",
408
+ * // },
409
+ * // ],
410
+ * // },
411
+ * // ],
412
+ * // roleArn: "STRING_VALUE",
413
+ * // events: [ // ServiceEvents
414
+ * // { // ServiceEvent
415
+ * // id: "STRING_VALUE",
416
+ * // createdAt: new Date("TIMESTAMP"),
417
+ * // message: "STRING_VALUE",
418
+ * // },
419
+ * // ],
420
+ * // createdAt: new Date("TIMESTAMP"),
421
+ * // placementConstraints: [ // PlacementConstraints
422
+ * // { // PlacementConstraint
423
+ * // type: "distinctInstance" || "memberOf",
424
+ * // expression: "STRING_VALUE",
425
+ * // },
426
+ * // ],
427
+ * // placementStrategy: [ // PlacementStrategies
428
+ * // { // PlacementStrategy
429
+ * // type: "random" || "spread" || "binpack",
430
+ * // field: "STRING_VALUE",
431
+ * // },
432
+ * // ],
433
+ * // networkConfiguration: {
434
+ * // awsvpcConfiguration: {
435
+ * // subnets: "<StringList>", // required
436
+ * // securityGroups: "<StringList>",
437
+ * // assignPublicIp: "ENABLED" || "DISABLED",
438
+ * // },
439
+ * // },
440
+ * // healthCheckGracePeriodSeconds: Number("int"),
441
+ * // schedulingStrategy: "REPLICA" || "DAEMON",
442
+ * // deploymentController: { // DeploymentController
443
+ * // type: "ECS" || "CODE_DEPLOY" || "EXTERNAL", // required
444
+ * // },
445
+ * // tags: [
446
+ * // {
447
+ * // key: "STRING_VALUE",
448
+ * // value: "STRING_VALUE",
449
+ * // },
450
+ * // ],
451
+ * // createdBy: "STRING_VALUE",
452
+ * // enableECSManagedTags: true || false,
453
+ * // propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
454
+ * // enableExecuteCommand: true || false,
455
+ * // },
456
+ * // };
457
+ *
224
458
  * ```
225
459
  *
226
460
  * @param CreateServiceCommandInput - {@link CreateServiceCommandInput}
@@ -260,6 +494,8 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
260
494
  * @throws {@link UnsupportedFeatureException} (client fault)
261
495
  * <p>The specified task isn't supported in this Region.</p>
262
496
  *
497
+ * @throws {@link ECSServiceException}
498
+ * <p>Base exception class for all service exceptions from ECS service.</p>
263
499
  *
264
500
  * @example To create a new service
265
501
  * ```javascript
@@ -84,6 +84,73 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met
84
84
  * };
85
85
  * const command = new CreateTaskSetCommand(input);
86
86
  * const response = await client.send(command);
87
+ * // { // CreateTaskSetResponse
88
+ * // taskSet: { // TaskSet
89
+ * // id: "STRING_VALUE",
90
+ * // taskSetArn: "STRING_VALUE",
91
+ * // serviceArn: "STRING_VALUE",
92
+ * // clusterArn: "STRING_VALUE",
93
+ * // startedBy: "STRING_VALUE",
94
+ * // externalId: "STRING_VALUE",
95
+ * // status: "STRING_VALUE",
96
+ * // taskDefinition: "STRING_VALUE",
97
+ * // computedDesiredCount: Number("int"),
98
+ * // pendingCount: Number("int"),
99
+ * // runningCount: Number("int"),
100
+ * // createdAt: new Date("TIMESTAMP"),
101
+ * // updatedAt: new Date("TIMESTAMP"),
102
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
103
+ * // capacityProviderStrategy: [ // CapacityProviderStrategy
104
+ * // { // CapacityProviderStrategyItem
105
+ * // capacityProvider: "STRING_VALUE", // required
106
+ * // weight: Number("int"),
107
+ * // base: Number("int"),
108
+ * // },
109
+ * // ],
110
+ * // platformVersion: "STRING_VALUE",
111
+ * // platformFamily: "STRING_VALUE",
112
+ * // networkConfiguration: { // NetworkConfiguration
113
+ * // awsvpcConfiguration: { // AwsVpcConfiguration
114
+ * // subnets: [ // StringList // required
115
+ * // "STRING_VALUE",
116
+ * // ],
117
+ * // securityGroups: [
118
+ * // "STRING_VALUE",
119
+ * // ],
120
+ * // assignPublicIp: "ENABLED" || "DISABLED",
121
+ * // },
122
+ * // },
123
+ * // loadBalancers: [ // LoadBalancers
124
+ * // { // LoadBalancer
125
+ * // targetGroupArn: "STRING_VALUE",
126
+ * // loadBalancerName: "STRING_VALUE",
127
+ * // containerName: "STRING_VALUE",
128
+ * // containerPort: Number("int"),
129
+ * // },
130
+ * // ],
131
+ * // serviceRegistries: [ // ServiceRegistries
132
+ * // { // ServiceRegistry
133
+ * // registryArn: "STRING_VALUE",
134
+ * // port: Number("int"),
135
+ * // containerName: "STRING_VALUE",
136
+ * // containerPort: Number("int"),
137
+ * // },
138
+ * // ],
139
+ * // scale: { // Scale
140
+ * // value: Number("double"),
141
+ * // unit: "PERCENT",
142
+ * // },
143
+ * // stabilityStatus: "STEADY_STATE" || "STABILIZING",
144
+ * // stabilityStatusAt: new Date("TIMESTAMP"),
145
+ * // tags: [ // Tags
146
+ * // { // Tag
147
+ * // key: "STRING_VALUE",
148
+ * // value: "STRING_VALUE",
149
+ * // },
150
+ * // ],
151
+ * // },
152
+ * // };
153
+ *
87
154
  * ```
88
155
  *
89
156
  * @param CreateTaskSetCommandInput - {@link CreateTaskSetCommandInput}
@@ -131,6 +198,8 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met
131
198
  * @throws {@link UnsupportedFeatureException} (client fault)
132
199
  * <p>The specified task isn't supported in this Region.</p>
133
200
  *
201
+ * @throws {@link ECSServiceException}
202
+ * <p>Base exception class for all service exceptions from ECS service.</p>
134
203
  *
135
204
  */
136
205
  export declare class CreateTaskSetCommand extends $Command<CreateTaskSetCommandInput, CreateTaskSetCommandOutput, ECSClientResolvedConfig> {
@@ -33,6 +33,14 @@ export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingR
33
33
  * };
34
34
  * const command = new DeleteAccountSettingCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // DeleteAccountSettingResponse
37
+ * // setting: { // Setting
38
+ * // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization",
39
+ * // value: "STRING_VALUE",
40
+ * // principalArn: "STRING_VALUE",
41
+ * // },
42
+ * // };
43
+ *
36
44
  * ```
37
45
  *
38
46
  * @param DeleteAccountSettingCommandInput - {@link DeleteAccountSettingCommandInput}
@@ -53,6 +61,8 @@ export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingR
53
61
  * @throws {@link ServerException} (server fault)
54
62
  * <p>These errors are usually caused by a server issue.</p>
55
63
  *
64
+ * @throws {@link ECSServiceException}
65
+ * <p>Base exception class for all service exceptions from ECS service.</p>
56
66
  *
57
67
  * @example To delete your account setting
58
68
  * ```javascript
@@ -39,6 +39,17 @@ export interface DeleteAttributesCommandOutput extends DeleteAttributesResponse,
39
39
  * };
40
40
  * const command = new DeleteAttributesCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // DeleteAttributesResponse
43
+ * // attributes: [ // Attributes
44
+ * // { // Attribute
45
+ * // name: "STRING_VALUE", // required
46
+ * // value: "STRING_VALUE",
47
+ * // targetType: "container-instance",
48
+ * // targetId: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
42
53
  * ```
43
54
  *
44
55
  * @param DeleteAttributesCommandInput - {@link DeleteAttributesCommandInput}
@@ -59,6 +70,8 @@ export interface DeleteAttributesCommandOutput extends DeleteAttributesResponse,
59
70
  * with <a>ListContainerInstances</a>. Amazon ECS container instances are
60
71
  * cluster-specific and Region-specific.</p>
61
72
  *
73
+ * @throws {@link ECSServiceException}
74
+ * <p>Base exception class for all service exceptions from ECS service.</p>
62
75
  *
63
76
  */
64
77
  export declare class DeleteAttributesCommand extends $Command<DeleteAttributesCommandInput, DeleteAttributesCommandOutput, ECSClientResolvedConfig> {
@@ -45,6 +45,33 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi
45
45
  * };
46
46
  * const command = new DeleteCapacityProviderCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // { // DeleteCapacityProviderResponse
49
+ * // capacityProvider: { // CapacityProvider
50
+ * // capacityProviderArn: "STRING_VALUE",
51
+ * // name: "STRING_VALUE",
52
+ * // status: "ACTIVE" || "INACTIVE",
53
+ * // autoScalingGroupProvider: { // AutoScalingGroupProvider
54
+ * // autoScalingGroupArn: "STRING_VALUE", // required
55
+ * // managedScaling: { // ManagedScaling
56
+ * // status: "ENABLED" || "DISABLED",
57
+ * // targetCapacity: Number("int"),
58
+ * // minimumScalingStepSize: Number("int"),
59
+ * // maximumScalingStepSize: Number("int"),
60
+ * // instanceWarmupPeriod: Number("int"),
61
+ * // },
62
+ * // managedTerminationProtection: "ENABLED" || "DISABLED",
63
+ * // },
64
+ * // updateStatus: "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
65
+ * // updateStatusReason: "STRING_VALUE",
66
+ * // tags: [ // Tags
67
+ * // { // Tag
68
+ * // key: "STRING_VALUE",
69
+ * // value: "STRING_VALUE",
70
+ * // },
71
+ * // ],
72
+ * // },
73
+ * // };
74
+ *
48
75
  * ```
49
76
  *
50
77
  * @param DeleteCapacityProviderCommandInput - {@link DeleteCapacityProviderCommandInput}
@@ -65,6 +92,8 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi
65
92
  * @throws {@link ServerException} (server fault)
66
93
  * <p>These errors are usually caused by a server issue.</p>
67
94
  *
95
+ * @throws {@link ECSServiceException}
96
+ * <p>Base exception class for all service exceptions from ECS service.</p>
68
97
  *
69
98
  */
70
99
  export declare class DeleteCapacityProviderCommand extends $Command<DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput, ECSClientResolvedConfig> {
@@ -36,6 +36,76 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
36
36
  * };
37
37
  * const command = new DeleteClusterCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // DeleteClusterResponse
40
+ * // cluster: { // Cluster
41
+ * // clusterArn: "STRING_VALUE",
42
+ * // clusterName: "STRING_VALUE",
43
+ * // configuration: { // ClusterConfiguration
44
+ * // executeCommandConfiguration: { // ExecuteCommandConfiguration
45
+ * // kmsKeyId: "STRING_VALUE",
46
+ * // logging: "NONE" || "DEFAULT" || "OVERRIDE",
47
+ * // logConfiguration: { // ExecuteCommandLogConfiguration
48
+ * // cloudWatchLogGroupName: "STRING_VALUE",
49
+ * // cloudWatchEncryptionEnabled: true || false,
50
+ * // s3BucketName: "STRING_VALUE",
51
+ * // s3EncryptionEnabled: true || false,
52
+ * // s3KeyPrefix: "STRING_VALUE",
53
+ * // },
54
+ * // },
55
+ * // },
56
+ * // status: "STRING_VALUE",
57
+ * // registeredContainerInstancesCount: Number("int"),
58
+ * // runningTasksCount: Number("int"),
59
+ * // pendingTasksCount: Number("int"),
60
+ * // activeServicesCount: Number("int"),
61
+ * // statistics: [ // Statistics
62
+ * // { // KeyValuePair
63
+ * // name: "STRING_VALUE",
64
+ * // value: "STRING_VALUE",
65
+ * // },
66
+ * // ],
67
+ * // tags: [ // Tags
68
+ * // { // Tag
69
+ * // key: "STRING_VALUE",
70
+ * // value: "STRING_VALUE",
71
+ * // },
72
+ * // ],
73
+ * // settings: [ // ClusterSettings
74
+ * // { // ClusterSetting
75
+ * // name: "containerInsights",
76
+ * // value: "STRING_VALUE",
77
+ * // },
78
+ * // ],
79
+ * // capacityProviders: [ // StringList
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // defaultCapacityProviderStrategy: [ // CapacityProviderStrategy
83
+ * // { // CapacityProviderStrategyItem
84
+ * // capacityProvider: "STRING_VALUE", // required
85
+ * // weight: Number("int"),
86
+ * // base: Number("int"),
87
+ * // },
88
+ * // ],
89
+ * // attachments: [ // Attachments
90
+ * // { // Attachment
91
+ * // id: "STRING_VALUE",
92
+ * // type: "STRING_VALUE",
93
+ * // status: "STRING_VALUE",
94
+ * // details: [ // AttachmentDetails
95
+ * // {
96
+ * // name: "STRING_VALUE",
97
+ * // value: "STRING_VALUE",
98
+ * // },
99
+ * // ],
100
+ * // },
101
+ * // ],
102
+ * // attachmentsStatus: "STRING_VALUE",
103
+ * // serviceConnectDefaults: { // ClusterServiceConnectDefaults
104
+ * // namespace: "STRING_VALUE",
105
+ * // },
106
+ * // },
107
+ * // };
108
+ *
39
109
  * ```
40
110
  *
41
111
  * @param DeleteClusterCommandInput - {@link DeleteClusterCommandInput}
@@ -79,6 +149,8 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
79
149
  * process can get stuck in that state. However, when the agent reconnects, it resumes
80
150
  * where it stopped previously.</p>
81
151
  *
152
+ * @throws {@link ECSServiceException}
153
+ * <p>Base exception class for all service exceptions from ECS service.</p>
82
154
  *
83
155
  * @example To delete an empty cluster
84
156
  * ```javascript