delete_daemon¶
Operation¶
delete_daemon
async
¶
delete_daemon(input: DeleteDaemonInput, plugins: list[Plugin] | None = None) -> DeleteDaemonOutput
Deletes the specified daemon. The daemon must be in an ACTIVE state to
be deleted. Deleting a daemon stops all running daemon tasks on the
associated container instances. Amazon ECS drains existing container
instances and provisions new instances without the deleted daemon.
Amazon ECS automatically launches replacement tasks for your Amazon ECS
services.
Note
ECS Managed Daemons is only supported for Amazon ECS Managed Instances Capacity Providers.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DeleteDaemonInput
|
An instance of |
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 |
|---|---|
DeleteDaemonOutput
|
An instance of |
Input¶
DeleteDaemonInput
dataclass
¶
Output¶
DeleteDaemonOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteDaemonOutput structure.
Attributes¶
created_at
class-attribute
instance-attribute
¶
created_at: datetime | None = ...
The Unix timestamp for the time when the daemon was created.
daemon_arn
class-attribute
instance-attribute
¶
daemon_arn: str | None = ...
The Amazon Resource Name (ARN) of the daemon.
deployment_arn
class-attribute
instance-attribute
¶
deployment_arn: str | None = ...
The Amazon Resource Name (ARN) of the daemon deployment that was triggered by the delete operation. This deployment drains existing daemon tasks from the container instances.
response_metadata
class-attribute
instance-attribute
¶
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.