| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Glue.Types.Spigot
Description
Documentation
Specifies a transform that writes samples of the data to an Amazon S3 bucket.
See: newSpigot smart constructor.
Constructors
| Spigot' | |
Fields
| |
Instances
Create a value of Spigot 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:prob:Spigot', spigot_prob - The probability (a decimal value with a maximum value of 1) of picking
any given record. A value of 1 indicates that each row read from the
dataset should be included in the sample output.
$sel:topk:Spigot', spigot_topk - Specifies a number of records to write starting from the beginning of
the dataset.
$sel:name:Spigot', spigot_name - The name of the transform node.
$sel:inputs:Spigot', spigot_inputs - The data inputs identified by their node names.
$sel:path:Spigot', spigot_path - A path in Amazon S3 where the transform will write a subset of records
from the dataset to a JSON file in an Amazon S3 bucket.
spigot_prob :: Lens' Spigot (Maybe Double) Source #
The probability (a decimal value with a maximum value of 1) of picking any given record. A value of 1 indicates that each row read from the dataset should be included in the sample output.
spigot_topk :: Lens' Spigot (Maybe Natural) Source #
Specifies a number of records to write starting from the beginning of the dataset.