AWS SDK for .NET Documentation
PostInvalidation Method (request)
AmazonAmazon.CloudFront_2012_03_15AmazonCloudFrontClientPostInvalidation(PostInvalidationRequest) Did this page help you?   Yes   No    Tell us about it...
The PostInvalidation operation invalidates objects specified in the PostInvalidationRequest which will cause Cloudfront to go back to the origin to get a new copy.
PostInvalidationRequest request = new PostInvalidationRequest();
request.DistributionId = distributionId;
request.InvalidationBatch.CallerReference = callerReference;
request.InvalidationBatch.WithPaths("/image1.jpg", "/image2.jpg");
PostInvalidationResponse response = cfcClient.PostInvalidation(request);
Declaration Syntax
public PostInvalidationResponse PostInvalidation(
	PostInvalidationRequest request
request (PostInvalidationRequest)
The PostInvalidationRequest that defines the parameters of the operation.
Return Value
Returns a PostInvalidationResponse from CloudFront.

Assembly: AWSSDK (Module: AWSSDK) Version: (