aws_sdk_amplifybackend/client/
get_backend_auth.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 [`GetBackendAuth`](crate::operation::get_backend_auth::builders::GetBackendAuthFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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):<br>required: **true**<br><p>The app ID.</p><br>
7    ///   - [`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):<br>required: **true**<br><p>The name of the backend environment.</p><br>
8    ///   - [`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):<br>required: **true**<br><p>The name of this resource.</p><br>
9    /// - On success, responds with [`GetBackendAuthOutput`](crate::operation::get_backend_auth::GetBackendAuthOutput) with field(s):
10    ///   - [`app_id(Option<String>)`](crate::operation::get_backend_auth::GetBackendAuthOutput::app_id): <p>The app ID.</p>
11    ///   - [`backend_environment_name(Option<String>)`](crate::operation::get_backend_auth::GetBackendAuthOutput::backend_environment_name): <p>The name of the backend environment.</p>
12    ///   - [`error(Option<String>)`](crate::operation::get_backend_auth::GetBackendAuthOutput::error): <p>If the request fails, this error is returned.</p>
13    ///   - [`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>
14    ///   - [`resource_name(Option<String>)`](crate::operation::get_backend_auth::GetBackendAuthOutput::resource_name): <p>The name of this resource.</p>
15    /// - On failure, responds with [`SdkError<GetBackendAuthError>`](crate::operation::get_backend_auth::GetBackendAuthError)
16    pub fn get_backend_auth(&self) -> crate::operation::get_backend_auth::builders::GetBackendAuthFluentBuilder {
17        crate::operation::get_backend_auth::builders::GetBackendAuthFluentBuilder::new(self.handle.clone())
18    }
19}