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