libZSservicesZSamazonka-elasticacheZSamazonka-elasticache
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.ElastiCache.Types.Authentication

Description

 
Synopsis

Documentation

data Authentication Source #

Indicates whether the user requires a password to authenticate.

See: newAuthentication smart constructor.

Constructors

Authentication' 

Fields

Instances

Instances details
Eq Authentication Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Authentication

Read Authentication Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Authentication

Show Authentication Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Authentication

Generic Authentication Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Authentication

Associated Types

type Rep Authentication :: Type -> Type #

NFData Authentication Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Authentication

Methods

rnf :: Authentication -> () #

Hashable Authentication Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Authentication

FromXML Authentication Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Authentication

type Rep Authentication Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Authentication

type Rep Authentication = D1 ('MetaData "Authentication" "Amazonka.ElastiCache.Types.Authentication" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" '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.