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.ListLocalDisks

Contents

Description

Returns a list of the gateway's local disks. To specify which gateway to describe, you use the Amazon Resource Name (ARN) of the gateway in the body of the request.

The request returns a list of all disks, specifying which are configured as working storage, cache storage, or stored volume or not configured at all. The response includes a DiskStatus field. This field can have a value of present (the disk is available to use), missing (the disk is no longer connected to the gateway), or mismatch (the disk node is occupied by a disk that has incorrect metadata or the disk content is corrupted).

Synopsis

Creating a Request

listLocalDisks Source #

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

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

data ListLocalDisks Source #

A JSON object containing the of the gateway.

See: listLocalDisks smart constructor.

Instances

Eq ListLocalDisks Source # 
Data ListLocalDisks Source # 

Methods

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

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

toConstr :: ListLocalDisks -> Constr #

dataTypeOf :: ListLocalDisks -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListLocalDisks Source # 
Show ListLocalDisks Source # 
Generic ListLocalDisks Source # 

Associated Types

type Rep ListLocalDisks :: * -> * #

Hashable ListLocalDisks Source # 
NFData ListLocalDisks Source # 

Methods

rnf :: ListLocalDisks -> () #

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

Request Lenses

Destructuring the Response

listLocalDisksResponse Source #

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

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

data ListLocalDisksResponse Source #

See: listLocalDisksResponse smart constructor.

Instances

Eq ListLocalDisksResponse Source # 
Data ListLocalDisksResponse Source # 

Methods

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

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

toConstr :: ListLocalDisksResponse -> Constr #

dataTypeOf :: ListLocalDisksResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListLocalDisksResponse Source # 
Show ListLocalDisksResponse Source # 
Generic ListLocalDisksResponse Source # 
NFData ListLocalDisksResponse Source # 

Methods

rnf :: ListLocalDisksResponse -> () #

type Rep ListLocalDisksResponse Source # 
type Rep ListLocalDisksResponse = D1 (MetaData "ListLocalDisksResponse" "Network.AWS.StorageGateway.ListLocalDisks" "amazonka-storagegateway-1.4.4-HOInns2Rr9V9xD6G5ZVbNW" False) (C1 (MetaCons "ListLocalDisksResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lldrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lldrsDisks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Disk]))) (S1 (MetaSel (Just Symbol "_lldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses