amazonka-storagegateway-1.4.1: Amazon Storage Gateway SDK.

Copyright(c) 2013-2016 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.ListVolumeInitiators

Contents

Description

Lists iSCSI initiators that are connected to a volume. You can use this operation to determine whether a volume is being used or not.

Synopsis

Creating a Request

listVolumeInitiators Source #

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

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

data ListVolumeInitiators Source #

ListVolumeInitiatorsInput

See: listVolumeInitiators smart constructor.

Instances

Eq ListVolumeInitiators Source # 
Data ListVolumeInitiators Source # 

Methods

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

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

toConstr :: ListVolumeInitiators -> Constr #

dataTypeOf :: ListVolumeInitiators -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListVolumeInitiators Source # 
Show ListVolumeInitiators Source # 
Generic ListVolumeInitiators Source # 
Hashable ListVolumeInitiators Source # 
ToJSON ListVolumeInitiators Source # 
NFData ListVolumeInitiators Source # 

Methods

rnf :: ListVolumeInitiators -> () #

AWSRequest ListVolumeInitiators Source # 
ToQuery ListVolumeInitiators Source # 
ToPath ListVolumeInitiators Source # 
ToHeaders ListVolumeInitiators Source # 
type Rep ListVolumeInitiators Source # 
type Rep ListVolumeInitiators = D1 (MetaData "ListVolumeInitiators" "Network.AWS.StorageGateway.ListVolumeInitiators" "amazonka-storagegateway-1.4.1-L8VGb4RzUam2oDN29DqQAk" True) (C1 (MetaCons "ListVolumeInitiators'" PrefixI True) (S1 (MetaSel (Just Symbol "_lviVolumeARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs ListVolumeInitiators Source # 

Request Lenses

lviVolumeARN :: Lens' ListVolumeInitiators Text Source #

The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes for the gateway.

Destructuring the Response

listVolumeInitiatorsResponse Source #

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

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

data ListVolumeInitiatorsResponse Source #

ListVolumeInitiatorsOutput

See: listVolumeInitiatorsResponse smart constructor.

Instances

Eq ListVolumeInitiatorsResponse Source # 
Data ListVolumeInitiatorsResponse Source # 

Methods

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

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

toConstr :: ListVolumeInitiatorsResponse -> Constr #

dataTypeOf :: ListVolumeInitiatorsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListVolumeInitiatorsResponse Source # 
Show ListVolumeInitiatorsResponse Source # 
Generic ListVolumeInitiatorsResponse Source # 
NFData ListVolumeInitiatorsResponse Source # 
type Rep ListVolumeInitiatorsResponse Source # 
type Rep ListVolumeInitiatorsResponse = D1 (MetaData "ListVolumeInitiatorsResponse" "Network.AWS.StorageGateway.ListVolumeInitiators" "amazonka-storagegateway-1.4.1-L8VGb4RzUam2oDN29DqQAk" False) (C1 (MetaCons "ListVolumeInitiatorsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lvirsInitiators") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_lvirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lvirsInitiators :: Lens' ListVolumeInitiatorsResponse [Text] Source #

The host names and port numbers of all iSCSI initiators that are connected to the gateway.