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

Defined in Network.AWS.StorageGateway.ListLocalDisks

Data ListLocalDisks Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

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

Defined in Network.AWS.StorageGateway.ListLocalDisks

Show ListLocalDisks Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

Generic ListLocalDisks Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

Associated Types

type Rep ListLocalDisks :: Type -> Type #

Hashable ListLocalDisks Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

ToJSON ListLocalDisks Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

AWSRequest ListLocalDisks Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

Associated Types

type Rs ListLocalDisks :: Type #

ToHeaders ListLocalDisks Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

ToPath ListLocalDisks Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

ToQuery ListLocalDisks Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

NFData ListLocalDisks Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

Methods

rnf :: ListLocalDisks -> () #

type Rep ListLocalDisks Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

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

Defined in Network.AWS.StorageGateway.ListLocalDisks

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

Defined in Network.AWS.StorageGateway.ListLocalDisks

Data ListLocalDisksResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

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

Defined in Network.AWS.StorageGateway.ListLocalDisks

Show ListLocalDisksResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

Generic ListLocalDisksResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

Associated Types

type Rep ListLocalDisksResponse :: Type -> Type #

NFData ListLocalDisksResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

Methods

rnf :: ListLocalDisksResponse -> () #

type Rep ListLocalDisksResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListLocalDisks

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

Response Lenses