libZSservicesZSamazonka-databrewZSamazonka-databrew
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DataBrew.Types.Sample

Description

 
Synopsis

Documentation

data Sample Source #

Represents the sample size and sampling type for DataBrew to use for interactive data analysis.

See: newSample smart constructor.

Constructors

Sample' 

Fields

Instances

Instances details
Eq Sample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Sample

Methods

(==) :: Sample -> Sample -> Bool #

(/=) :: Sample -> Sample -> Bool #

Read Sample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Sample

Show Sample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Sample

Generic Sample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Sample

Associated Types

type Rep Sample :: Type -> Type #

Methods

from :: Sample -> Rep Sample x #

to :: Rep Sample x -> Sample #

NFData Sample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Sample

Methods

rnf :: Sample -> () #

Hashable Sample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Sample

Methods

hashWithSalt :: Int -> Sample -> Int #

hash :: Sample -> Int #

ToJSON Sample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Sample

FromJSON Sample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Sample

type Rep Sample Source # 
Instance details

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)))

newSample Source #

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_size :: Lens' Sample (Maybe Natural) Source #

The number of rows in the sample.

sample_type :: Lens' Sample SampleType Source #

The way in which DataBrew obtains rows from a dataset.