aws_sdk_mediaconnect/client/
stop_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 [`StopRouterInput`](crate::operation::stop_router_input::builders::StopRouterInputFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::stop_router_input::builders::StopRouterInputFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::stop_router_input::builders::StopRouterInputFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the router input that you want to stop.</p><br>
7    /// - On success, responds with [`StopRouterInputOutput`](crate::operation::stop_router_input::StopRouterInputOutput) with field(s):
8    ///   - [`arn(String)`](crate::operation::stop_router_input::StopRouterInputOutput::arn): <p>The ARN of the router input that was stopped.</p>
9    ///   - [`name(String)`](crate::operation::stop_router_input::StopRouterInputOutput::name): <p>The name of the router input that was stopped.</p>
10    ///   - [`state(RouterInputState)`](crate::operation::stop_router_input::StopRouterInputOutput::state): <p>The current state of the router input after being stopped.</p>
11    /// - On failure, responds with [`SdkError<StopRouterInputError>`](crate::operation::stop_router_input::StopRouterInputError)
12    pub fn stop_router_input(&self) -> crate::operation::stop_router_input::builders::StopRouterInputFluentBuilder {
13        crate::operation::stop_router_input::builders::StopRouterInputFluentBuilder::new(self.handle.clone())
14    }
15}