| 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.DataBrew.Types.JobSample
Description
Synopsis
- data JobSample = JobSample' {}
- newJobSample :: JobSample
- jobSample_mode :: Lens' JobSample (Maybe SampleMode)
- jobSample_size :: Lens' JobSample (Maybe Integer)
Documentation
A sample configuration for profile jobs only, which determines the
number of rows on which the profile job is run. If a JobSample value
isn't provided, the default is used. The default value is CUSTOM_ROWS
for the mode parameter and 20,000 for the size parameter.
See: newJobSample smart constructor.
Constructors
| JobSample' | |
Fields
| |
Instances
| FromJSON JobSample Source # | |
| ToJSON JobSample Source # | |
Defined in Amazonka.DataBrew.Types.JobSample | |
| Generic JobSample Source # | |
| Read JobSample Source # | |
| Show JobSample Source # | |
| NFData JobSample Source # | |
Defined in Amazonka.DataBrew.Types.JobSample | |
| Eq JobSample Source # | |
| Hashable JobSample Source # | |
Defined in Amazonka.DataBrew.Types.JobSample | |
| type Rep JobSample Source # | |
Defined in Amazonka.DataBrew.Types.JobSample type Rep JobSample = D1 ('MetaData "JobSample" "Amazonka.DataBrew.Types.JobSample" "amazonka-databrew-2.0-GJMXoRzRb387Yq6XNY29RM" 'False) (C1 ('MetaCons "JobSample'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SampleMode)) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) | |
newJobSample :: JobSample Source #
Create a value of JobSample 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:mode:JobSample', jobSample_mode - A value that determines whether the profile job is run on the entire
dataset or a specified number of rows. This value must be one of the
following:
- FULL_DATASET - The profile job is run on the entire dataset.
- CUSTOM_ROWS - The profile job is run on the number of rows specified
in the
Sizeparameter.
$sel:size:JobSample', jobSample_size - The Size parameter is only required when the mode is CUSTOM_ROWS. The
profile job is run on the specified number of rows. The maximum value
for size is Long.MAX_VALUE.
Long.MAX_VALUE = 9223372036854775807
jobSample_mode :: Lens' JobSample (Maybe SampleMode) Source #
A value that determines whether the profile job is run on the entire dataset or a specified number of rows. This value must be one of the following:
- FULL_DATASET - The profile job is run on the entire dataset.
- CUSTOM_ROWS - The profile job is run on the number of rows specified
in the
Sizeparameter.