aws_sdk_elastictranscoder/client/
delete_preset.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 [`DeletePreset`](crate::operation::delete_preset::builders::DeletePresetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::delete_preset::builders::DeletePresetFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_preset::builders::DeletePresetFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of the preset for which you want to get detailed information.</p><br>
7    /// - On success, responds with [`DeletePresetOutput`](crate::operation::delete_preset::DeletePresetOutput)
8    /// - On failure, responds with [`SdkError<DeletePresetError>`](crate::operation::delete_preset::DeletePresetError)
9    pub fn delete_preset(&self) -> crate::operation::delete_preset::builders::DeletePresetFluentBuilder {
10        crate::operation::delete_preset::builders::DeletePresetFluentBuilder::new(self.handle.clone())
11    }
12}