blib/lib/Paws/CloudHSMv2/Hsm.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CloudHSMv2::Hsm;
3 use Moose;
4 has AvailabilityZone => (is => 'ro', isa => 'Str');
5 has ClusterId => (is => 'ro', isa => 'Str');
6 has EniId => (is => 'ro', isa => 'Str');
7 has EniIp => (is => 'ro', isa => 'Str');
8 has HsmId => (is => 'ro', isa => 'Str', required => 1);
9 has State => (is => 'ro', isa => 'Str');
10 has StateMessage => (is => 'ro', isa => 'Str');
11 has SubnetId => (is => 'ro', isa => 'Str');
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::CloudHSMv2::Hsm
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::CloudHSMv2::Hsm object:
31  
32 $service_obj->Method(Att1 => { AvailabilityZone => $value, ..., SubnetId => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::CloudHSMv2::Hsm object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->AvailabilityZone
40  
41 =head1 DESCRIPTION
42  
43 Contains information about a hardware security module (HSM) in an AWS
44 CloudHSM cluster.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 AvailabilityZone => Str
50  
51 The Availability Zone that contains the HSM.
52  
53  
54 =head2 ClusterId => Str
55  
56 The identifier (ID) of the cluster that contains the HSM.
57  
58  
59 =head2 EniId => Str
60  
61 The identifier (ID) of the HSM's elastic network interface (ENI).
62  
63  
64 =head2 EniIp => Str
65  
66 The IP address of the HSM's elastic network interface (ENI).
67  
68  
69 =head2 B<REQUIRED> HsmId => Str
70  
71 The HSM's identifier (ID).
72  
73  
74 =head2 State => Str
75  
76 The HSM's state.
77  
78  
79 =head2 StateMessage => Str
80  
81 A description of the HSM's state.
82  
83  
84 =head2 SubnetId => Str
85  
86 The subnet that contains the HSM's elastic network interface (ENI).
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, describing an object used in L<Paws::CloudHSMv2>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101