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.SectionalElement

Description

 
Synopsis

Documentation

data SectionalElement Source #

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.

See: newSectionalElement smart constructor.

Constructors

SectionalElement' 

Fields

  • level :: Maybe Int

    Specifies the size of the font for a Heading sectional element. Valid values are 1 | 2 | 3 | 4 | 5 | 6.

  • orientation :: Maybe Text

    Specifies the orientation for a Divider sectional element. Valid values are horizontal or vertical.

  • position :: Maybe FieldPosition

    Specifies the position of the text in a field for a Text sectional element.

  • text :: Maybe Text

    The text for a Text sectional element.

  • type' :: Text

    The type of sectional element. Valid values are Heading, Text, and Divider.

Instances

Instances details
FromJSON SectionalElement Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SectionalElement

ToJSON SectionalElement Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SectionalElement

Generic SectionalElement Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SectionalElement

Associated Types

type Rep SectionalElement :: Type -> Type #

Read SectionalElement Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SectionalElement

Show SectionalElement Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SectionalElement

NFData SectionalElement Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SectionalElement

Methods

rnf :: SectionalElement -> () #

Eq SectionalElement Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SectionalElement

Hashable SectionalElement Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SectionalElement

type Rep SectionalElement Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SectionalElement

type Rep SectionalElement = D1 ('MetaData "SectionalElement" "Amazonka.AmplifyUiBuilder.Types.SectionalElement" "amazonka-amplifyuibuilder-2.0-KN0MRaPu7dZCAXr3ruBTcC" 'False) (C1 ('MetaCons "SectionalElement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "orientation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FieldPosition)) :*: (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newSectionalElement Source #

Create a value of SectionalElement 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:level:SectionalElement', sectionalElement_level - Specifies the size of the font for a Heading sectional element. Valid values are 1 | 2 | 3 | 4 | 5 | 6.

$sel:orientation:SectionalElement', sectionalElement_orientation - Specifies the orientation for a Divider sectional element. Valid values are horizontal or vertical.

$sel:position:SectionalElement', sectionalElement_position - Specifies the position of the text in a field for a Text sectional element.

$sel:text:SectionalElement', sectionalElement_text - The text for a Text sectional element.

$sel:type':SectionalElement', sectionalElement_type - The type of sectional element. Valid values are Heading, Text, and Divider.

sectionalElement_level :: Lens' SectionalElement (Maybe Int) Source #

Specifies the size of the font for a Heading sectional element. Valid values are 1 | 2 | 3 | 4 | 5 | 6.

sectionalElement_orientation :: Lens' SectionalElement (Maybe Text) Source #

Specifies the orientation for a Divider sectional element. Valid values are horizontal or vertical.

sectionalElement_position :: Lens' SectionalElement (Maybe FieldPosition) Source #

Specifies the position of the text in a field for a Text sectional element.

sectionalElement_text :: Lens' SectionalElement (Maybe Text) Source #

The text for a Text sectional element.

sectionalElement_type :: Lens' SectionalElement Text Source #

The type of sectional element. Valid values are Heading, Text, and Divider.