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.

ListDistributionsByWebACLIdInput

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

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

The request to list distributions that are associated with a specified AWS WAF web ACL.

Marker

Type: *string

Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)

MaxItems

Type: *int64

The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.

WebACLId

Type: *string

The ID of the AWS WAF web ACL that you want to list the associated distributions. If you specify "null" for the ID, the request returns a list of the distributions that aren't associated with a web ACL.

WebACLId is a required field

Method

GoString

func (s ListDistributionsByWebACLIdInput) GoString() string

GoString returns the string representation

SetMarker

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

SetMarker sets the Marker field's value.

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

SetWebACLId

func (s *ListDistributionsByWebACLIdInput) SetWebACLId(v string) *ListDistributionsByWebACLIdInput

SetWebACLId sets the WebACLId field's value.

String

func (s ListDistributionsByWebACLIdInput) String() string

String returns the string representation

Validate

func (s *ListDistributionsByWebACLIdInput) Validate() error

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

On this page: