line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::Glue::Crawler; |
2
|
1
|
|
|
1
|
|
275
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
3
|
|
|
|
|
|
|
has Classifiers => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); |
4
|
|
|
|
|
|
|
has CrawlElapsedTime => (is => 'ro', isa => 'Int'); |
5
|
|
|
|
|
|
|
has CreationTime => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has DatabaseName => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has Description => (is => 'ro', isa => 'Str'); |
8
|
|
|
|
|
|
|
has LastCrawl => (is => 'ro', isa => 'Paws::Glue::LastCrawlInfo'); |
9
|
|
|
|
|
|
|
has LastUpdated => (is => 'ro', isa => 'Str'); |
10
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str'); |
11
|
|
|
|
|
|
|
has Role => (is => 'ro', isa => 'Str'); |
12
|
|
|
|
|
|
|
has Schedule => (is => 'ro', isa => 'Paws::Glue::Schedule'); |
13
|
|
|
|
|
|
|
has SchemaChangePolicy => (is => 'ro', isa => 'Paws::Glue::SchemaChangePolicy'); |
14
|
|
|
|
|
|
|
has State => (is => 'ro', isa => 'Str'); |
15
|
|
|
|
|
|
|
has TablePrefix => (is => 'ro', isa => 'Str'); |
16
|
|
|
|
|
|
|
has Targets => (is => 'ro', isa => 'Paws::Glue::CrawlerTargets'); |
17
|
|
|
|
|
|
|
has Version => (is => 'ro', isa => 'Int'); |
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
### main pod documentation begin ### |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Paws::Glue::Crawler |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 USAGE |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
This class represents one of two things: |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
33
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::Glue::Crawler object: |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { Classifiers => $value, ..., Version => $value }); |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head3 Results returned from an API call |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::Glue::Crawler object: |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
44
|
|
|
|
|
|
|
$result->Att1->Classifiers |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 DESCRIPTION |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Specifies a crawler program that examines a data source and uses |
49
|
|
|
|
|
|
|
classifiers to try to its schema. If successful, the crawler records |
50
|
|
|
|
|
|
|
metatdata concerning the data source in the Data Catalog. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 Classifiers => ArrayRef[Str|Undef] |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
A list of custom C<Classifier>s associated with this Crawler. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head2 CrawlElapsedTime => Int |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
If this Crawler is running, contains the total time elapsed since the |
63
|
|
|
|
|
|
|
last crawl began. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head2 CreationTime => Str |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
The time when the Crawler was created. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 DatabaseName => Str |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
The C<Database> where this Crawler's output should be stored. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head2 Description => Str |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
A description of this Crawler and where it should be used. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 LastCrawl => L<Paws::Glue::LastCrawlInfo> |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
The status of the last crawl, and potentially error information if an |
84
|
|
|
|
|
|
|
error occurred. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 LastUpdated => Str |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
The time the Crawler was last updated. |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head2 Name => Str |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
The C<Crawler> name. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 Role => Str |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
The ARN of an IAM role used to access customer resources such as data |
100
|
|
|
|
|
|
|
in S3. |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head2 Schedule => L<Paws::Glue::Schedule> |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
A C<Schedule> object that specifies the schedule on which this Crawler |
106
|
|
|
|
|
|
|
is to be run. |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=head2 SchemaChangePolicy => L<Paws::Glue::SchemaChangePolicy> |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
Sets policy for the crawler's update and delete behavior. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head2 State => Str |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
Indicates whether this Crawler is running, or whether a run is pending. |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=head2 TablePrefix => Str |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
The table prefix used for catalog tables created. |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=head2 Targets => L<Paws::Glue::CrawlerTargets> |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
A collection of targets to crawl. |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head2 Version => Int |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
The version of the Crawler. |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=head1 SEE ALSO |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::Glue> |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=cut |
146
|
|
|
|
|
|
|
|