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.

ListInvalidationsInput

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

type ListInvalidationsInput struct { DistributionId *string `location:"uri" locationName:"DistributionId" type:"string" required:"true"` Marker *string `location:"querystring" locationName:"Marker" type:"string"` MaxItems *int64 `location:"querystring" locationName:"MaxItems" type:"integer"` }

The request to list invalidations.

DistributionId

Type: *string

The distribution's ID.

DistributionId is a required field

Marker

Type: *string

Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set Marker to the value of the NextMarker from the current page's response. This value is the same as the ID of the last invalidation batch on that page.

MaxItems

Type: *int64

The maximum number of invalidation batches that you want in the response body.

Method

GoString

func (s ListInvalidationsInput) GoString() string

GoString returns the string representation

SetDistributionId

func (s *ListInvalidationsInput) SetDistributionId(v string) *ListInvalidationsInput

SetDistributionId sets the DistributionId field's value.

SetMarker

func (s *ListInvalidationsInput) SetMarker(v string) *ListInvalidationsInput

SetMarker sets the Marker field's value.

SetMaxItems

func (s *ListInvalidationsInput) SetMaxItems(v int64) *ListInvalidationsInput

SetMaxItems sets the MaxItems field's value.

String

func (s ListInvalidationsInput) String() string

String returns the string representation

Validate

func (s *ListInvalidationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: