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

Contents

Description

Updates the settings of a channel.

Synopsis

Creating a Request

updateChannel Source #

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

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

data UpdateChannel Source #

See: updateChannel smart constructor.

Instances

Eq UpdateChannel Source # 
Data UpdateChannel Source # 

Methods

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

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

toConstr :: UpdateChannel -> Constr #

dataTypeOf :: UpdateChannel -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateChannel Source # 
Show UpdateChannel Source # 
Generic UpdateChannel Source # 

Associated Types

type Rep UpdateChannel :: * -> * #

Hashable UpdateChannel Source # 
ToJSON UpdateChannel Source # 
NFData UpdateChannel Source # 

Methods

rnf :: UpdateChannel -> () #

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

Request Lenses

ucRetentionPeriod :: Lens' UpdateChannel (Maybe RetentionPeriod) Source #

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

ucChannelName :: Lens' UpdateChannel Text Source #

The name of the channel to be updated.

Destructuring the Response

updateChannelResponse :: UpdateChannelResponse Source #

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

data UpdateChannelResponse Source #

See: updateChannelResponse smart constructor.

Instances

Eq UpdateChannelResponse Source # 
Data UpdateChannelResponse Source # 

Methods

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

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

toConstr :: UpdateChannelResponse -> Constr #

dataTypeOf :: UpdateChannelResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateChannelResponse Source # 
Show UpdateChannelResponse Source # 
Generic UpdateChannelResponse Source # 
NFData UpdateChannelResponse Source # 

Methods

rnf :: UpdateChannelResponse -> () #

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