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

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 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::SeedUrlConfiguration;
3 use Moose;
4 has SeedUrls => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
5 has WebCrawlerMode => (is => 'ro', isa => 'Str');
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::Kendra::SeedUrlConfiguration
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::Kendra::SeedUrlConfiguration object:
25  
26 $service_obj->Method(Att1 => { SeedUrls => $value, ..., WebCrawlerMode => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::Kendra::SeedUrlConfiguration object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->SeedUrls
34  
35 =head1 DESCRIPTION
36  
37 Provides the configuration information of the seed or starting point
38 URLs to crawl.
39  
40 I<When selecting websites to index, you must adhere to the Amazon
41 Acceptable Use Policy (https://aws.amazon.com/aup/) and all other
42 Amazon terms. Remember that you must only use the Amazon Kendra web
43 crawler to index your own webpages, or webpages that you have
44 authorization to index.>
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 B<REQUIRED> SeedUrls => ArrayRef[Str|Undef]
50  
51 The list of seed or starting point URLs of the websites you want to
52 crawl.
53  
54 The list can include a maximum of 100 seed URLs.
55  
56  
57 =head2 WebCrawlerMode => Str
58  
59 You can choose one of the following modes:
60  
61 =over
62  
63 =item *
64  
65 C<HOST_ONLY> E<ndash> crawl only the website host names. For example,
66 if the seed URL is "abc.example.com", then only URLs with host name
67 "abc.example.com" are crawled.
68  
69 =item *
70  
71 C<SUBDOMAINS> E<ndash> crawl the website host names with subdomains.
72 For example, if the seed URL is "abc.example.com", then
73 "a.abc.example.com" and "b.abc.example.com" are also crawled.
74  
75 =item *
76  
77 C<EVERYTHING> E<ndash> crawl the website host names with subdomains and
78 other domains that the webpages link to.
79  
80 =back
81  
82 The default mode is set to C<HOST_ONLY>.
83  
84  
85  
86 =head1 SEE ALSO
87  
88 This class forms part of L<Paws>, describing an object used in L<Paws::Kendra>
89  
90 =head1 BUGS and CONTRIBUTIONS
91  
92 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
93  
94 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
95  
96 =cut
97