aws_sdk_amplify/client/get_backend_environment.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 [`GetBackendEnvironment`](crate::operation::get_backend_environment::builders::GetBackendEnvironmentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`app_id(impl Into<String>)`](crate::operation::get_backend_environment::builders::GetBackendEnvironmentFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::get_backend_environment::builders::GetBackendEnvironmentFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique id for an Amplify app.</p><br>
7 /// - [`environment_name(impl Into<String>)`](crate::operation::get_backend_environment::builders::GetBackendEnvironmentFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::get_backend_environment::builders::GetBackendEnvironmentFluentBuilder::set_environment_name):<br>required: **true**<br><p>The name for the backend environment.</p><br>
8 /// - On success, responds with [`GetBackendEnvironmentOutput`](crate::operation::get_backend_environment::GetBackendEnvironmentOutput) with field(s):
9 /// - [`backend_environment(Option<BackendEnvironment>)`](crate::operation::get_backend_environment::GetBackendEnvironmentOutput::backend_environment): <p>Describes the backend environment for an Amplify app.</p>
10 /// - On failure, responds with [`SdkError<GetBackendEnvironmentError>`](crate::operation::get_backend_environment::GetBackendEnvironmentError)
11 pub fn get_backend_environment(&self) -> crate::operation::get_backend_environment::builders::GetBackendEnvironmentFluentBuilder {
12 crate::operation::get_backend_environment::builders::GetBackendEnvironmentFluentBuilder::new(self.handle.clone())
13 }
14}