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.

PutFunctionConcurrencyInput

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

type PutFunctionConcurrencyInput struct { FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` ReservedConcurrentExecutions *int64 `type:"integer" required:"true"` }

FunctionName

Type: *string

The name of the Lambda function.

Name formats

  • Function name - my-function.

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

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

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

ReservedConcurrentExecutions

Type: *int64

The number of simultaneous executions to reserve for the function.

ReservedConcurrentExecutions is a required field

Method

GoString

func (s PutFunctionConcurrencyInput) GoString() string

GoString returns the string representation

SetFunctionName

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

SetFunctionName sets the FunctionName field's value.

SetReservedConcurrentExecutions

func (s *PutFunctionConcurrencyInput) SetReservedConcurrentExecutions(v int64) *PutFunctionConcurrencyInput

SetReservedConcurrentExecutions sets the ReservedConcurrentExecutions field's value.

String

func (s PutFunctionConcurrencyInput) String() string

String returns the string representation

Validate

func (s *PutFunctionConcurrencyInput) Validate() error

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

On this page: