aws_sdk_mediatailor/client/
describe_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 [`DescribeLiveSource`](crate::operation::describe_live_source::builders::DescribeLiveSourceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`live_source_name(impl Into<String>)`](crate::operation::describe_live_source::builders::DescribeLiveSourceFluentBuilder::live_source_name) / [`set_live_source_name(Option<String>)`](crate::operation::describe_live_source::builders::DescribeLiveSourceFluentBuilder::set_live_source_name):<br>required: **true**<br><p>The name of the live source.</p><br>
7    ///   - [`source_location_name(impl Into<String>)`](crate::operation::describe_live_source::builders::DescribeLiveSourceFluentBuilder::source_location_name) / [`set_source_location_name(Option<String>)`](crate::operation::describe_live_source::builders::DescribeLiveSourceFluentBuilder::set_source_location_name):<br>required: **true**<br><p>The name of the source location associated with this Live Source.</p><br>
8    /// - On success, responds with [`DescribeLiveSourceOutput`](crate::operation::describe_live_source::DescribeLiveSourceOutput) with field(s):
9    ///   - [`arn(Option<String>)`](crate::operation::describe_live_source::DescribeLiveSourceOutput::arn): <p>The ARN of the live source.</p>
10    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_live_source::DescribeLiveSourceOutput::creation_time): <p>The timestamp that indicates when the live source was created.</p>
11    ///   - [`http_package_configurations(Option<Vec::<HttpPackageConfiguration>>)`](crate::operation::describe_live_source::DescribeLiveSourceOutput::http_package_configurations): <p>The HTTP package configurations.</p>
12    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::describe_live_source::DescribeLiveSourceOutput::last_modified_time): <p>The timestamp that indicates when the live source was modified.</p>
13    ///   - [`live_source_name(Option<String>)`](crate::operation::describe_live_source::DescribeLiveSourceOutput::live_source_name): <p>The name of the live source.</p>
14    ///   - [`source_location_name(Option<String>)`](crate::operation::describe_live_source::DescribeLiveSourceOutput::source_location_name): <p>The name of the source location associated with the live source.</p>
15    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::describe_live_source::DescribeLiveSourceOutput::tags): <p>The tags assigned 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>
16    /// - On failure, responds with [`SdkError<DescribeLiveSourceError>`](crate::operation::describe_live_source::DescribeLiveSourceError)
17    pub fn describe_live_source(&self) -> crate::operation::describe_live_source::builders::DescribeLiveSourceFluentBuilder {
18        crate::operation::describe_live_source::builders::DescribeLiveSourceFluentBuilder::new(self.handle.clone())
19    }
20}