File Coverage

blib/lib/Paws/SSM/InventoryItemSchema.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::InventoryItemSchema;
2 1     1   442 use Moose;
  1         4  
  1         7  
3             has Attributes => (is => 'ro', isa => 'ArrayRef[Paws::SSM::InventoryItemAttribute]', request_name => 'Attribute', traits => ['NameInRequest'], required => 1);
4             has TypeName => (is => 'ro', isa => 'Str', required => 1);
5             has Version => (is => 'ro', isa => 'Str');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::SSM::InventoryItemSchema
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::SSM::InventoryItemSchema object:
24              
25             $service_obj->Method(Att1 => { Attributes => $value, ..., Version => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::InventoryItemSchema object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Attributes
33              
34             =head1 DESCRIPTION
35              
36             The inventory item schema definition. Users can use this to compose
37             inventory query filters.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 B<REQUIRED> Attributes => ArrayRef[L<Paws::SSM::InventoryItemAttribute>]
43              
44             The schema attributes for inventory. This contains data type and
45             attribute name.
46              
47              
48             =head2 B<REQUIRED> TypeName => Str
49              
50             The name of the inventory type. Default inventory item type names start
51             with AWS. Custom inventory type names will start with Custom. Default
52             inventory item types include the following: AWS:AWSComponent,
53             AWS:Application, AWS:InstanceInformation, AWS:Network, and
54             AWS:WindowsUpdate.
55              
56              
57             =head2 Version => Str
58              
59             The schema version for the inventory item.
60              
61              
62              
63             =head1 SEE ALSO
64              
65             This class forms part of L<Paws>, describing an object used in L<Paws::SSM>
66              
67             =head1 BUGS and CONTRIBUTIONS
68              
69             The source code is located here: https://github.com/pplu/aws-sdk-perl
70              
71             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
72              
73             =cut
74