You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudFront::Types::ListDistributionsByWebACLIdRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb

Overview

Note:

When making an API call, you may pass ListDistributionsByWebACLIdRequest data as a hash:

{
  marker: "string",
  max_items: 1,
  web_acl_id: "string", # required
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#markerString

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.)

Returns:

  • (String)


3902
3903
3904
3905
3906
3907
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 3902

class ListDistributionsByWebACLIdRequest < Struct.new(
  :marker,
  :max_items,
  :web_acl_id)
  include Aws::Structure
end

#max_itemsInteger

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

Returns:

  • (Integer)


3902
3903
3904
3905
3906
3907
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 3902

class ListDistributionsByWebACLIdRequest < Struct.new(
  :marker,
  :max_items,
  :web_acl_id)
  include Aws::Structure
end

#web_acl_idString

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.

Returns:

  • (String)


3902
3903
3904
3905
3906
3907
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 3902

class ListDistributionsByWebACLIdRequest < Struct.new(
  :marker,
  :max_items,
  :web_acl_id)
  include Aws::Structure
end