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.

Invalidation

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

type Invalidation struct { CreateTime *time.Time `type:"timestamp" required:"true"` Id *string `type:"string" required:"true"` InvalidationBatch *InvalidationBatch `type:"structure" required:"true"` Status *string `type:"string" required:"true"` }

An invalidation.

CreateTime

Type: *time.Time

The date and time the invalidation request was first made.

CreateTime is a required field

Id

Type: *string

The identifier for the invalidation request. For example: IDFDVBD632BHDS5.

Id is a required field

InvalidationBatch

An invalidation batch.

Status

Type: *string

The status of the invalidation request. When the invalidation batch is finished, the status is Completed.

Status is a required field

Method

GoString

func (s Invalidation) GoString() string

GoString returns the string representation

SetCreateTime

func (s *Invalidation) SetCreateTime(v time.Time) *Invalidation

SetCreateTime sets the CreateTime field's value.

SetId

func (s *Invalidation) SetId(v string) *Invalidation

SetId sets the Id field's value.

SetInvalidationBatch

func (s *Invalidation) SetInvalidationBatch(v *InvalidationBatch) *Invalidation

SetInvalidationBatch sets the InvalidationBatch field's value.

SetStatus

func (s *Invalidation) SetStatus(v string) *Invalidation

SetStatus sets the Status field's value.

String

func (s Invalidation) String() string

String returns the string representation

On this page: