blib/lib/Paws/CloudHSM.pm untested

filter: Statementstmt 0.0% 0 / 135 Branchbran 0.0% 0 / 12 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 30 Podpod 0.0% 0 / 29 totaltotal 0.0% 0 / 206 CC 7 SCAR 15.0
CC
7
Cov
0%
ListAllHapgs
12.0
ListAllHsms
12.0
ListAllLunaClients
12.0
CRAP 4.5
1 package Paws::CloudHSM;
2 use Moose;
3 sub service { 'cloudhsm' }
4 sub signing_name { 'cloudhsm' }
5 sub version { '2014-05-30' }
6 sub target_prefix { 'CloudHsmFrontendService' }
7 sub json_version { "1.1" }
8 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
9 has retry => (is => 'ro', isa => 'HashRef', default => sub {
10 { base => 'rand', type => 'exponential', growth_factor => 2 }
11 });
12 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
13 ] });
14  
15 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller';
16  
17
18 sub AddTagsToResource {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::CloudHSM::AddTagsToResource', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23 sub CreateHapg {
24 my $self = shift;
25 my $call_object = $self->new_with_coercions('Paws::CloudHSM::CreateHapg', @_);
26 return $self->caller->do_call($self, $call_object);
27 }
28 sub CreateHsm {
29 my $self = shift;
30 my $call_object = $self->new_with_coercions('Paws::CloudHSM::CreateHsm', @_);
31 return $self->caller->do_call($self, $call_object);
32 }
33 sub CreateLunaClient {
34 my $self = shift;
35 my $call_object = $self->new_with_coercions('Paws::CloudHSM::CreateLunaClient', @_);
36 return $self->caller->do_call($self, $call_object);
37 }
38 sub DeleteHapg {
39 my $self = shift;
40 my $call_object = $self->new_with_coercions('Paws::CloudHSM::DeleteHapg', @_);
41 return $self->caller->do_call($self, $call_object);
42 }
43 sub DeleteHsm {
44 my $self = shift;
45 my $call_object = $self->new_with_coercions('Paws::CloudHSM::DeleteHsm', @_);
46 return $self->caller->do_call($self, $call_object);
47 }
48 sub DeleteLunaClient {
49 my $self = shift;
50 my $call_object = $self->new_with_coercions('Paws::CloudHSM::DeleteLunaClient', @_);
51 return $self->caller->do_call($self, $call_object);
52 }
53 sub DescribeHapg {
54 my $self = shift;
55 my $call_object = $self->new_with_coercions('Paws::CloudHSM::DescribeHapg', @_);
56 return $self->caller->do_call($self, $call_object);
57 }
58 sub DescribeHsm {
59 my $self = shift;
60 my $call_object = $self->new_with_coercions('Paws::CloudHSM::DescribeHsm', @_);
61 return $self->caller->do_call($self, $call_object);
62 }
63 sub DescribeLunaClient {
64 my $self = shift;
65 my $call_object = $self->new_with_coercions('Paws::CloudHSM::DescribeLunaClient', @_);
66 return $self->caller->do_call($self, $call_object);
67 }
68 sub GetConfig {
69 my $self = shift;
70 my $call_object = $self->new_with_coercions('Paws::CloudHSM::GetConfig', @_);
71 return $self->caller->do_call($self, $call_object);
72 }
73 sub ListAvailableZones {
74 my $self = shift;
75 my $call_object = $self->new_with_coercions('Paws::CloudHSM::ListAvailableZones', @_);
76 return $self->caller->do_call($self, $call_object);
77 }
78 sub ListHapgs {
79 my $self = shift;
80 my $call_object = $self->new_with_coercions('Paws::CloudHSM::ListHapgs', @_);
81 return $self->caller->do_call($self, $call_object);
82 }
83 sub ListHsms {
84 my $self = shift;
85 my $call_object = $self->new_with_coercions('Paws::CloudHSM::ListHsms', @_);
86 return $self->caller->do_call($self, $call_object);
87 }
88 sub ListLunaClients {
89 my $self = shift;
90 my $call_object = $self->new_with_coercions('Paws::CloudHSM::ListLunaClients', @_);
91 return $self->caller->do_call($self, $call_object);
92 }
93 sub ListTagsForResource {
94 my $self = shift;
95 my $call_object = $self->new_with_coercions('Paws::CloudHSM::ListTagsForResource', @_);
96 return $self->caller->do_call($self, $call_object);
97 }
98 sub ModifyHapg {
99 my $self = shift;
100 my $call_object = $self->new_with_coercions('Paws::CloudHSM::ModifyHapg', @_);
101 return $self->caller->do_call($self, $call_object);
102 }
103 sub ModifyHsm {
104 my $self = shift;
105 my $call_object = $self->new_with_coercions('Paws::CloudHSM::ModifyHsm', @_);
106 return $self->caller->do_call($self, $call_object);
107 }
108 sub ModifyLunaClient {
109 my $self = shift;
110 my $call_object = $self->new_with_coercions('Paws::CloudHSM::ModifyLunaClient', @_);
111 return $self->caller->do_call($self, $call_object);
112 }
113 sub RemoveTagsFromResource {
114 my $self = shift;
115 my $call_object = $self->new_with_coercions('Paws::CloudHSM::RemoveTagsFromResource', @_);
116 return $self->caller->do_call($self, $call_object);
117 }
118
119 sub ListAllHapgs {
120 my $self = shift;
121  
122 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
123 my $result = $self->ListHapgs(@_);
124 my $next_result = $result;
125  
126 if (not defined $callback) {
127 while ($next_result->NextToken) {
128 $next_result = $self->ListHapgs(@_, NextToken => $next_result->NextToken);
129 push @{ $result->HapgList }, @{ $next_result->HapgList };
130 }
131 return $result;
132 } else {
133 while ($result->NextToken) {
134 $callback->($_ => 'HapgList') foreach (@{ $result->HapgList });
135 $result = $self->ListHapgs(@_, NextToken => $result->NextToken);
136 }
137 $callback->($_ => 'HapgList') foreach (@{ $result->HapgList });
138 }
139  
140 return undef
141 }
142 sub ListAllHsms {
143 my $self = shift;
144  
145 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
146 my $result = $self->ListHsms(@_);
147 my $next_result = $result;
148  
149 if (not defined $callback) {
150 while ($next_result->NextToken) {
151 $next_result = $self->ListHsms(@_, NextToken => $next_result->NextToken);
152 push @{ $result->HsmList }, @{ $next_result->HsmList };
153 }
154 return $result;
155 } else {
156 while ($result->NextToken) {
157 $callback->($_ => 'HsmList') foreach (@{ $result->HsmList });
158 $result = $self->ListHsms(@_, NextToken => $result->NextToken);
159 }
160 $callback->($_ => 'HsmList') foreach (@{ $result->HsmList });
161 }
162  
163 return undef
164 }
165 sub ListAllLunaClients {
166 my $self = shift;
167  
168 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
169 my $result = $self->ListLunaClients(@_);
170 my $next_result = $result;
171  
172 if (not defined $callback) {
173 while ($next_result->NextToken) {
174 $next_result = $self->ListLunaClients(@_, NextToken => $next_result->NextToken);
175 push @{ $result->ClientList }, @{ $next_result->ClientList };
176 }
177 return $result;
178 } else {
179 while ($result->NextToken) {
180 $callback->($_ => 'ClientList') foreach (@{ $result->ClientList });
181 $result = $self->ListLunaClients(@_, NextToken => $result->NextToken);
182 }
183 $callback->($_ => 'ClientList') foreach (@{ $result->ClientList });
184 }
185  
186 return undef
187 }
188  
189  
190 sub operations { qw/AddTagsToResource CreateHapg CreateHsm CreateLunaClient DeleteHapg DeleteHsm DeleteLunaClient DescribeHapg DescribeHsm DescribeLunaClient GetConfig ListAvailableZones ListHapgs ListHsms ListLunaClients ListTagsForResource ModifyHapg ModifyHsm ModifyLunaClient RemoveTagsFromResource / }
191  
192 1;
193  
194 ### main pod documentation begin ###
195  
196 =head1 NAME
197  
198 Paws::CloudHSM - Perl Interface to AWS Amazon CloudHSM
199  
200 =head1 SYNOPSIS
201  
202 use Paws;
203  
204 my $obj = Paws->service('CloudHSM');
205 my $res = $obj->Method(
206 Arg1 => $val1,
207 Arg2 => [ 'V1', 'V2' ],
208 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
209 # of the arguments type
210 Arg3 => { Att1 => 'Val1' },
211 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
212 # the constructor of the arguments type
213 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
214 );
215  
216 =head1 DESCRIPTION
217  
218 AWS CloudHSM Service
219  
220 This is documentation for B<AWS CloudHSM Classic>. For more
221 information, see AWS CloudHSM Classic FAQs
222 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
223 Classic User Guide
224 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
225 CloudHSM Classic API Reference
226 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
227  
228 B<For information about the current version of AWS CloudHSM>, see AWS
229 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
230 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
231 CloudHSM API Reference
232 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
233  
234 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30>
235  
236  
237 =head1 METHODS
238  
239 =head2 AddTagsToResource
240  
241 =over
242  
243 =item ResourceArn => Str
244  
245 =item TagList => ArrayRef[L<Paws::CloudHSM::Tag>]
246  
247  
248 =back
249  
250 Each argument is described in detail in: L<Paws::CloudHSM::AddTagsToResource>
251  
252 Returns: a L<Paws::CloudHSM::AddTagsToResourceResponse> instance
253  
254 This is documentation for B<AWS CloudHSM Classic>. For more
255 information, see AWS CloudHSM Classic FAQs
256 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
257 Classic User Guide
258 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
259 CloudHSM Classic API Reference
260 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
261  
262 B<For information about the current version of AWS CloudHSM>, see AWS
263 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
264 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
265 CloudHSM API Reference
266 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
267  
268 Adds or overwrites one or more tags for the specified AWS CloudHSM
269 resource.
270  
271 Each tag consists of a key and a value. Tag keys must be unique to each
272 resource.
273  
274  
275 =head2 CreateHapg
276  
277 =over
278  
279 =item Label => Str
280  
281  
282 =back
283  
284 Each argument is described in detail in: L<Paws::CloudHSM::CreateHapg>
285  
286 Returns: a L<Paws::CloudHSM::CreateHapgResponse> instance
287  
288 This is documentation for B<AWS CloudHSM Classic>. For more
289 information, see AWS CloudHSM Classic FAQs
290 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
291 Classic User Guide
292 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
293 CloudHSM Classic API Reference
294 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
295  
296 B<For information about the current version of AWS CloudHSM>, see AWS
297 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
298 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
299 CloudHSM API Reference
300 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
301  
302 Creates a high-availability partition group. A high-availability
303 partition group is a group of partitions that spans multiple physical
304 HSMs.
305  
306  
307 =head2 CreateHsm
308  
309 =over
310  
311 =item IamRoleArn => Str
312  
313 =item SshKey => Str
314  
315 =item SubnetId => Str
316  
317 =item SubscriptionType => Str
318  
319 =item [ClientToken => Str]
320  
321 =item [EniIp => Str]
322  
323 =item [ExternalId => Str]
324  
325 =item [SyslogIp => Str]
326  
327  
328 =back
329  
330 Each argument is described in detail in: L<Paws::CloudHSM::CreateHsm>
331  
332 Returns: a L<Paws::CloudHSM::CreateHsmResponse> instance
333  
334 This is documentation for B<AWS CloudHSM Classic>. For more
335 information, see AWS CloudHSM Classic FAQs
336 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
337 Classic User Guide
338 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
339 CloudHSM Classic API Reference
340 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
341  
342 B<For information about the current version of AWS CloudHSM>, see AWS
343 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
344 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
345 CloudHSM API Reference
346 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
347  
348 Creates an uninitialized HSM instance.
349  
350 There is an upfront fee charged for each HSM instance that you create
351 with the C<CreateHsm> operation. If you accidentally provision an HSM
352 and want to request a refund, delete the instance using the DeleteHsm
353 operation, go to the AWS Support Center
354 (https://console.aws.amazon.com/support/home), create a new case, and
355 select B<Account and Billing Support>.
356  
357 It can take up to 20 minutes to create and provision an HSM. You can
358 monitor the status of the HSM with the DescribeHsm operation. The HSM
359 is ready to be initialized when the status changes to C<RUNNING>.
360  
361  
362 =head2 CreateLunaClient
363  
364 =over
365  
366 =item Certificate => Str
367  
368 =item [Label => Str]
369  
370  
371 =back
372  
373 Each argument is described in detail in: L<Paws::CloudHSM::CreateLunaClient>
374  
375 Returns: a L<Paws::CloudHSM::CreateLunaClientResponse> instance
376  
377 This is documentation for B<AWS CloudHSM Classic>. For more
378 information, see AWS CloudHSM Classic FAQs
379 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
380 Classic User Guide
381 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
382 CloudHSM Classic API Reference
383 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
384  
385 B<For information about the current version of AWS CloudHSM>, see AWS
386 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
387 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
388 CloudHSM API Reference
389 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
390  
391 Creates an HSM client.
392  
393  
394 =head2 DeleteHapg
395  
396 =over
397  
398 =item HapgArn => Str
399  
400  
401 =back
402  
403 Each argument is described in detail in: L<Paws::CloudHSM::DeleteHapg>
404  
405 Returns: a L<Paws::CloudHSM::DeleteHapgResponse> instance
406  
407 This is documentation for B<AWS CloudHSM Classic>. For more
408 information, see AWS CloudHSM Classic FAQs
409 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
410 Classic User Guide
411 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
412 CloudHSM Classic API Reference
413 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
414  
415 B<For information about the current version of AWS CloudHSM>, see AWS
416 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
417 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
418 CloudHSM API Reference
419 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
420  
421 Deletes a high-availability partition group.
422  
423  
424 =head2 DeleteHsm
425  
426 =over
427  
428 =item HsmArn => Str
429  
430  
431 =back
432  
433 Each argument is described in detail in: L<Paws::CloudHSM::DeleteHsm>
434  
435 Returns: a L<Paws::CloudHSM::DeleteHsmResponse> instance
436  
437 This is documentation for B<AWS CloudHSM Classic>. For more
438 information, see AWS CloudHSM Classic FAQs
439 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
440 Classic User Guide
441 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
442 CloudHSM Classic API Reference
443 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
444  
445 B<For information about the current version of AWS CloudHSM>, see AWS
446 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
447 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
448 CloudHSM API Reference
449 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
450  
451 Deletes an HSM. After completion, this operation cannot be undone and
452 your key material cannot be recovered.
453  
454  
455 =head2 DeleteLunaClient
456  
457 =over
458  
459 =item ClientArn => Str
460  
461  
462 =back
463  
464 Each argument is described in detail in: L<Paws::CloudHSM::DeleteLunaClient>
465  
466 Returns: a L<Paws::CloudHSM::DeleteLunaClientResponse> instance
467  
468 This is documentation for B<AWS CloudHSM Classic>. For more
469 information, see AWS CloudHSM Classic FAQs
470 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
471 Classic User Guide
472 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
473 CloudHSM Classic API Reference
474 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
475  
476 B<For information about the current version of AWS CloudHSM>, see AWS
477 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
478 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
479 CloudHSM API Reference
480 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
481  
482 Deletes a client.
483  
484  
485 =head2 DescribeHapg
486  
487 =over
488  
489 =item HapgArn => Str
490  
491  
492 =back
493  
494 Each argument is described in detail in: L<Paws::CloudHSM::DescribeHapg>
495  
496 Returns: a L<Paws::CloudHSM::DescribeHapgResponse> instance
497  
498 This is documentation for B<AWS CloudHSM Classic>. For more
499 information, see AWS CloudHSM Classic FAQs
500 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
501 Classic User Guide
502 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
503 CloudHSM Classic API Reference
504 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
505  
506 B<For information about the current version of AWS CloudHSM>, see AWS
507 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
508 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
509 CloudHSM API Reference
510 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
511  
512 Retrieves information about a high-availability partition group.
513  
514  
515 =head2 DescribeHsm
516  
517 =over
518  
519 =item [HsmArn => Str]
520  
521 =item [HsmSerialNumber => Str]
522  
523  
524 =back
525  
526 Each argument is described in detail in: L<Paws::CloudHSM::DescribeHsm>
527  
528 Returns: a L<Paws::CloudHSM::DescribeHsmResponse> instance
529  
530 This is documentation for B<AWS CloudHSM Classic>. For more
531 information, see AWS CloudHSM Classic FAQs
532 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
533 Classic User Guide
534 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
535 CloudHSM Classic API Reference
536 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
537  
538 B<For information about the current version of AWS CloudHSM>, see AWS
539 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
540 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
541 CloudHSM API Reference
542 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
543  
544 Retrieves information about an HSM. You can identify the HSM by its ARN
545 or its serial number.
546  
547  
548 =head2 DescribeLunaClient
549  
550 =over
551  
552 =item [CertificateFingerprint => Str]
553  
554 =item [ClientArn => Str]
555  
556  
557 =back
558  
559 Each argument is described in detail in: L<Paws::CloudHSM::DescribeLunaClient>
560  
561 Returns: a L<Paws::CloudHSM::DescribeLunaClientResponse> instance
562  
563 This is documentation for B<AWS CloudHSM Classic>. For more
564 information, see AWS CloudHSM Classic FAQs
565 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
566 Classic User Guide
567 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
568 CloudHSM Classic API Reference
569 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
570  
571 B<For information about the current version of AWS CloudHSM>, see AWS
572 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
573 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
574 CloudHSM API Reference
575 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
576  
577 Retrieves information about an HSM client.
578  
579  
580 =head2 GetConfig
581  
582 =over
583  
584 =item ClientArn => Str
585  
586 =item ClientVersion => Str
587  
588 =item HapgList => ArrayRef[Str|Undef]
589  
590  
591 =back
592  
593 Each argument is described in detail in: L<Paws::CloudHSM::GetConfig>
594  
595 Returns: a L<Paws::CloudHSM::GetConfigResponse> instance
596  
597 This is documentation for B<AWS CloudHSM Classic>. For more
598 information, see AWS CloudHSM Classic FAQs
599 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
600 Classic User Guide
601 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
602 CloudHSM Classic API Reference
603 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
604  
605 B<For information about the current version of AWS CloudHSM>, see AWS
606 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
607 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
608 CloudHSM API Reference
609 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
610  
611 Gets the configuration files necessary to connect to all high
612 availability partition groups the client is associated with.
613  
614  
615 =head2 ListAvailableZones
616  
617  
618  
619  
620  
621  
622 Each argument is described in detail in: L<Paws::CloudHSM::ListAvailableZones>
623  
624 Returns: a L<Paws::CloudHSM::ListAvailableZonesResponse> instance
625  
626 This is documentation for B<AWS CloudHSM Classic>. For more
627 information, see AWS CloudHSM Classic FAQs
628 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
629 Classic User Guide
630 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
631 CloudHSM Classic API Reference
632 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
633  
634 B<For information about the current version of AWS CloudHSM>, see AWS
635 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
636 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
637 CloudHSM API Reference
638 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
639  
640 Lists the Availability Zones that have available AWS CloudHSM capacity.
641  
642  
643 =head2 ListHapgs
644  
645 =over
646  
647 =item [NextToken => Str]
648  
649  
650 =back
651  
652 Each argument is described in detail in: L<Paws::CloudHSM::ListHapgs>
653  
654 Returns: a L<Paws::CloudHSM::ListHapgsResponse> instance
655  
656 This is documentation for B<AWS CloudHSM Classic>. For more
657 information, see AWS CloudHSM Classic FAQs
658 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
659 Classic User Guide
660 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
661 CloudHSM Classic API Reference
662 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
663  
664 B<For information about the current version of AWS CloudHSM>, see AWS
665 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
666 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
667 CloudHSM API Reference
668 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
669  
670 Lists the high-availability partition groups for the account.
671  
672 This operation supports pagination with the use of the C<NextToken>
673 member. If more results are available, the C<NextToken> member of the
674 response contains a token that you pass in the next call to
675 C<ListHapgs> to retrieve the next set of items.
676  
677  
678 =head2 ListHsms
679  
680 =over
681  
682 =item [NextToken => Str]
683  
684  
685 =back
686  
687 Each argument is described in detail in: L<Paws::CloudHSM::ListHsms>
688  
689 Returns: a L<Paws::CloudHSM::ListHsmsResponse> instance
690  
691 This is documentation for B<AWS CloudHSM Classic>. For more
692 information, see AWS CloudHSM Classic FAQs
693 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
694 Classic User Guide
695 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
696 CloudHSM Classic API Reference
697 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
698  
699 B<For information about the current version of AWS CloudHSM>, see AWS
700 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
701 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
702 CloudHSM API Reference
703 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
704  
705 Retrieves the identifiers of all of the HSMs provisioned for the
706 current customer.
707  
708 This operation supports pagination with the use of the C<NextToken>
709 member. If more results are available, the C<NextToken> member of the
710 response contains a token that you pass in the next call to C<ListHsms>
711 to retrieve the next set of items.
712  
713  
714 =head2 ListLunaClients
715  
716 =over
717  
718 =item [NextToken => Str]
719  
720  
721 =back
722  
723 Each argument is described in detail in: L<Paws::CloudHSM::ListLunaClients>
724  
725 Returns: a L<Paws::CloudHSM::ListLunaClientsResponse> instance
726  
727 This is documentation for B<AWS CloudHSM Classic>. For more
728 information, see AWS CloudHSM Classic FAQs
729 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
730 Classic User Guide
731 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
732 CloudHSM Classic API Reference
733 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
734  
735 B<For information about the current version of AWS CloudHSM>, see AWS
736 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
737 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
738 CloudHSM API Reference
739 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
740  
741 Lists all of the clients.
742  
743 This operation supports pagination with the use of the C<NextToken>
744 member. If more results are available, the C<NextToken> member of the
745 response contains a token that you pass in the next call to
746 C<ListLunaClients> to retrieve the next set of items.
747  
748  
749 =head2 ListTagsForResource
750  
751 =over
752  
753 =item ResourceArn => Str
754  
755  
756 =back
757  
758 Each argument is described in detail in: L<Paws::CloudHSM::ListTagsForResource>
759  
760 Returns: a L<Paws::CloudHSM::ListTagsForResourceResponse> instance
761  
762 This is documentation for B<AWS CloudHSM Classic>. For more
763 information, see AWS CloudHSM Classic FAQs
764 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
765 Classic User Guide
766 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
767 CloudHSM Classic API Reference
768 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
769  
770 B<For information about the current version of AWS CloudHSM>, see AWS
771 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
772 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
773 CloudHSM API Reference
774 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
775  
776 Returns a list of all tags for the specified AWS CloudHSM resource.
777  
778  
779 =head2 ModifyHapg
780  
781 =over
782  
783 =item HapgArn => Str
784  
785 =item [Label => Str]
786  
787 =item [PartitionSerialList => ArrayRef[Str|Undef]]
788  
789  
790 =back
791  
792 Each argument is described in detail in: L<Paws::CloudHSM::ModifyHapg>
793  
794 Returns: a L<Paws::CloudHSM::ModifyHapgResponse> instance
795  
796 This is documentation for B<AWS CloudHSM Classic>. For more
797 information, see AWS CloudHSM Classic FAQs
798 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
799 Classic User Guide
800 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
801 CloudHSM Classic API Reference
802 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
803  
804 B<For information about the current version of AWS CloudHSM>, see AWS
805 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
806 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
807 CloudHSM API Reference
808 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
809  
810 Modifies an existing high-availability partition group.
811  
812  
813 =head2 ModifyHsm
814  
815 =over
816  
817 =item HsmArn => Str
818  
819 =item [EniIp => Str]
820  
821 =item [ExternalId => Str]
822  
823 =item [IamRoleArn => Str]
824  
825 =item [SubnetId => Str]
826  
827 =item [SyslogIp => Str]
828  
829  
830 =back
831  
832 Each argument is described in detail in: L<Paws::CloudHSM::ModifyHsm>
833  
834 Returns: a L<Paws::CloudHSM::ModifyHsmResponse> instance
835  
836 This is documentation for B<AWS CloudHSM Classic>. For more
837 information, see AWS CloudHSM Classic FAQs
838 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
839 Classic User Guide
840 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
841 CloudHSM Classic API Reference
842 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
843  
844 B<For information about the current version of AWS CloudHSM>, see AWS
845 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
846 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
847 CloudHSM API Reference
848 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
849  
850 Modifies an HSM.
851  
852 This operation can result in the HSM being offline for up to 15 minutes
853 while the AWS CloudHSM service is reconfigured. If you are modifying a
854 production HSM, you should ensure that your AWS CloudHSM service is
855 configured for high availability, and consider executing this operation
856 during a maintenance window.
857  
858  
859 =head2 ModifyLunaClient
860  
861 =over
862  
863 =item Certificate => Str
864  
865 =item ClientArn => Str
866  
867  
868 =back
869  
870 Each argument is described in detail in: L<Paws::CloudHSM::ModifyLunaClient>
871  
872 Returns: a L<Paws::CloudHSM::ModifyLunaClientResponse> instance
873  
874 This is documentation for B<AWS CloudHSM Classic>. For more
875 information, see AWS CloudHSM Classic FAQs
876 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
877 Classic User Guide
878 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
879 CloudHSM Classic API Reference
880 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
881  
882 B<For information about the current version of AWS CloudHSM>, see AWS
883 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
884 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
885 CloudHSM API Reference
886 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
887  
888 Modifies the certificate used by the client.
889  
890 This action can potentially start a workflow to install the new
891 certificate on the client's HSMs.
892  
893  
894 =head2 RemoveTagsFromResource
895  
896 =over
897  
898 =item ResourceArn => Str
899  
900 =item TagKeyList => ArrayRef[Str|Undef]
901  
902  
903 =back
904  
905 Each argument is described in detail in: L<Paws::CloudHSM::RemoveTagsFromResource>
906  
907 Returns: a L<Paws::CloudHSM::RemoveTagsFromResourceResponse> instance
908  
909 This is documentation for B<AWS CloudHSM Classic>. For more
910 information, see AWS CloudHSM Classic FAQs
911 (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM
912 Classic User Guide
913 (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS
914 CloudHSM Classic API Reference
915 (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/).
916  
917 B<For information about the current version of AWS CloudHSM>, see AWS
918 CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
919 (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS
920 CloudHSM API Reference
921 (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
922  
923 Removes one or more tags from the specified AWS CloudHSM resource.
924  
925 To remove a tag, specify only the tag key to remove (not the value). To
926 overwrite the value for an existing tag, use AddTagsToResource.
927  
928  
929  
930  
931 =head1 PAGINATORS
932  
933 Paginator methods are helpers that repetively call methods that return partial results
934  
935 =head2 ListAllHapgs(sub { },[NextToken => Str])
936  
937 =head2 ListAllHapgs([NextToken => Str])
938  
939  
940 If passed a sub as first parameter, it will call the sub for each element found in :
941  
942 - HapgList, passing the object as the first parameter, and the string 'HapgList' as the second parameter
943  
944 If not, it will return a a L<Paws::CloudHSM::ListHapgsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
945  
946  
947 =head2 ListAllHsms(sub { },[NextToken => Str])
948  
949 =head2 ListAllHsms([NextToken => Str])
950  
951  
952 If passed a sub as first parameter, it will call the sub for each element found in :
953  
954 - HsmList, passing the object as the first parameter, and the string 'HsmList' as the second parameter
955  
956 If not, it will return a a L<Paws::CloudHSM::ListHsmsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
957  
958  
959 =head2 ListAllLunaClients(sub { },[NextToken => Str])
960  
961 =head2 ListAllLunaClients([NextToken => Str])
962  
963  
964 If passed a sub as first parameter, it will call the sub for each element found in :
965  
966 - ClientList, passing the object as the first parameter, and the string 'ClientList' as the second parameter
967  
968 If not, it will return a a L<Paws::CloudHSM::ListLunaClientsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
969  
970  
971  
972  
973  
974 =head1 SEE ALSO
975  
976 This service class forms part of L<Paws>
977  
978 =head1 BUGS and CONTRIBUTIONS
979  
980 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
981  
982 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
983  
984 =cut
985