libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.Types.ModelDeployConfig

Description

 
Synopsis

Documentation

data ModelDeployConfig Source #

Specifies how to generate the endpoint name for an automatic one-click Autopilot model deployment.

See: newModelDeployConfig smart constructor.

Constructors

ModelDeployConfig' 

Fields

  • endpointName :: Maybe Text

    Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.

    Specify the EndpointName if and only if you set AutoGenerateEndpointName to False; otherwise a 400 error is thrown.

  • autoGenerateEndpointName :: Maybe Bool

    Set to True to automatically generate an endpoint name for a one-click Autopilot model deployment; set to False otherwise. The default value is False.

    If you set AutoGenerateEndpointName to True, do not specify the EndpointName; otherwise a 400 error is thrown.

Instances

Instances details
Eq ModelDeployConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelDeployConfig

Read ModelDeployConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelDeployConfig

Show ModelDeployConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelDeployConfig

Generic ModelDeployConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelDeployConfig

Associated Types

type Rep ModelDeployConfig :: Type -> Type #

NFData ModelDeployConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelDeployConfig

Methods

rnf :: ModelDeployConfig -> () #

Hashable ModelDeployConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelDeployConfig

ToJSON ModelDeployConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelDeployConfig

FromJSON ModelDeployConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelDeployConfig

type Rep ModelDeployConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelDeployConfig

type Rep ModelDeployConfig = D1 ('MetaData "ModelDeployConfig" "Amazonka.SageMaker.Types.ModelDeployConfig" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "ModelDeployConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "autoGenerateEndpointName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newModelDeployConfig :: ModelDeployConfig Source #

Create a value of ModelDeployConfig 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:endpointName:ModelDeployConfig', modelDeployConfig_endpointName - Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.

Specify the EndpointName if and only if you set AutoGenerateEndpointName to False; otherwise a 400 error is thrown.

$sel:autoGenerateEndpointName:ModelDeployConfig', modelDeployConfig_autoGenerateEndpointName - Set to True to automatically generate an endpoint name for a one-click Autopilot model deployment; set to False otherwise. The default value is False.

If you set AutoGenerateEndpointName to True, do not specify the EndpointName; otherwise a 400 error is thrown.

modelDeployConfig_endpointName :: Lens' ModelDeployConfig (Maybe Text) Source #

Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.

Specify the EndpointName if and only if you set AutoGenerateEndpointName to False; otherwise a 400 error is thrown.

modelDeployConfig_autoGenerateEndpointName :: Lens' ModelDeployConfig (Maybe Bool) Source #

Set to True to automatically generate an endpoint name for a one-click Autopilot model deployment; set to False otherwise. The default value is False.

If you set AutoGenerateEndpointName to True, do not specify the EndpointName; otherwise a 400 error is thrown.