libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
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.StorageGateway.Types.ChapInfo

Description

 
Synopsis

Documentation

data ChapInfo Source #

Describes Challenge-Handshake Authentication Protocol (CHAP) information that supports authentication between your gateway and iSCSI initiators.

See: newChapInfo smart constructor.

Constructors

ChapInfo' 

Fields

Instances

Instances details
Eq ChapInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.ChapInfo

Show ChapInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.ChapInfo

Generic ChapInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.ChapInfo

Associated Types

type Rep ChapInfo :: Type -> Type #

Methods

from :: ChapInfo -> Rep ChapInfo x #

to :: Rep ChapInfo x -> ChapInfo #

NFData ChapInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.ChapInfo

Methods

rnf :: ChapInfo -> () #

Hashable ChapInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.ChapInfo

Methods

hashWithSalt :: Int -> ChapInfo -> Int #

hash :: ChapInfo -> Int #

FromJSON ChapInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.ChapInfo

type Rep ChapInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.ChapInfo

type Rep ChapInfo = D1 ('MetaData "ChapInfo" "Amazonka.StorageGateway.Types.ChapInfo" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "ChapInfo'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "targetARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secretToAuthenticateInitiator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "initiatorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secretToAuthenticateTarget") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))))

newChapInfo :: ChapInfo Source #

Create a value of ChapInfo 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:targetARN:ChapInfo', chapInfo_targetARN - The Amazon Resource Name (ARN) of the volume.

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

$sel:secretToAuthenticateInitiator:ChapInfo', chapInfo_secretToAuthenticateInitiator - The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.

$sel:initiatorName:ChapInfo', chapInfo_initiatorName - The iSCSI initiator that connects to the target.

$sel:secretToAuthenticateTarget:ChapInfo', chapInfo_secretToAuthenticateTarget - The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g., Windows client).

chapInfo_targetARN :: Lens' ChapInfo (Maybe Text) Source #

The Amazon Resource Name (ARN) of the volume.

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

chapInfo_secretToAuthenticateInitiator :: Lens' ChapInfo (Maybe Text) Source #

The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.

chapInfo_initiatorName :: Lens' ChapInfo (Maybe Text) Source #

The iSCSI initiator that connects to the target.

chapInfo_secretToAuthenticateTarget :: Lens' ChapInfo (Maybe Text) Source #

The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g., Windows client).