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

Description

 
Synopsis

Documentation

data TrialComponentParameterValue Source #

The value of a hyperparameter. Only one of NumberValue or StringValue can be specified.

This object is specified in the CreateTrialComponent request.

See: newTrialComponentParameterValue smart constructor.

Constructors

TrialComponentParameterValue' 

Fields

  • numberValue :: Maybe Double

    The numeric value of a numeric hyperparameter. If you specify a value for this parameter, you can't specify the StringValue parameter.

  • stringValue :: Maybe Text

    The string value of a categorical hyperparameter. If you specify a value for this parameter, you can't specify the NumberValue parameter.

Instances

Instances details
Eq TrialComponentParameterValue Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrialComponentParameterValue

Read TrialComponentParameterValue Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrialComponentParameterValue

Show TrialComponentParameterValue Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrialComponentParameterValue

Generic TrialComponentParameterValue Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrialComponentParameterValue

Associated Types

type Rep TrialComponentParameterValue :: Type -> Type #

NFData TrialComponentParameterValue Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrialComponentParameterValue

Hashable TrialComponentParameterValue Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrialComponentParameterValue

ToJSON TrialComponentParameterValue Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrialComponentParameterValue

FromJSON TrialComponentParameterValue Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrialComponentParameterValue

type Rep TrialComponentParameterValue Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrialComponentParameterValue

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

newTrialComponentParameterValue :: TrialComponentParameterValue Source #

Create a value of TrialComponentParameterValue 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:numberValue:TrialComponentParameterValue', trialComponentParameterValue_numberValue - The numeric value of a numeric hyperparameter. If you specify a value for this parameter, you can't specify the StringValue parameter.

$sel:stringValue:TrialComponentParameterValue', trialComponentParameterValue_stringValue - The string value of a categorical hyperparameter. If you specify a value for this parameter, you can't specify the NumberValue parameter.

trialComponentParameterValue_numberValue :: Lens' TrialComponentParameterValue (Maybe Double) Source #

The numeric value of a numeric hyperparameter. If you specify a value for this parameter, you can't specify the StringValue parameter.

trialComponentParameterValue_stringValue :: Lens' TrialComponentParameterValue (Maybe Text) Source #

The string value of a categorical hyperparameter. If you specify a value for this parameter, you can't specify the NumberValue parameter.