| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
To list your invalidation batches, you do a GET on the 2013-05-12/distribution/
resource. The response includes an distribution ID/invalidationInvalidationList element with zero or more InvalidationSummary
child elements. By default, your entire list of invalidations is returned in one single page ordered from newest to oldest.
If the list is long, you can paginate it using the MaxItems and Marker parameters.
Invalidation history is available for the current and previous billing cycles.
GET /2013-05-12/distribution/distribution ID/invalidation?Marker=&MaxItems=valueHTTP/1.1 Host: cloudfront.amazonaws.com Authorization:valueAWS authentication stringOther required headers
The request must include the headers required in all CloudFront requests. For more information, see Common REST Headers.
| Name | Description | Required |
|---|---|---|
|
|
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 Type: String Default: CloudFront lists invalidation batches from most recent to oldest | No |
|
|
The maximum number of invalidation batches you want in the response body. Type: String with a maximum value of 100 Default: 100 | No |
HTTP/1.0 200 OK Content-Type: text/xml <InvalidationList> <Marker>value specified in request</Marker> <NextMarker>value for Marker parameter in next request</NextMarker> <MaxItems>value specified in request</MaxItems> <IsTruncated>true | false</IsTruncated> <Quantity>number of invalidation batches created by current AWS account</Quantity> <Items> <InvalidationSummary> <Id>Invalidation ID</Id> <Status>InProgress | Completed</Status> </InvalidationSummary> </Items> </InvalidationList>
| Name | Description |
|---|---|
|
|
Information about invalidation batches. For more information, see InvalidationList Complex Type Type: |
The following example request lists the first two of your ten invalidation batches.
GET /2013-05-12/distribution/distribution ID/invalidation?MaxItems=2HTTP/1.1 Host: cloudfront.amazonaws.com Authorization:AWS authentication stringOther required headers
HTTP/1.0 200 OK Content-Type: text/xml <InvalidationList> <Marker>EGTXBD79EXAMPLE</Marker> <NextMarker>Invalidation ID</NextMarker> <MaxItems>2</MaxItems> <IsTruncated>true</IsTruncated> <Quantity>10</Quantity> <Items> <InvalidationSummary> <Id>Second Invalidation ID</Id> <Status>Completed</Status> </InvalidationSummary> <InvalidationSummary> <Id>First Invalidation ID</Id> <Status>Completed</Status> </InvalidationSummary> </Items> </InvalidationList>