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.Types.LambdaActivity

Description

 
Synopsis

Documentation

data LambdaActivity Source #

An activity that runs a Lambda function to modify the message.

See: newLambdaActivity smart constructor.

Constructors

LambdaActivity' 

Fields

  • next :: Maybe Text

    The next activity in the pipeline.

  • name :: Text

    The name of the lambda activity.

  • lambdaName :: Text

    The name of the Lambda function that is run on the message.

  • batchSize :: Natural

    The number of messages passed to the Lambda function for processing.

    The Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.

Instances

Instances details
Eq LambdaActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LambdaActivity

Read LambdaActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LambdaActivity

Show LambdaActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LambdaActivity

Generic LambdaActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LambdaActivity

Associated Types

type Rep LambdaActivity :: Type -> Type #

NFData LambdaActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LambdaActivity

Methods

rnf :: LambdaActivity -> () #

Hashable LambdaActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LambdaActivity

ToJSON LambdaActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LambdaActivity

FromJSON LambdaActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LambdaActivity

type Rep LambdaActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LambdaActivity

type Rep LambdaActivity = D1 ('MetaData "LambdaActivity" "Amazonka.IoTAnalytics.Types.LambdaActivity" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "LambdaActivity'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "next") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "lambdaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "batchSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newLambdaActivity Source #

Create a value of LambdaActivity 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:next:LambdaActivity', lambdaActivity_next - The next activity in the pipeline.

$sel:name:LambdaActivity', lambdaActivity_name - The name of the lambda activity.

$sel:lambdaName:LambdaActivity', lambdaActivity_lambdaName - The name of the Lambda function that is run on the message.

$sel:batchSize:LambdaActivity', lambdaActivity_batchSize - The number of messages passed to the Lambda function for processing.

The Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.

lambdaActivity_next :: Lens' LambdaActivity (Maybe Text) Source #

The next activity in the pipeline.

lambdaActivity_name :: Lens' LambdaActivity Text Source #

The name of the lambda activity.

lambdaActivity_lambdaName :: Lens' LambdaActivity Text Source #

The name of the Lambda function that is run on the message.

lambdaActivity_batchSize :: Lens' LambdaActivity Natural Source #

The number of messages passed to the Lambda function for processing.

The Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.