// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListDistributionsByWebACLId`](crate::operation::list_distributions_by_web_acl_id::builders::ListDistributionsByWebACLIdFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`marker(impl Into<String>)`](crate::operation::list_distributions_by_web_acl_id::builders::ListDistributionsByWebACLIdFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::list_distributions_by_web_acl_id::builders::ListDistributionsByWebACLIdFluentBuilder::set_marker):<br>required: **false**<br><p>Use <code>Marker</code> and <code>MaxItems</code> to control pagination of results. If you have more than <code>MaxItems</code> distributions that satisfy the request, the response includes a <code>NextMarker</code> element. To get the next page of results, submit another request. For the value of <code>Marker</code>, specify the value of <code>NextMarker</code> from the last response. (For the first request, omit <code>Marker</code>.)</p><br>
/// - [`max_items(i32)`](crate::operation::list_distributions_by_web_acl_id::builders::ListDistributionsByWebACLIdFluentBuilder::max_items) / [`set_max_items(Option<i32>)`](crate::operation::list_distributions_by_web_acl_id::builders::ListDistributionsByWebACLIdFluentBuilder::set_max_items):<br>required: **false**<br><p>The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.</p><br>
/// - [`web_acl_id(impl Into<String>)`](crate::operation::list_distributions_by_web_acl_id::builders::ListDistributionsByWebACLIdFluentBuilder::web_acl_id) / [`set_web_acl_id(Option<String>)`](crate::operation::list_distributions_by_web_acl_id::builders::ListDistributionsByWebACLIdFluentBuilder::set_web_acl_id):<br>required: **true**<br><p>The ID of the 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.</p> <p>For WAFV2, this is the ARN of the web ACL, such as <code>arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111</code>.</p> <p>For WAF Classic, this is the ID of the web ACL, such as <code>a1b2c3d4-5678-90ab-cdef-EXAMPLE11111</code>.</p><br>
/// - On success, responds with [`ListDistributionsByWebAclIdOutput`](crate::operation::list_distributions_by_web_acl_id::ListDistributionsByWebAclIdOutput) with field(s):
/// - [`distribution_list(Option<DistributionList>)`](crate::operation::list_distributions_by_web_acl_id::ListDistributionsByWebAclIdOutput::distribution_list): <p>The <code>DistributionList</code> type.</p>
/// - On failure, responds with [`SdkError<ListDistributionsByWebACLIdError>`](crate::operation::list_distributions_by_web_acl_id::ListDistributionsByWebACLIdError)
pub fn list_distributions_by_web_acl_id(
&self,
) -> crate::operation::list_distributions_by_web_acl_id::builders::ListDistributionsByWebACLIdFluentBuilder {
crate::operation::list_distributions_by_web_acl_id::builders::ListDistributionsByWebACLIdFluentBuilder::new(self.handle.clone())
}
}