File Coverage

blib/lib/Paws/CloudHSM/ModifyHsm.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::CloudHSM::ModifyHsm;
3 1     1   284 use Moose;
  1         3  
  1         5  
4             has EniIp => (is => 'ro', isa => 'Str');
5             has ExternalId => (is => 'ro', isa => 'Str');
6             has HsmArn => (is => 'ro', isa => 'Str', required => 1);
7             has IamRoleArn => (is => 'ro', isa => 'Str');
8             has SubnetId => (is => 'ro', isa => 'Str');
9             has SyslogIp => (is => 'ro', isa => 'Str');
10              
11 1     1   5320 use MooseX::ClassAttribute;
  1         2  
  1         7  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyHsm');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudHSM::ModifyHsmResponse');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::CloudHSM::ModifyHsm - Arguments for method ModifyHsm on Paws::CloudHSM
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method ModifyHsm on the
27             Amazon CloudHSM service. Use the attributes of this class
28             as arguments to method ModifyHsm.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyHsm.
31              
32             As an example:
33              
34             $service_obj->ModifyHsm(Att1 => $value1, Att2 => $value2, ...);
35              
36             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 EniIp => Str
42              
43             The new IP address for the elastic network interface (ENI) attached to
44             the HSM.
45              
46             If the HSM is moved to a different subnet, and an IP address is not
47             specified, an IP address will be randomly chosen from the CIDR range of
48             the new subnet.
49              
50              
51              
52             =head2 ExternalId => Str
53              
54             The new external ID.
55              
56              
57              
58             =head2 B<REQUIRED> HsmArn => Str
59              
60             The ARN of the HSM to modify.
61              
62              
63              
64             =head2 IamRoleArn => Str
65              
66             The new IAM role ARN.
67              
68              
69              
70             =head2 SubnetId => Str
71              
72             The new identifier of the subnet that the HSM is in. The new subnet
73             must be in the same Availability Zone as the current subnet.
74              
75              
76              
77             =head2 SyslogIp => Str
78              
79             The new IP address for the syslog monitoring server. The AWS CloudHSM
80             service only supports one syslog monitoring server.
81              
82              
83              
84              
85             =head1 SEE ALSO
86              
87             This class forms part of L<Paws>, documenting arguments for method ModifyHsm in L<Paws::CloudHSM>
88              
89             =head1 BUGS and CONTRIBUTIONS
90              
91             The source code is located here: https://github.com/pplu/aws-sdk-perl
92              
93             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
94              
95             =cut
96