Copyright | (c) 2013-2016 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 invalidation batches.
This operation returns paginated results.
- listInvalidations :: Text -> ListInvalidations
- data ListInvalidations
- liMarker :: Lens' ListInvalidations (Maybe Text)
- liMaxItems :: Lens' ListInvalidations (Maybe Text)
- liDistributionId :: Lens' ListInvalidations Text
- listInvalidationsResponse :: Int -> InvalidationList -> ListInvalidationsResponse
- data ListInvalidationsResponse
- lirsResponseStatus :: Lens' ListInvalidationsResponse Int
- lirsInvalidationList :: Lens' ListInvalidationsResponse InvalidationList
Creating a Request
Creates a value of ListInvalidations
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListInvalidations Source #
The request to list invalidations.
See: listInvalidations
smart constructor.
Request Lenses
liMarker :: 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 the 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.
liMaxItems :: Lens' ListInvalidations (Maybe Text) Source #
The maximum number of invalidation batches you want in the response body.
liDistributionId :: Lens' ListInvalidations Text Source #
The distribution's id.
Destructuring the Response
listInvalidationsResponse Source #
Creates a value of ListInvalidationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListInvalidationsResponse Source #
The returned result of the corresponding request.
See: listInvalidationsResponse
smart constructor.
Response Lenses
lirsResponseStatus :: Lens' ListInvalidationsResponse Int Source #
The response status code.
lirsInvalidationList :: Lens' ListInvalidationsResponse InvalidationList Source #
Information about invalidation batches.