aws-sdk-mediaconnect 1.99.0

AWS SDK for AWS MediaConnect
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RestartRouterInput`](crate::operation::restart_router_input::builders::RestartRouterInputFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`RestartRouterInputOutput`](crate::operation::restart_router_input::RestartRouterInputOutput) with field(s):
    ///   - [`arn(String)`](crate::operation::restart_router_input::RestartRouterInputOutput::arn): <p>The ARN of the router input that was restarted.</p>
    ///   - [`name(String)`](crate::operation::restart_router_input::RestartRouterInputOutput::name): <p>The name of the router input that was restarted.</p>
    ///   - [`state(RouterInputState)`](crate::operation::restart_router_input::RestartRouterInputOutput::state): <p>The current state of the router input after the restart operation.</p>
    /// - On failure, responds with [`SdkError<RestartRouterInputError>`](crate::operation::restart_router_input::RestartRouterInputError)
    pub fn restart_router_input(&self) -> crate::operation::restart_router_input::builders::RestartRouterInputFluentBuilder {
        crate::operation::restart_router_input::builders::RestartRouterInputFluentBuilder::new(self.handle.clone())
    }
}