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