blib/lib/Paws/SSM/PatchSource.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SSM::PatchSource;
3 use Moose;
4 has Configuration => (is => 'ro', isa => 'Str', required => 1);
5 has Name => (is => 'ro', isa => 'Str', required => 1);
6 has Products => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::SSM::PatchSource
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::SSM::PatchSource object:
26  
27 $service_obj->Method(Att1 => { Configuration => $value, ..., Products => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::PatchSource object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->Configuration
35  
36 =head1 DESCRIPTION
37  
38 Information about the patches to use to update the instances, including
39 target operating systems and source repository. Applies to Linux
40 instances only.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 B<REQUIRED> Configuration => Str
46  
47 The value of the yum repo configuration. For example:
48  
49 C<[main]>
50  
51 C<name=MyCustomRepository>
52  
53 C<baseurl=https://my-custom-repository>
54  
55 C<enabled=1>
56  
57 For information about other options available for your yum repository
58 configuration, see dnf.conf(5)
59 (https://man7.org/linux/man-pages/man5/dnf.conf.5.html).
60  
61  
62 =head2 B<REQUIRED> Name => Str
63  
64 The name specified to identify the patch source.
65  
66  
67 =head2 B<REQUIRED> Products => ArrayRef[Str|Undef]
68  
69 The specific operating system versions a patch repository applies to,
70 such as "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2"
71 or "Suse12.7". For lists of supported product values, see PatchFilter.
72  
73  
74  
75 =head1 SEE ALSO
76  
77 This class forms part of L<Paws>, describing an object used in L<Paws::SSM>
78  
79 =head1 BUGS and CONTRIBUTIONS
80  
81 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
82  
83 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
84  
85 =cut
86