1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetBackendAuth`](crate::operation::get_backend_auth::builders::GetBackendAuthFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_id(impl Into<String>)`](crate::operation::get_backend_auth::builders::GetBackendAuthFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::get_backend_auth::builders::GetBackendAuthFluentBuilder::set_app_id): <p>The app ID.</p>
    ///   - [`backend_environment_name(impl Into<String>)`](crate::operation::get_backend_auth::builders::GetBackendAuthFluentBuilder::backend_environment_name) / [`set_backend_environment_name(Option<String>)`](crate::operation::get_backend_auth::builders::GetBackendAuthFluentBuilder::set_backend_environment_name): <p>The name of the backend environment.</p>
    ///   - [`resource_name(impl Into<String>)`](crate::operation::get_backend_auth::builders::GetBackendAuthFluentBuilder::resource_name) / [`set_resource_name(Option<String>)`](crate::operation::get_backend_auth::builders::GetBackendAuthFluentBuilder::set_resource_name): <p>The name of this resource.</p>
    /// - On success, responds with [`GetBackendAuthOutput`](crate::operation::get_backend_auth::GetBackendAuthOutput) with field(s):
    ///   - [`app_id(Option<String>)`](crate::operation::get_backend_auth::GetBackendAuthOutput::app_id): <p>The app ID.</p>
    ///   - [`backend_environment_name(Option<String>)`](crate::operation::get_backend_auth::GetBackendAuthOutput::backend_environment_name): <p>The name of the backend environment.</p>
    ///   - [`error(Option<String>)`](crate::operation::get_backend_auth::GetBackendAuthOutput::error): <p>If the request fails, this error is returned.</p>
    ///   - [`resource_config(Option<CreateBackendAuthResourceConfig>)`](crate::operation::get_backend_auth::GetBackendAuthOutput::resource_config): <p>The resource configuration for authorization requests to the backend of your Amplify project.</p>
    ///   - [`resource_name(Option<String>)`](crate::operation::get_backend_auth::GetBackendAuthOutput::resource_name): <p>The name of this resource.</p>
    /// - On failure, responds with [`SdkError<GetBackendAuthError>`](crate::operation::get_backend_auth::GetBackendAuthError)
    pub fn get_backend_auth(
        &self,
    ) -> crate::operation::get_backend_auth::builders::GetBackendAuthFluentBuilder {
        crate::operation::get_backend_auth::builders::GetBackendAuthFluentBuilder::new(
            self.handle.clone(),
        )
    }
}