aws-sdk-ecs 1.128.0

AWS SDK for Amazon EC2 Container Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteDaemon`](crate::operation::delete_daemon::builders::DeleteDaemonFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`DeleteDaemonOutput`](crate::operation::delete_daemon::DeleteDaemonOutput) with field(s):
    ///   - [`daemon_arn(Option<String>)`](crate::operation::delete_daemon::DeleteDaemonOutput::daemon_arn): <p>The Amazon Resource Name (ARN) of the daemon.</p>
    ///   - [`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>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::delete_daemon::DeleteDaemonOutput::created_at): <p>The Unix timestamp for the time when the daemon was created.</p>
    ///   - [`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>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<DeleteDaemonError>`](crate::operation::delete_daemon::DeleteDaemonError)
    pub fn delete_daemon(&self) -> crate::operation::delete_daemon::builders::DeleteDaemonFluentBuilder {
        crate::operation::delete_daemon::builders::DeleteDaemonFluentBuilder::new(self.handle.clone())
    }
}