Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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