AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

LambdaActivity

import "github.com/aws/aws-sdk-go/service/iotanalytics"

type LambdaActivity struct { BatchSize *int64 `locationName:"batchSize" min:"1" type:"integer" required:"true"` LambdaName *string `locationName:"lambdaName" min:"1" type:"string" required:"true"` Name *string `locationName:"name" min:"1" type:"string" required:"true"` Next *string `locationName:"next" min:"1" type:"string"` }

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

BatchSize

Type: *int64

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

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

BatchSize is a required field

LambdaName

Type: *string

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

LambdaName is a required field

Name

Type: *string

The name of the 'lambda' activity.

Name is a required field

Next

Type: *string

The next activity in the pipeline.

Method

GoString

func (s LambdaActivity) GoString() string

GoString returns the string representation

SetBatchSize

func (s *LambdaActivity) SetBatchSize(v int64) *LambdaActivity

SetBatchSize sets the BatchSize field's value.

SetLambdaName

func (s *LambdaActivity) SetLambdaName(v string) *LambdaActivity

SetLambdaName sets the LambdaName field's value.

SetName

func (s *LambdaActivity) SetName(v string) *LambdaActivity

SetName sets the Name field's value.

SetNext

func (s *LambdaActivity) SetNext(v string) *LambdaActivity

SetNext sets the Next field's value.

String

func (s LambdaActivity) String() string

String returns the string representation

Validate

func (s *LambdaActivity) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: