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.

ListEventSourceMappingsInput

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

type ListEventSourceMappingsInput struct { EventSourceArn *string `location:"querystring" locationName:"EventSourceArn" type:"string"` FunctionName *string `location:"querystring" locationName:"FunctionName" min:"1" type:"string"` Marker *string `location:"querystring" locationName:"Marker" type:"string"` MaxItems *int64 `location:"querystring" locationName:"MaxItems" min:"1" type:"integer"` }

EventSourceArn

Type: *string

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

  • Amazon Kinesis - The ARN of the data stream or a stream consumer.

  • Amazon DynamoDB Streams - The ARN of the stream.

  • Amazon Simple Queue Service - The ARN of the queue.

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.

Marker

Type: *string

A pagination token returned by a previous call.

MaxItems

Type: *int64

The maximum number of event source mappings to return.

Method

GoString

func (s ListEventSourceMappingsInput) GoString() string

GoString returns the string representation

SetEventSourceArn

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

SetEventSourceArn sets the EventSourceArn field's value.

SetFunctionName

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

SetFunctionName sets the FunctionName field's value.

SetMarker

func (s *ListEventSourceMappingsInput) SetMarker(v string) *ListEventSourceMappingsInput

SetMarker sets the Marker field's value.

SetMaxItems

func (s *ListEventSourceMappingsInput) SetMaxItems(v int64) *ListEventSourceMappingsInput

SetMaxItems sets the MaxItems field's value.

String

func (s ListEventSourceMappingsInput) String() string

String returns the string representation

Validate

func (s *ListEventSourceMappingsInput) Validate() error

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

On this page: