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

Description

 
Synopsis

Documentation

data Authentication Source #

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

See: newAuthentication smart constructor.

Constructors

Authentication' 

Fields

Instances

Instances details
Eq Authentication Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Authentication

Read Authentication Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Authentication

Show Authentication Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Authentication

Generic Authentication Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Authentication

Associated Types

type Rep Authentication :: Type -> Type #

NFData Authentication Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Authentication

Methods

rnf :: Authentication -> () #

Hashable Authentication Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Authentication

FromJSON Authentication Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Authentication

type Rep Authentication Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Authentication

type Rep Authentication = D1 ('MetaData "Authentication" "Amazonka.MemoryDb.Types.Authentication" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "Authentication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "passwordCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthenticationType))))

newAuthentication :: Authentication Source #

Create a value of Authentication 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:passwordCount:Authentication', authentication_passwordCount - The number of passwords belonging to the user. The maximum is two.

$sel:type':Authentication', authentication_type - Indicates whether the user requires a password to authenticate.

authentication_passwordCount :: Lens' Authentication (Maybe Int) Source #

The number of passwords belonging to the user. The maximum is two.

authentication_type :: Lens' Authentication (Maybe AuthenticationType) Source #

Indicates whether the user requires a password to authenticate.