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.

ListLayersInput

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

type ListLayersInput struct { CompatibleRuntime *string `location:"querystring" locationName:"CompatibleRuntime" type:"string" enum:"Runtime"` 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.

Marker

Type: *string

A pagination token returned by a previous call.

MaxItems

Type: *int64

The maximum number of layers to return.

Method

GoString

func (s ListLayersInput) GoString() string

GoString returns the string representation

SetCompatibleRuntime

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

SetCompatibleRuntime sets the CompatibleRuntime field's value.

SetMarker

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

SetMarker sets the Marker field's value.

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

String

func (s ListLayersInput) String() string

String returns the string representation

Validate

func (s *ListLayersInput) Validate() error

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

On this page: