Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Crawler = Crawler' {
- creationTime :: Maybe POSIX
- state :: Maybe CrawlerState
- schemaChangePolicy :: Maybe SchemaChangePolicy
- lastUpdated :: Maybe POSIX
- schedule :: Maybe Schedule
- lastCrawl :: Maybe LastCrawlInfo
- crawlElapsedTime :: Maybe Integer
- recrawlPolicy :: Maybe RecrawlPolicy
- classifiers :: Maybe [Text]
- role' :: Maybe Text
- name :: Maybe Text
- targets :: Maybe CrawlerTargets
- version :: Maybe Integer
- databaseName :: Maybe Text
- crawlerSecurityConfiguration :: Maybe Text
- lineageConfiguration :: Maybe LineageConfiguration
- configuration :: Maybe Text
- tablePrefix :: Maybe Text
- description :: Maybe Text
- newCrawler :: Crawler
- crawler_creationTime :: Lens' Crawler (Maybe UTCTime)
- crawler_state :: Lens' Crawler (Maybe CrawlerState)
- crawler_schemaChangePolicy :: Lens' Crawler (Maybe SchemaChangePolicy)
- crawler_lastUpdated :: Lens' Crawler (Maybe UTCTime)
- crawler_schedule :: Lens' Crawler (Maybe Schedule)
- crawler_lastCrawl :: Lens' Crawler (Maybe LastCrawlInfo)
- crawler_crawlElapsedTime :: Lens' Crawler (Maybe Integer)
- crawler_recrawlPolicy :: Lens' Crawler (Maybe RecrawlPolicy)
- crawler_classifiers :: Lens' Crawler (Maybe [Text])
- crawler_role :: Lens' Crawler (Maybe Text)
- crawler_name :: Lens' Crawler (Maybe Text)
- crawler_targets :: Lens' Crawler (Maybe CrawlerTargets)
- crawler_version :: Lens' Crawler (Maybe Integer)
- crawler_databaseName :: Lens' Crawler (Maybe Text)
- crawler_crawlerSecurityConfiguration :: Lens' Crawler (Maybe Text)
- crawler_lineageConfiguration :: Lens' Crawler (Maybe LineageConfiguration)
- crawler_configuration :: Lens' Crawler (Maybe Text)
- crawler_tablePrefix :: Lens' Crawler (Maybe Text)
- crawler_description :: Lens' Crawler (Maybe Text)
Documentation
Specifies a crawler program that examines a data source and uses classifiers to try to determine its schema. If successful, the crawler records metadata concerning the data source in the Glue Data Catalog.
See: newCrawler
smart constructor.
Crawler' | |
|
Instances
newCrawler :: Crawler Source #
Create a value of Crawler
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:Crawler'
, crawler_creationTime
- The time that the crawler was created.
$sel:state:Crawler'
, crawler_state
- Indicates whether the crawler is running, or whether a run is pending.
$sel:schemaChangePolicy:Crawler'
, crawler_schemaChangePolicy
- The policy that specifies update and delete behaviors for the crawler.
$sel:lastUpdated:Crawler'
, crawler_lastUpdated
- The time that the crawler was last updated.
$sel:schedule:Crawler'
, crawler_schedule
- For scheduled crawlers, the schedule when the crawler runs.
$sel:lastCrawl:Crawler'
, crawler_lastCrawl
- The status of the last crawl, and potentially error information if an
error occurred.
$sel:crawlElapsedTime:Crawler'
, crawler_crawlElapsedTime
- If the crawler is running, contains the total time elapsed since the
last crawl began.
$sel:recrawlPolicy:Crawler'
, crawler_recrawlPolicy
- A policy that specifies whether to crawl the entire dataset again, or to
crawl only folders that were added since the last crawler run.
$sel:classifiers:Crawler'
, crawler_classifiers
- A list of UTF-8 strings that specify the custom classifiers that are
associated with the crawler.
$sel:role':Crawler'
, crawler_role
- The Amazon Resource Name (ARN) of an IAM role that's used to access
customer resources, such as Amazon Simple Storage Service (Amazon S3)
data.
$sel:name:Crawler'
, crawler_name
- The name of the crawler.
$sel:targets:Crawler'
, crawler_targets
- A collection of targets to crawl.
$sel:version:Crawler'
, crawler_version
- The version of the crawler.
$sel:databaseName:Crawler'
, crawler_databaseName
- The name of the database in which the crawler's output is stored.
$sel:crawlerSecurityConfiguration:Crawler'
, crawler_crawlerSecurityConfiguration
- The name of the SecurityConfiguration
structure to be used by this
crawler.
$sel:lineageConfiguration:Crawler'
, crawler_lineageConfiguration
- A configuration that specifies whether data lineage is enabled for the
crawler.
$sel:configuration:Crawler'
, crawler_configuration
- Crawler configuration information. This versioned JSON string allows
users to specify aspects of a crawler's behavior. For more information,
see
Include and Exclude Patterns.
$sel:tablePrefix:Crawler'
, crawler_tablePrefix
- The prefix added to the names of tables that are created.
$sel:description:Crawler'
, crawler_description
- A description of the crawler.
crawler_creationTime :: Lens' Crawler (Maybe UTCTime) Source #
The time that the crawler was created.
crawler_state :: Lens' Crawler (Maybe CrawlerState) Source #
Indicates whether the crawler is running, or whether a run is pending.
crawler_schemaChangePolicy :: Lens' Crawler (Maybe SchemaChangePolicy) Source #
The policy that specifies update and delete behaviors for the crawler.
crawler_lastUpdated :: Lens' Crawler (Maybe UTCTime) Source #
The time that the crawler was last updated.
crawler_schedule :: Lens' Crawler (Maybe Schedule) Source #
For scheduled crawlers, the schedule when the crawler runs.
crawler_lastCrawl :: Lens' Crawler (Maybe LastCrawlInfo) Source #
The status of the last crawl, and potentially error information if an error occurred.
crawler_crawlElapsedTime :: Lens' Crawler (Maybe Integer) Source #
If the crawler is running, contains the total time elapsed since the last crawl began.
crawler_recrawlPolicy :: Lens' Crawler (Maybe RecrawlPolicy) Source #
A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.
crawler_classifiers :: Lens' Crawler (Maybe [Text]) Source #
A list of UTF-8 strings that specify the custom classifiers that are associated with the crawler.
crawler_role :: Lens' Crawler (Maybe Text) Source #
The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data.
crawler_targets :: Lens' Crawler (Maybe CrawlerTargets) Source #
A collection of targets to crawl.
crawler_databaseName :: Lens' Crawler (Maybe Text) Source #
The name of the database in which the crawler's output is stored.
crawler_crawlerSecurityConfiguration :: Lens' Crawler (Maybe Text) Source #
The name of the SecurityConfiguration
structure to be used by this
crawler.
crawler_lineageConfiguration :: Lens' Crawler (Maybe LineageConfiguration) Source #
A configuration that specifies whether data lineage is enabled for the crawler.
crawler_configuration :: Lens' Crawler (Maybe Text) Source #
Crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Include and Exclude Patterns.