amazonka-storagegateway-1.4.4: 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.ListVolumes

Contents

Description

Lists the iSCSI stored volumes of a gateway. Results are sorted by volume ARN. The response includes only the volume ARNs. If you want additional volume information, use the DescribeStorediSCSIVolumes API.

The operation supports pagination. By default, the operation returns a maximum of up to 100 volumes. You can optionally specify the Limit field in the body to limit the number of volumes in the response. If the number of volumes returned in the response is truncated, the response includes a Marker field. You can use this Marker value in your subsequent request to retrieve the next set of volumes.

This operation returns paginated results.

Synopsis

Creating a Request

listVolumes :: ListVolumes Source #

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

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

data ListVolumes Source #

A JSON object that contains one or more of the following fields:

See: listVolumes smart constructor.

Instances

Eq ListVolumes Source # 
Data ListVolumes Source # 

Methods

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

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

toConstr :: ListVolumes -> Constr #

dataTypeOf :: ListVolumes -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListVolumes Source # 
Show ListVolumes Source # 
Generic ListVolumes Source # 

Associated Types

type Rep ListVolumes :: * -> * #

Hashable ListVolumes Source # 
NFData ListVolumes Source # 

Methods

rnf :: ListVolumes -> () #

AWSPager ListVolumes Source # 
AWSRequest ListVolumes Source # 
ToPath ListVolumes Source # 
ToHeaders ListVolumes Source # 

Methods

toHeaders :: ListVolumes -> [Header] #

ToQuery ListVolumes Source # 
ToJSON ListVolumes Source # 

Methods

toJSON :: ListVolumes -> Value #

toEncoding :: ListVolumes -> Encoding #

type Rep ListVolumes Source # 
type Rep ListVolumes = D1 (MetaData "ListVolumes" "Network.AWS.StorageGateway.ListVolumes" "amazonka-storagegateway-1.4.4-HOInns2Rr9V9xD6G5ZVbNW" False) (C1 (MetaCons "ListVolumes'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lvGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lvMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lvLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))
type Rs ListVolumes Source # 

Request Lenses

lvGatewayARN :: Lens' ListVolumes (Maybe Text) Source #

Undocumented member.

lvMarker :: Lens' ListVolumes (Maybe Text) Source #

A string that indicates the position at which to begin the returned list of volumes. Obtain the marker from the response of a previous List iSCSI Volumes request.

lvLimit :: Lens' ListVolumes (Maybe Natural) Source #

Specifies that the list of volumes returned be limited to the specified number of items.

Destructuring the Response

listVolumesResponse Source #

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

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

data ListVolumesResponse Source #

See: listVolumesResponse smart constructor.

Instances

Eq ListVolumesResponse Source # 
Data ListVolumesResponse Source # 

Methods

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

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

toConstr :: ListVolumesResponse -> Constr #

dataTypeOf :: ListVolumesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListVolumesResponse Source # 
Show ListVolumesResponse Source # 
Generic ListVolumesResponse Source # 
NFData ListVolumesResponse Source # 

Methods

rnf :: ListVolumesResponse -> () #

type Rep ListVolumesResponse Source # 
type Rep ListVolumesResponse = D1 (MetaData "ListVolumesResponse" "Network.AWS.StorageGateway.ListVolumes" "amazonka-storagegateway-1.4.4-HOInns2Rr9V9xD6G5ZVbNW" False) (C1 (MetaCons "ListVolumesResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lvrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lvrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_lvrsVolumeInfos") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [VolumeInfo]))) (S1 (MetaSel (Just Symbol "_lvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses