File Coverage

blib/lib/Paws/SSM/CreateActivation.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::SSM::CreateActivation;
3 1     1   615 use Moose;
  1         4  
  1         11  
4             has DefaultInstanceName => (is => 'ro', isa => 'Str');
5             has Description => (is => 'ro', isa => 'Str');
6             has ExpirationDate => (is => 'ro', isa => 'Str');
7             has IamRole => (is => 'ro', isa => 'Str', required => 1);
8             has RegistrationLimit => (is => 'ro', isa => 'Int');
9              
10 1     1   11320 use MooseX::ClassAttribute;
  1         5  
  1         12  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateActivation');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::CreateActivationResult');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::SSM::CreateActivation - Arguments for method CreateActivation on Paws::SSM
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method CreateActivation on the
26             Amazon Simple Systems Manager (SSM) service. Use the attributes of this class
27             as arguments to method CreateActivation.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateActivation.
30              
31             As an example:
32              
33             $service_obj->CreateActivation(Att1 => $value1, Att2 => $value2, ...);
34              
35             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.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 DefaultInstanceName => Str
41              
42             The name of the registered, managed instance as it will appear in the
43             Amazon EC2 console or when you use the AWS command line tools to list
44             EC2 resources.
45              
46              
47              
48             =head2 Description => Str
49              
50             A userdefined description of the resource that you want to register
51             with Amazon EC2.
52              
53              
54              
55             =head2 ExpirationDate => Str
56              
57             The date by which this activation request should expire. The default
58             value is 24 hours.
59              
60              
61              
62             =head2 B<REQUIRED> IamRole => Str
63              
64             The Amazon Identity and Access Management (IAM) role that you want to
65             assign to the managed instance.
66              
67              
68              
69             =head2 RegistrationLimit => Int
70              
71             Specify the maximum number of managed instances you want to register.
72             The default value is 1 instance.
73              
74              
75              
76              
77             =head1 SEE ALSO
78              
79             This class forms part of L<Paws>, documenting arguments for method CreateActivation in L<Paws::SSM>
80              
81             =head1 BUGS and CONTRIBUTIONS
82              
83             The source code is located here: https://github.com/pplu/aws-sdk-perl
84              
85             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
86              
87             =cut
88