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 Sample = Sample' {
- size :: Maybe Natural
- type' :: SampleType
- newSample :: SampleType -> Sample
- sample_size :: Lens' Sample (Maybe Natural)
- sample_type :: Lens' Sample SampleType
Documentation
Represents the sample size and sampling type for DataBrew to use for interactive data analysis.
See: newSample
smart constructor.
Sample' | |
|
Instances
Eq Sample Source # | |
Read Sample Source # | |
Show Sample Source # | |
Generic Sample Source # | |
NFData Sample Source # | |
Defined in Amazonka.DataBrew.Types.Sample | |
Hashable Sample Source # | |
Defined in Amazonka.DataBrew.Types.Sample | |
ToJSON Sample Source # | |
Defined in Amazonka.DataBrew.Types.Sample | |
FromJSON Sample Source # | |
type Rep Sample Source # | |
Defined in Amazonka.DataBrew.Types.Sample type Rep Sample = D1 ('MetaData "Sample" "Amazonka.DataBrew.Types.Sample" "libZSservicesZSamazonka-databrewZSamazonka-databrew" 'False) (C1 ('MetaCons "Sample'" 'PrefixI 'True) (S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SampleType))) |
Create a value of Sample
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:Sample'
, sample_size
- The number of rows in the sample.
$sel:type':Sample'
, sample_type
- The way in which DataBrew obtains rows from a dataset.
sample_type :: Lens' Sample SampleType Source #
The way in which DataBrew obtains rows from a dataset.