Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: PERL to AWS (updated)

by haukex (Archbishop)
on May 07, 2020 at 07:55 UTC ( [id://11116531]=note: print w/replies, xml ) Need Help??


in reply to PERL to AWS

TBH, I've fallen back to using the aws command-line tool. I use my module IPC::Run3::Shell:

use warnings; use strict; use IPC::Run3::Shell [ aws => {fail_on_stderr=>1}, "/path/to/aws" ]; use Cpanel::JSON::XS qw/decode_json/; use Data::Dumper; my $PROFILE = 'MyProfile'; # aws configure --profile=MyProfile my $buckets = decode_json( aws(qw/ s3api --output json --profile /, $PROFILE, 'list-buckets') ); print Dumper($buckets);

Update: See also.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11116531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-20 02:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found