aws_sdk_medialive/client/update_sdi_source.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 [`UpdateSdiSource`](crate::operation::update_sdi_source::builders::UpdateSdiSourceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`mode(SdiSourceMode)`](crate::operation::update_sdi_source::builders::UpdateSdiSourceFluentBuilder::mode) / [`set_mode(Option<SdiSourceMode>)`](crate::operation::update_sdi_source::builders::UpdateSdiSourceFluentBuilder::set_mode):<br>required: **false**<br>Include this parameter only if you want to change the name of the SdiSource. Specify a name that is unique in the AWS account. We recommend you assign a name that describes the source, for example curling-cameraA. Names are case-sensitive.<br>
7 /// - [`name(impl Into<String>)`](crate::operation::update_sdi_source::builders::UpdateSdiSourceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_sdi_source::builders::UpdateSdiSourceFluentBuilder::set_name):<br>required: **false**<br>Include this parameter only if you want to change the name of the SdiSource. Specify a name that is unique in the AWS account. We recommend you assign a name that describes the source, for example curling-cameraA. Names are case-sensitive.<br>
8 /// - [`sdi_source_id(impl Into<String>)`](crate::operation::update_sdi_source::builders::UpdateSdiSourceFluentBuilder::sdi_source_id) / [`set_sdi_source_id(Option<String>)`](crate::operation::update_sdi_source::builders::UpdateSdiSourceFluentBuilder::set_sdi_source_id):<br>required: **true**<br>The ID of the SdiSource<br>
9 /// - [`r#type(SdiSourceType)`](crate::operation::update_sdi_source::builders::UpdateSdiSourceFluentBuilder::type) / [`set_type(Option<SdiSourceType>)`](crate::operation::update_sdi_source::builders::UpdateSdiSourceFluentBuilder::set_type):<br>required: **false**<br>Include this parameter only if you want to change the mode. Specify the type of the SDI source: SINGLE: The source is a single-link source. QUAD: The source is one part of a quad-link source.<br>
10 /// - On success, responds with [`UpdateSdiSourceOutput`](crate::operation::update_sdi_source::UpdateSdiSourceOutput) with field(s):
11 /// - [`sdi_source(Option<SdiSource>)`](crate::operation::update_sdi_source::UpdateSdiSourceOutput::sdi_source): Settings for the SDI source.
12 /// - On failure, responds with [`SdkError<UpdateSdiSourceError>`](crate::operation::update_sdi_source::UpdateSdiSourceError)
13 pub fn update_sdi_source(&self) -> crate::operation::update_sdi_source::builders::UpdateSdiSourceFluentBuilder {
14 crate::operation::update_sdi_source::builders::UpdateSdiSourceFluentBuilder::new(self.handle.clone())
15 }
16}