aws_sdk_elastictranscoder/client/
read_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 [`ReadPreset`](crate::operation::read_preset::builders::ReadPresetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::read_preset::builders::ReadPresetFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::read_preset::builders::ReadPresetFluentBuilder::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 [`ReadPresetOutput`](crate::operation::read_preset::ReadPresetOutput) with field(s):
8    ///   - [`preset(Option<Preset>)`](crate::operation::read_preset::ReadPresetOutput::preset): <p>A section of the response body that provides information about the preset.</p>
9    /// - On failure, responds with [`SdkError<ReadPresetError>`](crate::operation::read_preset::ReadPresetError)
10    pub fn read_preset(&self) -> crate::operation::read_preset::builders::ReadPresetFluentBuilder {
11        crate::operation::read_preset::builders::ReadPresetFluentBuilder::new(self.handle.clone())
12    }
13}