aws_sdk_amplifyuibuilder/client/update_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 [`UpdateTheme`](crate::operation::update_theme::builders::UpdateThemeFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`app_id(impl Into<String>)`](crate::operation::update_theme::builders::UpdateThemeFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::update_theme::builders::UpdateThemeFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique ID for the Amplify app.</p><br>
7 /// - [`environment_name(impl Into<String>)`](crate::operation::update_theme::builders::UpdateThemeFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::update_theme::builders::UpdateThemeFluentBuilder::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::update_theme::builders::UpdateThemeFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_theme::builders::UpdateThemeFluentBuilder::set_id):<br>required: **true**<br><p>The unique ID for the theme.</p><br>
9 /// - [`client_token(impl Into<String>)`](crate::operation::update_theme::builders::UpdateThemeFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_theme::builders::UpdateThemeFluentBuilder::set_client_token):<br>required: **false**<br><p>The unique client token.</p><br>
10 /// - [`updated_theme(UpdateThemeData)`](crate::operation::update_theme::builders::UpdateThemeFluentBuilder::updated_theme) / [`set_updated_theme(Option<UpdateThemeData>)`](crate::operation::update_theme::builders::UpdateThemeFluentBuilder::set_updated_theme):<br>required: **true**<br><p>The configuration of the updated theme.</p><br>
11 /// - On success, responds with [`UpdateThemeOutput`](crate::operation::update_theme::UpdateThemeOutput) with field(s):
12 /// - [`entity(Option<Theme>)`](crate::operation::update_theme::UpdateThemeOutput::entity): <p>Describes the configuration of the updated theme.</p>
13 /// - On failure, responds with [`SdkError<UpdateThemeError>`](crate::operation::update_theme::UpdateThemeError)
14 pub fn update_theme(&self) -> crate::operation::update_theme::builders::UpdateThemeFluentBuilder {
15 crate::operation::update_theme::builders::UpdateThemeFluentBuilder::new(self.handle.clone())
16 }
17}