Skip to content

/AWS1/CL_ECS=>DELETETASKSET()

About DeleteTaskSet

Deletes a specified task set within a service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.

Method Signature

IMPORTING

Required arguments:

IV_CLUSTER TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set found in to delete.

IV_SERVICE TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to delete.

IV_TASKSET TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The task set ID or full Amazon Resource Name (ARN) of the task set to delete.

Optional arguments:

IV_FORCE TYPE /AWS1/ECSBOXEDBOOLEAN /AWS1/ECSBOXEDBOOLEAN

If true, you can delete a task set even if it hasn't been scaled down to zero.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ECSDELETETASKSETRSP /AWS1/CL_ECSDELETETASKSETRSP