File Coverage

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