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

Contents

Description

Creates a channel. A channel collects data from an MQTT topic and archives the raw, unprocessed messages before publishing the data to a pipeline.

Synopsis

Creating a Request

createChannel Source #

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

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

data CreateChannel Source #

See: createChannel smart constructor.

Instances

Eq CreateChannel Source # 
Data CreateChannel Source # 

Methods

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

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

toConstr :: CreateChannel -> Constr #

dataTypeOf :: CreateChannel -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateChannel Source # 
Show CreateChannel Source # 
Generic CreateChannel Source # 

Associated Types

type Rep CreateChannel :: * -> * #

Hashable CreateChannel Source # 
ToJSON CreateChannel Source # 
NFData CreateChannel Source # 

Methods

rnf :: CreateChannel -> () #

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

Request Lenses

ccRetentionPeriod :: Lens' CreateChannel (Maybe RetentionPeriod) Source #

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

ccChannelName :: Lens' CreateChannel Text Source #

The name of the channel.

Destructuring the Response

createChannelResponse Source #

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

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

data CreateChannelResponse Source #

See: createChannelResponse smart constructor.

Instances

Eq CreateChannelResponse Source # 
Data CreateChannelResponse Source # 

Methods

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

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

toConstr :: CreateChannelResponse -> Constr #

dataTypeOf :: CreateChannelResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateChannelResponse Source # 
Show CreateChannelResponse Source # 
Generic CreateChannelResponse Source # 
NFData CreateChannelResponse Source # 

Methods

rnf :: CreateChannelResponse -> () #

type Rep CreateChannelResponse Source # 
type Rep CreateChannelResponse = D1 * (MetaData "CreateChannelResponse" "Network.AWS.IoTAnalytics.CreateChannel" "amazonka-iot-analytics-1.6.0-J5q8AVx26VCAr48eVqZbw0" False) (C1 * (MetaCons "CreateChannelResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ccrsChannelARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ccrsRetentionPeriod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe RetentionPeriod)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ccrsChannelName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ccrsRetentionPeriod :: Lens' CreateChannelResponse (Maybe RetentionPeriod) Source #

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

ccrsResponseStatus :: Lens' CreateChannelResponse Int Source #

  • - | The response status code.