aws_sdk_amplifybackend/client/
get_backend.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 [`GetBackend`](crate::operation::get_backend::builders::GetBackendFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`app_id(impl Into<String>)`](crate::operation::get_backend::builders::GetBackendFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::get_backend::builders::GetBackendFluentBuilder::set_app_id):<br>required: **true**<br><p>The app ID.</p><br>
7    ///   - [`backend_environment_name(impl Into<String>)`](crate::operation::get_backend::builders::GetBackendFluentBuilder::backend_environment_name) / [`set_backend_environment_name(Option<String>)`](crate::operation::get_backend::builders::GetBackendFluentBuilder::set_backend_environment_name):<br>required: **false**<br><p>The name of the backend environment.</p><br>
8    /// - On success, responds with [`GetBackendOutput`](crate::operation::get_backend::GetBackendOutput) with field(s):
9    ///   - [`amplify_feature_flags(Option<String>)`](crate::operation::get_backend::GetBackendOutput::amplify_feature_flags): <p>A stringified version of the cli.json file for your Amplify project.</p>
10    ///   - [`amplify_meta_config(Option<String>)`](crate::operation::get_backend::GetBackendOutput::amplify_meta_config): <p>A stringified version of the current configs for your Amplify project.</p>
11    ///   - [`app_id(Option<String>)`](crate::operation::get_backend::GetBackendOutput::app_id): <p>The app ID.</p>
12    ///   - [`app_name(Option<String>)`](crate::operation::get_backend::GetBackendOutput::app_name): <p>The name of the app.</p>
13    ///   - [`backend_environment_list(Option<Vec::<String>>)`](crate::operation::get_backend::GetBackendOutput::backend_environment_list): <p>A list of backend environments in an array.</p>
14    ///   - [`backend_environment_name(Option<String>)`](crate::operation::get_backend::GetBackendOutput::backend_environment_name): <p>The name of the backend environment.</p>
15    ///   - [`error(Option<String>)`](crate::operation::get_backend::GetBackendOutput::error): <p>If the request failed, this is the returned error.</p>
16    /// - On failure, responds with [`SdkError<GetBackendError>`](crate::operation::get_backend::GetBackendError)
17    pub fn get_backend(&self) -> crate::operation::get_backend::builders::GetBackendFluentBuilder {
18        crate::operation::get_backend::builders::GetBackendFluentBuilder::new(self.handle.clone())
19    }
20}