aws_sdk_medialive/client/
stop_multiplex.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 [`StopMultiplex`](crate::operation::stop_multiplex::builders::StopMultiplexFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`multiplex_id(impl Into<String>)`](crate::operation::stop_multiplex::builders::StopMultiplexFluentBuilder::multiplex_id) / [`set_multiplex_id(Option<String>)`](crate::operation::stop_multiplex::builders::StopMultiplexFluentBuilder::set_multiplex_id):<br>required: **true**<br>The ID of the multiplex.<br>
7    /// - On success, responds with [`StopMultiplexOutput`](crate::operation::stop_multiplex::StopMultiplexOutput) with field(s):
8    ///   - [`arn(Option<String>)`](crate::operation::stop_multiplex::StopMultiplexOutput::arn): The unique arn of the multiplex.
9    ///   - [`availability_zones(Option<Vec::<String>>)`](crate::operation::stop_multiplex::StopMultiplexOutput::availability_zones): A list of availability zones for the multiplex.
10    ///   - [`destinations(Option<Vec::<MultiplexOutputDestination>>)`](crate::operation::stop_multiplex::StopMultiplexOutput::destinations): A list of the multiplex output destinations.
11    ///   - [`id(Option<String>)`](crate::operation::stop_multiplex::StopMultiplexOutput::id): The unique id of the multiplex.
12    ///   - [`multiplex_settings(Option<MultiplexSettings>)`](crate::operation::stop_multiplex::StopMultiplexOutput::multiplex_settings): Configuration for a multiplex event.
13    ///   - [`name(Option<String>)`](crate::operation::stop_multiplex::StopMultiplexOutput::name): The name of the multiplex.
14    ///   - [`pipelines_running_count(Option<i32>)`](crate::operation::stop_multiplex::StopMultiplexOutput::pipelines_running_count): The number of currently healthy pipelines.
15    ///   - [`program_count(Option<i32>)`](crate::operation::stop_multiplex::StopMultiplexOutput::program_count): The number of programs in the multiplex.
16    ///   - [`state(Option<MultiplexState>)`](crate::operation::stop_multiplex::StopMultiplexOutput::state): The current state of the multiplex.
17    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::stop_multiplex::StopMultiplexOutput::tags): A collection of key-value pairs.
18    /// - On failure, responds with [`SdkError<StopMultiplexError>`](crate::operation::stop_multiplex::StopMultiplexError)
19    pub fn stop_multiplex(&self) -> crate::operation::stop_multiplex::builders::StopMultiplexFluentBuilder {
20        crate::operation::stop_multiplex::builders::StopMultiplexFluentBuilder::new(self.handle.clone())
21    }
22}