| 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.ListInvalidations
Description
Lists 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
Arguments
| :: Text | |
| -> ListInvalidations |
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:
liMarker- 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, setMarkerto the value of theNextMarkerfrom the current page's response. This value is the same as the ID of the last invalidation batch on that page.liMaxItems- The maximum number of invalidation batches that you want in the response body.liDistributionId- The distribution's ID.
data ListInvalidations Source #
The request to list invalidations.
See: listInvalidations smart constructor.
Instances
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 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 that you want in the response body.
liDistributionId :: Lens' ListInvalidations Text Source #
The distribution's ID.
Destructuring the Response
listInvalidationsResponse Source #
Arguments
| :: Int | |
| -> InvalidationList | |
| -> ListInvalidationsResponse |
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:
lirsResponseStatus- -- | The response status code.lirsInvalidationList- Information about invalidation batches.
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.