1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetTheme`](crate::operation::get_theme::builders::GetThemeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_id(impl Into<String>)`](crate::operation::get_theme::builders::GetThemeFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::get_theme::builders::GetThemeFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique ID of the Amplify app.</p><br>
    ///   - [`environment_name(impl Into<String>)`](crate::operation::get_theme::builders::GetThemeFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::get_theme::builders::GetThemeFluentBuilder::set_environment_name):<br>required: **true**<br><p>The name of the backend environment that is part of the Amplify app.</p><br>
    ///   - [`id(impl Into<String>)`](crate::operation::get_theme::builders::GetThemeFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_theme::builders::GetThemeFluentBuilder::set_id):<br>required: **true**<br><p>The unique ID for the theme.</p><br>
    /// - On success, responds with [`GetThemeOutput`](crate::operation::get_theme::GetThemeOutput) with field(s):
    ///   - [`theme(Option<Theme>)`](crate::operation::get_theme::GetThemeOutput::theme): <p>Represents the configuration settings for the theme.</p>
    /// - On failure, responds with [`SdkError<GetThemeError>`](crate::operation::get_theme::GetThemeError)
    pub fn get_theme(&self) -> crate::operation::get_theme::builders::GetThemeFluentBuilder {
        crate::operation::get_theme::builders::GetThemeFluentBuilder::new(self.handle.clone())
    }
}