AWS SDK for .NET Documentation
InvalidationBatch Class
AmazonAmazon.CloudFront.ModelInvalidationBatch Did this page help you?   Yes   No    Tell us about it...
An invalidation batch.
Declaration Syntax
public class InvalidationBatch
All MembersConstructorsMethodsProperties

Initializes a new instance of the InvalidationBatch class

Gets and sets the property CallerReference. A unique name that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.

Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Serves as a hash function for a particular type.
(Inherited from Object.)
Gets the type of the current instance.
(Inherited from Object.)
Gets and sets the property Paths. The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (, URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.

Returns a string that represents the current object.
(Inherited from Object.)
WithCallerReference(String) Obsolete.
Sets the CallerReference property

WithPaths(Paths) Obsolete.
Sets the Paths property

Inheritance Hierarchy

Assembly: AWSSDK (Module: AWSSDK) Version: (