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

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 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::InventoryItem;
3 use Moose;
4 has CaptureTime => (is => 'ro', isa => 'Str', required => 1);
5 has Content => (is => 'ro', isa => 'ArrayRef[Paws::SSM::InventoryItemEntry]');
6 has ContentHash => (is => 'ro', isa => 'Str');
7 has Context => (is => 'ro', isa => 'Paws::SSM::InventoryItemContentContext');
8 has SchemaVersion => (is => 'ro', isa => 'Str', required => 1);
9 has TypeName => (is => 'ro', isa => 'Str', required => 1);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::SSM::InventoryItem
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::SSM::InventoryItem object:
29  
30 $service_obj->Method(Att1 => { CaptureTime => $value, ..., TypeName => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::InventoryItem object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->CaptureTime
38  
39 =head1 DESCRIPTION
40  
41 Information collected from managed instances based on your inventory
42 policy document
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 B<REQUIRED> CaptureTime => Str
48  
49 The time the inventory information was collected.
50  
51  
52 =head2 Content => ArrayRef[L<Paws::SSM::InventoryItemEntry>]
53  
54 The inventory data of the inventory type.
55  
56  
57 =head2 ContentHash => Str
58  
59 MD5 hash of the inventory item type contents. The content hash is used
60 to determine whether to update inventory information. The PutInventory
61 API does not update the inventory item type contents if the MD5 hash
62 has not changed since last update.
63  
64  
65 =head2 Context => L<Paws::SSM::InventoryItemContentContext>
66  
67 A map of associated properties for a specified inventory type. For
68 example, with this attribute, you can specify the C<ExecutionId>,
69 C<ExecutionType>, C<ComplianceType> properties of the
70 C<AWS:ComplianceItem> type.
71  
72  
73 =head2 B<REQUIRED> SchemaVersion => Str
74  
75 The schema version for the inventory item.
76  
77  
78 =head2 B<REQUIRED> TypeName => Str
79  
80 The name of the inventory type. Default inventory item type names start
81 with AWS. Custom inventory type names will start with Custom. Default
82 inventory item types include the following: AWS:AWSComponent,
83 AWS:Application, AWS:InstanceInformation, AWS:Network, and
84 AWS:WindowsUpdate.
85  
86  
87  
88 =head1 SEE ALSO
89  
90 This class forms part of L<Paws>, describing an object used in L<Paws::SSM>
91  
92 =head1 BUGS and CONTRIBUTIONS
93  
94 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
95  
96 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
97  
98 =cut
99