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

Description

 
Synopsis

Documentation

data DeploymentConfig Source #

The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.

See: newDeploymentConfig smart constructor.

Constructors

DeploymentConfig' 

Fields

  • autoRollbackConfiguration :: Maybe AutoRollbackConfig

    Automatic rollback configuration for handling endpoint deployment failures and recovery.

  • blueGreenUpdatePolicy :: BlueGreenUpdatePolicy

    Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.

Instances

Instances details
FromJSON DeploymentConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DeploymentConfig

ToJSON DeploymentConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DeploymentConfig

Generic DeploymentConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DeploymentConfig

Associated Types

type Rep DeploymentConfig :: Type -> Type #

Read DeploymentConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DeploymentConfig

Show DeploymentConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DeploymentConfig

NFData DeploymentConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DeploymentConfig

Methods

rnf :: DeploymentConfig -> () #

Eq DeploymentConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DeploymentConfig

Hashable DeploymentConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DeploymentConfig

type Rep DeploymentConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DeploymentConfig

type Rep DeploymentConfig = D1 ('MetaData "DeploymentConfig" "Amazonka.SageMaker.Types.DeploymentConfig" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "DeploymentConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "autoRollbackConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoRollbackConfig)) :*: S1 ('MetaSel ('Just "blueGreenUpdatePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BlueGreenUpdatePolicy)))

newDeploymentConfig Source #

Create a value of DeploymentConfig 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:autoRollbackConfiguration:DeploymentConfig', deploymentConfig_autoRollbackConfiguration - Automatic rollback configuration for handling endpoint deployment failures and recovery.

$sel:blueGreenUpdatePolicy:DeploymentConfig', deploymentConfig_blueGreenUpdatePolicy - Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.

deploymentConfig_autoRollbackConfiguration :: Lens' DeploymentConfig (Maybe AutoRollbackConfig) Source #

Automatic rollback configuration for handling endpoint deployment failures and recovery.

deploymentConfig_blueGreenUpdatePolicy :: Lens' DeploymentConfig BlueGreenUpdatePolicy Source #

Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.