@aws-sdk/client-ecs 3.272.0 → 3.278.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 (34) hide show
  1. package/dist-cjs/ECS.js +15 -0
  2. package/dist-cjs/commands/DeleteTaskDefinitionsCommand.js +46 -0
  3. package/dist-cjs/commands/index.js +1 -0
  4. package/dist-cjs/endpoint/ruleset.js +3 -3
  5. package/dist-cjs/models/models_0.js +79 -70
  6. package/dist-cjs/protocols/Aws_json1_1.js +82 -3
  7. package/dist-es/ECS.js +15 -0
  8. package/dist-es/commands/DeleteTaskDefinitionsCommand.js +42 -0
  9. package/dist-es/commands/index.js +1 -0
  10. package/dist-es/endpoint/ruleset.js +3 -3
  11. package/dist-es/models/models_0.js +59 -52
  12. package/dist-es/protocols/Aws_json1_1.js +77 -0
  13. package/dist-types/ECS.d.ts +36 -13
  14. package/dist-types/ECSClient.d.ts +3 -2
  15. package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +50 -0
  18. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +6 -3
  19. package/dist-types/commands/PutAccountSettingCommand.d.ts +3 -3
  20. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
  21. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +3 -3
  22. package/dist-types/commands/UpdateServiceCommand.d.ts +1 -1
  23. package/dist-types/commands/index.d.ts +1 -0
  24. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  25. package/dist-types/models/models_0.d.ts +2128 -2096
  26. package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
  27. package/dist-types/ts3.4/ECS.d.ts +17 -0
  28. package/dist-types/ts3.4/ECSClient.d.ts +6 -0
  29. package/dist-types/ts3.4/commands/DeleteTaskDefinitionsCommand.d.ts +41 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  31. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  32. package/dist-types/ts3.4/models/models_0.d.ts +122 -108
  33. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  34. package/package.json +4 -4
@@ -324,29 +324,6 @@ export class ClusterContainsTasksException extends __BaseException {
324
324
  Object.setPrototypeOf(this, ClusterContainsTasksException.prototype);
325
325
  }
326
326
  }
327
- export class TaskSetNotFoundException extends __BaseException {
328
- constructor(opts) {
329
- super({
330
- name: "TaskSetNotFoundException",
331
- $fault: "client",
332
- ...opts,
333
- });
334
- this.name = "TaskSetNotFoundException";
335
- this.$fault = "client";
336
- Object.setPrototypeOf(this, TaskSetNotFoundException.prototype);
337
- }
338
- }
339
- export var InstanceHealthCheckState;
340
- (function (InstanceHealthCheckState) {
341
- InstanceHealthCheckState["IMPAIRED"] = "IMPAIRED";
342
- InstanceHealthCheckState["INITIALIZING"] = "INITIALIZING";
343
- InstanceHealthCheckState["INSUFFICIENT_DATA"] = "INSUFFICIENT_DATA";
344
- InstanceHealthCheckState["OK"] = "OK";
345
- })(InstanceHealthCheckState || (InstanceHealthCheckState = {}));
346
- export var InstanceHealthCheckType;
347
- (function (InstanceHealthCheckType) {
348
- InstanceHealthCheckType["CONTAINER_RUNTIME"] = "CONTAINER_RUNTIME";
349
- })(InstanceHealthCheckType || (InstanceHealthCheckType = {}));
350
327
  export var Compatibility;
351
328
  (function (Compatibility) {
352
329
  Compatibility["EC2"] = "EC2";
@@ -454,6 +431,7 @@ export var OSFamily;
454
431
  export var TaskDefinitionStatus;
455
432
  (function (TaskDefinitionStatus) {
456
433
  TaskDefinitionStatus["ACTIVE"] = "ACTIVE";
434
+ TaskDefinitionStatus["DELETE_IN_PROGRESS"] = "DELETE_IN_PROGRESS";
457
435
  TaskDefinitionStatus["INACTIVE"] = "INACTIVE";
458
436
  })(TaskDefinitionStatus || (TaskDefinitionStatus = {}));
459
437
  export var Scope;
@@ -471,6 +449,29 @@ export var EFSTransitEncryption;
471
449
  EFSTransitEncryption["DISABLED"] = "DISABLED";
472
450
  EFSTransitEncryption["ENABLED"] = "ENABLED";
473
451
  })(EFSTransitEncryption || (EFSTransitEncryption = {}));
452
+ export class TaskSetNotFoundException extends __BaseException {
453
+ constructor(opts) {
454
+ super({
455
+ name: "TaskSetNotFoundException",
456
+ $fault: "client",
457
+ ...opts,
458
+ });
459
+ this.name = "TaskSetNotFoundException";
460
+ this.$fault = "client";
461
+ Object.setPrototypeOf(this, TaskSetNotFoundException.prototype);
462
+ }
463
+ }
464
+ export var InstanceHealthCheckState;
465
+ (function (InstanceHealthCheckState) {
466
+ InstanceHealthCheckState["IMPAIRED"] = "IMPAIRED";
467
+ InstanceHealthCheckState["INITIALIZING"] = "INITIALIZING";
468
+ InstanceHealthCheckState["INSUFFICIENT_DATA"] = "INSUFFICIENT_DATA";
469
+ InstanceHealthCheckState["OK"] = "OK";
470
+ })(InstanceHealthCheckState || (InstanceHealthCheckState = {}));
471
+ export var InstanceHealthCheckType;
472
+ (function (InstanceHealthCheckType) {
473
+ InstanceHealthCheckType["CONTAINER_RUNTIME"] = "CONTAINER_RUNTIME";
474
+ })(InstanceHealthCheckType || (InstanceHealthCheckType = {}));
474
475
  export var CapacityProviderField;
475
476
  (function (CapacityProviderField) {
476
477
  CapacityProviderField["TAGS"] = "TAGS";
@@ -806,34 +807,10 @@ export const DeleteServiceRequestFilterSensitiveLog = (obj) => ({
806
807
  export const DeleteServiceResponseFilterSensitiveLog = (obj) => ({
807
808
  ...obj,
808
809
  });
809
- export const DeleteTaskSetRequestFilterSensitiveLog = (obj) => ({
810
- ...obj,
811
- });
812
- export const DeleteTaskSetResponseFilterSensitiveLog = (obj) => ({
813
- ...obj,
814
- });
815
- export const DeregisterContainerInstanceRequestFilterSensitiveLog = (obj) => ({
816
- ...obj,
817
- });
818
- export const InstanceHealthCheckResultFilterSensitiveLog = (obj) => ({
819
- ...obj,
820
- });
821
- export const ContainerInstanceHealthStatusFilterSensitiveLog = (obj) => ({
822
- ...obj,
823
- });
824
- export const ResourceFilterSensitiveLog = (obj) => ({
825
- ...obj,
826
- });
827
- export const VersionInfoFilterSensitiveLog = (obj) => ({
828
- ...obj,
829
- });
830
- export const ContainerInstanceFilterSensitiveLog = (obj) => ({
810
+ export const DeleteTaskDefinitionsRequestFilterSensitiveLog = (obj) => ({
831
811
  ...obj,
832
812
  });
833
- export const DeregisterContainerInstanceResponseFilterSensitiveLog = (obj) => ({
834
- ...obj,
835
- });
836
- export const DeregisterTaskDefinitionRequestFilterSensitiveLog = (obj) => ({
813
+ export const FailureFilterSensitiveLog = (obj) => ({
837
814
  ...obj,
838
815
  });
839
816
  export const ContainerDependencyFilterSensitiveLog = (obj) => ({
@@ -926,13 +903,43 @@ export const VolumeFilterSensitiveLog = (obj) => ({
926
903
  export const TaskDefinitionFilterSensitiveLog = (obj) => ({
927
904
  ...obj,
928
905
  });
929
- export const DeregisterTaskDefinitionResponseFilterSensitiveLog = (obj) => ({
906
+ export const DeleteTaskDefinitionsResponseFilterSensitiveLog = (obj) => ({
930
907
  ...obj,
931
908
  });
932
- export const DescribeCapacityProvidersRequestFilterSensitiveLog = (obj) => ({
909
+ export const DeleteTaskSetRequestFilterSensitiveLog = (obj) => ({
933
910
  ...obj,
934
911
  });
935
- export const FailureFilterSensitiveLog = (obj) => ({
912
+ export const DeleteTaskSetResponseFilterSensitiveLog = (obj) => ({
913
+ ...obj,
914
+ });
915
+ export const DeregisterContainerInstanceRequestFilterSensitiveLog = (obj) => ({
916
+ ...obj,
917
+ });
918
+ export const InstanceHealthCheckResultFilterSensitiveLog = (obj) => ({
919
+ ...obj,
920
+ });
921
+ export const ContainerInstanceHealthStatusFilterSensitiveLog = (obj) => ({
922
+ ...obj,
923
+ });
924
+ export const ResourceFilterSensitiveLog = (obj) => ({
925
+ ...obj,
926
+ });
927
+ export const VersionInfoFilterSensitiveLog = (obj) => ({
928
+ ...obj,
929
+ });
930
+ export const ContainerInstanceFilterSensitiveLog = (obj) => ({
931
+ ...obj,
932
+ });
933
+ export const DeregisterContainerInstanceResponseFilterSensitiveLog = (obj) => ({
934
+ ...obj,
935
+ });
936
+ export const DeregisterTaskDefinitionRequestFilterSensitiveLog = (obj) => ({
937
+ ...obj,
938
+ });
939
+ export const DeregisterTaskDefinitionResponseFilterSensitiveLog = (obj) => ({
940
+ ...obj,
941
+ });
942
+ export const DescribeCapacityProvidersRequestFilterSensitiveLog = (obj) => ({
936
943
  ...obj,
937
944
  });
938
945
  export const DescribeCapacityProvidersResponseFilterSensitiveLog = (obj) => ({
@@ -83,6 +83,15 @@ export const serializeAws_json1_1DeleteServiceCommand = async (input, context) =
83
83
  body = JSON.stringify(serializeAws_json1_1DeleteServiceRequest(input, context));
84
84
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
85
85
  };
86
+ export const serializeAws_json1_1DeleteTaskDefinitionsCommand = async (input, context) => {
87
+ const headers = {
88
+ "content-type": "application/x-amz-json-1.1",
89
+ "x-amz-target": "AmazonEC2ContainerServiceV20141113.DeleteTaskDefinitions",
90
+ };
91
+ let body;
92
+ body = JSON.stringify(serializeAws_json1_1DeleteTaskDefinitionsRequest(input, context));
93
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
94
+ };
86
95
  export const serializeAws_json1_1DeleteTaskSetCommand = async (input, context) => {
87
96
  const headers = {
88
97
  "content-type": "application/x-amz-json-1.1",
@@ -917,6 +926,48 @@ const deserializeAws_json1_1DeleteServiceCommandError = async (output, context)
917
926
  });
918
927
  }
919
928
  };
929
+ export const deserializeAws_json1_1DeleteTaskDefinitionsCommand = async (output, context) => {
930
+ if (output.statusCode >= 300) {
931
+ return deserializeAws_json1_1DeleteTaskDefinitionsCommandError(output, context);
932
+ }
933
+ const data = await parseBody(output.body, context);
934
+ let contents = {};
935
+ contents = deserializeAws_json1_1DeleteTaskDefinitionsResponse(data, context);
936
+ const response = {
937
+ $metadata: deserializeMetadata(output),
938
+ ...contents,
939
+ };
940
+ return Promise.resolve(response);
941
+ };
942
+ const deserializeAws_json1_1DeleteTaskDefinitionsCommandError = async (output, context) => {
943
+ const parsedOutput = {
944
+ ...output,
945
+ body: await parseErrorBody(output.body, context),
946
+ };
947
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
948
+ switch (errorCode) {
949
+ case "AccessDeniedException":
950
+ case "com.amazonaws.ecs#AccessDeniedException":
951
+ throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
952
+ case "ClientException":
953
+ case "com.amazonaws.ecs#ClientException":
954
+ throw await deserializeAws_json1_1ClientExceptionResponse(parsedOutput, context);
955
+ case "InvalidParameterException":
956
+ case "com.amazonaws.ecs#InvalidParameterException":
957
+ throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
958
+ case "ServerException":
959
+ case "com.amazonaws.ecs#ServerException":
960
+ throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
961
+ default:
962
+ const parsedBody = parsedOutput.body;
963
+ throwDefaultError({
964
+ output,
965
+ parsedBody,
966
+ exceptionCtor: __BaseException,
967
+ errorCode,
968
+ });
969
+ }
970
+ };
920
971
  export const deserializeAws_json1_1DeleteTaskSetCommand = async (output, context) => {
921
972
  if (output.statusCode >= 300) {
922
973
  return deserializeAws_json1_1DeleteTaskSetCommandError(output, context);
@@ -3544,6 +3595,13 @@ const serializeAws_json1_1DeleteServiceRequest = (input, context) => {
3544
3595
  ...(input.service != null && { service: input.service }),
3545
3596
  };
3546
3597
  };
3598
+ const serializeAws_json1_1DeleteTaskDefinitionsRequest = (input, context) => {
3599
+ return {
3600
+ ...(input.taskDefinitions != null && {
3601
+ taskDefinitions: serializeAws_json1_1StringList(input.taskDefinitions, context),
3602
+ }),
3603
+ };
3604
+ };
3547
3605
  const serializeAws_json1_1DeleteTaskSetRequest = (input, context) => {
3548
3606
  return {
3549
3607
  ...(input.cluster != null && { cluster: input.cluster }),
@@ -5192,6 +5250,14 @@ const deserializeAws_json1_1DeleteServiceResponse = (output, context) => {
5192
5250
  service: output.service != null ? deserializeAws_json1_1Service(output.service, context) : undefined,
5193
5251
  };
5194
5252
  };
5253
+ const deserializeAws_json1_1DeleteTaskDefinitionsResponse = (output, context) => {
5254
+ return {
5255
+ failures: output.failures != null ? deserializeAws_json1_1Failures(output.failures, context) : undefined,
5256
+ taskDefinitions: output.taskDefinitions != null
5257
+ ? deserializeAws_json1_1TaskDefinitionList(output.taskDefinitions, context)
5258
+ : undefined,
5259
+ };
5260
+ };
5195
5261
  const deserializeAws_json1_1DeleteTaskSetResponse = (output, context) => {
5196
5262
  return {
5197
5263
  taskSet: output.taskSet != null ? deserializeAws_json1_1TaskSet(output.taskSet, context) : undefined,
@@ -6499,6 +6565,17 @@ const deserializeAws_json1_1TaskDefinition = (output, context) => {
6499
6565
  volumes: output.volumes != null ? deserializeAws_json1_1VolumeList(output.volumes, context) : undefined,
6500
6566
  };
6501
6567
  };
6568
+ const deserializeAws_json1_1TaskDefinitionList = (output, context) => {
6569
+ const retVal = (output || [])
6570
+ .filter((e) => e != null)
6571
+ .map((entry) => {
6572
+ if (entry === null) {
6573
+ return null;
6574
+ }
6575
+ return deserializeAws_json1_1TaskDefinition(entry, context);
6576
+ });
6577
+ return retVal;
6578
+ };
6502
6579
  const deserializeAws_json1_1TaskDefinitionPlacementConstraint = (output, context) => {
6503
6580
  return {
6504
6581
  expression: __expectString(output.expression),
@@ -8,6 +8,7 @@ import { DeleteAttributesCommandInput, DeleteAttributesCommandOutput } from "./c
8
8
  import { DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput } from "./commands/DeleteCapacityProviderCommand";
9
9
  import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
10
10
  import { DeleteServiceCommandInput, DeleteServiceCommandOutput } from "./commands/DeleteServiceCommand";
11
+ import { DeleteTaskDefinitionsCommandInput, DeleteTaskDefinitionsCommandOutput } from "./commands/DeleteTaskDefinitionsCommand";
11
12
  import { DeleteTaskSetCommandInput, DeleteTaskSetCommandOutput } from "./commands/DeleteTaskSetCommand";
12
13
  import { DeregisterContainerInstanceCommandInput, DeregisterContainerInstanceCommandOutput } from "./commands/DeregisterContainerInstanceCommand";
13
14
  import { DeregisterTaskDefinitionCommandInput, DeregisterTaskDefinitionCommandOutput } from "./commands/DeregisterTaskDefinitionCommand";
@@ -90,7 +91,7 @@ export declare class ECS extends ECSClient {
90
91
  * <note>
91
92
  * <p>When you call the <a>CreateCluster</a> API operation, Amazon ECS attempts to
92
93
  * create the Amazon ECS service-linked role for your account. This is so that it can manage
93
- * required resources in other Amazon Web Services services on your behalf. However, if the IAM user
94
+ * required resources in other Amazon Web Services services on your behalf. However, if the user
94
95
  * that makes the call doesn't have permissions to create the service-linked role, it
95
96
  * isn't created. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Using
96
97
  * service-linked roles for Amazon ECS</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
@@ -191,7 +192,7 @@ export declare class ECS extends ECSClient {
191
192
  createTaskSet(args: CreateTaskSetCommandInput, cb: (err: any, data?: CreateTaskSetCommandOutput) => void): void;
192
193
  createTaskSet(args: CreateTaskSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTaskSetCommandOutput) => void): void;
193
194
  /**
194
- * <p>Disables an account setting for a specified IAM user, IAM role, or the root user for
195
+ * <p>Disables an account setting for a specified user, role, or the root user for
195
196
  * an account.</p>
196
197
  */
197
198
  deleteAccountSetting(args: DeleteAccountSettingCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccountSettingCommandOutput>;
@@ -260,6 +261,25 @@ export declare class ECS extends ECSClient {
260
261
  deleteService(args: DeleteServiceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceCommandOutput>;
261
262
  deleteService(args: DeleteServiceCommandInput, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
262
263
  deleteService(args: DeleteServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
264
+ /**
265
+ * <p>Deletes one or more task definitions.</p>
266
+ * <p>You must deregister a task definition revision before you delete it. For more information,
267
+ * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterTaskDefinition.html">DeregisterTaskDefinition</a>.</p>
268
+ * <p>When you delete a task definition revision, it is immediately transitions from the
269
+ * <code>INACTIVE</code> to <code>DELETE_IN_PROGRESS</code>. Existing tasks and services
270
+ * that reference a <code>DELETE_IN_PROGRESS</code> task definition revision continue to run
271
+ * without disruption. Existing services that reference a <code>DELETE_IN_PROGRESS</code> task
272
+ * definition revision can still scale up or down by modifying the service's desired
273
+ * count.</p>
274
+ * <p>You can't use a <code>DELETE_IN_PROGRESS</code> task definition revision to run new tasks
275
+ * or create new services. You also can't update an existing service to reference a
276
+ * <code>DELETE_IN_PROGRESS</code> task definition revision.</p>
277
+ * <p> A task definition revision will stay in <code>DELETE_IN_PROGRESS</code> status until
278
+ * all the associated tasks and services have been terminated.</p>
279
+ */
280
+ deleteTaskDefinitions(args: DeleteTaskDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTaskDefinitionsCommandOutput>;
281
+ deleteTaskDefinitions(args: DeleteTaskDefinitionsCommandInput, cb: (err: any, data?: DeleteTaskDefinitionsCommandOutput) => void): void;
282
+ deleteTaskDefinitions(args: DeleteTaskDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTaskDefinitionsCommandOutput) => void): void;
263
283
  /**
264
284
  * <p>Deletes a specified task set within a service. This is used when a service uses the
265
285
  * <code>EXTERNAL</code> deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
@@ -287,11 +307,12 @@ export declare class ECS extends ECSClient {
287
307
  deregisterContainerInstance(args: DeregisterContainerInstanceCommandInput, cb: (err: any, data?: DeregisterContainerInstanceCommandOutput) => void): void;
288
308
  deregisterContainerInstance(args: DeregisterContainerInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterContainerInstanceCommandOutput) => void): void;
289
309
  /**
290
- * <p>Deregisters the specified task definition by family and revision. Upon deregistration,
291
- * the task definition is marked as <code>INACTIVE</code>. Existing tasks and services that
310
+ * <p>Deregisters the specified task definition by family and revision. Upon deregistration, the
311
+ * task definition is marked as <code>INACTIVE</code>. Existing tasks and services that
292
312
  * reference an <code>INACTIVE</code> task definition continue to run without disruption.
293
313
  * Existing services that reference an <code>INACTIVE</code> task definition can still
294
- * scale up or down by modifying the service's desired count.</p>
314
+ * scale up or down by modifying the service's desired count. If you want to delete a task
315
+ * definition revision, you must first deregister the task definition revision.</p>
295
316
  * <p>You can't use an <code>INACTIVE</code> task definition to run new tasks or create new
296
317
  * services, and you can't update an existing service to reference an <code>INACTIVE</code>
297
318
  * task definition. However, there may be up to a 10-minute window following deregistration
@@ -302,6 +323,8 @@ export declare class ECS extends ECSClient {
302
323
  * don't recommend that you rely on <code>INACTIVE</code> task definitions persisting
303
324
  * beyond the lifecycle of any associated tasks and services.</p>
304
325
  * </note>
326
+ * <p>You must deregister a task definition revision before you delete it. For more information,
327
+ * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteTaskDefinitions.html">DeleteTaskDefinitions</a>.</p>
305
328
  */
306
329
  deregisterTaskDefinition(args: DeregisterTaskDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterTaskDefinitionCommandOutput>;
307
330
  deregisterTaskDefinition(args: DeregisterTaskDefinitionCommandInput, cb: (err: any, data?: DeregisterTaskDefinitionCommandOutput) => void): void;
@@ -475,15 +498,15 @@ export declare class ECS extends ECSClient {
475
498
  /**
476
499
  * <p>Modifies an account setting. Account settings are set on a per-Region basis.</p>
477
500
  * <p>If you change the account setting for the root user, the default settings for all of
478
- * the IAM users and roles that no individual account setting was specified are reset for.
501
+ * the users and roles that no individual account setting was specified are reset for.
479
502
  * For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html">Account
480
503
  * Settings</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
481
504
  * <p>When <code>serviceLongArnFormat</code>, <code>taskLongArnFormat</code>, or
482
505
  * <code>containerInstanceLongArnFormat</code> are specified, the Amazon Resource Name
483
- * (ARN) and resource ID format of the resource type for a specified IAM user, IAM role, or
506
+ * (ARN) and resource ID format of the resource type for a specified user, role, or
484
507
  * the root user for an account is affected. The opt-in and opt-out account setting must be
485
508
  * set for each Amazon ECS resource separately. The ARN and resource ID format of a resource
486
- * is defined by the opt-in status of the IAM user or role that created the resource. You
509
+ * is defined by the opt-in status of the user or role that created the resource. You
487
510
  * must turn on this setting to use Amazon ECS features such as resource tagging.</p>
488
511
  * <p>When <code>awsvpcTrunking</code> is specified, the elastic network interface (ENI)
489
512
  * limit for any new container instances that support the feature is changed. If
@@ -502,7 +525,7 @@ export declare class ECS extends ECSClient {
502
525
  putAccountSetting(args: PutAccountSettingCommandInput, cb: (err: any, data?: PutAccountSettingCommandOutput) => void): void;
503
526
  putAccountSetting(args: PutAccountSettingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAccountSettingCommandOutput) => void): void;
504
527
  /**
505
- * <p>Modifies an account setting for all IAM users on an account for whom no individual
528
+ * <p>Modifies an account setting for all users on an account for whom no individual
506
529
  * account setting has been specified. Account settings are set on a per-Region
507
530
  * basis.</p>
508
531
  */
@@ -553,10 +576,10 @@ export declare class ECS extends ECSClient {
553
576
  * containers with the <code>volumes</code> parameter. For more information about task
554
577
  * definition parameters and defaults, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Amazon ECS Task
555
578
  * Definitions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
556
- * <p>You can specify an IAM role for your task with the <code>taskRoleArn</code> parameter.
557
- * When you specify an IAM role for a task, its containers can then use the latest versions
579
+ * <p>You can specify a role for your task with the <code>taskRoleArn</code> parameter.
580
+ * When you specify a role for a task, its containers can then use the latest versions
558
581
  * of the CLI or SDKs to make API requests to the Amazon Web Services services that are specified in
559
- * the IAM policy that's associated with the role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM
582
+ * the policy that's associated with the role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM
560
583
  * Roles for Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
561
584
  * <p>You can specify a Docker networking mode for the containers in your task definition
562
585
  * with the <code>networkMode</code> parameter. The available network modes correspond to
@@ -876,7 +899,7 @@ export declare class ECS extends ECSClient {
876
899
  * </ul>
877
900
  * <note>
878
901
  * <p>You must have a service-linked role when you update any of the following service
879
- * properties. If you specified a custom IAM role when you created the service, Amazon ECS
902
+ * properties. If you specified a custom role when you created the service, Amazon ECS
880
903
  * automatically replaces the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Service.html#ECS-Type-Service-roleArn">roleARN</a> associated with the service with the ARN of your
881
904
  * service-linked role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Service-linked roles</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
882
905
  * <ul>
@@ -16,6 +16,7 @@ import { DeleteAttributesCommandInput, DeleteAttributesCommandOutput } from "./c
16
16
  import { DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput } from "./commands/DeleteCapacityProviderCommand";
17
17
  import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
18
18
  import { DeleteServiceCommandInput, DeleteServiceCommandOutput } from "./commands/DeleteServiceCommand";
19
+ import { DeleteTaskDefinitionsCommandInput, DeleteTaskDefinitionsCommandOutput } from "./commands/DeleteTaskDefinitionsCommand";
19
20
  import { DeleteTaskSetCommandInput, DeleteTaskSetCommandOutput } from "./commands/DeleteTaskSetCommand";
20
21
  import { DeregisterContainerInstanceCommandInput, DeregisterContainerInstanceCommandOutput } from "./commands/DeregisterContainerInstanceCommand";
21
22
  import { DeregisterTaskDefinitionCommandInput, DeregisterTaskDefinitionCommandOutput } from "./commands/DeregisterTaskDefinitionCommand";
@@ -63,8 +64,8 @@ import { UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCom
63
64
  import { UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput } from "./commands/UpdateTaskProtectionCommand";
64
65
  import { UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput } from "./commands/UpdateTaskSetCommand";
65
66
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
66
- export declare type ServiceInputTypes = CreateCapacityProviderCommandInput | CreateClusterCommandInput | CreateServiceCommandInput | CreateTaskSetCommandInput | DeleteAccountSettingCommandInput | DeleteAttributesCommandInput | DeleteCapacityProviderCommandInput | DeleteClusterCommandInput | DeleteServiceCommandInput | DeleteTaskSetCommandInput | DeregisterContainerInstanceCommandInput | DeregisterTaskDefinitionCommandInput | DescribeCapacityProvidersCommandInput | DescribeClustersCommandInput | DescribeContainerInstancesCommandInput | DescribeServicesCommandInput | DescribeTaskDefinitionCommandInput | DescribeTaskSetsCommandInput | DescribeTasksCommandInput | DiscoverPollEndpointCommandInput | ExecuteCommandCommandInput | GetTaskProtectionCommandInput | ListAccountSettingsCommandInput | ListAttributesCommandInput | ListClustersCommandInput | ListContainerInstancesCommandInput | ListServicesByNamespaceCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTaskDefinitionFamiliesCommandInput | ListTaskDefinitionsCommandInput | ListTasksCommandInput | PutAccountSettingCommandInput | PutAccountSettingDefaultCommandInput | PutAttributesCommandInput | PutClusterCapacityProvidersCommandInput | RegisterContainerInstanceCommandInput | RegisterTaskDefinitionCommandInput | RunTaskCommandInput | StartTaskCommandInput | StopTaskCommandInput | SubmitAttachmentStateChangesCommandInput | SubmitContainerStateChangeCommandInput | SubmitTaskStateChangeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCapacityProviderCommandInput | UpdateClusterCommandInput | UpdateClusterSettingsCommandInput | UpdateContainerAgentCommandInput | UpdateContainerInstancesStateCommandInput | UpdateServiceCommandInput | UpdateServicePrimaryTaskSetCommandInput | UpdateTaskProtectionCommandInput | UpdateTaskSetCommandInput;
67
- export declare type ServiceOutputTypes = CreateCapacityProviderCommandOutput | CreateClusterCommandOutput | CreateServiceCommandOutput | CreateTaskSetCommandOutput | DeleteAccountSettingCommandOutput | DeleteAttributesCommandOutput | DeleteCapacityProviderCommandOutput | DeleteClusterCommandOutput | DeleteServiceCommandOutput | DeleteTaskSetCommandOutput | DeregisterContainerInstanceCommandOutput | DeregisterTaskDefinitionCommandOutput | DescribeCapacityProvidersCommandOutput | DescribeClustersCommandOutput | DescribeContainerInstancesCommandOutput | DescribeServicesCommandOutput | DescribeTaskDefinitionCommandOutput | DescribeTaskSetsCommandOutput | DescribeTasksCommandOutput | DiscoverPollEndpointCommandOutput | ExecuteCommandCommandOutput | GetTaskProtectionCommandOutput | ListAccountSettingsCommandOutput | ListAttributesCommandOutput | ListClustersCommandOutput | ListContainerInstancesCommandOutput | ListServicesByNamespaceCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTaskDefinitionFamiliesCommandOutput | ListTaskDefinitionsCommandOutput | ListTasksCommandOutput | PutAccountSettingCommandOutput | PutAccountSettingDefaultCommandOutput | PutAttributesCommandOutput | PutClusterCapacityProvidersCommandOutput | RegisterContainerInstanceCommandOutput | RegisterTaskDefinitionCommandOutput | RunTaskCommandOutput | StartTaskCommandOutput | StopTaskCommandOutput | SubmitAttachmentStateChangesCommandOutput | SubmitContainerStateChangeCommandOutput | SubmitTaskStateChangeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCapacityProviderCommandOutput | UpdateClusterCommandOutput | UpdateClusterSettingsCommandOutput | UpdateContainerAgentCommandOutput | UpdateContainerInstancesStateCommandOutput | UpdateServiceCommandOutput | UpdateServicePrimaryTaskSetCommandOutput | UpdateTaskProtectionCommandOutput | UpdateTaskSetCommandOutput;
67
+ export declare type ServiceInputTypes = CreateCapacityProviderCommandInput | CreateClusterCommandInput | CreateServiceCommandInput | CreateTaskSetCommandInput | DeleteAccountSettingCommandInput | DeleteAttributesCommandInput | DeleteCapacityProviderCommandInput | DeleteClusterCommandInput | DeleteServiceCommandInput | DeleteTaskDefinitionsCommandInput | DeleteTaskSetCommandInput | DeregisterContainerInstanceCommandInput | DeregisterTaskDefinitionCommandInput | DescribeCapacityProvidersCommandInput | DescribeClustersCommandInput | DescribeContainerInstancesCommandInput | DescribeServicesCommandInput | DescribeTaskDefinitionCommandInput | DescribeTaskSetsCommandInput | DescribeTasksCommandInput | DiscoverPollEndpointCommandInput | ExecuteCommandCommandInput | GetTaskProtectionCommandInput | ListAccountSettingsCommandInput | ListAttributesCommandInput | ListClustersCommandInput | ListContainerInstancesCommandInput | ListServicesByNamespaceCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTaskDefinitionFamiliesCommandInput | ListTaskDefinitionsCommandInput | ListTasksCommandInput | PutAccountSettingCommandInput | PutAccountSettingDefaultCommandInput | PutAttributesCommandInput | PutClusterCapacityProvidersCommandInput | RegisterContainerInstanceCommandInput | RegisterTaskDefinitionCommandInput | RunTaskCommandInput | StartTaskCommandInput | StopTaskCommandInput | SubmitAttachmentStateChangesCommandInput | SubmitContainerStateChangeCommandInput | SubmitTaskStateChangeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCapacityProviderCommandInput | UpdateClusterCommandInput | UpdateClusterSettingsCommandInput | UpdateContainerAgentCommandInput | UpdateContainerInstancesStateCommandInput | UpdateServiceCommandInput | UpdateServicePrimaryTaskSetCommandInput | UpdateTaskProtectionCommandInput | UpdateTaskSetCommandInput;
68
+ export declare type ServiceOutputTypes = CreateCapacityProviderCommandOutput | CreateClusterCommandOutput | CreateServiceCommandOutput | CreateTaskSetCommandOutput | DeleteAccountSettingCommandOutput | DeleteAttributesCommandOutput | DeleteCapacityProviderCommandOutput | DeleteClusterCommandOutput | DeleteServiceCommandOutput | DeleteTaskDefinitionsCommandOutput | DeleteTaskSetCommandOutput | DeregisterContainerInstanceCommandOutput | DeregisterTaskDefinitionCommandOutput | DescribeCapacityProvidersCommandOutput | DescribeClustersCommandOutput | DescribeContainerInstancesCommandOutput | DescribeServicesCommandOutput | DescribeTaskDefinitionCommandOutput | DescribeTaskSetsCommandOutput | DescribeTasksCommandOutput | DiscoverPollEndpointCommandOutput | ExecuteCommandCommandOutput | GetTaskProtectionCommandOutput | ListAccountSettingsCommandOutput | ListAttributesCommandOutput | ListClustersCommandOutput | ListContainerInstancesCommandOutput | ListServicesByNamespaceCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTaskDefinitionFamiliesCommandOutput | ListTaskDefinitionsCommandOutput | ListTasksCommandOutput | PutAccountSettingCommandOutput | PutAccountSettingDefaultCommandOutput | PutAttributesCommandOutput | PutClusterCapacityProvidersCommandOutput | RegisterContainerInstanceCommandOutput | RegisterTaskDefinitionCommandOutput | RunTaskCommandOutput | StartTaskCommandOutput | StopTaskCommandOutput | SubmitAttachmentStateChangesCommandOutput | SubmitContainerStateChangeCommandOutput | SubmitTaskStateChangeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCapacityProviderCommandOutput | UpdateClusterCommandOutput | UpdateClusterSettingsCommandOutput | UpdateContainerAgentCommandOutput | UpdateContainerInstancesStateCommandOutput | UpdateServiceCommandOutput | UpdateServicePrimaryTaskSetCommandOutput | UpdateTaskProtectionCommandOutput | UpdateTaskSetCommandOutput;
68
69
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
69
70
  /**
70
71
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -14,7 +14,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
14
14
  * <note>
15
15
  * <p>When you call the <a>CreateCluster</a> API operation, Amazon ECS attempts to
16
16
  * create the Amazon ECS service-linked role for your account. This is so that it can manage
17
- * required resources in other Amazon Web Services services on your behalf. However, if the IAM user
17
+ * required resources in other Amazon Web Services services on your behalf. However, if the user
18
18
  * that makes the call doesn't have permissions to create the service-linked role, it
19
19
  * isn't created. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Using
20
20
  * service-linked roles for Amazon ECS</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
@@ -8,7 +8,7 @@ export interface DeleteAccountSettingCommandInput extends DeleteAccountSettingRe
8
8
  export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Disables an account setting for a specified IAM user, IAM role, or the root user for
11
+ * <p>Disables an account setting for a specified user, role, or the root user for
12
12
  * an account.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -0,0 +1,50 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
5
+ import { DeleteTaskDefinitionsRequest, DeleteTaskDefinitionsResponse } from "../models/models_0";
6
+ export interface DeleteTaskDefinitionsCommandInput extends DeleteTaskDefinitionsRequest {
7
+ }
8
+ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinitionsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Deletes one or more task definitions.</p>
12
+ * <p>You must deregister a task definition revision before you delete it. For more information,
13
+ * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterTaskDefinition.html">DeregisterTaskDefinition</a>.</p>
14
+ * <p>When you delete a task definition revision, it is immediately transitions from the
15
+ * <code>INACTIVE</code> to <code>DELETE_IN_PROGRESS</code>. Existing tasks and services
16
+ * that reference a <code>DELETE_IN_PROGRESS</code> task definition revision continue to run
17
+ * without disruption. Existing services that reference a <code>DELETE_IN_PROGRESS</code> task
18
+ * definition revision can still scale up or down by modifying the service's desired
19
+ * count.</p>
20
+ * <p>You can't use a <code>DELETE_IN_PROGRESS</code> task definition revision to run new tasks
21
+ * or create new services. You also can't update an existing service to reference a
22
+ * <code>DELETE_IN_PROGRESS</code> task definition revision.</p>
23
+ * <p> A task definition revision will stay in <code>DELETE_IN_PROGRESS</code> status until
24
+ * all the associated tasks and services have been terminated.</p>
25
+ * @example
26
+ * Use a bare-bones client and the command you need to make an API call.
27
+ * ```javascript
28
+ * import { ECSClient, DeleteTaskDefinitionsCommand } from "@aws-sdk/client-ecs"; // ES Modules import
29
+ * // const { ECSClient, DeleteTaskDefinitionsCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
30
+ * const client = new ECSClient(config);
31
+ * const command = new DeleteTaskDefinitionsCommand(input);
32
+ * const response = await client.send(command);
33
+ * ```
34
+ *
35
+ * @see {@link DeleteTaskDefinitionsCommandInput} for command's `input` shape.
36
+ * @see {@link DeleteTaskDefinitionsCommandOutput} for command's `response` shape.
37
+ * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
38
+ *
39
+ */
40
+ export declare class DeleteTaskDefinitionsCommand extends $Command<DeleteTaskDefinitionsCommandInput, DeleteTaskDefinitionsCommandOutput, ECSClientResolvedConfig> {
41
+ readonly input: DeleteTaskDefinitionsCommandInput;
42
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
43
+ constructor(input: DeleteTaskDefinitionsCommandInput);
44
+ /**
45
+ * @internal
46
+ */
47
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTaskDefinitionsCommandInput, DeleteTaskDefinitionsCommandOutput>;
48
+ private serialize;
49
+ private deserialize;
50
+ }
@@ -8,11 +8,12 @@ export interface DeregisterTaskDefinitionCommandInput extends DeregisterTaskDefi
8
8
  export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDefinitionResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Deregisters the specified task definition by family and revision. Upon deregistration,
12
- * the task definition is marked as <code>INACTIVE</code>. Existing tasks and services that
11
+ * <p>Deregisters the specified task definition by family and revision. Upon deregistration, the
12
+ * task definition is marked as <code>INACTIVE</code>. Existing tasks and services that
13
13
  * reference an <code>INACTIVE</code> task definition continue to run without disruption.
14
14
  * Existing services that reference an <code>INACTIVE</code> task definition can still
15
- * scale up or down by modifying the service's desired count.</p>
15
+ * scale up or down by modifying the service's desired count. If you want to delete a task
16
+ * definition revision, you must first deregister the task definition revision.</p>
16
17
  * <p>You can't use an <code>INACTIVE</code> task definition to run new tasks or create new
17
18
  * services, and you can't update an existing service to reference an <code>INACTIVE</code>
18
19
  * task definition. However, there may be up to a 10-minute window following deregistration
@@ -23,6 +24,8 @@ export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDef
23
24
  * don't recommend that you rely on <code>INACTIVE</code> task definitions persisting
24
25
  * beyond the lifecycle of any associated tasks and services.</p>
25
26
  * </note>
27
+ * <p>You must deregister a task definition revision before you delete it. For more information,
28
+ * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteTaskDefinitions.html">DeleteTaskDefinitions</a>.</p>
26
29
  * @example
27
30
  * Use a bare-bones client and the command you need to make an API call.
28
31
  * ```javascript
@@ -10,15 +10,15 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons
10
10
  /**
11
11
  * <p>Modifies an account setting. Account settings are set on a per-Region basis.</p>
12
12
  * <p>If you change the account setting for the root user, the default settings for all of
13
- * the IAM users and roles that no individual account setting was specified are reset for.
13
+ * the users and roles that no individual account setting was specified are reset for.
14
14
  * For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html">Account
15
15
  * Settings</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
16
16
  * <p>When <code>serviceLongArnFormat</code>, <code>taskLongArnFormat</code>, or
17
17
  * <code>containerInstanceLongArnFormat</code> are specified, the Amazon Resource Name
18
- * (ARN) and resource ID format of the resource type for a specified IAM user, IAM role, or
18
+ * (ARN) and resource ID format of the resource type for a specified user, role, or
19
19
  * the root user for an account is affected. The opt-in and opt-out account setting must be
20
20
  * set for each Amazon ECS resource separately. The ARN and resource ID format of a resource
21
- * is defined by the opt-in status of the IAM user or role that created the resource. You
21
+ * is defined by the opt-in status of the user or role that created the resource. You
22
22
  * must turn on this setting to use Amazon ECS features such as resource tagging.</p>
23
23
  * <p>When <code>awsvpcTrunking</code> is specified, the elastic network interface (ENI)
24
24
  * limit for any new container instances that support the feature is changed. If
@@ -8,7 +8,7 @@ export interface PutAccountSettingDefaultCommandInput extends PutAccountSettingD
8
8
  export interface PutAccountSettingDefaultCommandOutput extends PutAccountSettingDefaultResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Modifies an account setting for all IAM users on an account for whom no individual
11
+ * <p>Modifies an account setting for all users on an account for whom no individual
12
12
  * account setting has been specified. Account settings are set on a per-Region
13
13
  * basis.</p>
14
14
  * @example
@@ -13,10 +13,10 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit
13
13
  * containers with the <code>volumes</code> parameter. For more information about task
14
14
  * definition parameters and defaults, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Amazon ECS Task
15
15
  * Definitions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
16
- * <p>You can specify an IAM role for your task with the <code>taskRoleArn</code> parameter.
17
- * When you specify an IAM role for a task, its containers can then use the latest versions
16
+ * <p>You can specify a role for your task with the <code>taskRoleArn</code> parameter.
17
+ * When you specify a role for a task, its containers can then use the latest versions
18
18
  * of the CLI or SDKs to make API requests to the Amazon Web Services services that are specified in
19
- * the IAM policy that's associated with the role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM
19
+ * the policy that's associated with the role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM
20
20
  * Roles for Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
21
21
  * <p>You can specify a Docker networking mode for the containers in your task definition
22
22
  * with the <code>networkMode</code> parameter. The available network modes correspond to
@@ -115,7 +115,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
115
115
  * </ul>
116
116
  * <note>
117
117
  * <p>You must have a service-linked role when you update any of the following service
118
- * properties. If you specified a custom IAM role when you created the service, Amazon ECS
118
+ * properties. If you specified a custom role when you created the service, Amazon ECS
119
119
  * automatically replaces the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Service.html#ECS-Type-Service-roleArn">roleARN</a> associated with the service with the ARN of your
120
120
  * service-linked role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Service-linked roles</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
121
121
  * <ul>
@@ -7,6 +7,7 @@ export * from "./DeleteAttributesCommand";
7
7
  export * from "./DeleteCapacityProviderCommand";
8
8
  export * from "./DeleteClusterCommand";
9
9
  export * from "./DeleteServiceCommand";
10
+ export * from "./DeleteTaskDefinitionsCommand";
10
11
  export * from "./DeleteTaskSetCommand";
11
12
  export * from "./DeregisterContainerInstanceCommand";
12
13
  export * from "./DeregisterTaskDefinitionCommand";
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;