1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAgent`](crate::operation::get_agent::builders::GetAgentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`agent_id(impl Into<String>)`](crate::operation::get_agent::builders::GetAgentFluentBuilder::agent_id) / [`set_agent_id(Option<String>)`](crate::operation::get_agent::builders::GetAgentFluentBuilder::set_agent_id):<br>required: **true**<br><p>The unique identifier of the agent.</p><br>
    /// - On success, responds with [`GetAgentOutput`](crate::operation::get_agent::GetAgentOutput) with field(s):
    ///   - [`agent(Option<Agent>)`](crate::operation::get_agent::GetAgentOutput::agent): <p>Contains details about the agent.</p>
    /// - On failure, responds with [`SdkError<GetAgentError>`](crate::operation::get_agent::GetAgentError)
    pub fn get_agent(&self) -> crate::operation::get_agent::builders::GetAgentFluentBuilder {
        crate::operation::get_agent::builders::GetAgentFluentBuilder::new(self.handle.clone())
    }
}