amazonka-storagegateway-1.6.0: 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.DescribeCache

Contents

Description

Returns information about the cache of a gateway. This operation is only supported in the cached volume, tape and file gateway types.

The response includes disk IDs that are configured as cache, and it includes the amount of cache allocated and used.

Synopsis

Creating a Request

describeCache Source #

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

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

data DescribeCache Source #

See: describeCache smart constructor.

Instances

Eq DescribeCache Source # 
Data DescribeCache Source # 

Methods

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

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

toConstr :: DescribeCache -> Constr #

dataTypeOf :: DescribeCache -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeCache Source # 
Show DescribeCache Source # 
Generic DescribeCache Source # 

Associated Types

type Rep DescribeCache :: * -> * #

Hashable DescribeCache Source # 
ToJSON DescribeCache Source # 
NFData DescribeCache Source # 

Methods

rnf :: DescribeCache -> () #

AWSRequest DescribeCache Source # 
ToHeaders DescribeCache Source # 
ToPath DescribeCache Source # 
ToQuery DescribeCache Source # 
type Rep DescribeCache Source # 
type Rep DescribeCache = D1 * (MetaData "DescribeCache" "Network.AWS.StorageGateway.DescribeCache" "amazonka-storagegateway-1.6.0-4O2jykLIBNRAOy2n0S31Gg" True) (C1 * (MetaCons "DescribeCache'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dcGatewayARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DescribeCache Source # 

Request Lenses

dcGatewayARN :: Lens' DescribeCache Text Source #

Undocumented member.

Destructuring the Response

describeCacheResponse Source #

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

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

data DescribeCacheResponse Source #

See: describeCacheResponse smart constructor.

Instances

Eq DescribeCacheResponse Source # 
Data DescribeCacheResponse Source # 

Methods

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

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

toConstr :: DescribeCacheResponse -> Constr #

dataTypeOf :: DescribeCacheResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeCacheResponse Source # 
Show DescribeCacheResponse Source # 
Generic DescribeCacheResponse Source # 
NFData DescribeCacheResponse Source # 

Methods

rnf :: DescribeCacheResponse -> () #

type Rep DescribeCacheResponse Source # 
type Rep DescribeCacheResponse = D1 * (MetaData "DescribeCacheResponse" "Network.AWS.StorageGateway.DescribeCache" "amazonka-storagegateway-1.6.0-4O2jykLIBNRAOy2n0S31Gg" False) (C1 * (MetaCons "DescribeCacheResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dcrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dcrsDiskIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dcrsCacheUsedPercentage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Double))) (S1 * (MetaSel (Just Symbol "_dcrsCacheHitPercentage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Double))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dcrsCacheMissPercentage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Double))) (S1 * (MetaSel (Just Symbol "_dcrsCacheAllocatedInBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dcrsCacheDirtyPercentage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Double))) (S1 * (MetaSel (Just Symbol "_dcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

dcrsResponseStatus :: Lens' DescribeCacheResponse Int Source #

  • - | The response status code.