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.

CreateDistributionOutput

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

type CreateDistributionOutput struct { Distribution *Distribution `type:"structure"` ETag *string `location:"header" locationName:"ETag" type:"string"` Location *string `location:"header" locationName:"Location" type:"string"` }

The returned result of the corresponding request.

Distribution

The distribution's information.

ETag

Type: *string

The current version of the distribution created.

Location

Type: *string

The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5.

Method

GoString

func (s CreateDistributionOutput) GoString() string

GoString returns the string representation

SetDistribution

func (s *CreateDistributionOutput) SetDistribution(v *Distribution) *CreateDistributionOutput

SetDistribution sets the Distribution field's value.

SetETag

func (s *CreateDistributionOutput) SetETag(v string) *CreateDistributionOutput

SetETag sets the ETag field's value.

SetLocation

func (s *CreateDistributionOutput) SetLocation(v string) *CreateDistributionOutput

SetLocation sets the Location field's value.

String

func (s CreateDistributionOutput) String() string

String returns the string representation

On this page: