Creates a new invalidation request :see: http://goo.gl/8vECq
Get all invalidation requests for a given CloudFront distribution. This returns an instance of an InvalidationListResultSet that automatically handles all of the result paging, etc. from CF - you just need to keep iterating until there are no more results.
Parameters: |
|
---|---|
Return type: | |
Returns: | An InvalidationListResultSet iterator that lists invalidation requests for a given CloudFront distribution. Automatically handles paging the results. |
Adds a new content object to the Distribution. The content for the object will be copied to a new Key in the S3 Bucket and the permissions will be set appropriately for the type of Distribution.
Parameters: |
|
---|---|
Return type: | |
Returns: | The newly created object. |
Creates a signed CloudFront URL that is only valid within the specified parameters.
Parameters: |
|
---|---|
Return type: | str |
Returns: | The signed URL. |
Delete this CloudFront Distribution. The content associated with the Distribution is not deleted from the underlying Origin bucket in S3.
Deactivate the Distribution. A convenience wrapper around the update method.
Activate the Distribution. A convenience wrapper around the update method.
Return a list of all content objects in this distribution.
Return type: | list of boto.cloudfront.object.Object |
---|---|
Returns: | The content objects |
Sets the S3 ACL grants for the given object to the appropriate value based on the type of Distribution. If the Distribution is serving private content the ACL will be set to include the Origin Access Identity associated with the Distribution. If the Distribution is serving public content the content will be set up with “public-read”.
Parameters: |
|
---|
Sets the S3 ACL grants for all objects in the Distribution to the appropriate value based on the type of Distribution.
Parameters: | replace (bool) – If False, the Origin Access Identity will be appended to the existing ACL for the object. If True, the ACL for the object will be completely replaced with one that grants READ permission to the Origin Access Identity. |
---|
Update the configuration of the Distribution. The only values of the DistributionConfig that can be directly updated are:
- CNAMES
- Comment
- Whether the Distribution is enabled or not
Any changes to the trusted_signers or origin properties of this distribution’s current config object will also be included in the update. Therefore, to set the origin access identity for this distribution, set Distribution.config.origin.origin_access_identity before calling this update method.
Parameters: |
|
---|
Parameters: |
|
---|
Update the configuration of the StreamingDistribution. The only values of the StreamingDistributionConfig that can be directly updated are:
- CNAMES
- Comment
- Whether the Distribution is enabled or not
Any changes to the trusted_signers or origin properties of this distribution’s current config object will also be included in the update. Therefore, to set the origin access identity for this distribution, set StreamingDistribution.config.origin.origin_access_identity before calling this update method.
Parameters: |
|
---|
Origin information to associate with the distribution. If your distribution will use a non-Amazon S3 origin, then you use the CustomOrigin element.
Parameters: |
|
---|
Origin information to associate with the distribution. If your distribution will use an Amazon S3 origin, then you use the S3Origin element.
Parameters: |
|
---|
A simple invalidation request. :see: http://docs.amazonwebservices.com/AmazonCloudFront/2010-08-01/APIReference/index.html?InvalidationBatchDatatype.html
Create a new invalidation request: :paths: An array of paths to invalidate
Add another path to this invalidation request
Escape a path, make sure it begins with a slash and contains no invalid characters
Remove a path from this invalidation request
Get this batch as XML
A resultset for listing invalidations on a given CloudFront distribution. Implements the iterator interface and transparently handles paging results from CF so even if you have many thousands of invalidations on the distribution you can iterate over all invalidations in a reasonably efficient manner.
Represents InvalidationSummary complex type in CloudFront API that lists the id and status of a given invalidation request.
Returns a Distribution object representing the parent CloudFront distribution of the invalidation request listed in the InvalidationSummary.
Return type: | boto.cloudfront.distribution.Distribution |
---|---|
Returns: | A Distribution object representing the parent CloudFront distribution of the invalidation request listed in the InvalidationSummary |
Returns an InvalidationBatch object representing the invalidation request referred to in the InvalidationSummary.
Return type: | boto.cloudfront.invalidation.InvalidationBatch |
---|---|
Returns: | An InvalidationBatch object representing the invalidation request referred to by the InvalidationSummary |