line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::Glue::CreateCrawler; |
3
|
1
|
|
|
1
|
|
311
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
4
|
|
4
|
|
|
|
|
|
|
has Classifiers => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); |
5
|
|
|
|
|
|
|
has DatabaseName => (is => 'ro', isa => 'Str', required => 1); |
6
|
|
|
|
|
|
|
has Description => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str', required => 1); |
8
|
|
|
|
|
|
|
has Role => (is => 'ro', isa => 'Str', required => 1); |
9
|
|
|
|
|
|
|
has Schedule => (is => 'ro', isa => 'Str'); |
10
|
|
|
|
|
|
|
has SchemaChangePolicy => (is => 'ro', isa => 'Paws::Glue::SchemaChangePolicy'); |
11
|
|
|
|
|
|
|
has TablePrefix => (is => 'ro', isa => 'Str'); |
12
|
|
|
|
|
|
|
has Targets => (is => 'ro', isa => 'Paws::Glue::CrawlerTargets', required => 1); |
13
|
|
|
|
|
|
|
|
14
|
1
|
|
|
1
|
|
5319
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateCrawler'); |
17
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Glue::CreateCrawlerResponse'); |
18
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
### main pod documentation begin ### |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 NAME |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Paws::Glue::CreateCrawler - Arguments for method CreateCrawler on Paws::Glue |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 DESCRIPTION |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CreateCrawler on the |
30
|
|
|
|
|
|
|
AWS Glue service. Use the attributes of this class |
31
|
|
|
|
|
|
|
as arguments to method CreateCrawler. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateCrawler. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
As an example: |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
$service_obj->CreateCrawler(Att1 => $value1, Att2 => $value2, ...); |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head2 Classifiers => ArrayRef[Str|Undef] |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
A list of custom C<Classifier> names that the user has registered. By |
47
|
|
|
|
|
|
|
default, all AWS classifiers are included in a crawl, but these custom |
48
|
|
|
|
|
|
|
classifiers always override the default classifiers for a given |
49
|
|
|
|
|
|
|
classification. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 B<REQUIRED> DatabaseName => Str |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
The Glue C<Database> where results will be stored, such as: |
56
|
|
|
|
|
|
|
C<arn:aws:daylight:us-east-1::database/sometable/*>. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head2 Description => Str |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
A description of the new C<Crawler>. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head2 B<REQUIRED> Name => Str |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
Name of the new C<Crawler>. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 B<REQUIRED> Role => Str |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
The AWS ARN of the IAM role used by the new C<Crawler> to access |
75
|
|
|
|
|
|
|
customer resources. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 Schedule => Str |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
A cron expression that can be used as a Cloudwatch event (see |
82
|
|
|
|
|
|
|
CloudWatch Schedule Expression Syntax. For example, to run every day at |
83
|
|
|
|
|
|
|
12:15 UTC, specify: C<cron(15 12 * * ? *)>. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 SchemaChangePolicy => L<Paws::Glue::SchemaChangePolicy> |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
Policy for the crawler's update and deletion behavior. |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head2 TablePrefix => Str |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
The table prefix used for catalog tables created. |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head2 B<REQUIRED> Targets => L<Paws::Glue::CrawlerTargets> |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
A list of collection of targets to crawl. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head1 SEE ALSO |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CreateCrawler in L<Paws::Glue> |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=cut |
117
|
|
|
|
|
|
|
|