Apertur-SDK
view release on metacpan or search on metacpan
my $project_id = 'proj_...';
my $list = $client->destinations->list($project_id);
my $dest = $client->destinations->create($project_id,
type => 's3',
label => 'Primary S3 bucket',
config => { bucket => 'my-bucket', region => 'us-east-1' },
);
my $updated = $client->destinations->update($project_id, $dest->{id},
label => 'Primary S3 bucket (updated)',
);
my $test_result = $client->destinations->test($project_id, $dest->{id});
$client->destinations->delete($project_id, $dest->{id});
```
## API Keys
API keys are scoped to a project and optionally restricted to specific destinations. See [API Keys documentation](https://docs.apertur.ca/api-keys).
( run in 2.810 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )