amazonka-personalize-2.0: Amazon Personalize 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.Personalize.Types.SolutionVersion

Description

 
Synopsis

Documentation

data SolutionVersion Source #

An object that provides information about a specific version of a Solution in a Custom dataset group.

See: newSolutionVersion smart constructor.

Constructors

SolutionVersion' 

Fields

  • creationDateTime :: Maybe POSIX

    The date and time (in Unix time) that this version of the solution was created.

  • datasetGroupArn :: Maybe Text

    The Amazon Resource Name (ARN) of the dataset group providing the training data.

  • eventType :: Maybe Text

    The event type (for example, 'click' or 'like') that is used for training the model.

  • failureReason :: Maybe Text

    If training a solution version fails, the reason for the failure.

  • lastUpdatedDateTime :: Maybe POSIX

    The date and time (in Unix time) that the solution was last updated.

  • name :: Maybe Text

    The name of the solution version.

  • performAutoML :: Maybe Bool

    When true, Amazon Personalize searches for the most optimal recipe according to the solution configuration. When false (the default), Amazon Personalize uses recipeArn.

  • performHPO :: Maybe Bool

    Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false.

  • recipeArn :: Maybe Text

    The ARN of the recipe used in the solution.

  • solutionArn :: Maybe Text

    The ARN of the solution.

  • solutionConfig :: Maybe SolutionConfig

    Describes the configuration properties for the solution.

  • solutionVersionArn :: Maybe Text

    The ARN of the solution version.

  • status :: Maybe Text

    The status of the solution version.

    A solution version can be in one of the following states:

    • CREATE PENDING
    • CREATE IN_PROGRESS
    • ACTIVE
    • CREATE FAILED
    • CREATE STOPPING
    • CREATE STOPPED
  • trainingHours :: Maybe Double

    The time used to train the model. You are billed for the time it takes to train a model. This field is visible only after Amazon Personalize successfully trains a model.

  • trainingMode :: Maybe TrainingMode

    The scope of training to be performed when creating the solution version. The FULL option trains the solution version based on the entirety of the input solution's training data, while the UPDATE option processes only the data that has changed in comparison to the input solution. Choose UPDATE when you want to incrementally update your solution version instead of creating an entirely new one.

    The UPDATE option can only be used when you already have an active solution version created from the input solution using the FULL option and the input solution was trained with the User-Personalization recipe or the HRNN-Coldstart recipe.

  • tunedHPOParams :: Maybe TunedHPOParams

    If hyperparameter optimization was performed, contains the hyperparameter values of the best performing model.

Instances

Instances details
FromJSON SolutionVersion Source # 
Instance details

Defined in Amazonka.Personalize.Types.SolutionVersion

Generic SolutionVersion Source # 
Instance details

Defined in Amazonka.Personalize.Types.SolutionVersion

Associated Types

type Rep SolutionVersion :: Type -> Type #

Read SolutionVersion Source # 
Instance details

Defined in Amazonka.Personalize.Types.SolutionVersion

Show SolutionVersion Source # 
Instance details

Defined in Amazonka.Personalize.Types.SolutionVersion

NFData SolutionVersion Source # 
Instance details

Defined in Amazonka.Personalize.Types.SolutionVersion

Methods

rnf :: SolutionVersion -> () #

Eq SolutionVersion Source # 
Instance details

Defined in Amazonka.Personalize.Types.SolutionVersion

Hashable SolutionVersion Source # 
Instance details

Defined in Amazonka.Personalize.Types.SolutionVersion

type Rep SolutionVersion Source # 
Instance details

Defined in Amazonka.Personalize.Types.SolutionVersion

type Rep SolutionVersion = D1 ('MetaData "SolutionVersion" "Amazonka.Personalize.Types.SolutionVersion" "amazonka-personalize-2.0-9kdbGNMxU7zEIoXPqEwwTg" 'False) (C1 ('MetaCons "SolutionVersion'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "creationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "datasetGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "lastUpdatedDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "performAutoML") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "performHPO") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: (((S1 ('MetaSel ('Just "recipeArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "solutionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "solutionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SolutionConfig)) :*: S1 ('MetaSel ('Just "solutionVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "trainingHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "trainingMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrainingMode)) :*: S1 ('MetaSel ('Just "tunedHPOParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TunedHPOParams)))))))

newSolutionVersion :: SolutionVersion Source #

Create a value of SolutionVersion 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:creationDateTime:SolutionVersion', solutionVersion_creationDateTime - The date and time (in Unix time) that this version of the solution was created.

$sel:datasetGroupArn:SolutionVersion', solutionVersion_datasetGroupArn - The Amazon Resource Name (ARN) of the dataset group providing the training data.

$sel:eventType:SolutionVersion', solutionVersion_eventType - The event type (for example, 'click' or 'like') that is used for training the model.

$sel:failureReason:SolutionVersion', solutionVersion_failureReason - If training a solution version fails, the reason for the failure.

$sel:lastUpdatedDateTime:SolutionVersion', solutionVersion_lastUpdatedDateTime - The date and time (in Unix time) that the solution was last updated.

$sel:name:SolutionVersion', solutionVersion_name - The name of the solution version.

$sel:performAutoML:SolutionVersion', solutionVersion_performAutoML - When true, Amazon Personalize searches for the most optimal recipe according to the solution configuration. When false (the default), Amazon Personalize uses recipeArn.

$sel:performHPO:SolutionVersion', solutionVersion_performHPO - Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false.

$sel:recipeArn:SolutionVersion', solutionVersion_recipeArn - The ARN of the recipe used in the solution.

$sel:solutionArn:SolutionVersion', solutionVersion_solutionArn - The ARN of the solution.

$sel:solutionConfig:SolutionVersion', solutionVersion_solutionConfig - Describes the configuration properties for the solution.

$sel:solutionVersionArn:SolutionVersion', solutionVersion_solutionVersionArn - The ARN of the solution version.

$sel:status:SolutionVersion', solutionVersion_status - The status of the solution version.

A solution version can be in one of the following states:

  • CREATE PENDING
  • CREATE IN_PROGRESS
  • ACTIVE
  • CREATE FAILED
  • CREATE STOPPING
  • CREATE STOPPED

$sel:trainingHours:SolutionVersion', solutionVersion_trainingHours - The time used to train the model. You are billed for the time it takes to train a model. This field is visible only after Amazon Personalize successfully trains a model.

$sel:trainingMode:SolutionVersion', solutionVersion_trainingMode - The scope of training to be performed when creating the solution version. The FULL option trains the solution version based on the entirety of the input solution's training data, while the UPDATE option processes only the data that has changed in comparison to the input solution. Choose UPDATE when you want to incrementally update your solution version instead of creating an entirely new one.

The UPDATE option can only be used when you already have an active solution version created from the input solution using the FULL option and the input solution was trained with the User-Personalization recipe or the HRNN-Coldstart recipe.

$sel:tunedHPOParams:SolutionVersion', solutionVersion_tunedHPOParams - If hyperparameter optimization was performed, contains the hyperparameter values of the best performing model.

solutionVersion_creationDateTime :: Lens' SolutionVersion (Maybe UTCTime) Source #

The date and time (in Unix time) that this version of the solution was created.

solutionVersion_datasetGroupArn :: Lens' SolutionVersion (Maybe Text) Source #

The Amazon Resource Name (ARN) of the dataset group providing the training data.

solutionVersion_eventType :: Lens' SolutionVersion (Maybe Text) Source #

The event type (for example, 'click' or 'like') that is used for training the model.

solutionVersion_failureReason :: Lens' SolutionVersion (Maybe Text) Source #

If training a solution version fails, the reason for the failure.

solutionVersion_lastUpdatedDateTime :: Lens' SolutionVersion (Maybe UTCTime) Source #

The date and time (in Unix time) that the solution was last updated.

solutionVersion_name :: Lens' SolutionVersion (Maybe Text) Source #

The name of the solution version.

solutionVersion_performAutoML :: Lens' SolutionVersion (Maybe Bool) Source #

When true, Amazon Personalize searches for the most optimal recipe according to the solution configuration. When false (the default), Amazon Personalize uses recipeArn.

solutionVersion_performHPO :: Lens' SolutionVersion (Maybe Bool) Source #

Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false.

solutionVersion_recipeArn :: Lens' SolutionVersion (Maybe Text) Source #

The ARN of the recipe used in the solution.

solutionVersion_solutionConfig :: Lens' SolutionVersion (Maybe SolutionConfig) Source #

Describes the configuration properties for the solution.

solutionVersion_status :: Lens' SolutionVersion (Maybe Text) Source #

The status of the solution version.

A solution version can be in one of the following states:

  • CREATE PENDING
  • CREATE IN_PROGRESS
  • ACTIVE
  • CREATE FAILED
  • CREATE STOPPING
  • CREATE STOPPED

solutionVersion_trainingHours :: Lens' SolutionVersion (Maybe Double) Source #

The time used to train the model. You are billed for the time it takes to train a model. This field is visible only after Amazon Personalize successfully trains a model.

solutionVersion_trainingMode :: Lens' SolutionVersion (Maybe TrainingMode) Source #

The scope of training to be performed when creating the solution version. The FULL option trains the solution version based on the entirety of the input solution's training data, while the UPDATE option processes only the data that has changed in comparison to the input solution. Choose UPDATE when you want to incrementally update your solution version instead of creating an entirely new one.

The UPDATE option can only be used when you already have an active solution version created from the input solution using the FULL option and the input solution was trained with the User-Personalization recipe or the HRNN-Coldstart recipe.

solutionVersion_tunedHPOParams :: Lens' SolutionVersion (Maybe TunedHPOParams) Source #

If hyperparameter optimization was performed, contains the hyperparameter values of the best performing model.