| 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.AmplifyBackend.Types.Settings
Description
Synopsis
- data Settings = Settings' {
- mfaTypes :: Maybe [MfaTypesElement]
 - smsMessage :: Maybe Text
 
 - newSettings :: Settings
 - settings_mfaTypes :: Lens' Settings (Maybe [MfaTypesElement])
 - settings_smsMessage :: Lens' Settings (Maybe Text)
 
Documentation
The settings of your MFA configuration for the backend of your Amplify project.
See: newSettings smart constructor.
Constructors
| Settings' | |
Fields 
  | |
Instances
| FromJSON Settings Source # | |
| ToJSON Settings Source # | |
Defined in Amazonka.AmplifyBackend.Types.Settings  | |
| Generic Settings Source # | |
| Read Settings Source # | |
| Show Settings Source # | |
| NFData Settings Source # | |
Defined in Amazonka.AmplifyBackend.Types.Settings  | |
| Eq Settings Source # | |
| Hashable Settings Source # | |
Defined in Amazonka.AmplifyBackend.Types.Settings  | |
| type Rep Settings Source # | |
Defined in Amazonka.AmplifyBackend.Types.Settings type Rep Settings = D1 ('MetaData "Settings" "Amazonka.AmplifyBackend.Types.Settings" "amazonka-amplifybackend-2.0-KAbme26dIsGHSomQ2pZcRc" 'False) (C1 ('MetaCons "Settings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mfaTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MfaTypesElement])) :*: S1 ('MetaSel ('Just "smsMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))  | |
newSettings :: Settings Source #
Create a value of Settings 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:mfaTypes:Settings', settings_mfaTypes - The supported MFA types.
$sel:smsMessage:Settings', settings_smsMessage - The body of the SMS message.
settings_mfaTypes :: Lens' Settings (Maybe [MfaTypesElement]) Source #
The supported MFA types.