blib/lib/Paws/Finspace.pm untested

filter: Statementstmt 0.0% 0 / 37 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 14 Podpod 0.0% 0 / 13 totaltotal 0.0% 0 / 64 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::Finspace;
2 use Moose;
3 sub service { 'finspace' }
4 sub signing_name { 'finspace' }
5 sub version { '2021-03-12' }
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 CreateEnvironment {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::Finspace::CreateEnvironment', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub DeleteEnvironment {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::Finspace::DeleteEnvironment', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub GetEnvironment {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::Finspace::GetEnvironment', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub ListEnvironments {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::Finspace::ListEnvironments', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub ListTagsForResource {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::Finspace::ListTagsForResource', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub TagResource {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::Finspace::TagResource', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47 sub UntagResource {
48 my $self = shift;
49 my $call_object = $self->new_with_coercions('Paws::Finspace::UntagResource', @_);
50 return $self->caller->do_call($self, $call_object);
51 }
52 sub UpdateEnvironment {
53 my $self = shift;
54 my $call_object = $self->new_with_coercions('Paws::Finspace::UpdateEnvironment', @_);
55 return $self->caller->do_call($self, $call_object);
56 }
57
58  
59  
60 sub operations { qw/CreateEnvironment DeleteEnvironment GetEnvironment ListEnvironments ListTagsForResource TagResource UntagResource UpdateEnvironment / }
61  
62 1;
63  
64 ### main pod documentation begin ###
65  
66 =head1 NAME
67  
68 Paws::Finspace - Perl Interface to AWS FinSpace User Environment Management service
69  
70 =head1 SYNOPSIS
71  
72 use Paws;
73  
74 my $obj = Paws->service('Finspace');
75 my $res = $obj->Method(
76 Arg1 => $val1,
77 Arg2 => [ 'V1', 'V2' ],
78 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
79 # of the arguments type
80 Arg3 => { Att1 => 'Val1' },
81 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
82 # the constructor of the arguments type
83 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
84 );
85  
86 =head1 DESCRIPTION
87  
88 The FinSpace management service provides the APIs for managing the
89 FinSpace environments.
90  
91 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12>
92  
93  
94 =head1 METHODS
95  
96 =head2 CreateEnvironment
97  
98 =over
99  
100 =item Name => Str
101  
102 =item [Description => Str]
103  
104 =item [FederationMode => Str]
105  
106 =item [FederationParameters => L<Paws::Finspace::FederationParameters>]
107  
108 =item [KmsKeyId => Str]
109  
110 =item [Tags => L<Paws::Finspace::TagMap>]
111  
112  
113 =back
114  
115 Each argument is described in detail in: L<Paws::Finspace::CreateEnvironment>
116  
117 Returns: a L<Paws::Finspace::CreateEnvironmentResponse> instance
118  
119 Create a new FinSpace environment.
120  
121  
122 =head2 DeleteEnvironment
123  
124 =over
125  
126 =item EnvironmentId => Str
127  
128  
129 =back
130  
131 Each argument is described in detail in: L<Paws::Finspace::DeleteEnvironment>
132  
133 Returns: a L<Paws::Finspace::DeleteEnvironmentResponse> instance
134  
135 Delete an FinSpace environment.
136  
137  
138 =head2 GetEnvironment
139  
140 =over
141  
142 =item EnvironmentId => Str
143  
144  
145 =back
146  
147 Each argument is described in detail in: L<Paws::Finspace::GetEnvironment>
148  
149 Returns: a L<Paws::Finspace::GetEnvironmentResponse> instance
150  
151 Returns the FinSpace environment object.
152  
153  
154 =head2 ListEnvironments
155  
156 =over
157  
158 =item [MaxResults => Int]
159  
160 =item [NextToken => Str]
161  
162  
163 =back
164  
165 Each argument is described in detail in: L<Paws::Finspace::ListEnvironments>
166  
167 Returns: a L<Paws::Finspace::ListEnvironmentsResponse> instance
168  
169 A list of all of your FinSpace environments.
170  
171  
172 =head2 ListTagsForResource
173  
174 =over
175  
176 =item ResourceArn => Str
177  
178  
179 =back
180  
181 Each argument is described in detail in: L<Paws::Finspace::ListTagsForResource>
182  
183 Returns: a L<Paws::Finspace::ListTagsForResourceResponse> instance
184  
185 A list of all tags for a resource.
186  
187  
188 =head2 TagResource
189  
190 =over
191  
192 =item ResourceArn => Str
193  
194 =item Tags => L<Paws::Finspace::TagMap>
195  
196  
197 =back
198  
199 Each argument is described in detail in: L<Paws::Finspace::TagResource>
200  
201 Returns: a L<Paws::Finspace::TagResourceResponse> instance
202  
203 Adds metadata tags to a FinSpace resource.
204  
205  
206 =head2 UntagResource
207  
208 =over
209  
210 =item ResourceArn => Str
211  
212 =item TagKeys => ArrayRef[Str|Undef]
213  
214  
215 =back
216  
217 Each argument is described in detail in: L<Paws::Finspace::UntagResource>
218  
219 Returns: a L<Paws::Finspace::UntagResourceResponse> instance
220  
221 Removes metadata tags from a FinSpace resource.
222  
223  
224 =head2 UpdateEnvironment
225  
226 =over
227  
228 =item EnvironmentId => Str
229  
230 =item [Description => Str]
231  
232 =item [FederationMode => Str]
233  
234 =item [FederationParameters => L<Paws::Finspace::FederationParameters>]
235  
236 =item [Name => Str]
237  
238  
239 =back
240  
241 Each argument is described in detail in: L<Paws::Finspace::UpdateEnvironment>
242  
243 Returns: a L<Paws::Finspace::UpdateEnvironmentResponse> instance
244  
245 Update your FinSpace environment.
246  
247  
248  
249  
250 =head1 PAGINATORS
251  
252 Paginator methods are helpers that repetively call methods that return partial results
253  
254  
255  
256  
257 =head1 SEE ALSO
258  
259 This service class forms part of L<Paws>
260  
261 =head1 BUGS and CONTRIBUTIONS
262  
263 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
264  
265 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
266  
267 =cut
268