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.

PublishLayerVersionOutput

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

type PublishLayerVersionOutput struct { CompatibleRuntimes []*string `type:"list"` Content *LayerVersionContentOutput `type:"structure"` CreatedDate *string `type:"string"` Description *string `type:"string"` LayerArn *string `min:"1" type:"string"` LayerVersionArn *string `min:"1" type:"string"` LicenseInfo *string `type:"string"` Version *int64 `type:"long"` }

CompatibleRuntimes

Type: []*string

The layer's compatible runtimes.

Content

Details about a version of an AWS Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).

CreatedDate

Type: *string

The date that the layer version was created, in ISO-8601 format (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD).

Description

Type: *string

The description of the version.

LayerArn

Type: *string

The ARN of the layer.

LayerVersionArn

Type: *string

The ARN of the layer version.

LicenseInfo

Type: *string

The layer's software license.

Version

Type: *int64

The version number.

Method

GoString

func (s PublishLayerVersionOutput) GoString() string

GoString returns the string representation

SetCompatibleRuntimes

func (s *PublishLayerVersionOutput) SetCompatibleRuntimes(v []*string) *PublishLayerVersionOutput

SetCompatibleRuntimes sets the CompatibleRuntimes field's value.

SetContent

func (s *PublishLayerVersionOutput) SetContent(v *LayerVersionContentOutput) *PublishLayerVersionOutput

SetContent sets the Content field's value.

SetCreatedDate

func (s *PublishLayerVersionOutput) SetCreatedDate(v string) *PublishLayerVersionOutput

SetCreatedDate sets the CreatedDate field's value.

SetDescription

func (s *PublishLayerVersionOutput) SetDescription(v string) *PublishLayerVersionOutput

SetDescription sets the Description field's value.

SetLayerArn

func (s *PublishLayerVersionOutput) SetLayerArn(v string) *PublishLayerVersionOutput

SetLayerArn sets the LayerArn field's value.

SetLayerVersionArn

func (s *PublishLayerVersionOutput) SetLayerVersionArn(v string) *PublishLayerVersionOutput

SetLayerVersionArn sets the LayerVersionArn field's value.

SetLicenseInfo

func (s *PublishLayerVersionOutput) SetLicenseInfo(v string) *PublishLayerVersionOutput

SetLicenseInfo sets the LicenseInfo field's value.

SetVersion

func (s *PublishLayerVersionOutput) SetVersion(v int64) *PublishLayerVersionOutput

SetVersion sets the Version field's value.

String

func (s PublishLayerVersionOutput) String() string

String returns the string representation

On this page: