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.
- 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 this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last distribution on that page).
ldMaxItems :: Lens' ListDistributions (Maybe Text) Source
The maximum number of distributions you want in the response body.
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.