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.

ListLayerVersionsInput

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

type ListLayerVersionsInput struct { CompatibleRuntime *string `location:"querystring" locationName:"CompatibleRuntime" type:"string" enum:"Runtime"` LayerName *string `location:"uri" locationName:"LayerName" min:"1" type:"string" required:"true"` Marker *string `location:"querystring" locationName:"Marker" type:"string"` MaxItems *int64 `location:"querystring" locationName:"MaxItems" min:"1" type:"integer"` }

CompatibleRuntime

Type: *string

A runtime identifier. For example, go1.x.

LayerName

Type: *string

The name or Amazon Resource Name (ARN) of the layer.

LayerName is a required field

Marker

Type: *string

A pagination token returned by a previous call.

MaxItems

Type: *int64

The maximum number of versions to return.

Method

GoString

func (s ListLayerVersionsInput) GoString() string

GoString returns the string representation

SetCompatibleRuntime

func (s *ListLayerVersionsInput) SetCompatibleRuntime(v string) *ListLayerVersionsInput

SetCompatibleRuntime sets the CompatibleRuntime field's value.

SetLayerName

func (s *ListLayerVersionsInput) SetLayerName(v string) *ListLayerVersionsInput

SetLayerName sets the LayerName field's value.

SetMarker

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

SetMarker sets the Marker field's value.

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

String

func (s ListLayerVersionsInput) String() string

String returns the string representation

Validate

func (s *ListLayerVersionsInput) Validate() error

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

On this page: