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

Description

 
Synopsis

Documentation

data RetentionPolicy Source #

The retention policy for data stored on an Amazon Elastic File System (EFS) volume.

See: newRetentionPolicy smart constructor.

Constructors

RetentionPolicy' 

Fields

  • homeEfsFileSystem :: Maybe RetentionType

    The default is Retain, which specifies to keep the data stored on the EFS volume.

    Specify Delete to delete the data stored on the EFS volume.

Instances

Instances details
ToJSON RetentionPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetentionPolicy

Generic RetentionPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetentionPolicy

Associated Types

type Rep RetentionPolicy :: Type -> Type #

Read RetentionPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetentionPolicy

Show RetentionPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetentionPolicy

NFData RetentionPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetentionPolicy

Methods

rnf :: RetentionPolicy -> () #

Eq RetentionPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetentionPolicy

Hashable RetentionPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetentionPolicy

type Rep RetentionPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.RetentionPolicy

type Rep RetentionPolicy = D1 ('MetaData "RetentionPolicy" "Amazonka.SageMaker.Types.RetentionPolicy" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "RetentionPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "homeEfsFileSystem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionType))))

newRetentionPolicy :: RetentionPolicy Source #

Create a value of RetentionPolicy 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:homeEfsFileSystem:RetentionPolicy', retentionPolicy_homeEfsFileSystem - The default is Retain, which specifies to keep the data stored on the EFS volume.

Specify Delete to delete the data stored on the EFS volume.

retentionPolicy_homeEfsFileSystem :: Lens' RetentionPolicy (Maybe RetentionType) Source #

The default is Retain, which specifies to keep the data stored on the EFS volume.

Specify Delete to delete the data stored on the EFS volume.