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