Create Solution Version
personalize_create_solution_version | R Documentation |
Trains or retrains an active solution in a Custom dataset group¶
Description¶
Trains or retrains an active solution in a Custom dataset group. A
solution is created using the create_solution
operation and must be in
the ACTIVE state before calling create_solution_version
. A new version
of the solution is created every time you call this operation.
Status
A solution version can be in one of the following states:
-
CREATE PENDING
-
CREATE IN_PROGRESS
-
ACTIVE
-
CREATE FAILED
-
CREATE STOPPING
-
CREATE STOPPED
To get the status of the version, call describe_solution_version
. Wait
until the status shows as ACTIVE before calling create_campaign
.
If the status shows as CREATE FAILED, the response includes a
failureReason
key, which describes why the job failed.
Related APIs
-
list_solution_versions
-
describe_solution_version
-
list_solutions
-
create_solution
-
describe_solution
-
delete_solution
Usage¶
personalize_create_solution_version(name, solutionArn, trainingMode,
tags)
Arguments¶
name |
The name of the solution version. |
solutionArn |
[required] The Amazon Resource Name (ARN) of the solution containing the training configuration information. |
trainingMode |
The scope of training to be performed when creating the solution
version. The default is If you use User-Personalization,
you can specify a training mode of The |
tags |
A list of tags to apply to the solution version. |
Value¶
A list with the following syntax:
list(
solutionVersionArn = "string"
)
Request syntax¶
svc$create_solution_version(
name = "string",
solutionArn = "string",
trainingMode = "FULL"|"UPDATE"|"AUTOTRAIN",
tags = list(
list(
tagKey = "string",
tagValue = "string"
)
)
)