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.MongoDBTarget

Description

 
Synopsis

Documentation

data MongoDBTarget Source #

Specifies an Amazon DocumentDB or MongoDB data store to crawl.

See: newMongoDBTarget smart constructor.

Constructors

MongoDBTarget' 

Fields

  • path :: Maybe Text

    The path of the Amazon DocumentDB or MongoDB target (database/collection).

  • connectionName :: Maybe Text

    The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.

  • scanAll :: Maybe Bool

    Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.

    A value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.

Instances

Instances details
Eq MongoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.MongoDBTarget

Read MongoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.MongoDBTarget

Show MongoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.MongoDBTarget

Generic MongoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.MongoDBTarget

Associated Types

type Rep MongoDBTarget :: Type -> Type #

NFData MongoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.MongoDBTarget

Methods

rnf :: MongoDBTarget -> () #

Hashable MongoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.MongoDBTarget

ToJSON MongoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.MongoDBTarget

FromJSON MongoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.MongoDBTarget

type Rep MongoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.MongoDBTarget

type Rep MongoDBTarget = D1 ('MetaData "MongoDBTarget" "Amazonka.Glue.Types.MongoDBTarget" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "MongoDBTarget'" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "connectionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scanAll") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newMongoDBTarget :: MongoDBTarget Source #

Create a value of MongoDBTarget 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:path:MongoDBTarget', mongoDBTarget_path - The path of the Amazon DocumentDB or MongoDB target (database/collection).

$sel:connectionName:MongoDBTarget', mongoDBTarget_connectionName - The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.

$sel:scanAll:MongoDBTarget', mongoDBTarget_scanAll - Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.

A value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.

mongoDBTarget_path :: Lens' MongoDBTarget (Maybe Text) Source #

The path of the Amazon DocumentDB or MongoDB target (database/collection).

mongoDBTarget_connectionName :: Lens' MongoDBTarget (Maybe Text) Source #

The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.

mongoDBTarget_scanAll :: Lens' MongoDBTarget (Maybe Bool) Source #

Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.

A value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.