Skip to main content

aws_sdk_ecs/client/
describe_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 [`DescribeDaemon`](crate::operation::describe_daemon::builders::DescribeDaemonFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`daemon_arn(impl Into<String>)`](crate::operation::describe_daemon::builders::DescribeDaemonFluentBuilder::daemon_arn) / [`set_daemon_arn(Option<String>)`](crate::operation::describe_daemon::builders::DescribeDaemonFluentBuilder::set_daemon_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the daemon to describe.</p><br>
7    /// - On success, responds with [`DescribeDaemonOutput`](crate::operation::describe_daemon::DescribeDaemonOutput) with field(s):
8    ///   - [`daemon(Option<DaemonDetail>)`](crate::operation::describe_daemon::DescribeDaemonOutput::daemon): <p>The full description of the daemon, including the current revisions, deployment ARN, cluster, and status information.</p>
9    /// - On failure, responds with [`SdkError<DescribeDaemonError>`](crate::operation::describe_daemon::DescribeDaemonError)
10    pub fn describe_daemon(&self) -> crate::operation::describe_daemon::builders::DescribeDaemonFluentBuilder {
11        crate::operation::describe_daemon::builders::DescribeDaemonFluentBuilder::new(self.handle.clone())
12    }
13}