Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/garu/amazon-cloudfront-thin
Thin, lightweight, low-level Amazon CloudFront client
https://github.com/garu/amazon-cloudfront-thin
Last synced: 11 days ago
JSON representation
Thin, lightweight, low-level Amazon CloudFront client
- Host: GitHub
- URL: https://github.com/garu/amazon-cloudfront-thin
- Owner: garu
- Created: 2015-08-11T15:18:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-20T03:09:06.000Z (over 5 years ago)
- Last Synced: 2024-11-05T21:50:33.245Z (about 2 months ago)
- Language: Perl
- Size: 20.5 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
Awesome Lists containing this project
README
### Amazon::CloudFront::Thin ###
This module provides a thin, lightweight, low-level Amazon CloudFront
client for Perl 5.It is designed for only ONE purpose: send a request and get a response,
and it tries to conform with Amazon's own API.#### Basic Usage
```perl
use Amazon::CloudFront::Thin;my $cloudfront = Amazon::CloudFront::Thin->new({
aws_access_key_id => $key_id,
aws_secret_access_key => $access_key,
distribution_id => 'my-cloudfront-distribution',
});my $res = $cloudfront->create_invalidation(
'/path/to/some/object.jpg',
'/path/to/another/object.bin',
);
```For more information, including how to handle unicode filenames and paths,
please refer to
[Amazon::CloudFront::Thin's complete documentation](https://metacpan.org/pod/Amazon::CloudFront::Thin).#### Installation
cpanm Amazon::CloudFront::Thin