package Net::Amazon::IAM;
use Moose;
use URI;
use Carp;
use JSON;
use URI::Encode;
use XML::Simple;
use POSIX qw(strftime);
use LWP::UserAgent;
use LWP::Protocol::https;
use Data::Dumper qw(Dumper);
Path => { type => SCALAR, optional => 1 },
});
$args{'PolicyDocument'} = encode_json delete $args{'PolicyDocument'};
my $xml = $self->_sign(Action => 'CreatePolicy', %args);
result = %{$xml->{'GetPolicyVersionResult'}{'PolicyVersion'}};
$result{'Document'} = decode_json(URI::Encode->new()->decode($result{'Document'}));
return Net::Amazon::IAM::PolicyVersion->n