aws_sdk_amplify/client/get_app.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 [`GetApp`](crate::operation::get_app::builders::GetAppFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`app_id(impl Into<String>)`](crate::operation::get_app::builders::GetAppFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::get_app::builders::GetAppFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique ID for an Amplify app.</p><br>
7 /// - On success, responds with [`GetAppOutput`](crate::operation::get_app::GetAppOutput) with field(s):
8 /// - [`app(Option<App>)`](crate::operation::get_app::GetAppOutput::app): <p>Represents the different branches of a repository for building, deploying, and hosting an Amplify app.</p>
9 /// - On failure, responds with [`SdkError<GetAppError>`](crate::operation::get_app::GetAppError)
10 pub fn get_app(&self) -> crate::operation::get_app::builders::GetAppFluentBuilder {
11 crate::operation::get_app::builders::GetAppFluentBuilder::new(self.handle.clone())
12 }
13}