File Coverage

blib/lib/Paws/SSM/PutComplianceItems.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::PutComplianceItems;
3 1     1   628 use Moose;
  1         3  
  1         9  
4             has ComplianceType => (is => 'ro', isa => 'Str', required => 1);
5             has ExecutionSummary => (is => 'ro', isa => 'Paws::SSM::ComplianceExecutionSummary', required => 1);
6             has ItemContentHash => (is => 'ro', isa => 'Str');
7             has Items => (is => 'ro', isa => 'ArrayRef[Paws::SSM::ComplianceItemEntry]', required => 1);
8             has ResourceId => (is => 'ro', isa => 'Str', required => 1);
9             has ResourceType => (is => 'ro', isa => 'Str', required => 1);
10              
11 1     1   9001 use MooseX::ClassAttribute;
  1         4  
  1         10  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutComplianceItems');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::PutComplianceItemsResult');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::SSM::PutComplianceItems - Arguments for method PutComplianceItems on Paws::SSM
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method PutComplianceItems on the
27             Amazon Simple Systems Manager (SSM) service. Use the attributes of this class
28             as arguments to method PutComplianceItems.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutComplianceItems.
31              
32             As an example:
33              
34             $service_obj->PutComplianceItems(Att1 => $value1, Att2 => $value2, ...);
35              
36             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.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 B<REQUIRED> ComplianceType => Str
42              
43             Specify the compliance type. For example, specify Association (for a
44             State Manager association), Patch, or Custom:C<string>.
45              
46              
47              
48             =head2 B<REQUIRED> ExecutionSummary => L<Paws::SSM::ComplianceExecutionSummary>
49              
50             A summary of the call execution that includes an execution ID, the type
51             of execution (for example, C<Command>), and the date/time of the
52             execution using a datetime object that is saved in the following
53             format: yyyy-MM-dd'T'HH:mm:ss'Z'.
54              
55              
56              
57             =head2 ItemContentHash => Str
58              
59             MD5 or SHA-256 content hash. The content hash is used to determine if
60             existing information should be overwritten or ignored. If the content
61             hashes match, the request to put compliance information is ignored.
62              
63              
64              
65             =head2 B<REQUIRED> Items => ArrayRef[L<Paws::SSM::ComplianceItemEntry>]
66              
67             Information about the compliance as defined by the resource type. For
68             example, for a patch compliance type, C<Items> includes information
69             about the PatchSeverity, Classification, etc.
70              
71              
72              
73             =head2 B<REQUIRED> ResourceId => Str
74              
75             Specify an ID for this resource. For a managed instance, this is the
76             instance ID.
77              
78              
79              
80             =head2 B<REQUIRED> ResourceType => Str
81              
82             Specify the type of resource. C<ManagedInstance> is currently the only
83             supported resource type.
84              
85              
86              
87              
88             =head1 SEE ALSO
89              
90             This class forms part of L<Paws>, documenting arguments for method PutComplianceItems in L<Paws::SSM>
91              
92             =head1 BUGS and CONTRIBUTIONS
93              
94             The source code is located here: https://github.com/pplu/aws-sdk-perl
95              
96             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
97              
98             =cut
99