| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
The Invalidation complex type describes the information about an invalidation request. For more information
about object invalidation, go to Object Invalidation in the
Amazon CloudFront Developer Guide.
This complex type is a response element in POST Invalidation and in GET Invalidation.
<Invalidation xmlns="http://cloudfront.amazonaws.com/doc/2012-07-01/"> <Id>id that CloudFront assigned to the invalidation</Id> <Status>InProgress | Completed</Status> <CreateTime>date and time of request</CreateTime> <InvalidationBatch> <Paths> <Quantity>number of objects to invalidate</Quantity> <Items> <Path>/path to object to invalidate</Path> </Items> </Paths> <CallerReference>unique identifier for this invalidation batch</CallerReference> </InvalidationBatch> </Invalidation>
The following table describes the child elements in the Invalidation datatype.
| Name | Description | |
|---|---|---|
|
|
The identifier for the invalidation request, for example, Type: String Default: None Parent: Invalidation | |
|
|
The status of the invalidation request. When the invalidation batch is finished,
the status is Type: String Valid Values: Default: None Parent: Invalidation | |
|
|
The date and time the invalidation request was made. Type: String with date in the format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard, for example, 2009-11-19T19:37:58Z Default: None Parent: Invalidation | |
|
|
The current invalidation information for the batch request. Type: InvalidationBatch Complex Type Default: None Parent: Invalidation |
The following example shows an invalidation batch request response. The request invalidated two image objects and a Flash movie object.
HTTP/1.0 201 Created
Content-Type: text/xml
Location: https://cloudfront.amazonaws.com/2012-07-01/distribution/EDFDVBD6EXAMPLE/invalidation/IDFDVBD632BHDS5
<Invalidation xmlns="http://cloudfront.amazonaws.com/doc/2012-07-01/">
<Id>IDFDVBD632BHDS5</Id>
<Status>InProgress</Status>
<CreateTime>2009-11-19T19:37:58Z</CreateTime>
<InvalidationBatch>
<Paths>
<Quantity>3</Quantity>
<Items>
<Path>/image1.jpg</Path>
<Path>/image2.jpg</Path>
<Path>/videos/movie.flv</Path>
</Items>
</Paths>
<CallerReference>20120301090001</CallerReference>
</InvalidationBatch>
</Invalidation>