| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudFront.ListDistributionsByWebACLId
Description
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.
Constructors
| ListDistributionsByWebACLId' | |
Fields
| |
Instances
newListDistributionsByWebACLId Source #
Arguments
| :: Text | |
| -> ListDistributionsByWebACLId |
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:
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.)
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.
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.
Constructors
| ListDistributionsByWebACLIdResponse' | |
Fields
| |
Instances
newListDistributionsByWebACLIdResponse Source #
Arguments
| :: Int | |
| -> ListDistributionsByWebACLIdResponse |
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.