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.

GetFunctionInput

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

type GetFunctionInput struct { FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` }

FunctionName

Type: *string

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).

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

  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. 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

Qualifier

Type: *string

Specify a version or alias to get details about a published version of the function.

Method

GoString

func (s GetFunctionInput) GoString() string

GoString returns the string representation

SetFunctionName

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

SetFunctionName sets the FunctionName field's value.

SetQualifier

func (s *GetFunctionInput) SetQualifier(v string) *GetFunctionInput

SetQualifier sets the Qualifier field's value.

String

func (s GetFunctionInput) String() string

String returns the string representation

Validate

func (s *GetFunctionInput) Validate() error

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

On this page: