aws_sdk_mediatailor/client/
update_live_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 [`UpdateLiveSource`](crate::operation::update_live_source::builders::UpdateLiveSourceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`http_package_configurations(HttpPackageConfiguration)`](crate::operation::update_live_source::builders::UpdateLiveSourceFluentBuilder::http_package_configurations) / [`set_http_package_configurations(Option<Vec::<HttpPackageConfiguration>>)`](crate::operation::update_live_source::builders::UpdateLiveSourceFluentBuilder::set_http_package_configurations):<br>required: **true**<br><p>A list of HTTP package configurations for the live source on this account.</p><br>
7    ///   - [`live_source_name(impl Into<String>)`](crate::operation::update_live_source::builders::UpdateLiveSourceFluentBuilder::live_source_name) / [`set_live_source_name(Option<String>)`](crate::operation::update_live_source::builders::UpdateLiveSourceFluentBuilder::set_live_source_name):<br>required: **true**<br><p>The name of the live source.</p><br>
8    ///   - [`source_location_name(impl Into<String>)`](crate::operation::update_live_source::builders::UpdateLiveSourceFluentBuilder::source_location_name) / [`set_source_location_name(Option<String>)`](crate::operation::update_live_source::builders::UpdateLiveSourceFluentBuilder::set_source_location_name):<br>required: **true**<br><p>The name of the source location associated with this Live Source.</p><br>
9    /// - On success, responds with [`UpdateLiveSourceOutput`](crate::operation::update_live_source::UpdateLiveSourceOutput) with field(s):
10    ///   - [`arn(Option<String>)`](crate::operation::update_live_source::UpdateLiveSourceOutput::arn): <p>The Amazon Resource Name (ARN) associated with this live source.</p>
11    ///   - [`creation_time(Option<DateTime>)`](crate::operation::update_live_source::UpdateLiveSourceOutput::creation_time): <p>The timestamp that indicates when the live source was created.</p>
12    ///   - [`http_package_configurations(Option<Vec::<HttpPackageConfiguration>>)`](crate::operation::update_live_source::UpdateLiveSourceOutput::http_package_configurations): <p>A list of HTTP package configurations for the live source on this account.</p>
13    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::update_live_source::UpdateLiveSourceOutput::last_modified_time): <p>The timestamp that indicates when the live source was last modified.</p>
14    ///   - [`live_source_name(Option<String>)`](crate::operation::update_live_source::UpdateLiveSourceOutput::live_source_name): <p>The name of the live source.</p>
15    ///   - [`source_location_name(Option<String>)`](crate::operation::update_live_source::UpdateLiveSourceOutput::source_location_name): <p>The name of the source location associated with the live source.</p>
16    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_live_source::UpdateLiveSourceOutput::tags): <p>The tags to assign to the live source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/tagging.html">Tagging AWS Elemental MediaTailor Resources</a>.</p>
17    /// - On failure, responds with [`SdkError<UpdateLiveSourceError>`](crate::operation::update_live_source::UpdateLiveSourceError)
18    pub fn update_live_source(&self) -> crate::operation::update_live_source::builders::UpdateLiveSourceFluentBuilder {
19        crate::operation::update_live_source::builders::UpdateLiveSourceFluentBuilder::new(self.handle.clone())
20    }
21}