libZSservicesZSamazonka-glueZSamazonka-glue
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Glue.Types.RecrawlPolicy

Description

 
Synopsis

Documentation

data RecrawlPolicy Source #

When crawling an Amazon S3 data source after the first crawl is complete, specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run. For more information, see Incremental Crawls in Glue in the developer guide.

See: newRecrawlPolicy smart constructor.

Constructors

RecrawlPolicy' 

Fields

  • recrawlBehavior :: Maybe RecrawlBehavior

    Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.

    A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.

    A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run.

    A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events.

Instances

Instances details
Eq RecrawlPolicy Source # 
Instance details

Defined in Amazonka.Glue.Types.RecrawlPolicy

Read RecrawlPolicy Source # 
Instance details

Defined in Amazonka.Glue.Types.RecrawlPolicy

Show RecrawlPolicy Source # 
Instance details

Defined in Amazonka.Glue.Types.RecrawlPolicy

Generic RecrawlPolicy Source # 
Instance details

Defined in Amazonka.Glue.Types.RecrawlPolicy

Associated Types

type Rep RecrawlPolicy :: Type -> Type #

NFData RecrawlPolicy Source # 
Instance details

Defined in Amazonka.Glue.Types.RecrawlPolicy

Methods

rnf :: RecrawlPolicy -> () #

Hashable RecrawlPolicy Source # 
Instance details

Defined in Amazonka.Glue.Types.RecrawlPolicy

ToJSON RecrawlPolicy Source # 
Instance details

Defined in Amazonka.Glue.Types.RecrawlPolicy

FromJSON RecrawlPolicy Source # 
Instance details

Defined in Amazonka.Glue.Types.RecrawlPolicy

type Rep RecrawlPolicy Source # 
Instance details

Defined in Amazonka.Glue.Types.RecrawlPolicy

type Rep RecrawlPolicy = D1 ('MetaData "RecrawlPolicy" "Amazonka.Glue.Types.RecrawlPolicy" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "RecrawlPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recrawlBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecrawlBehavior))))

newRecrawlPolicy :: RecrawlPolicy Source #

Create a value of RecrawlPolicy 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:recrawlBehavior:RecrawlPolicy', recrawlPolicy_recrawlBehavior - Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.

A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.

A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run.

A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events.

recrawlPolicy_recrawlBehavior :: Lens' RecrawlPolicy (Maybe RecrawlBehavior) Source #

Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.

A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.

A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run.

A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events.