blib/lib/AWS/CLIWrapper.pm

filter: Statementstmt 20.0% 43 / 214 Branchbran 4.8% 4 / 82 Conditioncond 2.2% 1 / 44 MC/DCmcdc 0.0% 0 / 28 Subroutinesub 11.3% 9 / 79 Podpod 95.7% 67 / 70 totaltotal 23.9% 124 / 517 CC 62 SCAR 65.7
CC
62
Cov
14%
_execute
2162.0
param2opt
72.0
_compat_kv_uc
30.0
CRAP 716.7
↑ Summary
1 package AWS::CLIWrapper;
2  
3 3 ▶use 5.008001;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 our $VERSION = '1.10';
8  
9 3 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 3 ▶use JSON 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 3 ▶use IPC::Cmd;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 3 ▶use String::ShellQuote;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 3 our $Error = { Message => '', Code => '' };
15  
16 3 our $true = do { bless \(my $dummy = 1), "AWS::CLIWrapper::Boolean" };
17 3 our $false = do { bless \(my $dummy = 0), "AWS::CLIWrapper::Boolean" };
18  
19 3 my $AWSCLI_VERSION = undef;
20  
21 sub new {
22 1 ▶ my($class, %param) = @_;
Subroutine new: called CC=3 SCAR=11.3
Pod documented
23  
24 1 my @opt = ();
25 1 for my $k (qw(region profile endpoint_url)) {
26 3 ▶ if (my $v = delete $param{$k}) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $v = delete $param{$k}) 0 3 3
27 0 push @opt, param2opt($k, $v);
28 }
29 }
30  
31 1 my $self = bless {
32 opt => \@opt,
33 json => JSON->new,
34 }, $class;
35  
36 1 return $self;
37 }
38  
39 sub awscli_version {
40 2 ▶ unless (defined $AWSCLI_VERSION) {
Subroutine awscli_version: called CC=4 SCAR=14.2
Pod undocumented
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $AWSCLI_VERSION) 1 1 2
41 1 $AWSCLI_VERSION = do {
42 1 ▶ my $vs = qx(aws --version 2>&1) || '';
Condition50%1/2
`aws --version 2>&1` || ''
l!l
01
MC/DC0%0/1
`aws --version 2>&1` || ''
`aws --version 2>&1`
Truth table50%1/2
A
A= `aws --version 2>&1`
Aresult
11
00
43 1 my $v;
44 1 ▶ if ($vs =~ m{/([0-9.]+)\s}) {
Branch: 1 branch
BranchTrueFalseTotal
if ($vs =~ m[/([0-9.]+)\s]) { } 0 1 1
45 0 $v = $1;
46 } else {
47 1 $v = 0;
48 }
49 1 version->parse($v);
50 };
51 }
52 2 return $AWSCLI_VERSION;
53 }
54  
55 sub param2opt {
56 0 ▶ my($k, $v) = @_;
Subroutine param2opt: not called CC=8 SCAR=42.8
Pod undocumented
57  
58 0 my @v;
59  
60 0 $k =~ s/_/-/g;
61 0 $k = '--'.$k;
62  
63 0 my $type = ref $v;
64 0 ▶ if (! $type) {
Branch: 4 branches
BranchTrueFalseTotal
if (not $type) { } 0 0 0
elsif ($type eq 'ARRAY') { } 0 0 0
elsif ($type eq 'HASH') { } 0 0 0
elsif ($type eq 'AWS::CLIWrapper::Boolean') { } 0 0 0
65 0 ▶ if ($k eq '--output-file') {
Branch: 1 branch
BranchTrueFalseTotal
if ($k eq '--output-file') { } 0 0 0
66 # aws s3api get-object takes a single arg for output file path
67 0 return $v;
68 } else {
69 0 push @v, $v;
70 }
71 } elsif ($type eq 'ARRAY') {
72 0 ▶ push @v, map { ref($_) ? encode_json(_compat_kv($_)) : $_ } @$v;
Branch: 1 branch
BranchTrueFalseTotal
ref $_ ? : 0 0 0
73 } elsif ($type eq 'HASH') {
74 0 push @v, encode_json(_compat_kv($v));
75 } elsif ($type eq 'AWS::CLIWrapper::Boolean') {
76 0 ▶ if ($$v == 1) {
Branch: 1 branch
BranchTrueFalseTotal
if ($$v == 1) { } 0 0 0
77 0 return ($k);
78 } else {
79 0 return ();
80 }
81 } else {
82 0 push @v, $v;
83 }
84  
85 0 return ($k, @v);
86 }
87  
88 # >= 0.14.0 : Key, Values, Value, Name
89 # < 0.14.0 : key, values, value, name
90 sub _compat_kv_uc {
91 0 ▶ my $v = shift;
Subroutine _compat_kv_uc: not called CC=5 SCAR=34.0
92 0 my $type = ref $v;
93  
94 0 ▶ if ($type && $type eq 'HASH') {
Branch: 1 branch
BranchTrueFalseTotal
if ($type and $type eq "HASH") 0 0 0
Condition0%0/3
$type and $type eq "HASH"
!ll&&!rl&&r
000
MC/DC0%0/2
$type and $type eq "HASH"
$type $type eq "HASH"
Truth table0%0/3
A and B
A= $typeB= $type eq "HASH"
ABresult
0X0
100
111
95 0 for my $hk (keys %$v) {
96 0 ▶ if ($hk =~ /^(?:key|name|values|value)$/) {
Branch: 1 branch
BranchTrueFalseTotal
if ($hk =~ /^(?:key|name|values|value)$/) 0 0 0
97 0 $v->{ucfirst($hk)} = delete $v->{$hk};
98 }
99 }
100 }
101  
102 0 return $v;
103 }
104 # sub _compat_kv_lc {
105 # my $v = shift;
106 # my $type = ref $v;
107  
108 # if ($type && $type eq 'HASH') {
109 # for my $hk (keys %$v) {
110 # if ($hk =~ /^(?:Key|Name|Values|Values)$/) {
111 # $v->{lc($hk)} = delete $v->{$hk};
112 # }
113 # }
114 # }
115  
116 # return $v;
117 # }
118 # Drop support < 0.14.0 for preventing execute aws command in loading this module
119 3 *_compat_kv = *_compat_kv_uc;
120  
121 0 ▶sub json { $_[0]->{json} }
Subroutine json: not called CC=1 SCAR=6.9
Pod undocumented
122  
123 sub _execute {
124 0 ▶ my $self = shift;
Subroutine _execute: not called CC=46 SCAR=76.8
125 0 my $service = shift;
126 0 my $operation = shift;
127 0 my @cmd = ('aws', @{$self->{opt}}, $service, $operation);
128 0 ▶ if ($service eq 'ec2' && $operation eq 'wait') {
Branch: 1 branch
BranchTrueFalseTotal
if ($service eq "ec2" and $operation eq "wait") 0 0 0
Condition0%0/3
$service eq "ec2" and $operation eq "wait"
!ll&&!rl&&r
000
MC/DC0%0/2
$service eq "ec2" and $operation eq "wait"
$service eq "ec2" $operation eq "wait"
Truth table0%0/3
A and B
A= $service eq "ec2"B= $operation eq "wait"
ABresult
0X0
100
111
129 0 push(@cmd, shift @_);
130 }
131 0 ▶ if (ref($_[0]) eq 'ARRAY') {
Branch: 1 branch
BranchTrueFalseTotal
if (ref $_[0] eq "ARRAY") 0 0 0
132 # for s3 sync FROM TO
133 0 push @cmd, @{ shift @_ };
134 }
135 0 my($param, %opt) = @_;
136  
137 0 ▶ if ($service eq 'ec2' && $operation eq 'run-instances') {
Branch: 3 branches
BranchTrueFalseTotal
if ($service eq 'ec2' and $operation eq 'run-instances') { } 0 0 0
elsif ($service eq 's3' and __PACKAGE__->awscli_version >= 0.15.0) { } 0 0 0
elsif ($service eq 's3api' and __PACKAGE__->awscli_version < 0.15.0) { } 0 0 0
Condition0%0/3
$service eq "ec2" and $operation eq "run-instances"
!ll&&!rl&&r
000
MC/DC0%0/2
$service eq "ec2" and $operation eq "run-instances"
$service eq "ec2" $operation eq "run-instances"
Truth table0%0/3
A and B
A= $service eq "ec2"B= $operation eq "run-instances"
ABresult
0X0
100
111
138 # compat: ec2 run-instances
139 # >= 0.14.0 : --count N or --count MIN:MAX
140 # < 0.14.0 : --min-count N and --max-count N
141 0 ▶ if (__PACKAGE__->awscli_version >= 0.14.0) {
Branch: 1 branch
BranchTrueFalseTotal
if (__PACKAGE__->awscli_version >= 0.14.0) { } 0 0 0
142 0 my($min,$max) = (1,1);
143 0 for my $hk (keys %$param) {
144 0 ▶ if ($hk eq 'min_count') {
Branch: 2 branches
BranchTrueFalseTotal
if ($hk eq 'min_count') { } 0 0 0
elsif ($hk eq 'max_count') { } 0 0 0
145 0 $min = delete $param->{min_count};
146 } elsif ($hk eq 'max_count') {
147 0 $max = delete $param->{max_count};
148 }
149 }
150 $param->{count} = "${min}:${max}" unless $param->{count}
151 0 ▶ } else {
Branch: 1 branch
BranchTrueFalseTotal
unless $param->{"count"} 0 0 0
152 0 my($min,$max);
153 0 for my $hk (keys %$param) {
154 0 ▶ if ($hk eq 'count') {
Branch: 1 branch
BranchTrueFalseTotal
if ($hk eq "count") 0 0 0
155 0 ($min,$max) = split /:/, delete($param->{count});
156 0 ▶ $max ||= $min;
Condition0%0/3
$max ||= $min
l!l&&r!l&&!r
000
MC/DC0%0/2
$max ||= $min
$max $min
Truth table0%0/3
A ||= B
A= $maxB= $min
ABresult
1X1
011
000
157 0 last;
158 }
159 }
160 0 ▶ $param->{min_count} = $min unless $param->{min_count};
Branch: 1 branch
BranchTrueFalseTotal
unless $param->{"min_count"} 0 0 0
161 0 ▶ $param->{max_count} = $max unless $param->{max_count};
Branch: 1 branch
BranchTrueFalseTotal
unless $param->{"max_count"} 0 0 0
162 }
163 ▶ } elsif ($service eq 's3' && __PACKAGE__->awscli_version >= 0.15.0) {
Condition0%0/3
$service eq "s3" and __PACKAGE__->awscli_version >= 0.15.0
!ll&&!rl&&r
000
MC/DC0%0/2
$service eq "s3" and __PACKAGE__->awscli_version >= 0.15.0
$service eq "s3" __PACKAGE__->awscli_version >= 0.15.0
Truth table0%0/3
A and B
A= $service eq "s3"B= __PACKAGE__->awscli_version >= 0.15.0
ABresult
0X0
100
111
164 0 ▶ if ($operation !~ /^(?:cp|ls|mb|mv|rb|rm|sync|website)$/) {
Branch: 1 branch
BranchTrueFalseTotal
unless ($operation =~ /^(?:cp|ls|mb|mv|rb|rm|sync|website)$/) 0 0 0
165 0 return $self->s3api($operation, @_);
166 }
167 ▶ } elsif ($service eq 's3api' && __PACKAGE__->awscli_version < 0.15.0) {
Condition0%0/3
$service eq "s3api" and __PACKAGE__->awscli_version < 0.15.0
!ll&&!rl&&r
000
MC/DC0%0/2
$service eq "s3api" and __PACKAGE__->awscli_version < 0.15.0
$service eq "s3api" __PACKAGE__->awscli_version < 0.15.0
Truth table0%0/3
A and B
A= $service eq "s3api"B= __PACKAGE__->awscli_version < 0.15.0
ABresult
0X0
100
111
168 0 return $self->s3($operation, @_);
169 }
170  
171 0 ▶ while (my($k, $v) = each %$param) {
Branch: 1 branch
BranchTrueFalseTotal
if (() = each %$param) 0 0 0
172 0 my @o = param2opt($k, $v);
173 0 ▶ if ($service eq 's3' && $k =~ /^(?:include|exclude)$/) {
Branch: 1 branch
BranchTrueFalseTotal
if ($service eq "s3" and $k =~ /^(?:include|exclude)$/) 0 0 0
Condition0%0/3
$service eq "s3" and $k =~ /^(?:include|exclude)$/
!ll&&!rl&&r
000
MC/DC0%0/2
$service eq "s3" and $k =~ /^(?:include|exclude)$/
$service eq "s3" $k =~ /^(?:include|exclude)$/
Truth table0%0/3
A and B
A= $service eq "s3"B= $k =~ /^(?:include|exclude)$/
ABresult
0X0
100
111
174 0 my $optk = shift @o;
175 0 @o = map { $optk => $_ } @o;
176 }
177 0 push @cmd, @o;
178 }
179 0 @cmd = map { shell_quote($_) } @cmd;
180 0 ▶ warn "cmd: ".join(' ', @cmd) if $ENV{AWSCLI_DEBUG};
Branch: 1 branch
BranchTrueFalseTotal
if $ENV{"AWSCLI_DEBUG"} 0 0 0
181  
182 0 my $ret;
183 0 ▶ if (exists $opt{'nofork'} && $opt{'nofork'}) {
Branch: 1 branch
BranchTrueFalseTotal
if (exists $opt{'nofork'} and $opt{'nofork'}) { } 0 0 0
Condition0%0/3
exists $opt{"nofork"} and $opt{"nofork"}
!ll&&!rl&&r
000
MC/DC0%0/2
exists $opt{"nofork"} and $opt{"nofork"}
exists $opt{"nofork"} $opt{"nofork"}
Truth table0%0/3
A and B
A= exists $opt{"nofork"}B= $opt{"nofork"}
ABresult
0X0
100
111
184 # better for perl debugger
185 my($ok, $err, $buf, $stdout_buf, $stderr_buf) = IPC::Cmd::run(
186 command => join(' ', @cmd),
187 0 ▶ timeout => $opt{timeout} || 30,
Condition0%0/2
$opt{'timeout'} || 30
l!l
00
MC/DC0%0/1
$opt{'timeout'} || 30
$opt{'timeout'}
Truth table0%0/2
A
A= $opt{'timeout'}
Aresult
11
00
188 );
189 0 $ret->{stdout} = join "", @$stdout_buf;
190 0 ▶ $ret->{err_msg} = (defined $err ? "$err\n" : "") . join "", @$stderr_buf;
Branch: 1 branch
BranchTrueFalseTotal
defined $err ? : 0 0 0
191 0 ▶ if ($ok) {
Branch: 1 branch
BranchTrueFalseTotal
if ($ok) { } 0 0 0
192 0 $ret->{exit_code} = 0;
193 0 $ret->{timeout} = 0;
194 } else {
195 0 $ret->{exit_code} = 2;
196 0 ▶ $ret->{timeout} = 1 if defined $err && $err =~ /^IPC::Cmd::TimeOut:/;
Branch: 1 branch
BranchTrueFalseTotal
if defined $err and $err =~ /^IPC::Cmd::TimeOut:/ 0 0 0
Condition0%0/3
defined $err and $err =~ /^IPC::Cmd::TimeOut:/
!ll&&!rl&&r
000
MC/DC0%0/2
defined $err and $err =~ /^IPC::Cmd::TimeOut:/
defined $err $err =~ /^IPC::Cmd::TimeOut:/
Truth table0%0/3
A and B
A= defined $errB= $err =~ /^IPC::Cmd::TimeOut:/
ABresult
0X0
100
111
197 }
198 0 print "";
199 } else {
200 $ret = IPC::Cmd::run_forked(join(' ', @cmd), {
201 0 ▶ timeout => $opt{timeout} || 30,
Condition0%0/2
$opt{'timeout'} || 30
l!l
00
MC/DC0%0/1
$opt{'timeout'} || 30
$opt{'timeout'}
Truth table0%0/2
A
A= $opt{'timeout'}
Aresult
11
00
202 });
203 }
204  
205 0 ▶ if ($ret->{exit_code} == 0 && $ret->{timeout} == 0) {
Branch: 1 branch
BranchTrueFalseTotal
if ($ret->{'exit_code'} == 0 and $ret->{'timeout'} == 0) { } 0 0 0
Condition0%0/3
$ret->{"exit_code"} == 0 and $ret->{"timeout"} == 0
!ll&&!rl&&r
000
MC/DC0%0/2
$ret->{"exit_code"} == 0 and $ret->{"timeout"} == 0
$ret->{"exit_code"} == 0 $ret->{"timeout"} == 0
Truth table0%0/3
A and B
A= $ret->{"exit_code"} == 0B= $ret->{"timeout"} == 0
ABresult
0X0
100
111
206 0 my $json = $ret->{stdout};
207 warn sprintf("%s.%s[%s]: %s\n",
208 $service, $operation, 'OK', $json,
209 0 ▶ ) if $ENV{AWSCLI_DEBUG};
Branch: 1 branch
BranchTrueFalseTotal
if $ENV{"AWSCLI_DEBUG"} 0 0 0
210 0 local $@;
211 0 my($ret) = eval {
212 # aws s3 returns null HTTP body, so failed to parse as JSON
213 0 $self->json->decode_prefix($json);
214 };
215 0 ▶ if ($@) {
Branch: 1 branch
BranchTrueFalseTotal
if ($@) 0 0 0
216 0 ▶ if ($ENV{AWSCLI_DEBUG}) {
Branch: 1 branch
BranchTrueFalseTotal
if ($ENV{"AWSCLI_DEBUG"}) 0 0 0
217 0 warn $@;
218 0 warn qq|stdout: "$ret->{stdout}"|;
219 0 warn qq|err_msg: "$ret->{err_msg}"|;
220 }
221 0 ▶ return $json || 'success';
Condition0%0/2
$json || 'success'
l!l
00
MC/DC0%0/1
$json || 'success'
$json
Truth table0%0/2
A
A= $json
Aresult
11
00
222 }
223 0 return $ret;
224 } else {
225 0 my $stdout_str = $ret->{stdout};
226 0 ▶ if ($stdout_str && $stdout_str =~ /^{/) {
Branch: 1 branch
BranchTrueFalseTotal
if ($stdout_str and $stdout_str =~ /^{/) { } 0 0 0
Condition0%0/3
$stdout_str and $stdout_str =~ /^{/
!ll&&!rl&&r
000
MC/DC0%0/2
$stdout_str and $stdout_str =~ /^{/
$stdout_str $stdout_str =~ /^{/
Truth table0%0/3
A and B
A= $stdout_strB= $stdout_str =~ /^{/
ABresult
0X0
100
111
227 0 my $json = $stdout_str;
228 warn sprintf("%s.%s[%s]: %s\n",
229 $service, $operation, 'NG', $json,
230 0 ▶ ) if $ENV{AWSCLI_DEBUG};
Branch: 1 branch
BranchTrueFalseTotal
if $ENV{"AWSCLI_DEBUG"} 0 0 0
231 0 my($ret) = $self->json->decode_prefix($json);
232 0 ▶ if (exists $ret->{Errors} && ref($ret->{Errors}) eq 'ARRAY') {
Branch: 2 branches
BranchTrueFalseTotal
if (exists $ret->{'Errors'} and ref $ret->{'Errors'} eq 'ARRAY') { } 0 0 0
elsif (exists $ret->{'Response'}{'Errors'}{'Error'}) { } 0 0 0
Condition0%0/3
exists $ret->{"Errors"} and ref $ret->{"Errors"} eq "ARRAY"
!ll&&!rl&&r
000
MC/DC0%0/2
exists $ret->{"Errors"} and ref $ret->{"Errors"} eq "ARRAY"
exists $ret->{"Errors"} ref $ret->{"Errors"} eq "ARRAY"
Truth table0%0/3
A and B
A= exists $ret->{"Errors"}B= ref $ret->{"Errors"} eq "ARRAY"
ABresult
0X0
100
111
233 0 $Error = $ret->{Errors}[0];
234 } elsif (exists $ret->{Response}{Errors}{Error}) {
235 # old structure (maybe botocore < 0.7.0)
236 0 $Error = $ret->{Response}{Errors}{Error};
237 } else {
238 0 $Error = { Message => 'Unknown', Code => 'Unknown' };
239 }
240 } else {
241 0 my $msg = $ret->{err_msg};
242 warn sprintf("%s.%s[%s]: %s\n",
243 $service, $operation, 'NG', $msg,
244 0 ▶ ) if $ENV{AWSCLI_DEBUG};
Branch: 1 branch
BranchTrueFalseTotal
if $ENV{"AWSCLI_DEBUG"} 0 0 0
245 0 $Error = { Message => $msg, Code => 'Unknown' };
246 }
247 0 return;
248 }
249 }
250  
251 # aws help | col -b | perl -ne 'if (/^AVAILABLE/.../^[A-Z]/) { s/^\s+o\s+// or next; chomp; next if $_ eq 'help'; my $sn = $_; $sn =~ s/-/_/g; printf "sub %-18s { shift->_execute('"'"'%s'"'"', \@_) }\n", $sn, $_ }'
252 # aws help | col -b | perl -ne 'if (/^AVAILABLE/.../^[A-Z]/) { s/^\s+o\s+// or next; chomp; next if $_ eq 'help'; my $sn = $_; $sn =~ s/-/_/g; printf "=item B<%s>(\$operation:Str, \$param:HashRef, %%opt:Hash)\n\n", $sn}'
253 # =item B<s3>($operation:Str, $path:ArrayRef, $param:HashRef, %opt:Hash)
254 0 ▶sub acm { shift->_execute('acm', @_) }
Subroutine acm: not called CC=1 SCAR=6.9
Pod documented
255 0 ▶sub apigateway { shift->_execute('apigateway', @_) }
Subroutine apigateway: not called CC=1 SCAR=6.9
Pod documented
256 0 ▶sub autoscaling { shift->_execute('autoscaling', @_) }
Subroutine autoscaling: not called CC=1 SCAR=6.9
Pod documented
257 0 ▶sub cloudformation { shift->_execute('cloudformation', @_) }
Subroutine cloudformation: not called CC=1 SCAR=6.9
Pod documented
258 0 ▶sub cloudfront { shift->_execute('cloudfront', @_) }
Subroutine cloudfront: not called CC=1 SCAR=6.9
Pod documented
259 0 ▶sub cloudhsm { shift->_execute('cloudhsm', @_) }
Subroutine cloudhsm: not called CC=1 SCAR=6.9
Pod documented
260 0 ▶sub cloudsearch { shift->_execute('cloudsearch', @_) }
Subroutine cloudsearch: not called CC=1 SCAR=6.9
Pod documented
261 0 ▶sub cloudsearchdomain { shift->_execute('cloudsearchdomain', @_) }
Subroutine cloudsearchdomain: not called CC=1 SCAR=6.9
Pod documented
262 0 ▶sub cloudtrail { shift->_execute('cloudtrail', @_) }
Subroutine cloudtrail: not called CC=1 SCAR=6.9
Pod documented
263 0 ▶sub cloudwatch { shift->_execute('cloudwatch', @_) }
Subroutine cloudwatch: not called CC=1 SCAR=6.9
Pod documented
264 0 ▶sub codecommit { shift->_execute('codecommit', @_) }
Subroutine codecommit: not called CC=1 SCAR=6.9
Pod documented
265 0 ▶sub codepipeline { shift->_execute('codepipeline', @_) }
Subroutine codepipeline: not called CC=1 SCAR=6.9
Pod documented
266 0 ▶sub cognito_identity { shift->_execute('cognito-identity', @_) }
Subroutine cognito_identity: not called CC=1 SCAR=6.9
Pod documented
267 0 ▶sub cognito_sync { shift->_execute('cognito-sync', @_) }
Subroutine cognito_sync: not called CC=1 SCAR=6.9
Pod documented
268 0 ▶sub configservice { shift->_execute('configservice', @_) }
Subroutine configservice: not called CC=1 SCAR=6.9
Pod documented
269 0 ▶sub configure { shift->_execute('configure', @_) }
Subroutine configure: not called CC=1 SCAR=6.9
Pod documented
270 0 ▶sub datapipeline { shift->_execute('datapipeline', @_) }
Subroutine datapipeline: not called CC=1 SCAR=6.9
Pod documented
271 0 ▶sub deploy { shift->_execute('deploy', @_) }
Subroutine deploy: not called CC=1 SCAR=6.9
Pod documented
272 0 ▶sub devicefarm { shift->_execute('devicefarm', @_) }
Subroutine devicefarm: not called CC=1 SCAR=6.9
Pod documented
273 0 ▶sub directconnect { shift->_execute('directconnect', @_) }
Subroutine directconnect: not called CC=1 SCAR=6.9
Pod documented
274 0 ▶sub ds { shift->_execute('ds', @_) }
Subroutine ds: not called CC=1 SCAR=6.9
Pod documented
275 0 ▶sub dynamodb { shift->_execute('dynamodb', @_) }
Subroutine dynamodb: not called CC=1 SCAR=6.9
Pod documented
276 0 ▶sub dynamodbstreams { shift->_execute('dynamodbstreams', @_) }
Subroutine dynamodbstreams: not called CC=1 SCAR=6.9
Pod documented
277 0 ▶sub ec2 { shift->_execute('ec2', @_) }
Subroutine ec2: not called CC=1 SCAR=6.9
Pod documented
278 0 ▶sub ecr { shift->_execute('ecr', @_) }
Subroutine ecr: not called CC=1 SCAR=6.9
Pod documented
279 0 ▶sub ecs { shift->_execute('ecs', @_) }
Subroutine ecs: not called CC=1 SCAR=6.9
Pod documented
280 0 ▶sub efs { shift->_execute('efs', @_) }
Subroutine efs: not called CC=1 SCAR=6.9
Pod documented
281 0 ▶sub elasticache { shift->_execute('elasticache', @_) }
Subroutine elasticache: not called CC=1 SCAR=6.9
Pod documented
282 0 ▶sub elasticbeanstalk { shift->_execute('elasticbeanstalk', @_) }
Subroutine elasticbeanstalk: not called CC=1 SCAR=6.9
Pod documented
283 0 ▶sub elastictranscoder { shift->_execute('elastictranscoder', @_) }
Subroutine elastictranscoder: not called CC=1 SCAR=6.9
Pod documented
284 0 ▶sub elb { shift->_execute('elb', @_) }
Subroutine elb: not called CC=1 SCAR=6.9
Pod documented
285 0 ▶sub emr { shift->_execute('emr', @_) }
Subroutine emr: not called CC=1 SCAR=6.9
Pod documented
286 0 ▶sub es { shift->_execute('es', @_) }
Subroutine es: not called CC=1 SCAR=6.9
Pod documented
287 0 ▶sub events { shift->_execute('events', @_) }
Subroutine events: not called CC=1 SCAR=6.9
Pod documented
288 0 ▶sub firehose { shift->_execute('firehose', @_) }
Subroutine firehose: not called CC=1 SCAR=6.9
Pod documented
289 0 ▶sub gamelift { shift->_execute('gamelift', @_) }
Subroutine gamelift: not called CC=1 SCAR=6.9
Pod documented
290 0 ▶sub glacier { shift->_execute('glacier', @_) }
Subroutine glacier: not called CC=1 SCAR=6.9
Pod documented
291 0 ▶sub iam { shift->_execute('iam', @_) }
Subroutine iam: not called CC=1 SCAR=6.9
Pod documented
292 0 ▶sub importexport { shift->_execute('importexport', @_) }
Subroutine importexport: not called CC=1 SCAR=6.9
Pod documented
293 0 ▶sub inspector { shift->_execute('inspector', @_) }
Subroutine inspector: not called CC=1 SCAR=6.9
Pod documented
294 0 ▶sub iot { shift->_execute('iot', @_) }
Subroutine iot: not called CC=1 SCAR=6.9
Pod documented
295 0 ▶sub iot_data { shift->_execute('iot-data', @_) }
Subroutine iot_data: not called CC=1 SCAR=6.9
Pod documented
296 0 ▶sub kinesis { shift->_execute('kinesis', @_) }
Subroutine kinesis: not called CC=1 SCAR=6.9
Pod documented
297 0 ▶sub kms { shift->_execute('kms', @_) }
Subroutine kms: not called CC=1 SCAR=6.9
Pod documented
298 0 ▶sub lambda { shift->_execute('lambda', @_) }
Subroutine lambda: not called CC=1 SCAR=6.9
Pod documented
299 0 ▶sub logs { shift->_execute('logs', @_) }
Subroutine logs: not called CC=1 SCAR=6.9
Pod documented
300 0 ▶sub machinelearning { shift->_execute('machinelearning', @_) }
Subroutine machinelearning: not called CC=1 SCAR=6.9
Pod documented
301 0 ▶sub marketplacecommerceanalytics { shift->_execute('marketplacecommerceanalytics', @_) }
Subroutine marketplacecommerceanalytics: not called CC=1 SCAR=6.9
Pod documented
302 0 ▶sub opsworks { shift->_execute('opsworks', @_) }
Subroutine opsworks: not called CC=1 SCAR=6.9
Pod documented
303 0 ▶sub rds { shift->_execute('rds', @_) }
Subroutine rds: not called CC=1 SCAR=6.9
Pod documented
304 0 ▶sub redshift { shift->_execute('redshift', @_) }
Subroutine redshift: not called CC=1 SCAR=6.9
Pod documented
305 0 ▶sub route53 { shift->_execute('route53', @_) }
Subroutine route53: not called CC=1 SCAR=6.9
Pod documented
306 0 ▶sub route53domains { shift->_execute('route53domains', @_) }
Subroutine route53domains: not called CC=1 SCAR=6.9
Pod documented
307 0 ▶sub s3 { shift->_execute('s3', @_) }
Subroutine s3: not called CC=1 SCAR=6.9
Pod documented
308 0 ▶sub s3api { shift->_execute('s3api', @_) }
Subroutine s3api: not called CC=1 SCAR=6.9
Pod documented
309 0 ▶sub sdb { shift->_execute('sdb', @_) }
Subroutine sdb: not called CC=1 SCAR=6.9
Pod documented
310 0 ▶sub ses { shift->_execute('ses', @_) }
Subroutine ses: not called CC=1 SCAR=6.9
Pod documented
311 0 ▶sub sns { shift->_execute('sns', @_) }
Subroutine sns: not called CC=1 SCAR=6.9
Pod documented
312 0 ▶sub sqs { shift->_execute('sqs', @_) }
Subroutine sqs: not called CC=1 SCAR=6.9
Pod documented
313 0 ▶sub ssm { shift->_execute('ssm', @_) }
Subroutine ssm: not called CC=1 SCAR=6.9
Pod documented
314 0 ▶sub storagegateway { shift->_execute('storagegateway', @_) }
Subroutine storagegateway: not called CC=1 SCAR=6.9
Pod documented
315 0 ▶sub sts { shift->_execute('sts', @_) }
Subroutine sts: not called CC=1 SCAR=6.9
Pod documented
316 0 ▶sub support { shift->_execute('support', @_) }
Subroutine support: not called CC=1 SCAR=6.9
Pod documented
317 0 ▶sub swf { shift->_execute('swf', @_) }
Subroutine swf: not called CC=1 SCAR=6.9
Pod documented
318 0 ▶sub waf { shift->_execute('waf', @_) }
Subroutine waf: not called CC=1 SCAR=6.9
Pod documented
319 0 ▶sub workspaces { shift->_execute('workspaces', @_) }
Subroutine workspaces: not called CC=1 SCAR=6.9
Pod documented
320  
321 3 1;
322  
323 __END__
↑ Summary