aws_sdk_medialive/client/
update_multiplex_program.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 [`UpdateMultiplexProgram`](crate::operation::update_multiplex_program::builders::UpdateMultiplexProgramFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`multiplex_id(impl Into<String>)`](crate::operation::update_multiplex_program::builders::UpdateMultiplexProgramFluentBuilder::multiplex_id) / [`set_multiplex_id(Option<String>)`](crate::operation::update_multiplex_program::builders::UpdateMultiplexProgramFluentBuilder::set_multiplex_id):<br>required: **true**<br>The ID of the multiplex of the program to update.<br>
7    ///   - [`multiplex_program_settings(MultiplexProgramSettings)`](crate::operation::update_multiplex_program::builders::UpdateMultiplexProgramFluentBuilder::multiplex_program_settings) / [`set_multiplex_program_settings(Option<MultiplexProgramSettings>)`](crate::operation::update_multiplex_program::builders::UpdateMultiplexProgramFluentBuilder::set_multiplex_program_settings):<br>required: **false**<br>The new settings for a multiplex program.<br>
8    ///   - [`program_name(impl Into<String>)`](crate::operation::update_multiplex_program::builders::UpdateMultiplexProgramFluentBuilder::program_name) / [`set_program_name(Option<String>)`](crate::operation::update_multiplex_program::builders::UpdateMultiplexProgramFluentBuilder::set_program_name):<br>required: **true**<br>The name of the program to update.<br>
9    /// - On success, responds with [`UpdateMultiplexProgramOutput`](crate::operation::update_multiplex_program::UpdateMultiplexProgramOutput) with field(s):
10    ///   - [`multiplex_program(Option<MultiplexProgram>)`](crate::operation::update_multiplex_program::UpdateMultiplexProgramOutput::multiplex_program): The updated multiplex program.
11    /// - On failure, responds with [`SdkError<UpdateMultiplexProgramError>`](crate::operation::update_multiplex_program::UpdateMultiplexProgramError)
12    pub fn update_multiplex_program(&self) -> crate::operation::update_multiplex_program::builders::UpdateMultiplexProgramFluentBuilder {
13        crate::operation::update_multiplex_program::builders::UpdateMultiplexProgramFluentBuilder::new(self.handle.clone())
14    }
15}