amazonka-databrew-2.0: Amazon Glue DataBrew SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataBrew.Types.JobSample

Description

 
Synopsis

Documentation

data JobSample Source #

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

  • mode :: Maybe SampleMode

    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.
  • size :: Maybe Integer

    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

Instances

Instances details
FromJSON JobSample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.JobSample

ToJSON JobSample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.JobSample

Generic JobSample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.JobSample

Associated Types

type Rep JobSample :: Type -> Type #

Read JobSample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.JobSample

Show JobSample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.JobSample

NFData JobSample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.JobSample

Methods

rnf :: JobSample -> () #

Eq JobSample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.JobSample

Hashable JobSample Source # 
Instance details

Defined in Amazonka.DataBrew.Types.JobSample

type Rep JobSample Source # 
Instance details

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 Size parameter.

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