Skip to content

Form

Source code in docs_src/capo_amplifyuibuilder/types/form.py
class Form(TypedDict, closed=True):
    app_id: "str"
    """<p>The unique ID of the Amplify app associated with the form.</p>"""
    environment_name: "str"
    """<p>The name of the backend environment that is a part of the Amplify app.</p>"""
    id: "capo_amplifyuibuilder.types.uuid.Uuid"
    """<p>The unique ID of the form.</p>"""
    name: "capo_amplifyuibuilder.types.form_name.FormName"
    """<p>The name of the form.</p>"""
    form_action_type: "capo_amplifyuibuilder.types.form_action_type.FormActionType"
    """<p>The operation to perform on the specified form.</p>"""
    style: "capo_amplifyuibuilder.types.form_style.FormStyle"
    """<p>Stores the configuration for the form's style.</p>"""
    data_type: "capo_amplifyuibuilder.types.form_data_type_config.FormDataTypeConfig"
    """<p>The type of data source to use to create the form.</p>"""
    fields: "capo_amplifyuibuilder.types.fields_map.FieldsMap"
    """<p>Stores the information about the form's fields.</p>"""
    sectional_elements: (
        "capo_amplifyuibuilder.types.sectional_element_map.SectionalElementMap"
    )
    """<p>Stores the visual helper elements for the form that are not associated with any data.</p>"""
    schema_version: "str"
    """<p>The schema version of the form when it was imported.</p>"""
    tags: NotRequired["capo_amplifyuibuilder.types.tags.Tags"]
    """<p>One or more key-value pairs to use when tagging the form.</p>"""
    cta: NotRequired["capo_amplifyuibuilder.types.form_cta.FormCTA"]
    """<p>Stores the call to action configuration for the form.</p>"""
    label_decorator: NotRequired[
        "capo_amplifyuibuilder.types.label_decorator.LabelDecorator"
    ]
    """<p>Specifies an icon or decoration to display on the form.</p>"""

app_id instance-attribute

app_id: str

The unique ID of the Amplify app associated with the form.

cta instance-attribute

cta: NotRequired[FormCTA]

Stores the call to action configuration for the form.

data_type instance-attribute

data_type: FormDataTypeConfig

The type of data source to use to create the form.

environment_name instance-attribute

environment_name: str

The name of the backend environment that is a part of the Amplify app.

fields instance-attribute

fields: FieldsMap

Stores the information about the form's fields.

form_action_type instance-attribute

form_action_type: FormActionType

The operation to perform on the specified form.

id instance-attribute

id: Uuid

The unique ID of the form.

label_decorator instance-attribute

label_decorator: NotRequired[LabelDecorator]

Specifies an icon or decoration to display on the form.

name instance-attribute

name: FormName

The name of the form.

schema_version instance-attribute

schema_version: str

The schema version of the form when it was imported.

sectional_elements instance-attribute

sectional_elements: SectionalElementMap

Stores the visual helper elements for the form that are not associated with any data.

style instance-attribute

style: FormStyle

Stores the configuration for the form's style.

tags instance-attribute

tags: NotRequired[Tags]

One or more key-value pairs to use when tagging the form.