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.

CreateInvalidationOutput

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

type CreateInvalidationOutput struct { Invalidation *Invalidation `type:"structure"` Location *string `location:"header" locationName:"Location" type:"string"` }

The returned result of the corresponding request.

Invalidation

An invalidation.

Location

Type: *string

The fully qualified URI of the distribution and invalidation batch request, including the Invalidation ID.

Method

GoString

func (s CreateInvalidationOutput) GoString() string

GoString returns the string representation

SetInvalidation

func (s *CreateInvalidationOutput) SetInvalidation(v *Invalidation) *CreateInvalidationOutput

SetInvalidation sets the Invalidation field's value.

SetLocation

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

SetLocation sets the Location field's value.

String

func (s CreateInvalidationOutput) String() string

String returns the string representation

On this page: