amazonka-amplifyuibuilder-2.0: Amazon Amplify UI Builder SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AmplifyUiBuilder.Types.FieldConfig

Description

 
Synopsis

Documentation

data FieldConfig Source #

Describes the configuration information for a field in a table.

See: newFieldConfig smart constructor.

Constructors

FieldConfig' 

Fields

Instances

Instances details
FromJSON FieldConfig Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FieldConfig

ToJSON FieldConfig Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FieldConfig

Generic FieldConfig Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FieldConfig

Associated Types

type Rep FieldConfig :: Type -> Type #

Read FieldConfig Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FieldConfig

Show FieldConfig Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FieldConfig

NFData FieldConfig Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FieldConfig

Methods

rnf :: FieldConfig -> () #

Eq FieldConfig Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FieldConfig

Hashable FieldConfig Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FieldConfig

type Rep FieldConfig Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FieldConfig

type Rep FieldConfig = D1 ('MetaData "FieldConfig" "Amazonka.AmplifyUiBuilder.Types.FieldConfig" "amazonka-amplifyuibuilder-2.0-KN0MRaPu7dZCAXr3ruBTcC" 'False) (C1 ('MetaCons "FieldConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "excluded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "inputType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FieldInputConfig))) :*: (S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FieldPosition)) :*: S1 ('MetaSel ('Just "validations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FieldValidationConfiguration]))))))

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_validations :: Lens' FieldConfig (Maybe [FieldValidationConfiguration]) Source #

The validations to perform on the value in the field.