amazonka-sagemaker-2.0: Amazon SageMaker Service 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.SageMaker.Types.DatasetDefinition

Description

 
Synopsis

Documentation

data DatasetDefinition Source #

Configuration for Dataset Definition inputs. The Dataset Definition input must specify exactly one of either AthenaDatasetDefinition or RedshiftDatasetDefinition types.

See: newDatasetDefinition smart constructor.

Constructors

DatasetDefinition' 

Fields

Instances

Instances details
FromJSON DatasetDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DatasetDefinition

ToJSON DatasetDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DatasetDefinition

Generic DatasetDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DatasetDefinition

Associated Types

type Rep DatasetDefinition :: Type -> Type #

Read DatasetDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DatasetDefinition

Show DatasetDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DatasetDefinition

NFData DatasetDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DatasetDefinition

Methods

rnf :: DatasetDefinition -> () #

Eq DatasetDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DatasetDefinition

Hashable DatasetDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DatasetDefinition

type Rep DatasetDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DatasetDefinition

type Rep DatasetDefinition = D1 ('MetaData "DatasetDefinition" "Amazonka.SageMaker.Types.DatasetDefinition" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "DatasetDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "athenaDatasetDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AthenaDatasetDefinition)) :*: S1 ('MetaSel ('Just "dataDistributionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataDistributionType))) :*: (S1 ('MetaSel ('Just "inputMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputMode)) :*: (S1 ('MetaSel ('Just "localPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "redshiftDatasetDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RedshiftDatasetDefinition))))))

newDatasetDefinition :: DatasetDefinition Source #

Create a value of DatasetDefinition 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:athenaDatasetDefinition:DatasetDefinition', datasetDefinition_athenaDatasetDefinition - Undocumented member.

$sel:dataDistributionType:DatasetDefinition', datasetDefinition_dataDistributionType - Whether the generated dataset is FullyReplicated or ShardedByS3Key (default).

$sel:inputMode:DatasetDefinition', datasetDefinition_inputMode - Whether to use File or Pipe input mode. In File (default) mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode. In Pipe mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.

$sel:localPath:DatasetDefinition', datasetDefinition_localPath - The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job. LocalPath is an absolute path to the input data. This is a required parameter when AppManaged is False (default).

$sel:redshiftDatasetDefinition:DatasetDefinition', datasetDefinition_redshiftDatasetDefinition - Undocumented member.

datasetDefinition_dataDistributionType :: Lens' DatasetDefinition (Maybe DataDistributionType) Source #

Whether the generated dataset is FullyReplicated or ShardedByS3Key (default).

datasetDefinition_inputMode :: Lens' DatasetDefinition (Maybe InputMode) Source #

Whether to use File or Pipe input mode. In File (default) mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode. In Pipe mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.

datasetDefinition_localPath :: Lens' DatasetDefinition (Maybe Text) Source #

The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job. LocalPath is an absolute path to the input data. This is a required parameter when AppManaged is False (default).