AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Trains or retrains an active solution in a Custom dataset group. A solution is created
using the CreateSolution
operation and must be in the ACTIVE state before calling CreateSolutionVersion
.
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 DescribeSolutionVersion.
Wait until the status shows as ACTIVE before calling CreateCampaign
.
If the status shows as CREATE FAILED, the response includes a failureReason
key, which describes why the job failed.
Related APIs
For .NET Core this operation is only available in asynchronous form. Please refer to CreateSolutionVersionAsync.
Namespace: Amazon.Personalize
Assembly: AWSSDK.Personalize.dll
Version: 3.x.y.z
public virtual CreateSolutionVersionResponse CreateSolutionVersion( CreateSolutionVersionRequest request )
Container for the necessary parameters to execute the CreateSolutionVersion service method.
Exception | Condition |
---|---|
InvalidInputException | Provide a valid value for the field or parameter. |
LimitExceededException | The limit on the number of requests per second has been exceeded. |
ResourceAlreadyExistsException | The specified resource already exists. |
ResourceInUseException | The specified resource is in use. |
ResourceNotFoundException | Could not find the specified resource. |
TooManyTagsException | You have exceeded the maximum number of tags you can apply to this resource. |
.NET Framework:
Supported in: 4.5 and newer, 3.5