File Coverage

blib/lib/Paws/CloudHSMv2/Hsm.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


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