amazonka-storagegateway-1.0.0: Amazon Storage Gateway SDK.

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

Network.AWS.StorageGateway.DeleteChapCredentials

Contents

Description

This operation deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair.

See: AWS API Reference for DeleteChapCredentials.

Synopsis

Creating a Request

deleteChapCredentials Source

Creates a value of DeleteChapCredentials with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dTargetARN :: Lens' DeleteChapCredentials Text Source

The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

dInitiatorName :: Lens' DeleteChapCredentials Text Source

The iSCSI initiator that connects to the target.

Destructuring the Response

deleteChapCredentialsResponse Source

Creates a value of DeleteChapCredentialsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

drsTargetARN :: Lens' DeleteChapCredentialsResponse (Maybe Text) Source

The Amazon Resource Name (ARN) of the target.

drsInitiatorName :: Lens' DeleteChapCredentialsResponse (Maybe Text) Source

The iSCSI initiator that connects to the target.