Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Settings = Settings' {
- smsMessage :: Maybe Text
- mfaTypes :: Maybe [MfaTypesElement]
- newSettings :: Settings
- settings_smsMessage :: Lens' Settings (Maybe Text)
- settings_mfaTypes :: Lens' Settings (Maybe [MfaTypesElement])
Documentation
The settings of your MFA configuration for the backend of your Amplify project.
See: newSettings
smart constructor.
Settings' | |
|
Instances
Eq Settings Source # | |
Read Settings Source # | |
Show Settings Source # | |
Generic Settings Source # | |
NFData Settings Source # | |
Defined in Amazonka.AmplifyBackend.Types.Settings | |
Hashable Settings Source # | |
Defined in Amazonka.AmplifyBackend.Types.Settings | |
ToJSON Settings Source # | |
Defined in Amazonka.AmplifyBackend.Types.Settings | |
FromJSON Settings Source # | |
type Rep Settings Source # | |
Defined in Amazonka.AmplifyBackend.Types.Settings type Rep Settings = D1 ('MetaData "Settings" "Amazonka.AmplifyBackend.Types.Settings" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "Settings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "smsMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "mfaTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MfaTypesElement])))) |
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:smsMessage:Settings'
, settings_smsMessage
- The body of the SMS message.
$sel:mfaTypes:Settings'
, settings_mfaTypes
- The supported MFA types.
settings_mfaTypes :: Lens' Settings (Maybe [MfaTypesElement]) Source #
The supported MFA types.