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.

EventSourceMappingConfiguration

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

type EventSourceMappingConfiguration struct { BatchSize *int64 `min:"1" type:"integer"` EventSourceArn *string `type:"string"` FunctionArn *string `type:"string"` LastModified *time.Time `type:"timestamp"` LastProcessingResult *string `type:"string"` State *string `type:"string"` StateTransitionReason *string `type:"string"` UUID *string `type:"string"` }

A mapping between an AWS resource and an AWS Lambda function. See CreateEventSourceMapping for details.

BatchSize

Type: *int64

The maximum number of items to retrieve in a single batch.

EventSourceArn

Type: *string

The Amazon Resource Name (ARN) of the event source.

FunctionArn

Type: *string

The ARN of the Lambda function.

LastModified

Type: *time.Time

The date that the event source mapping was last updated.

LastProcessingResult

Type: *string

The result of the last AWS Lambda invocation of your Lambda function.

State

Type: *string

The state of the event source mapping. It can be one of the following: Creating, Enabling, Enabled, Disabling, Disabled, Updating, or Deleting.

StateTransitionReason

Type: *string

The cause of the last state change, either User initiated or Lambda initiated.

UUID

Type: *string

The identifier of the event source mapping.

Method

GoString

func (s EventSourceMappingConfiguration) GoString() string

GoString returns the string representation

SetBatchSize

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

SetBatchSize sets the BatchSize field's value.

SetEventSourceArn

func (s *EventSourceMappingConfiguration) SetEventSourceArn(v string) *EventSourceMappingConfiguration

SetEventSourceArn sets the EventSourceArn field's value.

SetFunctionArn

func (s *EventSourceMappingConfiguration) SetFunctionArn(v string) *EventSourceMappingConfiguration

SetFunctionArn sets the FunctionArn field's value.

SetLastModified

func (s *EventSourceMappingConfiguration) SetLastModified(v time.Time) *EventSourceMappingConfiguration

SetLastModified sets the LastModified field's value.

SetLastProcessingResult

func (s *EventSourceMappingConfiguration) SetLastProcessingResult(v string) *EventSourceMappingConfiguration

SetLastProcessingResult sets the LastProcessingResult field's value.

SetState

func (s *EventSourceMappingConfiguration) SetState(v string) *EventSourceMappingConfiguration

SetState sets the State field's value.

SetStateTransitionReason

func (s *EventSourceMappingConfiguration) SetStateTransitionReason(v string) *EventSourceMappingConfiguration

SetStateTransitionReason sets the StateTransitionReason field's value.

SetUUID

func (s *EventSourceMappingConfiguration) SetUUID(v string) *EventSourceMappingConfiguration

SetUUID sets the UUID field's value.

String

func (s EventSourceMappingConfiguration) String() string

String returns the string representation

On this page: