amazonka-kafka-2.0: Amazon Managed Streaming for Kafka SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kafka.Types.Sasl

Description

 
Synopsis

Documentation

data Sasl Source #

Details for client authentication using SASL.

See: newSasl smart constructor.

Constructors

Sasl' 

Fields

Instances

Instances details
FromJSON Sasl Source # 
Instance details

Defined in Amazonka.Kafka.Types.Sasl

ToJSON Sasl Source # 
Instance details

Defined in Amazonka.Kafka.Types.Sasl

Generic Sasl Source # 
Instance details

Defined in Amazonka.Kafka.Types.Sasl

Associated Types

type Rep Sasl :: Type -> Type #

Methods

from :: Sasl -> Rep Sasl x #

to :: Rep Sasl x -> Sasl #

Read Sasl Source # 
Instance details

Defined in Amazonka.Kafka.Types.Sasl

Show Sasl Source # 
Instance details

Defined in Amazonka.Kafka.Types.Sasl

Methods

showsPrec :: Int -> Sasl -> ShowS #

show :: Sasl -> String #

showList :: [Sasl] -> ShowS #

NFData Sasl Source # 
Instance details

Defined in Amazonka.Kafka.Types.Sasl

Methods

rnf :: Sasl -> () #

Eq Sasl Source # 
Instance details

Defined in Amazonka.Kafka.Types.Sasl

Methods

(==) :: Sasl -> Sasl -> Bool #

(/=) :: Sasl -> Sasl -> Bool #

Hashable Sasl Source # 
Instance details

Defined in Amazonka.Kafka.Types.Sasl

Methods

hashWithSalt :: Int -> Sasl -> Int #

hash :: Sasl -> Int #

type Rep Sasl Source # 
Instance details

Defined in Amazonka.Kafka.Types.Sasl

type Rep Sasl = D1 ('MetaData "Sasl" "Amazonka.Kafka.Types.Sasl" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" 'False) (C1 ('MetaCons "Sasl'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iam") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Iam)) :*: S1 ('MetaSel ('Just "scram") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Scram))))

newSasl :: Sasl Source #

Create a value of Sasl 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:iam:Sasl', sasl_iam - Indicates whether IAM access control is enabled.

$sel:scram:Sasl', sasl_scram - Details for SASL/SCRAM client authentication.

sasl_iam :: Lens' Sasl (Maybe Iam) Source #

Indicates whether IAM access control is enabled.

sasl_scram :: Lens' Sasl (Maybe Scram) Source #

Details for SASL/SCRAM client authentication.