| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.CloudFront.ListDistributions
Description
List distributions.
This operation returns paginated results.
Synopsis
- 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:
ldMarker- 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 theMarkerto the value of theNextMarkerfrom the current page's response (which is also the ID of the last distribution on that page).ldMaxItems- The maximum number of distributions you want in the response body.
data ListDistributions Source #
The request to list your distributions.
See: listDistributions smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> DistributionList | |
| -> ListDistributionsResponse |
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:
ldrsResponseStatus- -- | The response status code.ldrsDistributionList- TheDistributionListtype.
data ListDistributionsResponse Source #
The returned result of the corresponding request.
See: listDistributionsResponse smart constructor.
Instances
Response Lenses
ldrsResponseStatus :: Lens' ListDistributionsResponse Int Source #
- - | The response status code.
ldrsDistributionList :: Lens' ListDistributionsResponse DistributionList Source #
The DistributionList type.