| 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.Sample
Description
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.
Constructors
| Sample' | |
Fields
| |
Instances
| FromJSON Sample Source # | |
| ToJSON Sample Source # | |
Defined in Amazonka.DataBrew.Types.Sample | |
| Generic Sample Source # | |
| Read Sample Source # | |
| Show Sample Source # | |
| NFData Sample Source # | |
Defined in Amazonka.DataBrew.Types.Sample | |
| Eq Sample Source # | |
| Hashable Sample Source # | |
Defined in Amazonka.DataBrew.Types.Sample | |
| type Rep Sample Source # | |
Defined in Amazonka.DataBrew.Types.Sample type Rep Sample = D1 ('MetaData "Sample" "Amazonka.DataBrew.Types.Sample" "amazonka-databrew-2.0-GJMXoRzRb387Yq6XNY29RM" '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))) | |
Arguments
| :: SampleType | |
| -> Sample |
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.