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.

CreateCloudFrontOriginAccessIdentityOutput

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

type CreateCloudFrontOriginAccessIdentityOutput struct { CloudFrontOriginAccessIdentity *OriginAccessIdentity `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.

CloudFrontOriginAccessIdentity

CloudFront origin access identity.

ETag

Type: *string

The current version of the origin access identity created.

Location

Type: *string

The fully qualified URI of the new origin access identity just created. For example: https://cloudfront.amazonaws.com/2010-11-01/origin-access-identity/cloudfront/E74FTE3AJFJ256A.

Method

GoString

func (s CreateCloudFrontOriginAccessIdentityOutput) GoString() string

GoString returns the string representation

SetCloudFrontOriginAccessIdentity

func (s *CreateCloudFrontOriginAccessIdentityOutput) SetCloudFrontOriginAccessIdentity(v *OriginAccessIdentity) *CreateCloudFrontOriginAccessIdentityOutput

SetCloudFrontOriginAccessIdentity sets the CloudFrontOriginAccessIdentity field's value.

SetETag

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

SetETag sets the ETag field's value.

SetLocation

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

SetLocation sets the Location field's value.

String

func (s CreateCloudFrontOriginAccessIdentityOutput) String() string

String returns the string representation

On this page: