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 |
Documentation
data MongoDBTarget Source #
Specifies an Amazon DocumentDB or MongoDB data store to crawl.
See: newMongoDBTarget
smart constructor.
MongoDBTarget' | |
|
Instances
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
.