Skip to main content

aws_sdk_ecs/client/
delete_daemon.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteDaemon`](crate::operation::delete_daemon::builders::DeleteDaemonFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`daemon_arn(impl Into<String>)`](crate::operation::delete_daemon::builders::DeleteDaemonFluentBuilder::daemon_arn) / [`set_daemon_arn(Option<String>)`](crate::operation::delete_daemon::builders::DeleteDaemonFluentBuilder::set_daemon_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the daemon to delete.</p><br>
7    /// - On success, responds with [`DeleteDaemonOutput`](crate::operation::delete_daemon::DeleteDaemonOutput) with field(s):
8    ///   - [`daemon_arn(Option<String>)`](crate::operation::delete_daemon::DeleteDaemonOutput::daemon_arn): <p>The Amazon Resource Name (ARN) of the daemon.</p>
9    ///   - [`status(Option<DaemonStatus>)`](crate::operation::delete_daemon::DeleteDaemonOutput::status): <p>The status of the daemon. After you call <code>DeleteDaemon</code>, the status changes to <code>DELETE_IN_PROGRESS</code>.</p>
10    ///   - [`created_at(Option<DateTime>)`](crate::operation::delete_daemon::DeleteDaemonOutput::created_at): <p>The Unix timestamp for the time when the daemon was created.</p>
11    ///   - [`updated_at(Option<DateTime>)`](crate::operation::delete_daemon::DeleteDaemonOutput::updated_at): <p>The Unix timestamp for the time when the daemon was last updated.</p>
12    ///   - [`deployment_arn(Option<String>)`](crate::operation::delete_daemon::DeleteDaemonOutput::deployment_arn): <p>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.</p>
13    /// - On failure, responds with [`SdkError<DeleteDaemonError>`](crate::operation::delete_daemon::DeleteDaemonError)
14    pub fn delete_daemon(&self) -> crate::operation::delete_daemon::builders::DeleteDaemonFluentBuilder {
15        crate::operation::delete_daemon::builders::DeleteDaemonFluentBuilder::new(self.handle.clone())
16    }
17}