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.

DistributionList

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

type DistributionList struct { IsTruncated *bool `type:"boolean" required:"true"` Items []*DistributionSummary `locationNameList:"DistributionSummary" type:"list"` Marker *string `type:"string" required:"true"` MaxItems *int64 `type:"integer" required:"true"` NextMarker *string `type:"string"` Quantity *int64 `type:"integer" required:"true"` }

A distribution list.

IsTruncated

Type: *bool

A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

IsTruncated is a required field

Items

A summary of the information about a CloudFront distribution.

Marker

Type: *string

The value you provided for the Marker request parameter.

Marker is a required field

MaxItems

Type: *int64

The value you provided for the MaxItems request parameter.

MaxItems is a required field

NextMarker

Type: *string

If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.

Quantity

Type: *int64

The number of distributions that were created by the current AWS account.

Quantity is a required field

Method

GoString

func (s DistributionList) GoString() string

GoString returns the string representation

SetIsTruncated

func (s *DistributionList) SetIsTruncated(v bool) *DistributionList

SetIsTruncated sets the IsTruncated field's value.

SetItems

func (s *DistributionList) SetItems(v []*DistributionSummary) *DistributionList

SetItems sets the Items field's value.

SetMarker

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

SetMarker sets the Marker field's value.

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

SetNextMarker

func (s *DistributionList) SetNextMarker(v string) *DistributionList

SetNextMarker sets the NextMarker field's value.

SetQuantity

func (s *DistributionList) SetQuantity(v int64) *DistributionList

SetQuantity sets the Quantity field's value.

String

func (s DistributionList) String() string

String returns the string representation

On this page: