| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.IoTAnalytics.CreatePipeline
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
- createPipeline :: Text -> NonEmpty PipelineActivity -> CreatePipeline
- data CreatePipeline
- cpPipelineName :: Lens' CreatePipeline Text
- cpPipelineActivities :: Lens' CreatePipeline (NonEmpty PipelineActivity)
- createPipelineResponse :: Int -> CreatePipelineResponse
- data CreatePipelineResponse
- cprsPipelineName :: Lens' CreatePipelineResponse (Maybe Text)
- cprsPipelineARN :: Lens' CreatePipelineResponse (Maybe Text)
- cprsResponseStatus :: Lens' CreatePipelineResponse Int
Creating a Request
Arguments
| :: Text | |
| -> NonEmpty PipelineActivity | |
| -> CreatePipeline |
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
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 #
Arguments
| :: Int | |
| -> CreatePipelineResponse |
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:
cprsPipelineName- The name of the pipeline.cprsPipelineARN- The ARN of the pipeline.cprsResponseStatus- -- | The response status code.
data CreatePipelineResponse Source #
See: createPipelineResponse smart constructor.
Instances
Response Lenses
cprsPipelineName :: Lens' CreatePipelineResponse (Maybe Text) Source #
The name of the pipeline.
cprsPipelineARN :: Lens' CreatePipelineResponse (Maybe Text) Source #
The ARN of the pipeline.
cprsResponseStatus :: Lens' CreatePipelineResponse Int Source #
- - | The response status code.