Skip to content

ECS  >  Operations  >  delete_daemon_task_definition

delete_daemon_task_definition

Operation

delete_daemon_task_definition async

delete_daemon_task_definition(input: DeleteDaemonTaskDefinitionInput, plugins: list[Plugin] | None = None) -> DeleteDaemonTaskDefinitionOutput

Deletes the specified daemon task definition. After a daemon task definition is deleted, no new daemons can be created using this definition. Existing daemons that reference the deleted daemon task definition continue to run.

A daemon task definition must be in an ACTIVE state to be deleted.

Parameters:

Name Type Description Default
input DeleteDaemonTaskDefinitionInput

An instance of DeleteDaemonTaskDefinitionInput.

required
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
DeleteDaemonTaskDefinitionOutput

An instance of DeleteDaemonTaskDefinitionOutput.

Input

DeleteDaemonTaskDefinitionInput dataclass

Bases: _SerdeShape

Dataclass for DeleteDaemonTaskDefinitionInput structure.

Attributes

daemon_task_definition class-attribute instance-attribute
daemon_task_definition: str | None = ...

The family and revision (family:revision) or full Amazon Resource Name (ARN) of the daemon task definition to delete.

Output

DeleteDaemonTaskDefinitionOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteDaemonTaskDefinitionOutput structure.

Attributes

daemon_task_definition_arn class-attribute instance-attribute
daemon_task_definition_arn: str | None = ...

The full Amazon Resource Name (ARN) of the deleted daemon task definition.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.