Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
List the distributions that are associated with a specified WAF web ACL.
Synopsis
- data ListDistributionsByWebACLId = ListDistributionsByWebACLId' {}
- newListDistributionsByWebACLId :: Text -> ListDistributionsByWebACLId
- listDistributionsByWebACLId_marker :: Lens' ListDistributionsByWebACLId (Maybe Text)
- listDistributionsByWebACLId_maxItems :: Lens' ListDistributionsByWebACLId (Maybe Text)
- listDistributionsByWebACLId_webACLId :: Lens' ListDistributionsByWebACLId Text
- data ListDistributionsByWebACLIdResponse = ListDistributionsByWebACLIdResponse' {}
- newListDistributionsByWebACLIdResponse :: Int -> ListDistributionsByWebACLIdResponse
- listDistributionsByWebACLIdResponse_distributionList :: Lens' ListDistributionsByWebACLIdResponse (Maybe DistributionList)
- listDistributionsByWebACLIdResponse_httpStatus :: Lens' ListDistributionsByWebACLIdResponse Int
Creating a Request
data ListDistributionsByWebACLId Source #
The request to list distributions that are associated with a specified WAF web ACL.
See: newListDistributionsByWebACLId
smart constructor.
ListDistributionsByWebACLId' | |
|
Instances
newListDistributionsByWebACLId Source #
Create a value of ListDistributionsByWebACLId
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:ListDistributionsByWebACLId'
, listDistributionsByWebACLId_marker
- 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
.)
$sel:maxItems:ListDistributionsByWebACLId'
, listDistributionsByWebACLId_maxItems
- The maximum number of distributions that you want CloudFront to return
in the response body. The maximum and default values are both 100.
$sel:webACLId:ListDistributionsByWebACLId'
, listDistributionsByWebACLId_webACLId
- 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.
Request Lenses
listDistributionsByWebACLId_marker :: Lens' ListDistributionsByWebACLId (Maybe Text) Source #
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
.)
listDistributionsByWebACLId_maxItems :: Lens' ListDistributionsByWebACLId (Maybe Text) Source #
The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.
listDistributionsByWebACLId_webACLId :: Lens' ListDistributionsByWebACLId Text Source #
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.
Destructuring the Response
data ListDistributionsByWebACLIdResponse Source #
The response to a request to list the distributions that are associated with a specified WAF web ACL.
See: newListDistributionsByWebACLIdResponse
smart constructor.
ListDistributionsByWebACLIdResponse' | |
|
Instances
newListDistributionsByWebACLIdResponse Source #
Create a value of ListDistributionsByWebACLIdResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:distributionList:ListDistributionsByWebACLIdResponse'
, listDistributionsByWebACLIdResponse_distributionList
- The DistributionList
type.
$sel:httpStatus:ListDistributionsByWebACLIdResponse'
, listDistributionsByWebACLIdResponse_httpStatus
- The response's http status code.
Response Lenses
listDistributionsByWebACLIdResponse_distributionList :: Lens' ListDistributionsByWebACLIdResponse (Maybe DistributionList) Source #
The DistributionList
type.
listDistributionsByWebACLIdResponse_httpStatus :: Lens' ListDistributionsByWebACLIdResponse Int Source #
The response's http status code.