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.CheckpointConfig

Description

 
Synopsis

Documentation

data CheckpointConfig Source #

Contains information about the output location for managed spot training checkpoint data.

See: newCheckpointConfig smart constructor.

Constructors

CheckpointConfig' 

Fields

  • localPath :: Maybe Text

    (Optional) The local directory where checkpoints are written. The default directory is /opt/ml/checkpoints/.

  • s3Uri :: Text

    Identifies the S3 path where you want SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix.

Instances

Instances details
FromJSON CheckpointConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CheckpointConfig

ToJSON CheckpointConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CheckpointConfig

Generic CheckpointConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CheckpointConfig

Associated Types

type Rep CheckpointConfig :: Type -> Type #

Read CheckpointConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CheckpointConfig

Show CheckpointConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CheckpointConfig

NFData CheckpointConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CheckpointConfig

Methods

rnf :: CheckpointConfig -> () #

Eq CheckpointConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CheckpointConfig

Hashable CheckpointConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CheckpointConfig

type Rep CheckpointConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CheckpointConfig

type Rep CheckpointConfig = D1 ('MetaData "CheckpointConfig" "Amazonka.SageMaker.Types.CheckpointConfig" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "CheckpointConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "localPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCheckpointConfig Source #

Create a value of CheckpointConfig 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:localPath:CheckpointConfig', checkpointConfig_localPath - (Optional) The local directory where checkpoints are written. The default directory is /opt/ml/checkpoints/.

$sel:s3Uri:CheckpointConfig', checkpointConfig_s3Uri - Identifies the S3 path where you want SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix.

checkpointConfig_localPath :: Lens' CheckpointConfig (Maybe Text) Source #

(Optional) The local directory where checkpoints are written. The default directory is /opt/ml/checkpoints/.

checkpointConfig_s3Uri :: Lens' CheckpointConfig Text Source #

Identifies the S3 path where you want SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix.