aws_sdk_mediaconvert/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 /// - [`name(impl Into<String>)`](crate::operation::delete_preset::builders::DeletePresetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_preset::builders::DeletePresetFluentBuilder::set_name):<br>required: **true**<br>The name of the preset to be deleted.<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}