aws-sdk-mediaconvert 1.103.0

AWS SDK for AWS Elemental MediaConvert
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreatePreset`](crate::operation::create_preset::builders::CreatePresetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`category(impl Into<String>)`](crate::operation::create_preset::builders::CreatePresetFluentBuilder::category) / [`set_category(Option<String>)`](crate::operation::create_preset::builders::CreatePresetFluentBuilder::set_category):<br>required: **false**<br>Optional. A category for the preset you are creating.<br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_preset::builders::CreatePresetFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_preset::builders::CreatePresetFluentBuilder::set_description):<br>required: **false**<br>Optional. A description of the preset you are creating.<br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_preset::builders::CreatePresetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_preset::builders::CreatePresetFluentBuilder::set_name):<br>required: **true**<br>The name of the preset you are creating.<br>
    ///   - [`settings(PresetSettings)`](crate::operation::create_preset::builders::CreatePresetFluentBuilder::settings) / [`set_settings(Option<PresetSettings>)`](crate::operation::create_preset::builders::CreatePresetFluentBuilder::set_settings):<br>required: **true**<br>Settings for preset<br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_preset::builders::CreatePresetFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_preset::builders::CreatePresetFluentBuilder::set_tags):<br>required: **false**<br>The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.<br>
    /// - On success, responds with [`CreatePresetOutput`](crate::operation::create_preset::CreatePresetOutput) with field(s):
    ///   - [`preset(Option<Preset>)`](crate::operation::create_preset::CreatePresetOutput::preset): A preset is a collection of preconfigured media conversion settings that you want MediaConvert to apply to the output during the conversion process.
    /// - On failure, responds with [`SdkError<CreatePresetError>`](crate::operation::create_preset::CreatePresetError)
    pub fn create_preset(&self) -> crate::operation::create_preset::builders::CreatePresetFluentBuilder {
        crate::operation::create_preset::builders::CreatePresetFluentBuilder::new(self.handle.clone())
    }
}