aws_sdk_amplifyuibuilder/client/get_form.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 [`GetForm`](crate::operation::get_form::builders::GetFormFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`app_id(impl Into<String>)`](crate::operation::get_form::builders::GetFormFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::get_form::builders::GetFormFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique ID of the Amplify app.</p><br>
7 /// - [`environment_name(impl Into<String>)`](crate::operation::get_form::builders::GetFormFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::get_form::builders::GetFormFluentBuilder::set_environment_name):<br>required: **true**<br><p>The name of the backend environment that is part of the Amplify app.</p><br>
8 /// - [`id(impl Into<String>)`](crate::operation::get_form::builders::GetFormFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_form::builders::GetFormFluentBuilder::set_id):<br>required: **true**<br><p>The unique ID of the form.</p><br>
9 /// - On success, responds with [`GetFormOutput`](crate::operation::get_form::GetFormOutput) with field(s):
10 /// - [`form(Option<Form>)`](crate::operation::get_form::GetFormOutput::form): <p>Represents the configuration settings for the form.</p>
11 /// - On failure, responds with [`SdkError<GetFormError>`](crate::operation::get_form::GetFormError)
12 pub fn get_form(&self) -> crate::operation::get_form::builders::GetFormFluentBuilder {
13 crate::operation::get_form::builders::GetFormFluentBuilder::new(self.handle.clone())
14 }
15}