aws_sdk_amplifyuibuilder/client/
create_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 [`CreateForm`](crate::operation::create_form::builders::CreateFormFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`app_id(impl Into<String>)`](crate::operation::create_form::builders::CreateFormFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::create_form::builders::CreateFormFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique ID of the Amplify app to associate with the form.</p><br>
7    ///   - [`environment_name(impl Into<String>)`](crate::operation::create_form::builders::CreateFormFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::create_form::builders::CreateFormFluentBuilder::set_environment_name):<br>required: **true**<br><p>The name of the backend environment that is a part of the Amplify app.</p><br>
8    ///   - [`client_token(impl Into<String>)`](crate::operation::create_form::builders::CreateFormFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_form::builders::CreateFormFluentBuilder::set_client_token):<br>required: **false**<br><p>The unique client token.</p><br>
9    ///   - [`form_to_create(CreateFormData)`](crate::operation::create_form::builders::CreateFormFluentBuilder::form_to_create) / [`set_form_to_create(Option<CreateFormData>)`](crate::operation::create_form::builders::CreateFormFluentBuilder::set_form_to_create):<br>required: **true**<br><p>Represents the configuration of the form to create.</p><br>
10    /// - On success, responds with [`CreateFormOutput`](crate::operation::create_form::CreateFormOutput) with field(s):
11    ///   - [`entity(Option<Form>)`](crate::operation::create_form::CreateFormOutput::entity): <p>Describes the configuration of the new form.</p>
12    /// - On failure, responds with [`SdkError<CreateFormError>`](crate::operation::create_form::CreateFormError)
13    pub fn create_form(&self) -> crate::operation::create_form::builders::CreateFormFluentBuilder {
14        crate::operation::create_form::builders::CreateFormFluentBuilder::new(self.handle.clone())
15    }
16}