libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTAnalytics.UpdatePipeline

Description

Updates the settings of a pipeline. You must specify both a channel and a datastore activity and, optionally, as many as 23 additional activities in the pipelineActivities array.

Synopsis

Creating a Request

data UpdatePipeline Source #

See: newUpdatePipeline smart constructor.

Constructors

UpdatePipeline' 

Fields

  • pipelineName :: Text

    The name of the pipeline to update.

  • pipelineActivities :: NonEmpty PipelineActivity

    A list of 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.

    The list can be 2-25 PipelineActivity objects and must contain both a channel and a datastore activity. Each entry in the list must contain only one activity. For example:

    pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]

Instances

Instances details
Eq UpdatePipeline Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

Read UpdatePipeline Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

Show UpdatePipeline Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

Generic UpdatePipeline Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

Associated Types

type Rep UpdatePipeline :: Type -> Type #

NFData UpdatePipeline Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

Methods

rnf :: UpdatePipeline -> () #

Hashable UpdatePipeline Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

ToJSON UpdatePipeline Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

AWSRequest UpdatePipeline Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

Associated Types

type AWSResponse UpdatePipeline #

ToHeaders UpdatePipeline Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

ToPath UpdatePipeline Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

ToQuery UpdatePipeline Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

type Rep UpdatePipeline Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

type Rep UpdatePipeline = D1 ('MetaData "UpdatePipeline" "Amazonka.IoTAnalytics.UpdatePipeline" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "UpdatePipeline'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pipelineName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "pipelineActivities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty PipelineActivity))))
type AWSResponse UpdatePipeline Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

newUpdatePipeline Source #

Create a value of UpdatePipeline with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:pipelineName:UpdatePipeline', updatePipeline_pipelineName - The name of the pipeline to update.

$sel:pipelineActivities:UpdatePipeline', updatePipeline_pipelineActivities - A list of 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.

The list can be 2-25 PipelineActivity objects and must contain both a channel and a datastore activity. Each entry in the list must contain only one activity. For example:

pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]

Request Lenses

updatePipeline_pipelineName :: Lens' UpdatePipeline Text Source #

The name of the pipeline to update.

updatePipeline_pipelineActivities :: Lens' UpdatePipeline (NonEmpty PipelineActivity) Source #

A list of 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.

The list can be 2-25 PipelineActivity objects and must contain both a channel and a datastore activity. Each entry in the list must contain only one activity. For example:

pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]

Destructuring the Response

data UpdatePipelineResponse Source #

See: newUpdatePipelineResponse smart constructor.

Instances

Instances details
Eq UpdatePipelineResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

Read UpdatePipelineResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

Show UpdatePipelineResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

Generic UpdatePipelineResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

Associated Types

type Rep UpdatePipelineResponse :: Type -> Type #

NFData UpdatePipelineResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

Methods

rnf :: UpdatePipelineResponse -> () #

type Rep UpdatePipelineResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdatePipeline

type Rep UpdatePipelineResponse = D1 ('MetaData "UpdatePipelineResponse" "Amazonka.IoTAnalytics.UpdatePipeline" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "UpdatePipelineResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdatePipelineResponse :: UpdatePipelineResponse Source #

Create a value of UpdatePipelineResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.