blib/lib/Paws/Outposts.pm untested

filter: Statementstmt 0.0% 0 / 43 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 16 Podpod 0.0% 0 / 15 totaltotal 0.0% 0 / 74 CC 1 SCAR 6.9
CC
1
Cov
0%
service
2.0
signing_name
2.0
version
2.0
CRAP 2.0
1 package Paws::Outposts;
2 use Moose;
3 sub service { 'outposts' }
4 sub signing_name { 'outposts' }
5 sub version { '2019-12-03' }
6 sub flattened_arrays { 0 }
7 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8 has retry => (is => 'ro', isa => 'HashRef', default => sub {
9 { base => 'rand', type => 'exponential', growth_factor => 2 }
10 });
11 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12 ] });
13  
14 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller';
15  
16
17 sub CreateOutpost {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::Outposts::CreateOutpost', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub DeleteOutpost {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::Outposts::DeleteOutpost', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub DeleteSite {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::Outposts::DeleteSite', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub GetOutpost {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::Outposts::GetOutpost', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub GetOutpostInstanceTypes {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::Outposts::GetOutpostInstanceTypes', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub ListOutposts {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::Outposts::ListOutposts', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47 sub ListSites {
48 my $self = shift;
49 my $call_object = $self->new_with_coercions('Paws::Outposts::ListSites', @_);
50 return $self->caller->do_call($self, $call_object);
51 }
52 sub ListTagsForResource {
53 my $self = shift;
54 my $call_object = $self->new_with_coercions('Paws::Outposts::ListTagsForResource', @_);
55 return $self->caller->do_call($self, $call_object);
56 }
57 sub TagResource {
58 my $self = shift;
59 my $call_object = $self->new_with_coercions('Paws::Outposts::TagResource', @_);
60 return $self->caller->do_call($self, $call_object);
61 }
62 sub UntagResource {
63 my $self = shift;
64 my $call_object = $self->new_with_coercions('Paws::Outposts::UntagResource', @_);
65 return $self->caller->do_call($self, $call_object);
66 }
67
68  
69  
70 sub operations { qw/CreateOutpost DeleteOutpost DeleteSite GetOutpost GetOutpostInstanceTypes ListOutposts ListSites ListTagsForResource TagResource UntagResource / }
71  
72 1;
73  
74 ### main pod documentation begin ###
75  
76 =head1 NAME
77  
78 Paws::Outposts - Perl Interface to AWS AWS Outposts
79  
80 =head1 SYNOPSIS
81  
82 use Paws;
83  
84 my $obj = Paws->service('Outposts');
85 my $res = $obj->Method(
86 Arg1 => $val1,
87 Arg2 => [ 'V1', 'V2' ],
88 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
89 # of the arguments type
90 Arg3 => { Att1 => 'Val1' },
91 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
92 # the constructor of the arguments type
93 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
94 );
95  
96 =head1 DESCRIPTION
97  
98 AWS Outposts is a fully managed service that extends AWS
99 infrastructure, APIs, and tools to customer premises. By providing
100 local access to AWS managed infrastructure, AWS Outposts enables
101 customers to build and run applications on premises using the same
102 programming interfaces as in AWS Regions, while using local compute and
103 storage resources for lower latency and local data processing needs.
104  
105 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03>
106  
107  
108 =head1 METHODS
109  
110 =head2 CreateOutpost
111  
112 =over
113  
114 =item Name => Str
115  
116 =item SiteId => Str
117  
118 =item [AvailabilityZone => Str]
119  
120 =item [AvailabilityZoneId => Str]
121  
122 =item [Description => Str]
123  
124 =item [Tags => L<Paws::Outposts::TagMap>]
125  
126  
127 =back
128  
129 Each argument is described in detail in: L<Paws::Outposts::CreateOutpost>
130  
131 Returns: a L<Paws::Outposts::CreateOutpostOutput> instance
132  
133 Creates an Outpost.
134  
135  
136 =head2 DeleteOutpost
137  
138 =over
139  
140 =item OutpostId => Str
141  
142  
143 =back
144  
145 Each argument is described in detail in: L<Paws::Outposts::DeleteOutpost>
146  
147 Returns: a L<Paws::Outposts::DeleteOutpostOutput> instance
148  
149 Deletes the Outpost.
150  
151  
152 =head2 DeleteSite
153  
154 =over
155  
156 =item SiteId => Str
157  
158  
159 =back
160  
161 Each argument is described in detail in: L<Paws::Outposts::DeleteSite>
162  
163 Returns: a L<Paws::Outposts::DeleteSiteOutput> instance
164  
165 Deletes the site.
166  
167  
168 =head2 GetOutpost
169  
170 =over
171  
172 =item OutpostId => Str
173  
174  
175 =back
176  
177 Each argument is described in detail in: L<Paws::Outposts::GetOutpost>
178  
179 Returns: a L<Paws::Outposts::GetOutpostOutput> instance
180  
181 Gets information about the specified Outpost.
182  
183  
184 =head2 GetOutpostInstanceTypes
185  
186 =over
187  
188 =item OutpostId => Str
189  
190 =item [MaxResults => Int]
191  
192 =item [NextToken => Str]
193  
194  
195 =back
196  
197 Each argument is described in detail in: L<Paws::Outposts::GetOutpostInstanceTypes>
198  
199 Returns: a L<Paws::Outposts::GetOutpostInstanceTypesOutput> instance
200  
201 Lists the instance types for the specified Outpost.
202  
203  
204 =head2 ListOutposts
205  
206 =over
207  
208 =item [MaxResults => Int]
209  
210 =item [NextToken => Str]
211  
212  
213 =back
214  
215 Each argument is described in detail in: L<Paws::Outposts::ListOutposts>
216  
217 Returns: a L<Paws::Outposts::ListOutpostsOutput> instance
218  
219 List the Outposts for your AWS account.
220  
221  
222 =head2 ListSites
223  
224 =over
225  
226 =item [MaxResults => Int]
227  
228 =item [NextToken => Str]
229  
230  
231 =back
232  
233 Each argument is described in detail in: L<Paws::Outposts::ListSites>
234  
235 Returns: a L<Paws::Outposts::ListSitesOutput> instance
236  
237 Lists the sites for the specified AWS account.
238  
239  
240 =head2 ListTagsForResource
241  
242 =over
243  
244 =item ResourceArn => Str
245  
246  
247 =back
248  
249 Each argument is described in detail in: L<Paws::Outposts::ListTagsForResource>
250  
251 Returns: a L<Paws::Outposts::ListTagsForResourceResponse> instance
252  
253 Lists the tags for the specified resource.
254  
255  
256 =head2 TagResource
257  
258 =over
259  
260 =item ResourceArn => Str
261  
262 =item Tags => L<Paws::Outposts::TagMap>
263  
264  
265 =back
266  
267 Each argument is described in detail in: L<Paws::Outposts::TagResource>
268  
269 Returns: a L<Paws::Outposts::TagResourceResponse> instance
270  
271 Adds tags to the specified resource.
272  
273  
274 =head2 UntagResource
275  
276 =over
277  
278 =item ResourceArn => Str
279  
280 =item TagKeys => ArrayRef[Str|Undef]
281  
282  
283 =back
284  
285 Each argument is described in detail in: L<Paws::Outposts::UntagResource>
286  
287 Returns: a L<Paws::Outposts::UntagResourceResponse> instance
288  
289 Removes tags from the specified resource.
290  
291  
292  
293  
294 =head1 PAGINATORS
295  
296 Paginator methods are helpers that repetively call methods that return partial results
297  
298  
299  
300  
301 =head1 SEE ALSO
302  
303 This service class forms part of L<Paws>
304  
305 =head1 BUGS and CONTRIBUTIONS
306  
307 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
308  
309 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
310  
311 =cut
312