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.

ListVersionsByFunctionInput

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

type ListVersionsByFunctionInput struct { FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` Marker *string `location:"querystring" locationName:"Marker" type:"string"` MaxItems *int64 `location:"querystring" locationName:"MaxItems" min:"1" type:"integer"` }

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.

  • Partial ARN - 123456789012:function:MyFunction.

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

FunctionName is a required field

Marker

Type: *string

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

MaxItems

Type: *int64

Limit the number of versions that are returned.

Method

GoString

func (s ListVersionsByFunctionInput) GoString() string

GoString returns the string representation

SetFunctionName

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

SetFunctionName sets the FunctionName field's value.

SetMarker

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

SetMarker sets the Marker field's value.

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

String

func (s ListVersionsByFunctionInput) String() string

String returns the string representation

Validate

func (s *ListVersionsByFunctionInput) Validate() error

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

On this page: