aws_sdk_amplifyuibuilder/client/get_theme.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 [`GetTheme`](crate::operation::get_theme::builders::GetThemeFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`GetThemeOutput`](crate::operation::get_theme::GetThemeOutput) with field(s):
10 /// - [`theme(Option<Theme>)`](crate::operation::get_theme::GetThemeOutput::theme): <p>Represents the configuration settings for the theme.</p>
11 /// - On failure, responds with [`SdkError<GetThemeError>`](crate::operation::get_theme::GetThemeError)
12 pub fn get_theme(&self) -> crate::operation::get_theme::builders::GetThemeFluentBuilder {
13 crate::operation::get_theme::builders::GetThemeFluentBuilder::new(self.handle.clone())
14 }
15}