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 CloudFront distributions.
This operation returns paginated results.
Synopsis
- data ListDistributions = ListDistributions' {}
- newListDistributions :: ListDistributions
- listDistributions_marker :: Lens' ListDistributions (Maybe Text)
- listDistributions_maxItems :: Lens' ListDistributions (Maybe Text)
- data ListDistributionsResponse = ListDistributionsResponse' {}
- newListDistributionsResponse :: Int -> DistributionList -> ListDistributionsResponse
- listDistributionsResponse_httpStatus :: Lens' ListDistributionsResponse Int
- listDistributionsResponse_distributionList :: Lens' ListDistributionsResponse DistributionList
Creating a Request
data ListDistributions Source #
The request to list your distributions.
See: newListDistributions
smart constructor.
ListDistributions' | |
|
Instances
newListDistributions :: ListDistributions Source #
Create a value of ListDistributions
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:ListDistributions'
, listDistributions_marker
- 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).
$sel:maxItems:ListDistributions'
, listDistributions_maxItems
- The maximum number of distributions you want in the response body.
Request Lenses
listDistributions_marker :: 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).
listDistributions_maxItems :: Lens' ListDistributions (Maybe Text) Source #
The maximum number of distributions you want in the response body.
Destructuring the Response
data ListDistributionsResponse Source #
The returned result of the corresponding request.
See: newListDistributionsResponse
smart constructor.
ListDistributionsResponse' | |
|
Instances
newListDistributionsResponse Source #
Create a value of ListDistributionsResponse
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:httpStatus:ListDistributionsResponse'
, listDistributionsResponse_httpStatus
- The response's http status code.
$sel:distributionList:ListDistributionsResponse'
, listDistributionsResponse_distributionList
- The DistributionList
type.
Response Lenses
listDistributionsResponse_httpStatus :: Lens' ListDistributionsResponse Int Source #
The response's http status code.
listDistributionsResponse_distributionList :: Lens' ListDistributionsResponse DistributionList Source #
The DistributionList
type.