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.

OriginAccessIdentityList

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

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

Lists the origin access identities for CloudFront.Send a GET request to the /CloudFront API version/origin-access-identity/cloudfront resource. The response includes a CloudFrontOriginAccessIdentityList element with zero or more CloudFrontOriginAccessIdentitySummary child elements. By default, your entire list of origin access identities is returned in one single page. If the list is long, you can paginate it using the MaxItems and Marker parameters.

IsTruncated

Type: *bool

A flag that indicates whether more origin access identities 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 items in the list.

IsTruncated is a required field

Items

Summary of the information about a CloudFront origin access identity.

Marker

Type: *string

Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last identity on that page).

Marker is a required field

MaxItems

Type: *int64

The maximum number of origin access identities you want in the response body.

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 origin access identities where they left off.

Quantity

Type: *int64

The number of CloudFront origin access identities that were created by the current AWS account.

Quantity is a required field

Method

GoString

func (s OriginAccessIdentityList) GoString() string

GoString returns the string representation

SetIsTruncated

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

SetIsTruncated sets the IsTruncated field's value.

SetItems

func (s *OriginAccessIdentityList) SetItems(v []*OriginAccessIdentitySummary) *OriginAccessIdentityList

SetItems sets the Items field's value.

SetMarker

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

SetMarker sets the Marker field's value.

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

SetNextMarker

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

SetNextMarker sets the NextMarker field's value.

SetQuantity

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

SetQuantity sets the Quantity field's value.

String

func (s OriginAccessIdentityList) String() string

String returns the string representation

On this page: