1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeProgram`](crate::operation::describe_program::builders::DescribeProgramFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`channel_name(impl Into<String>)`](crate::operation::describe_program::builders::DescribeProgramFluentBuilder::channel_name) / [`set_channel_name(Option<String>)`](crate::operation::describe_program::builders::DescribeProgramFluentBuilder::set_channel_name):<br>required: **true**<br><p>The name of the channel associated with this Program.</p><br>
    ///   - [`program_name(impl Into<String>)`](crate::operation::describe_program::builders::DescribeProgramFluentBuilder::program_name) / [`set_program_name(Option<String>)`](crate::operation::describe_program::builders::DescribeProgramFluentBuilder::set_program_name):<br>required: **true**<br><p>The name of the program.</p><br>
    /// - On success, responds with [`DescribeProgramOutput`](crate::operation::describe_program::DescribeProgramOutput) with field(s):
    ///   - [`ad_breaks(Option<Vec::<AdBreak>>)`](crate::operation::describe_program::DescribeProgramOutput::ad_breaks): <p>The ad break configuration settings.</p>
    ///   - [`arn(Option<String>)`](crate::operation::describe_program::DescribeProgramOutput::arn): <p>The ARN of the program.</p>
    ///   - [`channel_name(Option<String>)`](crate::operation::describe_program::DescribeProgramOutput::channel_name): <p>The name of the channel that the program belongs to.</p>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_program::DescribeProgramOutput::creation_time): <p>The timestamp of when the program was created.</p>
    ///   - [`live_source_name(Option<String>)`](crate::operation::describe_program::DescribeProgramOutput::live_source_name): <p>The name of the LiveSource for this Program.</p>
    ///   - [`program_name(Option<String>)`](crate::operation::describe_program::DescribeProgramOutput::program_name): <p>The name of the program.</p>
    ///   - [`scheduled_start_time(Option<DateTime>)`](crate::operation::describe_program::DescribeProgramOutput::scheduled_start_time): <p>The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.</p>
    ///   - [`source_location_name(Option<String>)`](crate::operation::describe_program::DescribeProgramOutput::source_location_name): <p>The source location name.</p>
    ///   - [`vod_source_name(Option<String>)`](crate::operation::describe_program::DescribeProgramOutput::vod_source_name): <p>The name that's used to refer to a VOD source.</p>
    ///   - [`clip_range(Option<ClipRange>)`](crate::operation::describe_program::DescribeProgramOutput::clip_range): <p>The clip range configuration settings.</p>
    ///   - [`duration_millis(Option<i64>)`](crate::operation::describe_program::DescribeProgramOutput::duration_millis): <p>The duration of the live program in milliseconds.</p>
    ///   - [`audience_media(Option<Vec::<AudienceMedia>>)`](crate::operation::describe_program::DescribeProgramOutput::audience_media): <p>The list of AudienceMedia defined in program.</p>
    /// - On failure, responds with [`SdkError<DescribeProgramError>`](crate::operation::describe_program::DescribeProgramError)
    pub fn describe_program(&self) -> crate::operation::describe_program::builders::DescribeProgramFluentBuilder {
        crate::operation::describe_program::builders::DescribeProgramFluentBuilder::new(self.handle.clone())
    }
}