aws_sdk_medialive/client/
update_channel.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 [`UpdateChannel`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cdi_input_specification(CdiInputSpecification)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::cdi_input_specification) / [`set_cdi_input_specification(Option<CdiInputSpecification>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_cdi_input_specification):<br>required: **false**<br>Specification of CDI inputs for this channel<br>
7    ///   - [`channel_id(impl Into<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::channel_id) / [`set_channel_id(Option<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_channel_id):<br>required: **true**<br>channel ID<br>
8    ///   - [`destinations(OutputDestination)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::destinations) / [`set_destinations(Option<Vec::<OutputDestination>>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_destinations):<br>required: **false**<br>A list of output destinations for this channel.<br>
9    ///   - [`encoder_settings(EncoderSettings)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::encoder_settings) / [`set_encoder_settings(Option<EncoderSettings>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_encoder_settings):<br>required: **false**<br>The encoder settings for this channel.<br>
10    ///   - [`input_attachments(InputAttachment)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::input_attachments) / [`set_input_attachments(Option<Vec::<InputAttachment>>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_input_attachments):<br>required: **false**<br>Placeholder documentation for __listOfInputAttachment<br>
11    ///   - [`input_specification(InputSpecification)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::input_specification) / [`set_input_specification(Option<InputSpecification>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_input_specification):<br>required: **false**<br>Specification of network and file inputs for this channel<br>
12    ///   - [`log_level(LogLevel)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::log_level) / [`set_log_level(Option<LogLevel>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_log_level):<br>required: **false**<br>The log level to write to CloudWatch Logs.<br>
13    ///   - [`maintenance(MaintenanceUpdateSettings)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::maintenance) / [`set_maintenance(Option<MaintenanceUpdateSettings>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_maintenance):<br>required: **false**<br>Maintenance settings for this channel.<br>
14    ///   - [`name(impl Into<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_name):<br>required: **false**<br>The name of the channel.<br>
15    ///   - [`role_arn(impl Into<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_role_arn):<br>required: **false**<br>An optional Amazon Resource Name (ARN) of the role to assume when running the Channel. If you do not specify this on an update call but the role was previously set that role will be removed.<br>
16    ///   - [`channel_engine_version(ChannelEngineVersionRequest)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::channel_engine_version) / [`set_channel_engine_version(Option<ChannelEngineVersionRequest>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_channel_engine_version):<br>required: **false**<br>Channel engine version for this channel<br>
17    ///   - [`dry_run(bool)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_dry_run):<br>required: **false**<br>Placeholder documentation for __boolean<br>
18    ///   - [`anywhere_settings(AnywhereSettings)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::anywhere_settings) / [`set_anywhere_settings(Option<AnywhereSettings>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_anywhere_settings):<br>required: **false**<br>The Elemental Anywhere settings for this channel.<br>
19    /// - On success, responds with [`UpdateChannelOutput`](crate::operation::update_channel::UpdateChannelOutput) with field(s):
20    ///   - [`channel(Option<Channel>)`](crate::operation::update_channel::UpdateChannelOutput::channel): Placeholder documentation for Channel
21    /// - On failure, responds with [`SdkError<UpdateChannelError>`](crate::operation::update_channel::UpdateChannelError)
22    pub fn update_channel(&self) -> crate::operation::update_channel::builders::UpdateChannelFluentBuilder {
23        crate::operation::update_channel::builders::UpdateChannelFluentBuilder::new(self.handle.clone())
24    }
25}