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.

UpdateEventSourceMappingInput

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

type UpdateEventSourceMappingInput struct { BatchSize *int64 `min:"1" type:"integer"` Enabled *bool `type:"boolean"` FunctionName *string `min:"1" type:"string"` UUID *string `location:"uri" locationName:"UUID" type:"string" required:"true"` }

BatchSize

Type: *int64

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

  • Amazon Kinesis - Default 100. Max 10,000.

  • Amazon DynamoDB Streams - Default 100. Max 1,000.

  • Amazon Simple Queue Service - Default 10. Max 10.

Enabled

Type: *bool

Disables the event source mapping to pause polling and invocation.

FunctionName

Type: *string

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

UUID

Type: *string

The identifier of the event source mapping.

UUID is a required field

Method

GoString

func (s UpdateEventSourceMappingInput) GoString() string

GoString returns the string representation

SetBatchSize

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

SetBatchSize sets the BatchSize field's value.

SetEnabled

func (s *UpdateEventSourceMappingInput) SetEnabled(v bool) *UpdateEventSourceMappingInput

SetEnabled sets the Enabled field's value.

SetFunctionName

func (s *UpdateEventSourceMappingInput) SetFunctionName(v string) *UpdateEventSourceMappingInput

SetFunctionName sets the FunctionName field's value.

SetUUID

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

SetUUID sets the UUID field's value.

String

func (s UpdateEventSourceMappingInput) String() string

String returns the string representation

Validate

func (s *UpdateEventSourceMappingInput) Validate() error

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

On this page: