File Coverage

blib/lib/Paws/SSM/Activation.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::SSM::Activation;
2 1     1   671 use Moose;
  1         4  
  1         11  
3             has ActivationId => (is => 'ro', isa => 'Str');
4             has CreatedDate => (is => 'ro', isa => 'Str');
5             has DefaultInstanceName => (is => 'ro', isa => 'Str');
6             has Description => (is => 'ro', isa => 'Str');
7             has ExpirationDate => (is => 'ro', isa => 'Str');
8             has Expired => (is => 'ro', isa => 'Bool');
9             has IamRole => (is => 'ro', isa => 'Str');
10             has RegistrationLimit => (is => 'ro', isa => 'Int');
11             has RegistrationsCount => (is => 'ro', isa => 'Int');
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::SSM::Activation
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::SSM::Activation object:
30              
31             $service_obj->Method(Att1 => { ActivationId => $value, ..., RegistrationsCount => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::Activation object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->ActivationId
39              
40             =head1 DESCRIPTION
41              
42             An activation registers one or more on-premises servers or virtual
43             machines (VMs) with AWS so that you can configure those servers or VMs
44             using Run Command. A server or VM that has been registered with AWS is
45             called a managed instance.
46              
47             =head1 ATTRIBUTES
48              
49              
50             =head2 ActivationId => Str
51              
52             The ID created by Systems Manager when you submitted the activation.
53              
54              
55             =head2 CreatedDate => Str
56              
57             The date the activation was created.
58              
59              
60             =head2 DefaultInstanceName => Str
61              
62             A name for the managed instance when it is created.
63              
64              
65             =head2 Description => Str
66              
67             A user defined description of the activation.
68              
69              
70             =head2 ExpirationDate => Str
71              
72             The date when this activation can no longer be used to register managed
73             instances.
74              
75              
76             =head2 Expired => Bool
77              
78             Whether or not the activation is expired.
79              
80              
81             =head2 IamRole => Str
82              
83             The Amazon Identity and Access Management (IAM) role to assign to the
84             managed instance.
85              
86              
87             =head2 RegistrationLimit => Int
88              
89             The maximum number of managed instances that can be registered using
90             this activation.
91              
92              
93             =head2 RegistrationsCount => Int
94              
95             The number of managed instances already registered with this
96             activation.
97              
98              
99              
100             =head1 SEE ALSO
101              
102             This class forms part of L<Paws>, describing an object used in L<Paws::SSM>
103              
104             =head1 BUGS and CONTRIBUTIONS
105              
106             The source code is located here: https://github.com/pplu/aws-sdk-perl
107              
108             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
109              
110             =cut
111