aws-sdk-mediaconvert 1.99.0

AWS SDK for AWS Elemental MediaConvert
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetPreset`](crate::operation::get_preset::builders::GetPresetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::get_preset::builders::GetPresetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_preset::builders::GetPresetFluentBuilder::set_name):<br>required: **true**<br>The name of the preset.<br>
    /// - On success, responds with [`GetPresetOutput`](crate::operation::get_preset::GetPresetOutput) with field(s):
    ///   - [`preset(Option<Preset>)`](crate::operation::get_preset::GetPresetOutput::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<GetPresetError>`](crate::operation::get_preset::GetPresetError)
    pub fn get_preset(&self) -> crate::operation::get_preset::builders::GetPresetFluentBuilder {
        crate::operation::get_preset::builders::GetPresetFluentBuilder::new(self.handle.clone())
    }
}