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.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. This operation is only supported in the cached volume and stored volume gateway types.

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:

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

data ListVolumeInitiators Source #

ListVolumeInitiatorsInput

See: listVolumeInitiators smart constructor.

Instances
Eq ListVolumeInitiators Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

Data ListVolumeInitiators Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

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 # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

Show ListVolumeInitiators Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

Generic ListVolumeInitiators Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

Associated Types

type Rep ListVolumeInitiators :: Type -> Type #

Hashable ListVolumeInitiators Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

ToJSON ListVolumeInitiators Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

AWSRequest ListVolumeInitiators Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

Associated Types

type Rs ListVolumeInitiators :: Type #

ToHeaders ListVolumeInitiators Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

ToPath ListVolumeInitiators Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

ToQuery ListVolumeInitiators Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

NFData ListVolumeInitiators Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

Methods

rnf :: ListVolumeInitiators -> () #

type Rep ListVolumeInitiators Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

type Rep ListVolumeInitiators = D1 (MetaData "ListVolumeInitiators" "Network.AWS.StorageGateway.ListVolumeInitiators" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" True) (C1 (MetaCons "ListVolumeInitiators'" PrefixI True) (S1 (MetaSel (Just "_lviVolumeARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs ListVolumeInitiators Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

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 # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

Data ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

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 # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

Show ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

Generic ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

Associated Types

type Rep ListVolumeInitiatorsResponse :: Type -> Type #

NFData ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

type Rep ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListVolumeInitiators

type Rep ListVolumeInitiatorsResponse = D1 (MetaData "ListVolumeInitiatorsResponse" "Network.AWS.StorageGateway.ListVolumeInitiators" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "ListVolumeInitiatorsResponse'" PrefixI True) (S1 (MetaSel (Just "_lvirsInitiators") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_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.