libZSservicesZSamazonka-memorydbZSamazonka-memorydb
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MemoryDb.Types.AuthenticationMode

Description

 
Synopsis

Documentation

data AuthenticationMode Source #

Denotes the user's authentication properties, such as whether it requires a password to authenticate. Used in output responses.

See: newAuthenticationMode smart constructor.

Constructors

AuthenticationMode' 

Fields

Instances

Instances details
Eq AuthenticationMode Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.AuthenticationMode

Read AuthenticationMode Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.AuthenticationMode

Show AuthenticationMode Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.AuthenticationMode

Generic AuthenticationMode Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.AuthenticationMode

Associated Types

type Rep AuthenticationMode :: Type -> Type #

NFData AuthenticationMode Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.AuthenticationMode

Methods

rnf :: AuthenticationMode -> () #

Hashable AuthenticationMode Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.AuthenticationMode

ToJSON AuthenticationMode Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.AuthenticationMode

type Rep AuthenticationMode Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.AuthenticationMode

type Rep AuthenticationMode = D1 ('MetaData "AuthenticationMode" "Amazonka.MemoryDb.Types.AuthenticationMode" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "AuthenticationMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "passwords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputAuthenticationType))))

newAuthenticationMode :: AuthenticationMode Source #

Create a value of AuthenticationMode 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:passwords:AuthenticationMode', authenticationMode_passwords - The password(s) used for authentication

$sel:type':AuthenticationMode', authenticationMode_type - Indicates whether the user requires a password to authenticate. All newly-created users require a password.

authenticationMode_passwords :: Lens' AuthenticationMode (Maybe (NonEmpty Text)) Source #

The password(s) used for authentication

authenticationMode_type :: Lens' AuthenticationMode (Maybe InputAuthenticationType) Source #

Indicates whether the user requires a password to authenticate. All newly-created users require a password.