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

Description

 
Synopsis

Documentation

data FormCTA Source #

Describes the call to action button configuration for the form.

See: newFormCTA smart constructor.

Constructors

FormCTA' 

Fields

Instances

Instances details
FromJSON FormCTA Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FormCTA

ToJSON FormCTA Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FormCTA

Generic FormCTA Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FormCTA

Associated Types

type Rep FormCTA :: Type -> Type #

Methods

from :: FormCTA -> Rep FormCTA x #

to :: Rep FormCTA x -> FormCTA #

Read FormCTA Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FormCTA

Show FormCTA Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FormCTA

NFData FormCTA Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FormCTA

Methods

rnf :: FormCTA -> () #

Eq FormCTA Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FormCTA

Methods

(==) :: FormCTA -> FormCTA -> Bool #

(/=) :: FormCTA -> FormCTA -> Bool #

Hashable FormCTA Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FormCTA

Methods

hashWithSalt :: Int -> FormCTA -> Int #

hash :: FormCTA -> Int #

type Rep FormCTA Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.FormCTA

type Rep FormCTA = D1 ('MetaData "FormCTA" "Amazonka.AmplifyUiBuilder.Types.FormCTA" "amazonka-amplifyuibuilder-2.0-KN0MRaPu7dZCAXr3ruBTcC" 'False) (C1 ('MetaCons "FormCTA'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cancel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FormButton)) :*: S1 ('MetaSel ('Just "clear") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FormButton))) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FormButtonsPosition)) :*: S1 ('MetaSel ('Just "submit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FormButton)))))

newFormCTA :: FormCTA Source #

Create a value of FormCTA 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:cancel:FormCTA', formCTA_cancel - Displays a cancel button.

$sel:clear:FormCTA', formCTA_clear - Displays a clear button.

FormCTA, formCTA_position - The position of the button.

$sel:submit:FormCTA', formCTA_submit - Displays a submit button.

formCTA_cancel :: Lens' FormCTA (Maybe FormButton) Source #

Displays a cancel button.

formCTA_clear :: Lens' FormCTA (Maybe FormButton) Source #

Displays a clear button.

formCTA_submit :: Lens' FormCTA (Maybe FormButton) Source #

Displays a submit button.