| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AmplifyUiBuilder.Types.FieldConfig
Description
Synopsis
- data FieldConfig = FieldConfig' {}
- newFieldConfig :: FieldConfig
- fieldConfig_excluded :: Lens' FieldConfig (Maybe Bool)
- fieldConfig_inputType :: Lens' FieldConfig (Maybe FieldInputConfig)
- fieldConfig_label :: Lens' FieldConfig (Maybe Text)
- fieldConfig_position :: Lens' FieldConfig (Maybe FieldPosition)
- fieldConfig_validations :: Lens' FieldConfig (Maybe [FieldValidationConfiguration])
Documentation
data FieldConfig Source #
Describes the configuration information for a field in a table.
See: newFieldConfig smart constructor.
Constructors
| FieldConfig' | |
Fields
| |
Instances
newFieldConfig :: FieldConfig Source #
Create a value of FieldConfig with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:excluded:FieldConfig', fieldConfig_excluded - Specifies whether to hide a field.
$sel:inputType:FieldConfig', fieldConfig_inputType - Describes the configuration for the default input value to display for a
field.
$sel:label:FieldConfig', fieldConfig_label - The label for the field.
$sel:position:FieldConfig', fieldConfig_position - Specifies the field position.
$sel:validations:FieldConfig', fieldConfig_validations - The validations to perform on the value in the field.
fieldConfig_excluded :: Lens' FieldConfig (Maybe Bool) Source #
Specifies whether to hide a field.
fieldConfig_inputType :: Lens' FieldConfig (Maybe FieldInputConfig) Source #
Describes the configuration for the default input value to display for a field.
fieldConfig_label :: Lens' FieldConfig (Maybe Text) Source #
The label for the field.
fieldConfig_position :: Lens' FieldConfig (Maybe FieldPosition) Source #
Specifies the field position.
fieldConfig_validations :: Lens' FieldConfig (Maybe [FieldValidationConfiguration]) Source #
The validations to perform on the value in the field.