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

Contents

Description

Refreshes the cache for the specified file share. This operation finds objects in the Amazon S3 bucket that were added, removed or replaced since the gateway last listed the bucket's contents and cached the results. This operation is only supported in the file gateway type.

Synopsis

Creating a Request

refreshCache Source #

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

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

data RefreshCache Source #

See: refreshCache smart constructor.

Instances

Eq RefreshCache Source # 
Data RefreshCache Source # 

Methods

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

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

toConstr :: RefreshCache -> Constr #

dataTypeOf :: RefreshCache -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RefreshCache Source # 
Show RefreshCache Source # 
Generic RefreshCache Source # 

Associated Types

type Rep RefreshCache :: * -> * #

Hashable RefreshCache Source # 
ToJSON RefreshCache Source # 
NFData RefreshCache Source # 

Methods

rnf :: RefreshCache -> () #

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

Request Lenses

rcFileShareARN :: Lens' RefreshCache Text Source #

Undocumented member.

Destructuring the Response

refreshCacheResponse Source #

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

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

data RefreshCacheResponse Source #

See: refreshCacheResponse smart constructor.

Instances

Eq RefreshCacheResponse Source # 
Data RefreshCacheResponse Source # 

Methods

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

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

toConstr :: RefreshCacheResponse -> Constr #

dataTypeOf :: RefreshCacheResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RefreshCacheResponse Source # 
Show RefreshCacheResponse Source # 
Generic RefreshCacheResponse Source # 
NFData RefreshCacheResponse Source # 

Methods

rnf :: RefreshCacheResponse -> () #

type Rep RefreshCacheResponse Source # 
type Rep RefreshCacheResponse = D1 * (MetaData "RefreshCacheResponse" "Network.AWS.StorageGateway.RefreshCache" "amazonka-storagegateway-1.6.0-4O2jykLIBNRAOy2n0S31Gg" False) (C1 * (MetaCons "RefreshCacheResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rcrsFileShareARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_rcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

rcrsResponseStatus :: Lens' RefreshCacheResponse Int Source #

  • - | The response status code.