amazonka-iot-analytics-1.6.0: Amazon IoT Analytics 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.IoTAnalytics.UpdateDatastore

Contents

Description

Updates the settings of a data store.

Synopsis

Creating a Request

updateDatastore Source #

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

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

data UpdateDatastore Source #

See: updateDatastore smart constructor.

Instances

Eq UpdateDatastore Source # 
Data UpdateDatastore Source # 

Methods

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

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

toConstr :: UpdateDatastore -> Constr #

dataTypeOf :: UpdateDatastore -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDatastore Source # 
Show UpdateDatastore Source # 
Generic UpdateDatastore Source # 
Hashable UpdateDatastore Source # 
ToJSON UpdateDatastore Source # 
NFData UpdateDatastore Source # 

Methods

rnf :: UpdateDatastore -> () #

AWSRequest UpdateDatastore Source # 
ToHeaders UpdateDatastore Source # 
ToPath UpdateDatastore Source # 
ToQuery UpdateDatastore Source # 
type Rep UpdateDatastore Source # 
type Rep UpdateDatastore = D1 * (MetaData "UpdateDatastore" "Network.AWS.IoTAnalytics.UpdateDatastore" "amazonka-iot-analytics-1.6.0-J5q8AVx26VCAr48eVqZbw0" False) (C1 * (MetaCons "UpdateDatastore'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_udRetentionPeriod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe RetentionPeriod))) (S1 * (MetaSel (Just Symbol "_udDatastoreName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs UpdateDatastore Source # 

Request Lenses

udRetentionPeriod :: Lens' UpdateDatastore (Maybe RetentionPeriod) Source #

How long, in days, message data is kept for the data store.

udDatastoreName :: Lens' UpdateDatastore Text Source #

The name of the data store to be updated.

Destructuring the Response

updateDatastoreResponse :: UpdateDatastoreResponse Source #

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

data UpdateDatastoreResponse Source #

See: updateDatastoreResponse smart constructor.

Instances

Eq UpdateDatastoreResponse Source # 
Data UpdateDatastoreResponse Source # 

Methods

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

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

toConstr :: UpdateDatastoreResponse -> Constr #

dataTypeOf :: UpdateDatastoreResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDatastoreResponse Source # 
Show UpdateDatastoreResponse Source # 
Generic UpdateDatastoreResponse Source # 
NFData UpdateDatastoreResponse Source # 

Methods

rnf :: UpdateDatastoreResponse -> () #

type Rep UpdateDatastoreResponse Source # 
type Rep UpdateDatastoreResponse = D1 * (MetaData "UpdateDatastoreResponse" "Network.AWS.IoTAnalytics.UpdateDatastore" "amazonka-iot-analytics-1.6.0-J5q8AVx26VCAr48eVqZbw0" False) (C1 * (MetaCons "UpdateDatastoreResponse'" PrefixI False) (U1 *))