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 |
Lists invalidation batches.
This operation returns paginated results.
Synopsis
- data ListInvalidations = ListInvalidations' {}
- newListInvalidations :: Text -> ListInvalidations
- listInvalidations_marker :: Lens' ListInvalidations (Maybe Text)
- listInvalidations_maxItems :: Lens' ListInvalidations (Maybe Text)
- listInvalidations_distributionId :: Lens' ListInvalidations Text
- data ListInvalidationsResponse = ListInvalidationsResponse' {}
- newListInvalidationsResponse :: Int -> InvalidationList -> ListInvalidationsResponse
- listInvalidationsResponse_httpStatus :: Lens' ListInvalidationsResponse Int
- listInvalidationsResponse_invalidationList :: Lens' ListInvalidationsResponse InvalidationList
Creating a Request
data ListInvalidations Source #
The request to list invalidations.
See: newListInvalidations
smart constructor.
ListInvalidations' | |
|
Instances
Create a value of ListInvalidations
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:ListInvalidations'
, listInvalidations_marker
- Use this parameter when paginating results to indicate where to begin in
your list of invalidation batches. Because the results are returned in
decreasing order from most recent to oldest, the most recent results are
on the first page, the second page will contain earlier results, and so
on. To get the next page of results, set Marker
to the value of the
NextMarker
from the current page's response. This value is the same
as the ID of the last invalidation batch on that page.
$sel:maxItems:ListInvalidations'
, listInvalidations_maxItems
- The maximum number of invalidation batches that you want in the response
body.
$sel:distributionId:ListInvalidations'
, listInvalidations_distributionId
- The distribution's ID.
Request Lenses
listInvalidations_marker :: Lens' ListInvalidations (Maybe Text) Source #
Use this parameter when paginating results to indicate where to begin in
your list of invalidation batches. Because the results are returned in
decreasing order from most recent to oldest, the most recent results are
on the first page, the second page will contain earlier results, and so
on. To get the next page of results, set Marker
to the value of the
NextMarker
from the current page's response. This value is the same
as the ID of the last invalidation batch on that page.
listInvalidations_maxItems :: Lens' ListInvalidations (Maybe Text) Source #
The maximum number of invalidation batches that you want in the response body.
listInvalidations_distributionId :: Lens' ListInvalidations Text Source #
The distribution's ID.
Destructuring the Response
data ListInvalidationsResponse Source #
The returned result of the corresponding request.
See: newListInvalidationsResponse
smart constructor.
ListInvalidationsResponse' | |
|
Instances
newListInvalidationsResponse Source #
Create a value of ListInvalidationsResponse
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:ListInvalidationsResponse'
, listInvalidationsResponse_httpStatus
- The response's http status code.
$sel:invalidationList:ListInvalidationsResponse'
, listInvalidationsResponse_invalidationList
- Information about invalidation batches.
Response Lenses
listInvalidationsResponse_httpStatus :: Lens' ListInvalidationsResponse Int Source #
The response's http status code.
listInvalidationsResponse_invalidationList :: Lens' ListInvalidationsResponse InvalidationList Source #
Information about invalidation batches.