amazonka-storagegateway-1.6.1: Amazon Storage Gateway SDK.

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

Network.AWS.StorageGateway.DeleteChapCredentials

Contents

Description

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

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:

  • dTargetARN - The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.
  • dInitiatorName - The iSCSI initiator that connects to the target.

data DeleteChapCredentials Source #

A JSON object containing one or more of the following fields:

  • 'DeleteChapCredentialsInput$InitiatorName'
  • 'DeleteChapCredentialsInput$TargetARN'

See: deleteChapCredentials smart constructor.

Instances
Eq DeleteChapCredentials Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

Data DeleteChapCredentials Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteChapCredentials -> c DeleteChapCredentials #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteChapCredentials #

toConstr :: DeleteChapCredentials -> Constr #

dataTypeOf :: DeleteChapCredentials -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteChapCredentials) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteChapCredentials) #

gmapT :: (forall b. Data b => b -> b) -> DeleteChapCredentials -> DeleteChapCredentials #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteChapCredentials -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteChapCredentials -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteChapCredentials -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteChapCredentials -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteChapCredentials -> m DeleteChapCredentials #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteChapCredentials -> m DeleteChapCredentials #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteChapCredentials -> m DeleteChapCredentials #

Read DeleteChapCredentials Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

Show DeleteChapCredentials Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

Generic DeleteChapCredentials Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

Associated Types

type Rep DeleteChapCredentials :: Type -> Type #

Hashable DeleteChapCredentials Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

ToJSON DeleteChapCredentials Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

AWSRequest DeleteChapCredentials Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

Associated Types

type Rs DeleteChapCredentials :: Type #

ToHeaders DeleteChapCredentials Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

ToPath DeleteChapCredentials Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

ToQuery DeleteChapCredentials Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

NFData DeleteChapCredentials Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

Methods

rnf :: DeleteChapCredentials -> () #

type Rep DeleteChapCredentials Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

type Rep DeleteChapCredentials = D1 (MetaData "DeleteChapCredentials" "Network.AWS.StorageGateway.DeleteChapCredentials" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "DeleteChapCredentials'" PrefixI True) (S1 (MetaSel (Just "_dTargetARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dInitiatorName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeleteChapCredentials Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

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:

data DeleteChapCredentialsResponse Source #

A JSON object containing the following fields:

See: deleteChapCredentialsResponse smart constructor.

Instances
Eq DeleteChapCredentialsResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

Data DeleteChapCredentialsResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteChapCredentialsResponse -> c DeleteChapCredentialsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteChapCredentialsResponse #

toConstr :: DeleteChapCredentialsResponse -> Constr #

dataTypeOf :: DeleteChapCredentialsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteChapCredentialsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteChapCredentialsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteChapCredentialsResponse -> DeleteChapCredentialsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteChapCredentialsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteChapCredentialsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteChapCredentialsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteChapCredentialsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteChapCredentialsResponse -> m DeleteChapCredentialsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteChapCredentialsResponse -> m DeleteChapCredentialsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteChapCredentialsResponse -> m DeleteChapCredentialsResponse #

Read DeleteChapCredentialsResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

Show DeleteChapCredentialsResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

Generic DeleteChapCredentialsResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

Associated Types

type Rep DeleteChapCredentialsResponse :: Type -> Type #

NFData DeleteChapCredentialsResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

type Rep DeleteChapCredentialsResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteChapCredentials

type Rep DeleteChapCredentialsResponse = D1 (MetaData "DeleteChapCredentialsResponse" "Network.AWS.StorageGateway.DeleteChapCredentials" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "DeleteChapCredentialsResponse'" PrefixI True) (S1 (MetaSel (Just "_drsTargetARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_drsInitiatorName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_drsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

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.