blib/lib/Paws/IoT/ThingIndexingConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IoT::ThingIndexingConfiguration;
3 use Moose;
4 has CustomFields => (is => 'ro', isa => 'ArrayRef[Paws::IoT::Field]', request_name => 'customFields', traits => ['NameInRequest']);
5 has ManagedFields => (is => 'ro', isa => 'ArrayRef[Paws::IoT::Field]', request_name => 'managedFields', traits => ['NameInRequest']);
6 has ThingConnectivityIndexingMode => (is => 'ro', isa => 'Str', request_name => 'thingConnectivityIndexingMode', traits => ['NameInRequest']);
7 has ThingIndexingMode => (is => 'ro', isa => 'Str', request_name => 'thingIndexingMode', traits => ['NameInRequest'], required => 1);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::IoT::ThingIndexingConfiguration
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::IoT::ThingIndexingConfiguration object:
27  
28 $service_obj->Method(Att1 => { CustomFields => $value, ..., ThingIndexingMode => $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::IoT::ThingIndexingConfiguration object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->CustomFields
36  
37 =head1 DESCRIPTION
38  
39 The thing indexing configuration. For more information, see Managing
40 Thing Indexing
41 (https://docs.aws.amazon.com/iot/latest/developerguide/managing-index.html).
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 CustomFields => ArrayRef[L<Paws::IoT::Field>]
47  
48 Contains custom field names and their data type.
49  
50  
51 =head2 ManagedFields => ArrayRef[L<Paws::IoT::Field>]
52  
53 Contains fields that are indexed and whose types are already known by
54 the Fleet Indexing service.
55  
56  
57 =head2 ThingConnectivityIndexingMode => Str
58  
59 Thing connectivity indexing mode. Valid values are:
60  
61 =over
62  
63 =item *
64  
65 STATUS E<ndash> Your thing index contains connectivity status. To
66 enable thing connectivity indexing, thingIndexMode must not be set to
67 OFF.
68  
69 =item *
70  
71 OFF - Thing connectivity status indexing is disabled.
72  
73 =back
74  
75  
76  
77 =head2 B<REQUIRED> ThingIndexingMode => Str
78  
79 Thing indexing mode. Valid values are:
80  
81 =over
82  
83 =item *
84  
85 REGISTRY E<ndash> Your thing index contains registry data only.
86  
87 =item *
88  
89 REGISTRY_AND_SHADOW - Your thing index contains registry and shadow
90 data.
91  
92 =item *
93  
94 OFF - Thing indexing is disabled.
95  
96 =back
97  
98  
99  
100  
101 =head1 SEE ALSO
102  
103 This class forms part of L<Paws>, describing an object used in L<Paws::IoT>
104  
105 =head1 BUGS and CONTRIBUTIONS
106  
107 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
108  
109 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
110  
111 =cut
112