aws_sdk_mediaconnect/client/
get_router_network_interface.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 [`GetRouterNetworkInterface`](crate::operation::get_router_network_interface::builders::GetRouterNetworkInterfaceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::get_router_network_interface::builders::GetRouterNetworkInterfaceFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_router_network_interface::builders::GetRouterNetworkInterfaceFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the router network interface that you want to retrieve information about.</p><br>
7    /// - On success, responds with [`GetRouterNetworkInterfaceOutput`](crate::operation::get_router_network_interface::GetRouterNetworkInterfaceOutput) with field(s):
8    ///   - [`router_network_interface(Option<RouterNetworkInterface>)`](crate::operation::get_router_network_interface::GetRouterNetworkInterfaceOutput::router_network_interface): <p>The details of the requested router network interface, including its configuration and other attributes.</p>
9    /// - On failure, responds with [`SdkError<GetRouterNetworkInterfaceError>`](crate::operation::get_router_network_interface::GetRouterNetworkInterfaceError)
10    pub fn get_router_network_interface(&self) -> crate::operation::get_router_network_interface::builders::GetRouterNetworkInterfaceFluentBuilder {
11        crate::operation::get_router_network_interface::builders::GetRouterNetworkInterfaceFluentBuilder::new(self.handle.clone())
12    }
13}