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.

CreateDistributionWithTagsOutput

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

type CreateDistributionWithTagsOutput 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 CreateDistributionWithTagsOutput) GoString() string

GoString returns the string representation

SetDistribution

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

SetDistribution sets the Distribution field's value.

SetETag

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

SetETag sets the ETag field's value.

SetLocation

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

SetLocation sets the Location field's value.

String

func (s CreateDistributionWithTagsOutput) String() string

String returns the string representation

On this page: