aws_sdk_mediaconnect/client/
get_router_input.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 [`GetRouterInput`](crate::operation::get_router_input::builders::GetRouterInputFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::get_router_input::builders::GetRouterInputFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_router_input::builders::GetRouterInputFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the router input to retrieve information about.</p><br>
7    /// - On success, responds with [`GetRouterInputOutput`](crate::operation::get_router_input::GetRouterInputOutput) with field(s):
8    ///   - [`router_input(Option<RouterInput>)`](crate::operation::get_router_input::GetRouterInputOutput::router_input): <p>The details of the requested router input, including its configuration, state, and other attributes.</p>
9    /// - On failure, responds with [`SdkError<GetRouterInputError>`](crate::operation::get_router_input::GetRouterInputError)
10    pub fn get_router_input(&self) -> crate::operation::get_router_input::builders::GetRouterInputFluentBuilder {
11        crate::operation::get_router_input::builders::GetRouterInputFluentBuilder::new(self.handle.clone())
12    }
13}