aws_sdk_amplifybackend/client/
update_backend_config.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateBackendConfig`](crate::operation::update_backend_config::builders::UpdateBackendConfigFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`UpdateBackendConfigOutput`](crate::operation::update_backend_config::UpdateBackendConfigOutput) with field(s):
    ///   - [`app_id(Option<String>)`](crate::operation::update_backend_config::UpdateBackendConfigOutput::app_id): <p>The app ID.</p>
    ///   - [`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>
    ///   - [`error(Option<String>)`](crate::operation::update_backend_config::UpdateBackendConfigOutput::error): <p>If the request fails, this error is returned.</p>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<UpdateBackendConfigError>`](crate::operation::update_backend_config::UpdateBackendConfigError)
    pub fn update_backend_config(&self) -> crate::operation::update_backend_config::builders::UpdateBackendConfigFluentBuilder {
        crate::operation::update_backend_config::builders::UpdateBackendConfigFluentBuilder::new(self.handle.clone())
    }
}