in smime-signature-validator/handler.pl [107:120]
sub put_s3_object {
my ($bucket, $key, $data) = @_;
my $s3 = Paws->service('S3', region => 'us-east-1');
my $res = eval { $s3->PutObject(
Bucket => $bucket,
Key => $key,
Body => encode_json($data)
)};
if ( $@ ) {
warn $@;
return undef;
}
return 1;
}