AmplifyUIBuilder / Client / create_form
create_formΒΆ
- AmplifyUIBuilder.Client.create_form(**kwargs)ΒΆ
- Creates a new form for an Amplify app. - See also: AWS API Documentation - Request Syntax- response = client.create_form( appId='string', environmentName='string', clientToken='string', formToCreate={ 'name': 'string', 'dataType': { 'dataSourceType': 'DataStore'|'Custom', 'dataTypeName': 'string' }, 'formActionType': 'create'|'update', 'fields': { 'string': { 'label': 'string', 'position': { 'fixed': 'first', 'rightOf': 'string', 'below': 'string' }, 'excluded': True|False, 'inputType': { 'type': 'string', 'required': True|False, 'readOnly': True|False, 'placeholder': 'string', 'defaultValue': 'string', 'descriptiveText': 'string', 'defaultChecked': True|False, 'defaultCountryCode': 'string', 'valueMappings': { 'values': [ { 'displayValue': { 'value': 'string', 'bindingProperties': { 'property': 'string', 'field': 'string' }, 'concat': [ {'... recursive ...'}, ] }, 'value': { 'value': 'string', 'bindingProperties': { 'property': 'string', 'field': 'string' }, 'concat': [ {'... recursive ...'}, ] } }, ], 'bindingProperties': { 'string': { 'type': 'string', 'bindingProperties': { 'model': 'string' } } } }, 'name': 'string', 'minValue': ..., 'maxValue': ..., 'step': ..., 'value': 'string', 'isArray': True|False, 'fileUploaderConfig': { 'accessLevel': 'public'|'protected'|'private', 'acceptedFileTypes': [ 'string', ], 'showThumbnails': True|False, 'isResumable': True|False, 'maxFileCount': 123, 'maxSize': 123 } }, 'validations': [ { 'type': 'string', 'strValues': [ 'string', ], 'numValues': [ 123, ], 'validationMessage': 'string' }, ] } }, 'style': { 'horizontalGap': { 'tokenReference': 'string', 'value': 'string' }, 'verticalGap': { 'tokenReference': 'string', 'value': 'string' }, 'outerPadding': { 'tokenReference': 'string', 'value': 'string' } }, 'sectionalElements': { 'string': { 'type': 'string', 'position': { 'fixed': 'first', 'rightOf': 'string', 'below': 'string' }, 'text': 'string', 'level': 123, 'orientation': 'string', 'excluded': True|False } }, 'schemaVersion': 'string', 'cta': { 'position': 'top'|'bottom'|'top_and_bottom', 'clear': { 'excluded': True|False, 'children': 'string', 'position': { 'fixed': 'first', 'rightOf': 'string', 'below': 'string' } }, 'cancel': { 'excluded': True|False, 'children': 'string', 'position': { 'fixed': 'first', 'rightOf': 'string', 'below': 'string' } }, 'submit': { 'excluded': True|False, 'children': 'string', 'position': { 'fixed': 'first', 'rightOf': 'string', 'below': 'string' } } }, 'tags': { 'string': 'string' }, 'labelDecorator': 'required'|'optional'|'none' } ) - Parameters:
- appId (string) β - [REQUIRED] - The unique ID of the Amplify app to associate with the form. 
- environmentName (string) β - [REQUIRED] - The name of the backend environment that is a part of the Amplify app. 
- clientToken (string) β - The unique client token. - This field is autopopulated if not provided. 
- formToCreate (dict) β - [REQUIRED] - Represents the configuration of the form to create. - name (string) β [REQUIRED] - The name of the form. 
- dataType (dict) β [REQUIRED] - The type of data source to use to create the form. - dataSourceType (string) β [REQUIRED] - The data source type, either an Amplify DataStore model or a custom data type. 
- dataTypeName (string) β [REQUIRED] - The unique name of the data type you are using as the data source for the form. 
 
- formActionType (string) β [REQUIRED] - Specifies whether to perform a create or update action on the form. 
- fields (dict) β [REQUIRED] - The configuration information for the formβs fields. - (string) β - (dict) β - Describes the configuration information for a field in a table. - label (string) β - The label for the field. 
- position (dict) β - Specifies the field position. - Note- This is a Tagged Union structure. Only one of the following top level keys can be set: - fixed,- rightOf,- below.- fixed (string) β - The field position is fixed and doesnβt change in relation to other fields. 
- rightOf (string) β - The field position is to the right of the field specified by the string. 
- below (string) β - The field position is below the field specified by the string. 
 
- excluded (boolean) β - Specifies whether to hide a field. 
- inputType (dict) β - Describes the configuration for the default input value to display for a field. - type (string) β [REQUIRED] - The input type for the field. 
- required (boolean) β - Specifies a field that requires input. 
- readOnly (boolean) β - Specifies a read only field. 
- placeholder (string) β - The text to display as a placeholder for the field. 
- defaultValue (string) β - The default value for the field. 
- descriptiveText (string) β - The text to display to describe the field. 
- defaultChecked (boolean) β - Specifies whether a field has a default value. 
- defaultCountryCode (string) β - The default country code for a phone number. 
- valueMappings (dict) β - The information to use to customize the input fields with data at runtime. - values (list) β [REQUIRED] - The value and display value pairs. - (dict) β - Associates a complex object with a display value. Use - ValueMappingto store how to represent complex objects when they are displayed.- displayValue (dict) β - The value to display for the complex object. - value (string) β - The value to assign to the input field. 
- bindingProperties (dict) β - The information to bind fields to data at runtime. - property (string) β [REQUIRED] - The form property to bind to the data field. 
- field (string) β - The data field to bind the property to. 
 
- concat (list) β - A list of form properties to concatenate to create the value to assign to this field property. - (dict) β - Describes the configuration for an input field on a form. Use - FormInputValuePropertyto specify the values to render or bind by default.
 
 
- value (dict) β [REQUIRED] - The complex object. - value (string) β - The value to assign to the input field. 
- bindingProperties (dict) β - The information to bind fields to data at runtime. - property (string) β [REQUIRED] - The form property to bind to the data field. 
- field (string) β - The data field to bind the property to. 
 
- concat (list) β - A list of form properties to concatenate to create the value to assign to this field property. - (dict) β - Describes the configuration for an input field on a form. Use - FormInputValuePropertyto specify the values to render or bind by default.
 
 
 
 
- bindingProperties (dict) β - The information to bind fields to data at runtime. - (string) β - (dict) β - Represents the data binding configuration for a formβs input fields at runtime.You can use - FormInputBindingPropertiesValueto add exposed properties to a form to allow different values to be entered when a form is reused in different places in an app.- type (string) β - The property type. 
- bindingProperties (dict) β - Describes the properties to customize with data at runtime. - model (string) β - An Amplify DataStore model. 
 
 
 
 
 
- name (string) β - The name of the field. 
- minValue (float) β - The minimum value to display for the field. 
- maxValue (float) β - The maximum value to display for the field. 
- step (float) β - The stepping increment for a numeric value in a field. 
- value (string) β - The value for the field. 
- isArray (boolean) β - Specifies whether to render the field as an array. This property is ignored if the - dataSourceTypefor the form is a Data Store.
- fileUploaderConfig (dict) β - The configuration for the file uploader field. - accessLevel (string) β [REQUIRED] - The access level to assign to the uploaded files in the Amazon S3 bucket where they are stored. The valid values for this property are - private,- protected, or- public. For detailed information about the permissions associated with each access level, see File access levels in the Amplify documentation.
- acceptedFileTypes (list) β [REQUIRED] - The file types that are allowed to be uploaded by the file uploader. Provide this information in an array of strings specifying the valid file extensions. - (string) β 
 
- showThumbnails (boolean) β - Specifies whether to display or hide the image preview after selecting a file for upload. The default value is - trueto display the image preview.
- isResumable (boolean) β - Allows the file upload operation to be paused and resumed. The default value is - false.- When - isResumableis set to- true, the file uploader uses a multipart upload to break the files into chunks before upload. The progress of the upload isnβt continuous, because the file uploader uploads a chunk at a time.
- maxFileCount (integer) β - Specifies the maximum number of files that can be selected to upload. The default value is an unlimited number of files. 
- maxSize (integer) β - The maximum file size in bytes that the file uploader will accept. The default value is an unlimited file size. 
 
 
- validations (list) β - The validations to perform on the value in the field. - (dict) β - Describes the validation configuration for a field. - type (string) β [REQUIRED] - The validation to perform on an object type. 
- strValues (list) β - The validation to perform on a string value. - (string) β 
 
- numValues (list) β - The validation to perform on a number value. - (integer) β 
 
- validationMessage (string) β - The validation message to display. 
 
 
 
 
 
- style (dict) β [REQUIRED] - The configuration for the formβs style. - horizontalGap (dict) β - The spacing for the horizontal gap. - Note- This is a Tagged Union structure. Only one of the following top level keys can be set: - tokenReference,- value.- tokenReference (string) β - A reference to a design token to use to bind the formβs style properties to an existing theme. 
- value (string) β - The value of the style setting. 
 
- verticalGap (dict) β - The spacing for the vertical gap. - Note- This is a Tagged Union structure. Only one of the following top level keys can be set: - tokenReference,- value.- tokenReference (string) β - A reference to a design token to use to bind the formβs style properties to an existing theme. 
- value (string) β - The value of the style setting. 
 
- outerPadding (dict) β - The size of the outer padding for the form. - Note- This is a Tagged Union structure. Only one of the following top level keys can be set: - tokenReference,- value.- tokenReference (string) β - A reference to a design token to use to bind the formβs style properties to an existing theme. 
- value (string) β - The value of the style setting. 
 
 
- sectionalElements (dict) β [REQUIRED] - The configuration information for the visual helper elements for the form. These elements are not associated with any data. - (string) β - (dict) β - Stores the configuration information for a visual helper element for a form. A sectional element can be a header, a text block, or a divider. These elements are static and not associated with any data. - type (string) β [REQUIRED] - The type of sectional element. Valid values are - Heading,- Text, and- Divider.
- position (dict) β - Specifies the position of the text in a field for a - Textsectional element.- Note- This is a Tagged Union structure. Only one of the following top level keys can be set: - fixed,- rightOf,- below.- fixed (string) β - The field position is fixed and doesnβt change in relation to other fields. 
- rightOf (string) β - The field position is to the right of the field specified by the string. 
- below (string) β - The field position is below the field specified by the string. 
 
- text (string) β - The text for a - Textsectional element.
- level (integer) β - Specifies the size of the font for a - Headingsectional element. Valid values are- 1 | 2 | 3 | 4 | 5 | 6.
- orientation (string) β - Specifies the orientation for a - Dividersectional element. Valid values are- horizontalor- vertical.
- excluded (boolean) β - Excludes a sectional element that was generated by default for a specified data model. 
 
 
 
- schemaVersion (string) β [REQUIRED] - The schema version of the form. 
- cta (dict) β - The - FormCTAobject that stores the call to action configuration for the form.- position (string) β - The position of the button. 
- clear (dict) β - Displays a clear button. - excluded (boolean) β - Specifies whether the button is visible on the form. 
- children (string) β - Describes the buttonβs properties. 
- position (dict) β - The position of the button. - Note- This is a Tagged Union structure. Only one of the following top level keys can be set: - fixed,- rightOf,- below.- fixed (string) β - The field position is fixed and doesnβt change in relation to other fields. 
- rightOf (string) β - The field position is to the right of the field specified by the string. 
- below (string) β - The field position is below the field specified by the string. 
 
 
- cancel (dict) β - Displays a cancel button. - excluded (boolean) β - Specifies whether the button is visible on the form. 
- children (string) β - Describes the buttonβs properties. 
- position (dict) β - The position of the button. - Note- This is a Tagged Union structure. Only one of the following top level keys can be set: - fixed,- rightOf,- below.- fixed (string) β - The field position is fixed and doesnβt change in relation to other fields. 
- rightOf (string) β - The field position is to the right of the field specified by the string. 
- below (string) β - The field position is below the field specified by the string. 
 
 
- submit (dict) β - Displays a submit button. - excluded (boolean) β - Specifies whether the button is visible on the form. 
- children (string) β - Describes the buttonβs properties. 
- position (dict) β - The position of the button. - Note- This is a Tagged Union structure. Only one of the following top level keys can be set: - fixed,- rightOf,- below.- fixed (string) β - The field position is fixed and doesnβt change in relation to other fields. 
- rightOf (string) β - The field position is to the right of the field specified by the string. 
- below (string) β - The field position is below the field specified by the string. 
 
 
 
- tags (dict) β - One or more key-value pairs to use when tagging the form data. - (string) β - (string) β 
 
 
- labelDecorator (string) β - Specifies an icon or decoration to display on the form. 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'entity': { 'appId': 'string', 'environmentName': 'string', 'id': 'string', 'name': 'string', 'formActionType': 'create'|'update', 'style': { 'horizontalGap': { 'tokenReference': 'string', 'value': 'string' }, 'verticalGap': { 'tokenReference': 'string', 'value': 'string' }, 'outerPadding': { 'tokenReference': 'string', 'value': 'string' } }, 'dataType': { 'dataSourceType': 'DataStore'|'Custom', 'dataTypeName': 'string' }, 'fields': { 'string': { 'label': 'string', 'position': { 'fixed': 'first', 'rightOf': 'string', 'below': 'string' }, 'excluded': True|False, 'inputType': { 'type': 'string', 'required': True|False, 'readOnly': True|False, 'placeholder': 'string', 'defaultValue': 'string', 'descriptiveText': 'string', 'defaultChecked': True|False, 'defaultCountryCode': 'string', 'valueMappings': { 'values': [ { 'displayValue': { 'value': 'string', 'bindingProperties': { 'property': 'string', 'field': 'string' }, 'concat': [ {'... recursive ...'}, ] }, 'value': { 'value': 'string', 'bindingProperties': { 'property': 'string', 'field': 'string' }, 'concat': [ {'... recursive ...'}, ] } }, ], 'bindingProperties': { 'string': { 'type': 'string', 'bindingProperties': { 'model': 'string' } } } }, 'name': 'string', 'minValue': ..., 'maxValue': ..., 'step': ..., 'value': 'string', 'isArray': True|False, 'fileUploaderConfig': { 'accessLevel': 'public'|'protected'|'private', 'acceptedFileTypes': [ 'string', ], 'showThumbnails': True|False, 'isResumable': True|False, 'maxFileCount': 123, 'maxSize': 123 } }, 'validations': [ { 'type': 'string', 'strValues': [ 'string', ], 'numValues': [ 123, ], 'validationMessage': 'string' }, ] } }, 'sectionalElements': { 'string': { 'type': 'string', 'position': { 'fixed': 'first', 'rightOf': 'string', 'below': 'string' }, 'text': 'string', 'level': 123, 'orientation': 'string', 'excluded': True|False } }, 'schemaVersion': 'string', 'tags': { 'string': 'string' }, 'cta': { 'position': 'top'|'bottom'|'top_and_bottom', 'clear': { 'excluded': True|False, 'children': 'string', 'position': { 'fixed': 'first', 'rightOf': 'string', 'below': 'string' } }, 'cancel': { 'excluded': True|False, 'children': 'string', 'position': { 'fixed': 'first', 'rightOf': 'string', 'below': 'string' } }, 'submit': { 'excluded': True|False, 'children': 'string', 'position': { 'fixed': 'first', 'rightOf': 'string', 'below': 'string' } } }, 'labelDecorator': 'required'|'optional'|'none' } } - Response Structure- (dict) β - entity (dict) β - Describes the configuration of the new form. - appId (string) β - The unique ID of the Amplify app associated with the form. 
- environmentName (string) β - The name of the backend environment that is a part of the Amplify app. 
- id (string) β - The unique ID of the form. 
- name (string) β - The name of the form. 
- formActionType (string) β - The operation to perform on the specified form. 
- style (dict) β - Stores the configuration for the formβs style. - horizontalGap (dict) β - The spacing for the horizontal gap. - Note- This is a Tagged Union structure. Only one of the following top level keys will be set: - tokenReference,- value. If a client receives an unknown member it will set- SDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure of- SDK_UNKNOWN_MEMBERis as follows:- 'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'} - tokenReference (string) β - A reference to a design token to use to bind the formβs style properties to an existing theme. 
- value (string) β - The value of the style setting. 
 
- verticalGap (dict) β - The spacing for the vertical gap. - Note- This is a Tagged Union structure. Only one of the following top level keys will be set: - tokenReference,- value. If a client receives an unknown member it will set- SDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure of- SDK_UNKNOWN_MEMBERis as follows:- 'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'} - tokenReference (string) β - A reference to a design token to use to bind the formβs style properties to an existing theme. 
- value (string) β - The value of the style setting. 
 
- outerPadding (dict) β - The size of the outer padding for the form. - Note- This is a Tagged Union structure. Only one of the following top level keys will be set: - tokenReference,- value. If a client receives an unknown member it will set- SDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure of- SDK_UNKNOWN_MEMBERis as follows:- 'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'} - tokenReference (string) β - A reference to a design token to use to bind the formβs style properties to an existing theme. 
- value (string) β - The value of the style setting. 
 
 
- dataType (dict) β - The type of data source to use to create the form. - dataSourceType (string) β - The data source type, either an Amplify DataStore model or a custom data type. 
- dataTypeName (string) β - The unique name of the data type you are using as the data source for the form. 
 
- fields (dict) β - Stores the information about the formβs fields. - (string) β - (dict) β - Describes the configuration information for a field in a table. - label (string) β - The label for the field. 
- position (dict) β - Specifies the field position. - Note- This is a Tagged Union structure. Only one of the following top level keys will be set: - fixed,- rightOf,- below. If a client receives an unknown member it will set- SDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure of- SDK_UNKNOWN_MEMBERis as follows:- 'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'} - fixed (string) β - The field position is fixed and doesnβt change in relation to other fields. 
- rightOf (string) β - The field position is to the right of the field specified by the string. 
- below (string) β - The field position is below the field specified by the string. 
 
- excluded (boolean) β - Specifies whether to hide a field. 
- inputType (dict) β - Describes the configuration for the default input value to display for a field. - type (string) β - The input type for the field. 
- required (boolean) β - Specifies a field that requires input. 
- readOnly (boolean) β - Specifies a read only field. 
- placeholder (string) β - The text to display as a placeholder for the field. 
- defaultValue (string) β - The default value for the field. 
- descriptiveText (string) β - The text to display to describe the field. 
- defaultChecked (boolean) β - Specifies whether a field has a default value. 
- defaultCountryCode (string) β - The default country code for a phone number. 
- valueMappings (dict) β - The information to use to customize the input fields with data at runtime. - values (list) β - The value and display value pairs. - (dict) β - Associates a complex object with a display value. Use - ValueMappingto store how to represent complex objects when they are displayed.- displayValue (dict) β - The value to display for the complex object. - value (string) β - The value to assign to the input field. 
- bindingProperties (dict) β - The information to bind fields to data at runtime. - property (string) β - The form property to bind to the data field. 
- field (string) β - The data field to bind the property to. 
 
- concat (list) β - A list of form properties to concatenate to create the value to assign to this field property. - (dict) β - Describes the configuration for an input field on a form. Use - FormInputValuePropertyto specify the values to render or bind by default.
 
 
- value (dict) β - The complex object. - value (string) β - The value to assign to the input field. 
- bindingProperties (dict) β - The information to bind fields to data at runtime. - property (string) β - The form property to bind to the data field. 
- field (string) β - The data field to bind the property to. 
 
- concat (list) β - A list of form properties to concatenate to create the value to assign to this field property. - (dict) β - Describes the configuration for an input field on a form. Use - FormInputValuePropertyto specify the values to render or bind by default.
 
 
 
 
- bindingProperties (dict) β - The information to bind fields to data at runtime. - (string) β - (dict) β - Represents the data binding configuration for a formβs input fields at runtime.You can use - FormInputBindingPropertiesValueto add exposed properties to a form to allow different values to be entered when a form is reused in different places in an app.- type (string) β - The property type. 
- bindingProperties (dict) β - Describes the properties to customize with data at runtime. - model (string) β - An Amplify DataStore model. 
 
 
 
 
 
- name (string) β - The name of the field. 
- minValue (float) β - The minimum value to display for the field. 
- maxValue (float) β - The maximum value to display for the field. 
- step (float) β - The stepping increment for a numeric value in a field. 
- value (string) β - The value for the field. 
- isArray (boolean) β - Specifies whether to render the field as an array. This property is ignored if the - dataSourceTypefor the form is a Data Store.
- fileUploaderConfig (dict) β - The configuration for the file uploader field. - accessLevel (string) β - The access level to assign to the uploaded files in the Amazon S3 bucket where they are stored. The valid values for this property are - private,- protected, or- public. For detailed information about the permissions associated with each access level, see File access levels in the Amplify documentation.
- acceptedFileTypes (list) β - The file types that are allowed to be uploaded by the file uploader. Provide this information in an array of strings specifying the valid file extensions. - (string) β 
 
- showThumbnails (boolean) β - Specifies whether to display or hide the image preview after selecting a file for upload. The default value is - trueto display the image preview.
- isResumable (boolean) β - Allows the file upload operation to be paused and resumed. The default value is - false.- When - isResumableis set to- true, the file uploader uses a multipart upload to break the files into chunks before upload. The progress of the upload isnβt continuous, because the file uploader uploads a chunk at a time.
- maxFileCount (integer) β - Specifies the maximum number of files that can be selected to upload. The default value is an unlimited number of files. 
- maxSize (integer) β - The maximum file size in bytes that the file uploader will accept. The default value is an unlimited file size. 
 
 
- validations (list) β - The validations to perform on the value in the field. - (dict) β - Describes the validation configuration for a field. - type (string) β - The validation to perform on an object type. 
- strValues (list) β - The validation to perform on a string value. - (string) β 
 
- numValues (list) β - The validation to perform on a number value. - (integer) β 
 
- validationMessage (string) β - The validation message to display. 
 
 
 
 
 
- sectionalElements (dict) β - Stores the visual helper elements for the form that are not associated with any data. - (string) β - (dict) β - Stores the configuration information for a visual helper element for a form. A sectional element can be a header, a text block, or a divider. These elements are static and not associated with any data. - type (string) β - The type of sectional element. Valid values are - Heading,- Text, and- Divider.
- position (dict) β - Specifies the position of the text in a field for a - Textsectional element.- Note- This is a Tagged Union structure. Only one of the following top level keys will be set: - fixed,- rightOf,- below. If a client receives an unknown member it will set- SDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure of- SDK_UNKNOWN_MEMBERis as follows:- 'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'} - fixed (string) β - The field position is fixed and doesnβt change in relation to other fields. 
- rightOf (string) β - The field position is to the right of the field specified by the string. 
- below (string) β - The field position is below the field specified by the string. 
 
- text (string) β - The text for a - Textsectional element.
- level (integer) β - Specifies the size of the font for a - Headingsectional element. Valid values are- 1 | 2 | 3 | 4 | 5 | 6.
- orientation (string) β - Specifies the orientation for a - Dividersectional element. Valid values are- horizontalor- vertical.
- excluded (boolean) β - Excludes a sectional element that was generated by default for a specified data model. 
 
 
 
- schemaVersion (string) β - The schema version of the form when it was imported. 
- tags (dict) β - One or more key-value pairs to use when tagging the form. - (string) β - (string) β 
 
 
- cta (dict) β - Stores the call to action configuration for the form. - position (string) β - The position of the button. 
- clear (dict) β - Displays a clear button. - excluded (boolean) β - Specifies whether the button is visible on the form. 
- children (string) β - Describes the buttonβs properties. 
- position (dict) β - The position of the button. - Note- This is a Tagged Union structure. Only one of the following top level keys will be set: - fixed,- rightOf,- below. If a client receives an unknown member it will set- SDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure of- SDK_UNKNOWN_MEMBERis as follows:- 'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'} - fixed (string) β - The field position is fixed and doesnβt change in relation to other fields. 
- rightOf (string) β - The field position is to the right of the field specified by the string. 
- below (string) β - The field position is below the field specified by the string. 
 
 
- cancel (dict) β - Displays a cancel button. - excluded (boolean) β - Specifies whether the button is visible on the form. 
- children (string) β - Describes the buttonβs properties. 
- position (dict) β - The position of the button. - Note- This is a Tagged Union structure. Only one of the following top level keys will be set: - fixed,- rightOf,- below. If a client receives an unknown member it will set- SDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure of- SDK_UNKNOWN_MEMBERis as follows:- 'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'} - fixed (string) β - The field position is fixed and doesnβt change in relation to other fields. 
- rightOf (string) β - The field position is to the right of the field specified by the string. 
- below (string) β - The field position is below the field specified by the string. 
 
 
- submit (dict) β - Displays a submit button. - excluded (boolean) β - Specifies whether the button is visible on the form. 
- children (string) β - Describes the buttonβs properties. 
- position (dict) β - The position of the button. - Note- This is a Tagged Union structure. Only one of the following top level keys will be set: - fixed,- rightOf,- below. If a client receives an unknown member it will set- SDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure of- SDK_UNKNOWN_MEMBERis as follows:- 'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'} - fixed (string) β - The field position is fixed and doesnβt change in relation to other fields. 
- rightOf (string) β - The field position is to the right of the field specified by the string. 
- below (string) β - The field position is below the field specified by the string. 
 
 
 
- labelDecorator (string) β - Specifies an icon or decoration to display on the form. 
 
 
 
 - Exceptions