AWS SDK for .NET Documentation
AmazonCloudFront Interface
AmazonAmazon.CloudFront_2012_03_15AmazonCloudFront Did this page help you?   Yes   No    Tell us about it...
Interface for Amazon CloudFront Clients. For more information about Amazon CloudFront, http://aws.amazon.com/cloudfront
Declaration Syntax
C#
[ObsoleteAttribute("This version of the CloudFront SDK has been obsoleted but is kept around due to breaking changes in the main Amazon.CloudFront namespace. No further updates will be made to this version and applications should migrate to the Amazon.CloudFront namespace.")]
public interface AmazonCloudFront : IDisposable
Members
All MembersMethods



IconMemberDescription
CreateDistribution(CreateDistributionRequest)
The CreateDistribution operation creates a new CloudFront Distribution.

CreateOriginAccessIdentity(CreateOriginAccessIdentityRequest)
The CreateOriginAccessIdentity operation creates a new CloudFront Access Identity. You can create up to 100 per AWS account. http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html

CreateStreamingDistribution(CreateStreamingDistributionRequest)
The CreateStreamingDistribution operation creates a new CloudFront StreamingDistribution.

DeleteDistribution(DeleteDistributionRequest)
The DeleteDistribution operation deletes the distribution specified in the request.

DeleteOriginAccessIdentity(DeleteOriginAccessIdentityRequest)
The DeleteOriginAccessIdentity operation deletes the origin access identity specified in the request.

DeleteStreamingDistribution(DeleteStreamingDistributionRequest)
The DeleteStreamingDistribution operation deletes the streaming distribution specified in the request.

Dispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
GetDistributionConfig(GetDistributionConfigRequest)
The GetDistributionConfig gets the Configuration for the CloudFront distribution. For more information on the format of the CloudFront Distribution Configuration object, please refer: http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/DistributionConfigDatatype.html

GetDistributionInfo(GetDistributionInfoRequest)
The GetDistributionInfo operation gets the complete information asociated with a distribution. For more information on what information is returned by CloudFront, please refer: - http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/AboutCreatingDistributions.html
and http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIRe/DistributionDatatype.html

GetInvalidation(GetInvalidationRequest)
The GetInvalidation operation returns back the details for a specific invalidation.
CopyC#
GetInvalidationRequest request = new GetInvalidationRequest()
    .WithDistribtionId(distributionId)
    .WithInvalidationId(invalidationId);
GetInvalidationResponse response = cfcClient.GetInvalidation(request);

GetInvalidationList(GetInvalidationListRequest)
The GetInvalidationList operation will return back a list of all the invalidations done for a distribution for the current and previous billing period. If the list is long, you can paginate it using the MaxItems and Marker parameters
CopyC#
GetInvalidationListRequest request = new GetInvalidationListRequest();
request.DistributionId = distributionId;
GetInvalidationListResponse response = cfcClient.GetInvalidationList(request);

GetOriginAccessIdentityConfig(GetOriginAccessIdentityConfigRequest)
The GetOriginAccessIdentityConfig gets the Configuration for the CloudFront Origin Access Identity. For more information on the format of the CloudFront Origin Access Identity Configuration object, please refer: http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/OAIConfigDatatype.html

GetOriginAccessIdentityInfo(GetOriginAccessIdentityInfoRequest)
The GetOriginAccessIdentityInfo operation gets the complete information asociated with an Origin Access Identity. For more information on what information is returned by CloudFront, please refer: - http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/GetOAI.html
- http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/OAIDatatype.html

GetStreamingDistributionConfig(GetStreamingDistributionConfigRequest)
The GetStreamingDistributionConfig gets the Configuration for the streaming distribution. For more information on the format of the CloudFront StreamingDistribution Configuration object, please refer: http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/StreamingDistributionConfigDatatype.html

GetStreamingDistributionInfo(GetStreamingDistributionInfoRequest)
The GetStreamingDistributionInfo operation gets the complete information asociated with a streaming distribution. For more information on what information is returned by CloudFront, please refer: - http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/AboutCreatingStreamingDistributions.html
- http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/StreamingDistributionDatatype.html

ListDistributions()()()()
List Distributions

ListDistributions(ListDistributionsRequest)
List Distributions

ListOriginAccessIdentities()()()()
The ListOriginAccessIdentities operation returns a list of all of the Origin Access Identities owned by the authenticated sender of the request.

ListOriginAccessIdentities(ListOriginAccessIdentitiesRequest)
The ListOriginAccessIdentities operation returns a list of all of the Origin Access Identities owned by the authenticated sender of the request.

ListStreamingDistributions()()()()
List CloudFront Streaming Distributions

ListStreamingDistributions(ListStreamingDistributionsRequest)
List CloudFront Streaming Distributions

PostInvalidation(PostInvalidationRequest)
The PostInvalidation operation invalidates objects specified in the PostInvalidationRequest which will cause Cloudfront to go back to the origin to get a new copy.
CopyC#
PostInvalidationRequest request = new PostInvalidationRequest();
request.DistributionId = distributionId;
request.InvalidationBatch.CallerReference = callerReference;
request.InvalidationBatch.WithPaths("/image1.jpg", "/image2.jpg");
PostInvalidationResponse response = cfcClient.PostInvalidation(request);

SetDistributionConfig(SetDistributionConfigRequest)
The SetDistributionConfig operation sets the configuration for a CloudFront distribution. The returned response contains only the headers from CloudFront.

SetOriginAccessIdentityConfig(SetOriginAccessIdentityConfigRequest)
The SetOriginAccessIdentityConfig operation sets the configuration for a CloudFront Origin Access Identity. The returned response contains only the headers from CloudFront.

SetStreamingDistributionConfig(SetStreamingDistributionConfigRequest)
The SetStreamingDistributionConfig operation sets the configuration for a CloudFront streaming distribution. The returned response contains only the headers from CloudFront.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)