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

Contents

Description

Creates a pipeline. A pipeline consumes messages from one or more channels and allows you to process the messages before storing them in a data store.

Synopsis

Creating a Request

createPipeline Source #

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

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

  • cpPipelineName - The name of the pipeline.
  • cpPipelineActivities - A list of pipeline activities. The list can be 1-25 PipelineActivity objects. Activities perform transformations on your messages, such as removing, renaming, or adding message attributes; filtering messages based on attribute values; invoking your Lambda functions on messages for advanced processing; or performing mathematical transformations to normalize device data.

data CreatePipeline Source #

See: createPipeline smart constructor.

Instances

Eq CreatePipeline Source # 
Data CreatePipeline Source # 

Methods

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

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

toConstr :: CreatePipeline -> Constr #

dataTypeOf :: CreatePipeline -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreatePipeline Source # 
Show CreatePipeline Source # 
Generic CreatePipeline Source # 

Associated Types

type Rep CreatePipeline :: * -> * #

Hashable CreatePipeline Source # 
ToJSON CreatePipeline Source # 
NFData CreatePipeline Source # 

Methods

rnf :: CreatePipeline -> () #

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

Request Lenses

cpPipelineName :: Lens' CreatePipeline Text Source #

The name of the pipeline.

cpPipelineActivities :: Lens' CreatePipeline (NonEmpty PipelineActivity) Source #

A list of pipeline activities. The list can be 1-25 PipelineActivity objects. Activities perform transformations on your messages, such as removing, renaming, or adding message attributes; filtering messages based on attribute values; invoking your Lambda functions on messages for advanced processing; or performing mathematical transformations to normalize device data.

Destructuring the Response

createPipelineResponse Source #

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

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

data CreatePipelineResponse Source #

See: createPipelineResponse smart constructor.

Instances

Eq CreatePipelineResponse Source # 
Data CreatePipelineResponse Source # 

Methods

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

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

toConstr :: CreatePipelineResponse -> Constr #

dataTypeOf :: CreatePipelineResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreatePipelineResponse Source # 
Show CreatePipelineResponse Source # 
Generic CreatePipelineResponse Source # 
NFData CreatePipelineResponse Source # 

Methods

rnf :: CreatePipelineResponse -> () #

type Rep CreatePipelineResponse Source # 
type Rep CreatePipelineResponse = D1 * (MetaData "CreatePipelineResponse" "Network.AWS.IoTAnalytics.CreatePipeline" "amazonka-iot-analytics-1.6.0-J5q8AVx26VCAr48eVqZbw0" False) (C1 * (MetaCons "CreatePipelineResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cprsPipelineName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cprsPipelineARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

cprsResponseStatus :: Lens' CreatePipelineResponse Int Source #

  • - | The response status code.