Menu
Amazon CloudFront
API Reference (API Version 2016-09-07)

InvalidationList Complex Type

Description

The InvalidationList complex type describes the list of invalidation objects. For more information about invalidation, go to Invalidating Objects (Web Distributions Only) in the Amazon CloudFront Developer Guide.

This complex type is a response element in GET Invalidation List.

Syntax

<InvalidationList>
   <Marker/>
   <NextMarker>Invalidation ID</NextMarker>
   <MaxItems>2</MaxItems>
   <IsTruncated>true</IsTruncated>
   <Quantity>
      <Items>
         <InvalidationSummary>
            <Id>First Invalidation ID</Id>
            <Status>InProgress | Completed</Status>
         </InvalidationSummary>
         <InvalidationSummary>
            <Id>Second Invalidation ID</Id>
            <Status>InProgress | Completed</Status>
         </InvalidationSummary>
      </Items>
</InvalidationList>

Elements

The following table describes the child elements in the InvalidationList datatype. They're presented in the order they appear in the invalidation.

NameDescription

Marker

The value you provided for the Marker request parameter.

Type: String

Parent: InvalidationList

NextMarker

If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your invalidation batches where they left off.

Type: String

Parent: InvalidationList

MaxItems

The value you provided for the MaxItems request parameter.

Type: String

Parent: InvalidationList

IsTruncated

A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more invalidation batches in the list.

Type: String

Valid Values: true | false

Parent: InvalidationList

Quantity

The number of invalidation batches that were created by the current AWS account.

Type: String

Parent: DistributionList

Parent: InvalidationList

Items

A complex type that contains one InvalidationSummary element for each invalidation batch that was created by the current AWS account.

Type: Complex

Child: InvalidationSummary

Parent: InvalidationList

InvalidationSummary

A complex type that lists the Invalidation ID and the status of that request.

Type: Complex type

Children: ID, Status

Parent: Items

Examples

Example of an invalidation list request response

The following example invalidation batch list request response shows the most recent two invalidation batch requests in the available history.

HTTP/1.0 200 OK
Content-Type: text/xml

<InvalidationList>
   <Marker/>
   <NextMarker>Invalidation ID</NextMarker>
   <MaxItems>2</MaxItems>
   <IsTruncated>true</IsTruncated>
   <Quantity>76</Quantity>
   <Items>
      <InvalidationSummary>
         <Id>First Invalidation ID</Id>
         <Status>Completed</Status>
      </InvalidationSummary>
      <InvalidationSummary>
         <Id>Second Invalidation ID</Id>
         <Status>Completed</Status>
      </InvalidationSummary>
   </Items>
</InvalidationList>