Module Values.CreateSolutionVersionResponseSource

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 ListSolutionVersions DescribeSolutionVersion ListSolutions CreateSolution DescribeSolution DeleteSolution

Sourcetype nonrec t = {
  1. solutionVersionArn : Arn.t option;
    (*

    The ARN of the new solution version.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidInputException of InvalidInputException.t
  2. | `LimitExceededException of LimitExceededException.t
  3. | `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t
  4. | `ResourceInUseException of ResourceInUseException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `TooManyTagsException of TooManyTagsException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?solutionVersionArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidInputException of InvalidInputException.t | `LimitExceededException of LimitExceededException.t | `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t | `ResourceInUseException of ResourceInUseException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyTagsException of TooManyTagsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidInputException of InvalidInputException.t | `LimitExceededException of LimitExceededException.t | `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t | `ResourceInUseException of ResourceInUseException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyTagsException of TooManyTagsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Arn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t