File Coverage

blib/lib/Paws/Lightsail/InstanceAccessDetails.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::Lightsail::InstanceAccessDetails;
2 1     1   648 use Moose;
  1         3  
  1         11  
3             has CertKey => (is => 'ro', isa => 'Str', request_name => 'certKey', traits => ['NameInRequest']);
4             has ExpiresAt => (is => 'ro', isa => 'Str', request_name => 'expiresAt', traits => ['NameInRequest']);
5             has InstanceName => (is => 'ro', isa => 'Str', request_name => 'instanceName', traits => ['NameInRequest']);
6             has IpAddress => (is => 'ro', isa => 'Str', request_name => 'ipAddress', traits => ['NameInRequest']);
7             has Password => (is => 'ro', isa => 'Str', request_name => 'password', traits => ['NameInRequest']);
8             has PrivateKey => (is => 'ro', isa => 'Str', request_name => 'privateKey', traits => ['NameInRequest']);
9             has Protocol => (is => 'ro', isa => 'Str', request_name => 'protocol', traits => ['NameInRequest']);
10             has Username => (is => 'ro', isa => 'Str', request_name => 'username', traits => ['NameInRequest']);
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::Lightsail::InstanceAccessDetails
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::Lightsail::InstanceAccessDetails object:
29              
30             $service_obj->Method(Att1 => { CertKey => $value, ..., Username => $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::Lightsail::InstanceAccessDetails object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->CertKey
38              
39             =head1 DESCRIPTION
40              
41             The parameters for gaining temporary access to one of your Amazon
42             Lightsail instances.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 CertKey => Str
48              
49             For SSH access, the public key to use when accessing your instance For
50             OpenSSH clients (e.g., command line SSH), you should save this value to
51             C<tempkey-cert.pub>.
52              
53              
54             =head2 ExpiresAt => Str
55              
56             For SSH access, the date on which the temporary keys expire.
57              
58              
59             =head2 InstanceName => Str
60              
61             The name of this Amazon Lightsail instance.
62              
63              
64             =head2 IpAddress => Str
65              
66             The public IP address of the Amazon Lightsail instance.
67              
68              
69             =head2 Password => Str
70              
71             For RDP access, the temporary password of the Amazon EC2 instance.
72              
73              
74             =head2 PrivateKey => Str
75              
76             For SSH access, the temporary private key. For OpenSSH clients (e.g.,
77             command line SSH), you should save this value to C<tempkey>).
78              
79              
80             =head2 Protocol => Str
81              
82             The protocol for these Amazon Lightsail instance access details.
83              
84              
85             =head2 Username => Str
86              
87             The user name to use when logging in to the Amazon Lightsail instance.
88              
89              
90              
91             =head1 SEE ALSO
92              
93             This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
94              
95             =head1 BUGS and CONTRIBUTIONS
96              
97             The source code is located here: https://github.com/pplu/aws-sdk-perl
98              
99             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
100              
101             =cut
102