delete_task_set¶
Operation¶
delete_task_set
async
¶
delete_task_set(request: DeleteTaskSetInput | DeleteTaskSetInputDict, /, *, plugins: list[Plugin] | None = None) -> DeleteTaskSetOutput
delete_task_set(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteTaskSetInputDict]) -> DeleteTaskSetOutput
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
DeleteTaskSetOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
DeleteTaskSetInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteTaskSetInput structure.
Attributes¶
cluster
class-attribute
instance-attribute
¶
cluster: str | None = ...
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set found in to delete.
force
class-attribute
instance-attribute
¶
force: bool | None = ...
If true, you can delete a task set even if it hasn't been scaled down
to zero.
Dictionaries¶
DeleteTaskSetInputDict
¶
Bases: TypedDict
Dictionary form of DeleteTaskSetInput.
Attributes¶
cluster
instance-attribute
¶
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set found in to delete.
force
instance-attribute
¶
force: bool | None
If true, you can delete a task set even if it hasn't been scaled down
to zero.
service
instance-attribute
¶
The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to delete.
Output¶
DeleteTaskSetOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteTaskSetOutput structure.