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

Description

 
Synopsis

Documentation

data AutoRollbackConfig Source #

Automatic rollback configuration for handling endpoint deployment failures and recovery.

See: newAutoRollbackConfig smart constructor.

Constructors

AutoRollbackConfig' 

Fields

  • alarms :: Maybe (NonEmpty Alarm)

    List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment.

Instances

Instances details
FromJSON AutoRollbackConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AutoRollbackConfig

ToJSON AutoRollbackConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AutoRollbackConfig

Generic AutoRollbackConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AutoRollbackConfig

Associated Types

type Rep AutoRollbackConfig :: Type -> Type #

Read AutoRollbackConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AutoRollbackConfig

Show AutoRollbackConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AutoRollbackConfig

NFData AutoRollbackConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AutoRollbackConfig

Methods

rnf :: AutoRollbackConfig -> () #

Eq AutoRollbackConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AutoRollbackConfig

Hashable AutoRollbackConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AutoRollbackConfig

type Rep AutoRollbackConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AutoRollbackConfig

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

newAutoRollbackConfig :: AutoRollbackConfig Source #

Create a value of AutoRollbackConfig 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:alarms:AutoRollbackConfig', autoRollbackConfig_alarms - List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment.

autoRollbackConfig_alarms :: Lens' AutoRollbackConfig (Maybe (NonEmpty Alarm)) Source #

List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment.