@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
@@ -220,179 +220,179 @@ declare const UpdateContainerInstancesStateCommand_base: {
220
220
  * @throws {@link ECSServiceException}
221
221
  * <p>Base exception class for all service exceptions from ECS service.</p>
222
222
  *
223
- * @public
223
+ *
224
224
  * @example To update the state of a container instance
225
225
  * ```javascript
226
226
  * // This example updates the state of the specified container instance in the default cluster to DRAINING.
227
227
  * const input = {
228
- * "cluster": "default",
229
- * "containerInstances": [
228
+ * cluster: "default",
229
+ * containerInstances: [
230
230
  * "1c3be8ed-df30-47b4-8f1e-6e68ebd01f34"
231
231
  * ],
232
- * "status": "DRAINING"
232
+ * status: "DRAINING"
233
233
  * };
234
234
  * const command = new UpdateContainerInstancesStateCommand(input);
235
235
  * const response = await client.send(command);
236
- * /* response ==
236
+ * /* response is
237
237
  * {
238
- * "containerInstances": [
238
+ * containerInstances: [
239
239
  * {
240
- * "version": 30,
241
- * "agentConnected": true,
242
- * "attributes": [
240
+ * agentConnected: true,
241
+ * attributes: [
243
242
  * {
244
- * "name": "ecs.availability-zone",
245
- * "value": "us-west-2b"
243
+ * name: "ecs.availability-zone",
244
+ * value: "us-west-2b"
246
245
  * },
247
246
  * {
248
- * "name": "com.amazonaws.ecs.capability.logging-driver.syslog"
247
+ * name: "com.amazonaws.ecs.capability.logging-driver.syslog"
249
248
  * },
250
249
  * {
251
- * "name": "ecs.instance-type",
252
- * "value": "c4.xlarge"
250
+ * name: "ecs.instance-type",
251
+ * value: "c4.xlarge"
253
252
  * },
254
253
  * {
255
- * "name": "ecs.ami-id",
256
- * "value": "ami-a2ca61c2"
254
+ * name: "ecs.ami-id",
255
+ * value: "ami-a2ca61c2"
257
256
  * },
258
257
  * {
259
- * "name": "com.amazonaws.ecs.capability.task-iam-role-network-host"
258
+ * name: "com.amazonaws.ecs.capability.task-iam-role-network-host"
260
259
  * },
261
260
  * {
262
- * "name": "com.amazonaws.ecs.capability.logging-driver.awslogs"
261
+ * name: "com.amazonaws.ecs.capability.logging-driver.awslogs"
263
262
  * },
264
263
  * {
265
- * "name": "com.amazonaws.ecs.capability.logging-driver.json-file"
264
+ * name: "com.amazonaws.ecs.capability.logging-driver.json-file"
266
265
  * },
267
266
  * {
268
- * "name": "com.amazonaws.ecs.capability.docker-remote-api.1.17"
267
+ * name: "com.amazonaws.ecs.capability.docker-remote-api.1.17"
269
268
  * },
270
269
  * {
271
- * "name": "com.amazonaws.ecs.capability.privileged-container"
270
+ * name: "com.amazonaws.ecs.capability.privileged-container"
272
271
  * },
273
272
  * {
274
- * "name": "com.amazonaws.ecs.capability.docker-remote-api.1.18"
273
+ * name: "com.amazonaws.ecs.capability.docker-remote-api.1.18"
275
274
  * },
276
275
  * {
277
- * "name": "com.amazonaws.ecs.capability.docker-remote-api.1.19"
276
+ * name: "com.amazonaws.ecs.capability.docker-remote-api.1.19"
278
277
  * },
279
278
  * {
280
- * "name": "com.amazonaws.ecs.capability.ecr-auth"
279
+ * name: "com.amazonaws.ecs.capability.ecr-auth"
281
280
  * },
282
281
  * {
283
- * "name": "ecs.os-type",
284
- * "value": "linux"
282
+ * name: "ecs.os-type",
283
+ * value: "linux"
285
284
  * },
286
285
  * {
287
- * "name": "com.amazonaws.ecs.capability.docker-remote-api.1.20"
286
+ * name: "com.amazonaws.ecs.capability.docker-remote-api.1.20"
288
287
  * },
289
288
  * {
290
- * "name": "com.amazonaws.ecs.capability.docker-remote-api.1.21"
289
+ * name: "com.amazonaws.ecs.capability.docker-remote-api.1.21"
291
290
  * },
292
291
  * {
293
- * "name": "com.amazonaws.ecs.capability.docker-remote-api.1.22"
292
+ * name: "com.amazonaws.ecs.capability.docker-remote-api.1.22"
294
293
  * },
295
294
  * {
296
- * "name": "com.amazonaws.ecs.capability.task-iam-role"
295
+ * name: "com.amazonaws.ecs.capability.task-iam-role"
297
296
  * },
298
297
  * {
299
- * "name": "com.amazonaws.ecs.capability.docker-remote-api.1.23"
298
+ * name: "com.amazonaws.ecs.capability.docker-remote-api.1.23"
300
299
  * }
301
300
  * ],
302
- * "containerInstanceArn": "arn:aws:ecs:us-west-2:012345678910:container-instance/default/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34",
303
- * "ec2InstanceId": "i-05d99c76955727ec6",
304
- * "pendingTasksCount": 0,
305
- * "registeredResources": [
301
+ * containerInstanceArn: "arn:aws:ecs:us-west-2:012345678910:container-instance/default/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34",
302
+ * ec2InstanceId: "i-05d99c76955727ec6",
303
+ * pendingTasksCount: 0,
304
+ * registeredResources: [
306
305
  * {
307
- * "name": "CPU",
308
- * "type": "INTEGER",
309
- * "doubleValue": 0,
310
- * "integerValue": 4096,
311
- * "longValue": 0
306
+ * doubleValue: 0,
307
+ * integerValue: 4096,
308
+ * longValue: 0,
309
+ * name: "CPU",
310
+ * type: "INTEGER"
312
311
  * },
313
312
  * {
314
- * "name": "MEMORY",
315
- * "type": "INTEGER",
316
- * "doubleValue": 0,
317
- * "integerValue": 7482,
318
- * "longValue": 0
313
+ * doubleValue: 0,
314
+ * integerValue: 7482,
315
+ * longValue: 0,
316
+ * name: "MEMORY",
317
+ * type: "INTEGER"
319
318
  * },
320
319
  * {
321
- * "name": "PORTS",
322
- * "type": "STRINGSET",
323
- * "doubleValue": 0,
324
- * "integerValue": 0,
325
- * "longValue": 0,
326
- * "stringSetValue": [
320
+ * doubleValue: 0,
321
+ * integerValue: 0,
322
+ * longValue: 0,
323
+ * name: "PORTS",
324
+ * stringSetValue: [
327
325
  * "22",
328
326
  * "2376",
329
327
  * "2375",
330
328
  * "51678",
331
329
  * "51679"
332
- * ]
330
+ * ],
331
+ * type: "STRINGSET"
333
332
  * },
334
333
  * {
335
- * "name": "PORTS_UDP",
336
- * "type": "STRINGSET",
337
- * "doubleValue": 0,
338
- * "integerValue": 0,
339
- * "longValue": 0,
340
- * "stringSetValue": []
334
+ * doubleValue: 0,
335
+ * integerValue: 0,
336
+ * longValue: 0,
337
+ * name: "PORTS_UDP",
338
+ * stringSetValue: [],
339
+ * type: "STRINGSET"
341
340
  * }
342
341
  * ],
343
- * "remainingResources": [
342
+ * remainingResources: [
344
343
  * {
345
- * "name": "CPU",
346
- * "type": "INTEGER",
347
- * "doubleValue": 0,
348
- * "integerValue": 4096,
349
- * "longValue": 0
344
+ * doubleValue: 0,
345
+ * integerValue: 4096,
346
+ * longValue: 0,
347
+ * name: "CPU",
348
+ * type: "INTEGER"
350
349
  * },
351
350
  * {
352
- * "name": "MEMORY",
353
- * "type": "INTEGER",
354
- * "doubleValue": 0,
355
- * "integerValue": 7482,
356
- * "longValue": 0
351
+ * doubleValue: 0,
352
+ * integerValue: 7482,
353
+ * longValue: 0,
354
+ * name: "MEMORY",
355
+ * type: "INTEGER"
357
356
  * },
358
357
  * {
359
- * "name": "PORTS",
360
- * "type": "STRINGSET",
361
- * "doubleValue": 0,
362
- * "integerValue": 0,
363
- * "longValue": 0,
364
- * "stringSetValue": [
358
+ * doubleValue: 0,
359
+ * integerValue: 0,
360
+ * longValue: 0,
361
+ * name: "PORTS",
362
+ * stringSetValue: [
365
363
  * "22",
366
364
  * "2376",
367
365
  * "2375",
368
366
  * "51678",
369
367
  * "51679"
370
- * ]
368
+ * ],
369
+ * type: "STRINGSET"
371
370
  * },
372
371
  * {
373
- * "name": "PORTS_UDP",
374
- * "type": "STRINGSET",
375
- * "doubleValue": 0,
376
- * "integerValue": 0,
377
- * "longValue": 0,
378
- * "stringSetValue": []
372
+ * doubleValue: 0,
373
+ * integerValue: 0,
374
+ * longValue: 0,
375
+ * name: "PORTS_UDP",
376
+ * stringSetValue: [],
377
+ * type: "STRINGSET"
379
378
  * }
380
379
  * ],
381
- * "runningTasksCount": 0,
382
- * "status": "DRAINING",
383
- * "versionInfo": {
384
- * "agentHash": "efe53c6",
385
- * "agentVersion": "1.13.1",
386
- * "dockerVersion": "DockerVersion: 1.11.2"
380
+ * runningTasksCount: 0,
381
+ * status: "DRAINING",
382
+ * version: 30,
383
+ * versionInfo: {
384
+ * agentHash: "efe53c6",
385
+ * agentVersion: "1.13.1",
386
+ * dockerVersion: "DockerVersion: 1.11.2"
387
387
  * }
388
388
  * }
389
389
  * ],
390
- * "failures": []
390
+ * failures: []
391
391
  * }
392
392
  * *\/
393
- * // example id: to-update-the-state-of-a-container-instance-1734630991280
394
393
  * ```
395
394
  *
395
+ * @public
396
396
  */
397
397
  export declare class UpdateContainerInstancesStateCommand extends UpdateContainerInstancesStateCommand_base {
398
398
  /** @internal type navigation helper, not in runtime. */
@@ -663,31 +663,36 @@ declare const UpdateServiceCommand_base: {
663
663
  * @throws {@link ECSServiceException}
664
664
  * <p>Base exception class for all service exceptions from ECS service.</p>
665
665
  *
666
- * @public
667
- * @example To change the task definition used in a service
666
+ *
667
+ * @example To change the number of tasks in a service
668
668
  * ```javascript
669
- * // This example updates the my-http-service service to use the amazon-ecs-sample task definition.
669
+ * // This example updates the desired count of the my-http-service service to 10.
670
670
  * const input = {
671
- * "service": "my-http-service",
672
- * "taskDefinition": "amazon-ecs-sample"
671
+ * desiredCount: 10,
672
+ * service: "my-http-service"
673
673
  * };
674
674
  * const command = new UpdateServiceCommand(input);
675
- * await client.send(command);
676
- * // example id: cc9e8900-0cc2-44d2-8491-64d1d3d37887
675
+ * const response = await client.send(command);
676
+ * /* response is
677
+ * { /* empty *\/ }
678
+ * *\/
677
679
  * ```
678
680
  *
679
- * @example To change the number of tasks in a service
681
+ * @example To change the task definition used in a service
680
682
  * ```javascript
681
- * // This example updates the desired count of the my-http-service service to 10.
683
+ * // This example updates the my-http-service service to use the amazon-ecs-sample task definition.
682
684
  * const input = {
683
- * "desiredCount": 10,
684
- * "service": "my-http-service"
685
+ * service: "my-http-service",
686
+ * taskDefinition: "amazon-ecs-sample"
685
687
  * };
686
688
  * const command = new UpdateServiceCommand(input);
687
- * await client.send(command);
688
- * // example id: 9581d6c5-02e3-4140-8cc1-5a4301586633
689
+ * const response = await client.send(command);
690
+ * /* response is
691
+ * { /* empty *\/ }
692
+ * *\/
689
693
  * ```
690
694
  *
695
+ * @public
691
696
  */
692
697
  export declare class UpdateServiceCommand extends UpdateServiceCommand_base {
693
698
  /** @internal type navigation helper, not in runtime. */
@@ -170,55 +170,55 @@ declare const UpdateServicePrimaryTaskSetCommand_base: {
170
170
  * @throws {@link ECSServiceException}
171
171
  * <p>Base exception class for all service exceptions from ECS service.</p>
172
172
  *
173
- * @public
173
+ *
174
174
  * @example To update the primary task set for a service
175
175
  * ```javascript
176
176
  * // This example updates the primary task set for a service MyService that uses the EXTERNAL deployment controller type.
177
177
  * const input = {
178
- * "cluster": "MyCluster",
179
- * "primaryTaskSet": "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789",
180
- * "service": "MyService"
178
+ * cluster: "MyCluster",
179
+ * primaryTaskSet: "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789",
180
+ * service: "MyService"
181
181
  * };
182
182
  * const command = new UpdateServicePrimaryTaskSetCommand(input);
183
183
  * const response = await client.send(command);
184
- * /* response ==
184
+ * /* response is
185
185
  * {
186
- * "taskSet": {
187
- * "computedDesiredCount": 1,
188
- * "createdAt": 1557128360.711,
189
- * "id": "ecs-svc/1234567890123456789",
190
- * "launchType": "EC2",
191
- * "loadBalancers": [],
192
- * "networkConfiguration": {
193
- * "awsvpcConfiguration": {
194
- * "assignPublicIp": "DISABLED",
195
- * "securityGroups": [
186
+ * taskSet: {
187
+ * computedDesiredCount: 1,
188
+ * createdAt: 1.557128360711E9,
189
+ * id: "ecs-svc/1234567890123456789",
190
+ * launchType: "EC2",
191
+ * loadBalancers: [],
192
+ * networkConfiguration: {
193
+ * awsvpcConfiguration: {
194
+ * assignPublicIp: "DISABLED",
195
+ * securityGroups: [
196
196
  * "sg-12344312"
197
197
  * ],
198
- * "subnets": [
198
+ * subnets: [
199
199
  * "subnet-12344321"
200
200
  * ]
201
201
  * }
202
202
  * },
203
- * "pendingCount": 0,
204
- * "runningCount": 0,
205
- * "scale": {
206
- * "value": 50,
207
- * "unit": "PERCENT"
203
+ * pendingCount: 0,
204
+ * runningCount: 0,
205
+ * scale: {
206
+ * unit: "PERCENT",
207
+ * value: 50
208
208
  * },
209
- * "serviceRegistries": [],
210
- * "stabilityStatus": "STABILIZING",
211
- * "stabilityStatusAt": 1557129279.914,
212
- * "status": "PRIMARY",
213
- * "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/sample-fargate:2",
214
- * "taskSetArn": "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789",
215
- * "updatedAt": 1557129412.653
209
+ * serviceRegistries: [],
210
+ * stabilityStatus: "STABILIZING",
211
+ * stabilityStatusAt: 1.557129279914E9,
212
+ * status: "PRIMARY",
213
+ * taskDefinition: "arn:aws:ecs:us-west-2:123456789012:task-definition/sample-fargate:2",
214
+ * taskSetArn: "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789",
215
+ * updatedAt: 1.557129412653E9
216
216
  * }
217
217
  * }
218
218
  * *\/
219
- * // example id: to-update-the-primary-task-set-for-a-service-1734637150370
220
219
  * ```
221
220
  *
221
+ * @public
222
222
  */
223
223
  export declare class UpdateServicePrimaryTaskSetCommand extends UpdateServicePrimaryTaskSetCommand_base {
224
224
  /** @internal type navigation helper, not in runtime. */
@@ -133,88 +133,86 @@ declare const UpdateTaskProtectionCommand_base: {
133
133
  * @throws {@link ECSServiceException}
134
134
  * <p>Base exception class for all service exceptions from ECS service.</p>
135
135
  *
136
- * @public
137
- * @example To set task scale-in protection for a task for 60 minutes
136
+ *
137
+ * @example To remove task scale-in protection
138
138
  * ```javascript
139
- * // This example enables scale-in protection for a task for 60 minutes.
139
+ * // This example removes scale-in protection for a task.
140
140
  * const input = {
141
- * "cluster": "test-task-protection",
142
- * "expiresInMinutes": 60,
143
- * "protectionEnabled": true,
144
- * "tasks": [
141
+ * cluster: "test-task-protection",
142
+ * protectionEnabled: false,
143
+ * tasks: [
145
144
  * "b8b1cf532d0e46ba8d44a40d1de16772"
146
145
  * ]
147
146
  * };
148
147
  * const command = new UpdateTaskProtectionCommand(input);
149
148
  * const response = await client.send(command);
150
- * /* response ==
149
+ * /* response is
151
150
  * {
152
- * "failures": [],
153
- * "protectedTasks": [
151
+ * failures: [],
152
+ * protectedTasks: [
154
153
  * {
155
- * "expirationDate": "2022-11-02T06:56:32.553Z",
156
- * "protectionEnabled": true,
157
- * "taskArn": "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772"
154
+ * protectionEnabled: false,
155
+ * taskArn: "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772"
158
156
  * }
159
157
  * ]
160
158
  * }
161
159
  * *\/
162
- * // example id: enable-the-protection-status-for-a-single-task-for-60-minutes-2022-11-02T06:56:32.553Z
163
160
  * ```
164
161
  *
165
- * @example To set task scale-in protection for the default time period in minutes
162
+ * @example To set task scale-in protection for a task for 60 minutes
166
163
  * ```javascript
167
- * // This example enables task scale-in protection for a task, without specifying the expiresInMinutes parameter, for the default protection period of 120 minutes.
164
+ * // This example enables scale-in protection for a task for 60 minutes.
168
165
  * const input = {
169
- * "cluster": "test-task-protection",
170
- * "protectionEnabled": true,
171
- * "tasks": [
166
+ * cluster: "test-task-protection",
167
+ * expiresInMinutes: 60,
168
+ * protectionEnabled: true,
169
+ * tasks: [
172
170
  * "b8b1cf532d0e46ba8d44a40d1de16772"
173
171
  * ]
174
172
  * };
175
173
  * const command = new UpdateTaskProtectionCommand(input);
176
174
  * const response = await client.send(command);
177
- * /* response ==
175
+ * /* response is
178
176
  * {
179
- * "failures": [],
180
- * "protectedTasks": [
177
+ * failures: [],
178
+ * protectedTasks: [
181
179
  * {
182
- * "expirationDate": "2022-11-02T06:56:32.553Z",
183
- * "protectionEnabled": true,
184
- * "taskArn": "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772"
180
+ * expirationDate: "2022-11-02T06:56:32.553Z",
181
+ * protectionEnabled: true,
182
+ * taskArn: "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772"
185
183
  * }
186
184
  * ]
187
185
  * }
188
186
  * *\/
189
- * // example id: enable-the-protection-status-for-a-single-task-with-default-expiresinminutes-2022-11-02T06:56:32.553Z
190
187
  * ```
191
188
  *
192
- * @example To remove task scale-in protection
189
+ * @example To set task scale-in protection for the default time period in minutes
193
190
  * ```javascript
194
- * // This example removes scale-in protection for a task.
191
+ * // This example enables task scale-in protection for a task, without specifying the expiresInMinutes parameter, for the default protection period of 120 minutes.
195
192
  * const input = {
196
- * "cluster": "test-task-protection",
197
- * "protectionEnabled": false,
198
- * "tasks": [
193
+ * cluster: "test-task-protection",
194
+ * protectionEnabled: true,
195
+ * tasks: [
199
196
  * "b8b1cf532d0e46ba8d44a40d1de16772"
200
197
  * ]
201
198
  * };
202
199
  * const command = new UpdateTaskProtectionCommand(input);
203
200
  * const response = await client.send(command);
204
- * /* response ==
201
+ * /* response is
205
202
  * {
206
- * "failures": [],
207
- * "protectedTasks": [
203
+ * failures: [],
204
+ * protectedTasks: [
208
205
  * {
209
- * "protectionEnabled": false,
210
- * "taskArn": "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772"
206
+ * expirationDate: "2022-11-02T06:56:32.553Z",
207
+ * protectionEnabled: true,
208
+ * taskArn: "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772"
211
209
  * }
212
210
  * ]
213
211
  * }
214
212
  * *\/
215
- * // example id: disable-scale-in-protection-on-a-single-task
216
213
  * ```
217
214
  *
215
+ * @public
218
216
  */
219
217
  export declare class UpdateTaskProtectionCommand extends UpdateTaskProtectionCommand_base {
220
218
  /** @internal type navigation helper, not in runtime. */
@@ -172,59 +172,59 @@ declare const UpdateTaskSetCommand_base: {
172
172
  * @throws {@link ECSServiceException}
173
173
  * <p>Base exception class for all service exceptions from ECS service.</p>
174
174
  *
175
- * @public
175
+ *
176
176
  * @example To update a task set
177
177
  * ```javascript
178
178
  * // This example updates the task set to adjust the scale.
179
179
  * const input = {
180
- * "cluster": "MyCluster",
181
- * "scale": {
182
- * "value": 50,
183
- * "unit": "PERCENT"
180
+ * cluster: "MyCluster",
181
+ * scale: {
182
+ * unit: "PERCENT",
183
+ * value: 50
184
184
  * },
185
- * "service": "MyService",
186
- * "taskSet": "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789"
185
+ * service: "MyService",
186
+ * taskSet: "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789"
187
187
  * };
188
188
  * const command = new UpdateTaskSetCommand(input);
189
189
  * const response = await client.send(command);
190
- * /* response ==
190
+ * /* response is
191
191
  * {
192
- * "taskSet": {
193
- * "computedDesiredCount": 0,
194
- * "createdAt": 1557128360.711,
195
- * "id": "ecs-svc/1234567890123456789",
196
- * "launchType": "EC2",
197
- * "loadBalancers": [],
198
- * "networkConfiguration": {
199
- * "awsvpcConfiguration": {
200
- * "assignPublicIp": "DISABLED",
201
- * "securityGroups": [
192
+ * taskSet: {
193
+ * computedDesiredCount: 0,
194
+ * createdAt: 1.557128360711E9,
195
+ * id: "ecs-svc/1234567890123456789",
196
+ * launchType: "EC2",
197
+ * loadBalancers: [],
198
+ * networkConfiguration: {
199
+ * awsvpcConfiguration: {
200
+ * assignPublicIp: "DISABLED",
201
+ * securityGroups: [
202
202
  * "sg-12344321"
203
203
  * ],
204
- * "subnets": [
204
+ * subnets: [
205
205
  * "subnet-12344321"
206
206
  * ]
207
207
  * }
208
208
  * },
209
- * "pendingCount": 0,
210
- * "runningCount": 0,
211
- * "scale": {
212
- * "value": 50,
213
- * "unit": "PERCENT"
209
+ * pendingCount: 0,
210
+ * runningCount: 0,
211
+ * scale: {
212
+ * unit: "PERCENT",
213
+ * value: 50
214
214
  * },
215
- * "serviceRegistries": [],
216
- * "stabilityStatus": "STABILIZING",
217
- * "stabilityStatusAt": 1557129279.914,
218
- * "status": "ACTIVE",
219
- * "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/sample-fargate:2",
220
- * "taskSetArn": "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789",
221
- * "updatedAt": 1557129279.914
215
+ * serviceRegistries: [],
216
+ * stabilityStatus: "STABILIZING",
217
+ * stabilityStatusAt: 1.557129279914E9,
218
+ * status: "ACTIVE",
219
+ * taskDefinition: "arn:aws:ecs:us-west-2:123456789012:task-definition/sample-fargate:2",
220
+ * taskSetArn: "arn:aws:ecs:us-west-2:123456789012:task-set/MyCluster/MyService/ecs-svc/1234567890123456789",
221
+ * updatedAt: 1.557129279914E9
222
222
  * }
223
223
  * }
224
224
  * *\/
225
- * // example id: to-update-a-task-set-1734638754368
226
225
  * ```
227
226
  *
227
+ * @public
228
228
  */
229
229
  export declare class UpdateTaskSetCommand extends UpdateTaskSetCommand_base {
230
230
  /** @internal type navigation helper, not in runtime. */
@@ -10230,13 +10230,6 @@ export interface PutAccountSettingRequest {
10230
10230
  * </li>
10231
10231
  * <li>
10232
10232
  * <p>
10233
- * <code>fargateFIPSMode</code> - When turned on, you can run Fargate workloads
10234
- * in a manner that is compliant with Federal Information Processing Standard
10235
- * (FIPS-140). For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-fips-compliance.html">Fargate
10236
- * Federal Information Processing Standard (FIPS-140)</a>.</p>
10237
- * </li>
10238
- * <li>
10239
- * <p>
10240
10233
  * <code>containerInstanceLongArnFormat</code> - When modified, the Amazon
10241
10234
  * Resource Name (ARN) and resource ID format of the resource type for a specified
10242
10235
  * user, role, or the root user for an account is affected. The opt-in and opt-out