blib/lib/Paws/Kendra/OneDriveConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Kendra::OneDriveConfiguration;
3 use Moose;
4 has DisableLocalGroups => (is => 'ro', isa => 'Bool');
5 has ExclusionPatterns => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6 has FieldMappings => (is => 'ro', isa => 'ArrayRef[Paws::Kendra::DataSourceToIndexFieldMapping]');
7 has InclusionPatterns => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8 has OneDriveUsers => (is => 'ro', isa => 'Paws::Kendra::OneDriveUsers', required => 1);
9 has SecretArn => (is => 'ro', isa => 'Str', required => 1);
10 has TenantDomain => (is => 'ro', isa => 'Str', required => 1);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::Kendra::OneDriveConfiguration
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::Kendra::OneDriveConfiguration object:
30  
31 $service_obj->Method(Att1 => { DisableLocalGroups => $value, ..., TenantDomain => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::Kendra::OneDriveConfiguration object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->DisableLocalGroups
39  
40 =head1 DESCRIPTION
41  
42 Provides configuration information for data sources that connect to
43 OneDrive.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 DisableLocalGroups => Bool
49  
50 A Boolean value that specifies whether local groups are disabled
51 (C<True>) or enabled (C<False>).
52  
53  
54 =head2 ExclusionPatterns => ArrayRef[Str|Undef]
55  
56 List of regular expressions applied to documents. Items that match the
57 exclusion pattern are not indexed. If you provide both an inclusion
58 pattern and an exclusion pattern, any item that matches the exclusion
59 pattern isn't indexed.
60  
61 The exclusion pattern is applied to the file name.
62  
63  
64 =head2 FieldMappings => ArrayRef[L<Paws::Kendra::DataSourceToIndexFieldMapping>]
65  
66 A list of C<DataSourceToIndexFieldMapping> objects that map Microsoft
67 OneDrive fields to custom fields in the Amazon Kendra index. You must
68 first create the index fields before you map OneDrive fields.
69  
70  
71 =head2 InclusionPatterns => ArrayRef[Str|Undef]
72  
73 A list of regular expression patterns. Documents that match the pattern
74 are included in the index. Documents that don't match the pattern are
75 excluded from the index. If a document matches both an inclusion
76 pattern and an exclusion pattern, the document is not included in the
77 index.
78  
79 The exclusion pattern is applied to the file name.
80  
81  
82 =head2 B<REQUIRED> OneDriveUsers => L<Paws::Kendra::OneDriveUsers>
83  
84 A list of user accounts whose documents should be indexed.
85  
86  
87 =head2 B<REQUIRED> SecretArn => Str
88  
89 The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that
90 contains the user name and password to connect to OneDrive. The user
91 namd should be the application ID for the OneDrive application, and the
92 password is the application key for the OneDrive application.
93  
94  
95 =head2 B<REQUIRED> TenantDomain => Str
96  
97 The Azure Active Directory domain of the organization.
98  
99  
100  
101 =head1 SEE ALSO
102  
103 This class forms part of L<Paws>, describing an object used in L<Paws::Kendra>
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