Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
List distributions.
See: AWS API Reference for ListDistributions.
This operation returns paginated results.
- listDistributions :: ListDistributions
- data ListDistributions
- ldMarker :: Lens' ListDistributions (Maybe Text)
- ldMaxItems :: Lens' ListDistributions (Maybe Text)
- listDistributionsResponse :: Int -> DistributionList -> ListDistributionsResponse
- data ListDistributionsResponse
- ldrsResponseStatus :: Lens' ListDistributionsResponse Int
- ldrsDistributionList :: Lens' ListDistributionsResponse DistributionList
Creating a Request
listDistributions :: ListDistributions Source #
Creates a value of ListDistributions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListDistributions Source #
The request to list your distributions.
See: listDistributions
smart constructor.
Request Lenses
ldMarker :: Lens' ListDistributions (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.)
ldMaxItems :: Lens' ListDistributions (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.
Destructuring the Response
listDistributionsResponse Source #
Creates a value of ListDistributionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListDistributionsResponse Source #
The returned result of the corresponding request.
See: listDistributionsResponse
smart constructor.
Response Lenses
ldrsResponseStatus :: Lens' ListDistributionsResponse Int Source #
The response status code.
ldrsDistributionList :: Lens' ListDistributionsResponse DistributionList Source #
The DistributionList type.