aws_sdk_amplifybackend/client/
update_backend_config.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 [`UpdateBackendConfig`](crate::operation::update_backend_config::builders::UpdateBackendConfigFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`app_id(impl Into<String>)`](crate::operation::update_backend_config::builders::UpdateBackendConfigFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::update_backend_config::builders::UpdateBackendConfigFluentBuilder::set_app_id):<br>required: **true**<br><p>The app ID.</p><br>
7    ///   - [`login_auth_config(LoginAuthConfigReqObj)`](crate::operation::update_backend_config::builders::UpdateBackendConfigFluentBuilder::login_auth_config) / [`set_login_auth_config(Option<LoginAuthConfigReqObj>)`](crate::operation::update_backend_config::builders::UpdateBackendConfigFluentBuilder::set_login_auth_config):<br>required: **false**<br><p>Describes the Amazon Cognito configuration for Admin UI access.</p><br>
8    /// - On success, responds with [`UpdateBackendConfigOutput`](crate::operation::update_backend_config::UpdateBackendConfigOutput) with field(s):
9    ///   - [`app_id(Option<String>)`](crate::operation::update_backend_config::UpdateBackendConfigOutput::app_id): <p>The app ID.</p>
10    ///   - [`backend_manager_app_id(Option<String>)`](crate::operation::update_backend_config::UpdateBackendConfigOutput::backend_manager_app_id): <p>The app ID for the backend manager.</p>
11    ///   - [`error(Option<String>)`](crate::operation::update_backend_config::UpdateBackendConfigOutput::error): <p>If the request fails, this error is returned.</p>
12    ///   - [`login_auth_config(Option<LoginAuthConfigReqObj>)`](crate::operation::update_backend_config::UpdateBackendConfigOutput::login_auth_config): <p>Describes the Amazon Cognito configurations for the Admin UI auth resource to log in with.</p>
13    /// - On failure, responds with [`SdkError<UpdateBackendConfigError>`](crate::operation::update_backend_config::UpdateBackendConfigError)
14    pub fn update_backend_config(&self) -> crate::operation::update_backend_config::builders::UpdateBackendConfigFluentBuilder {
15        crate::operation::update_backend_config::builders::UpdateBackendConfigFluentBuilder::new(self.handle.clone())
16    }
17}