1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateVodSource`](crate::operation::create_vod_source::builders::CreateVodSourceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`http_package_configurations(HttpPackageConfiguration)`](crate::operation::create_vod_source::builders::CreateVodSourceFluentBuilder::http_package_configurations) / [`set_http_package_configurations(Option<Vec::<HttpPackageConfiguration>>)`](crate::operation::create_vod_source::builders::CreateVodSourceFluentBuilder::set_http_package_configurations):<br>required: **true**<br><p>A list of HTTP package configuration parameters for this VOD source.</p><br>
    ///   - [`source_location_name(impl Into<String>)`](crate::operation::create_vod_source::builders::CreateVodSourceFluentBuilder::source_location_name) / [`set_source_location_name(Option<String>)`](crate::operation::create_vod_source::builders::CreateVodSourceFluentBuilder::set_source_location_name):<br>required: **true**<br><p>The name of the source location for this VOD source.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_vod_source::builders::CreateVodSourceFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_vod_source::builders::CreateVodSourceFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to assign to the VOD 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><br>
    ///   - [`vod_source_name(impl Into<String>)`](crate::operation::create_vod_source::builders::CreateVodSourceFluentBuilder::vod_source_name) / [`set_vod_source_name(Option<String>)`](crate::operation::create_vod_source::builders::CreateVodSourceFluentBuilder::set_vod_source_name):<br>required: **true**<br><p>The name associated with the VOD source.&gt;</p><br>
    /// - On success, responds with [`CreateVodSourceOutput`](crate::operation::create_vod_source::CreateVodSourceOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::create_vod_source::CreateVodSourceOutput::arn): <p>The ARN to assign to this VOD source.</p>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::create_vod_source::CreateVodSourceOutput::creation_time): <p>The time the VOD source was created.</p>
    ///   - [`http_package_configurations(Option<Vec::<HttpPackageConfiguration>>)`](crate::operation::create_vod_source::CreateVodSourceOutput::http_package_configurations): <p>A list of HTTP package configuration parameters for this VOD source.</p>
    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::create_vod_source::CreateVodSourceOutput::last_modified_time): <p>The time the VOD source was last modified.</p>
    ///   - [`source_location_name(Option<String>)`](crate::operation::create_vod_source::CreateVodSourceOutput::source_location_name): <p>The name to assign to the source location for this VOD source.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_vod_source::CreateVodSourceOutput::tags): <p>The tags to assign to the VOD 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>
    ///   - [`vod_source_name(Option<String>)`](crate::operation::create_vod_source::CreateVodSourceOutput::vod_source_name): <p>The name to assign to the VOD source.</p>
    /// - On failure, responds with [`SdkError<CreateVodSourceError>`](crate::operation::create_vod_source::CreateVodSourceError)
    pub fn create_vod_source(&self) -> crate::operation::create_vod_source::builders::CreateVodSourceFluentBuilder {
        crate::operation::create_vod_source::builders::CreateVodSourceFluentBuilder::new(self.handle.clone())
    }
}