File Coverage

blib/lib/Paws/OpsWorks/RegisterInstance.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::OpsWorks::RegisterInstance;
3 1     1   592 use Moose;
  1         4  
  1         12  
4             has Hostname => (is => 'ro', isa => 'Str');
5             has InstanceIdentity => (is => 'ro', isa => 'Paws::OpsWorks::InstanceIdentity');
6             has PrivateIp => (is => 'ro', isa => 'Str');
7             has PublicIp => (is => 'ro', isa => 'Str');
8             has RsaPublicKey => (is => 'ro', isa => 'Str');
9             has RsaPublicKeyFingerprint => (is => 'ro', isa => 'Str');
10             has StackId => (is => 'ro', isa => 'Str', required => 1);
11              
12 1     1   7864 use MooseX::ClassAttribute;
  1         2  
  1         13  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'RegisterInstance');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::OpsWorks::RegisterInstanceResult');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::OpsWorks::RegisterInstance - Arguments for method RegisterInstance on Paws::OpsWorks
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method RegisterInstance on the
28             AWS OpsWorks service. Use the attributes of this class
29             as arguments to method RegisterInstance.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RegisterInstance.
32              
33             As an example:
34              
35             $service_obj->RegisterInstance(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 Hostname => Str
43              
44             The instance's hostname.
45              
46              
47              
48             =head2 InstanceIdentity => L<Paws::OpsWorks::InstanceIdentity>
49              
50             An InstanceIdentity object that contains the instance's identity.
51              
52              
53              
54             =head2 PrivateIp => Str
55              
56             The instance's private IP address.
57              
58              
59              
60             =head2 PublicIp => Str
61              
62             The instance's public IP address.
63              
64              
65              
66             =head2 RsaPublicKey => Str
67              
68             The instances public RSA key. This key is used to encrypt communication
69             between the instance and the service.
70              
71              
72              
73             =head2 RsaPublicKeyFingerprint => Str
74              
75             The instances public RSA key fingerprint.
76              
77              
78              
79             =head2 B<REQUIRED> StackId => Str
80              
81             The ID of the stack that the instance is to be registered with.
82              
83              
84              
85              
86             =head1 SEE ALSO
87              
88             This class forms part of L<Paws>, documenting arguments for method RegisterInstance in L<Paws::OpsWorks>
89              
90             =head1 BUGS and CONTRIBUTIONS
91              
92             The source code is located here: https://github.com/pplu/aws-sdk-perl
93              
94             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
95              
96             =cut
97