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 |
Synopsis
- data JobSample = JobSample' {}
- newJobSample :: JobSample
- jobSample_size :: Lens' JobSample (Maybe Integer)
- jobSample_mode :: Lens' JobSample (Maybe SampleMode)
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.
JobSample' | |
|
Instances
Eq JobSample Source # | |
Read JobSample Source # | |
Show JobSample Source # | |
Generic JobSample Source # | |
NFData JobSample Source # | |
Defined in Amazonka.DataBrew.Types.JobSample | |
Hashable JobSample Source # | |
Defined in Amazonka.DataBrew.Types.JobSample | |
ToJSON JobSample Source # | |
Defined in Amazonka.DataBrew.Types.JobSample | |
FromJSON JobSample Source # | |
type Rep JobSample Source # | |
Defined in Amazonka.DataBrew.Types.JobSample type Rep JobSample = D1 ('MetaData "JobSample" "Amazonka.DataBrew.Types.JobSample" "libZSservicesZSamazonka-databrewZSamazonka-databrew" 'False) (C1 ('MetaCons "JobSample'" 'PrefixI 'True) (S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SampleMode)))) |
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: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
$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
Size
parameter.
jobSample_size :: Lens' JobSample (Maybe Integer) Source #
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
Size
parameter.