1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAgentAlias`](crate::operation::get_agent_alias::builders::GetAgentAliasFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`agent_id(impl Into<String>)`](crate::operation::get_agent_alias::builders::GetAgentAliasFluentBuilder::agent_id) / [`set_agent_id(Option<String>)`](crate::operation::get_agent_alias::builders::GetAgentAliasFluentBuilder::set_agent_id):<br>required: **true**<br><p>The unique identifier of the agent to which the alias to get information belongs.</p><br>
    ///   - [`agent_alias_id(impl Into<String>)`](crate::operation::get_agent_alias::builders::GetAgentAliasFluentBuilder::agent_alias_id) / [`set_agent_alias_id(Option<String>)`](crate::operation::get_agent_alias::builders::GetAgentAliasFluentBuilder::set_agent_alias_id):<br>required: **true**<br><p>The unique identifier of the alias for which to get information.</p><br>
    /// - On success, responds with [`GetAgentAliasOutput`](crate::operation::get_agent_alias::GetAgentAliasOutput) with field(s):
    ///   - [`agent_alias(Option<AgentAlias>)`](crate::operation::get_agent_alias::GetAgentAliasOutput::agent_alias): <p>Contains information about the alias.</p>
    /// - On failure, responds with [`SdkError<GetAgentAliasError>`](crate::operation::get_agent_alias::GetAgentAliasError)
    pub fn get_agent_alias(&self) -> crate::operation::get_agent_alias::builders::GetAgentAliasFluentBuilder {
        crate::operation::get_agent_alias::builders::GetAgentAliasFluentBuilder::new(self.handle.clone())
    }
}