Values.GetBatchPredictionOutputSourceRepresents the output of a GetBatchPrediction operation and describes a BatchPrediction.
type nonrec t = {batchPredictionId : EntityId.t option;An ID assigned to the BatchPrediction at creation. This value should be identical to the value of the BatchPredictionID in the request.
*)mLModelId : EntityId.t option;The ID of the MLModel that generated predictions for the BatchPrediction request.
*)batchPredictionDataSourceId : EntityId.t option;The ID of the DataSource that was used to create the BatchPrediction.
*)inputDataLocationS3 : S3Url.t option;The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
*)createdByIamUser : AwsUserArn.t option;The AWS user account that invoked the BatchPrediction. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
*)createdAt : EpochTime.t option;The time when the BatchPrediction was created. The time is expressed in epoch time.
*)lastUpdatedAt : EpochTime.t option;The time of the most recent edit to BatchPrediction. The time is expressed in epoch time.
*)name : EntityName.t option;A user-supplied name or description of the BatchPrediction.
*)status : EntityStatus.t option;The status of the BatchPrediction, which can be one of the following values: PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions. INPROGRESS - The batch predictions are in progress. FAILED - The request to perform a batch prediction did not run to completion. It is not usable. COMPLETED - The batch prediction process completed successfully. DELETED - The BatchPrediction is marked as deleted. It is not usable.
*)outputUri : S3Url.t option;The location of an Amazon S3 bucket or directory to receive the operation results.
*)logUri : PresignedS3Url.t option;A link to the file that contains logs of the CreateBatchPrediction operation.
*)message : Message.t option;A description of the most recent details about processing the batch prediction request.
*)computeTime : LongType.t option;The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the BatchPrediction, normalized and scaled on computation resources. ComputeTime is only available if the BatchPrediction is in the COMPLETED state.
*)finishedAt : EpochTime.t option;The epoch time when Amazon Machine Learning marked the BatchPrediction as COMPLETED or FAILED. FinishedAt is only available when the BatchPrediction is in the COMPLETED or FAILED state.
*)startedAt : EpochTime.t option;The epoch time when Amazon Machine Learning marked the BatchPrediction as INPROGRESS. StartedAt isn't available if the BatchPrediction is in the PENDING state.
*)totalRecordCount : LongType.t option;The number of total records that Amazon Machine Learning saw while processing the BatchPrediction.
*)invalidRecordCount : LongType.t option;The number of invalid records that Amazon Machine Learning saw while processing the BatchPrediction.
*)}type nonrec error = [ | `InternalServerException of InternalServerException.t| `InvalidInputException of InvalidInputException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `Unknown_operation_error of string * string option ]val make :
?batchPredictionId:??? ->
?mLModelId:??? ->
?batchPredictionDataSourceId:??? ->
?inputDataLocationS3:??? ->
?createdByIamUser:??? ->
?createdAt:??? ->
?lastUpdatedAt:??? ->
?name:??? ->
?status:??? ->
?outputUri:??? ->
?logUri:??? ->
?message:??? ->
?computeTime:??? ->
?finishedAt:??? ->
?startedAt:??? ->
?totalRecordCount:??? ->
?invalidRecordCount:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServerException of InternalServerException.t
| `InvalidInputException of InvalidInputException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServerException of InternalServerException.t
| `InvalidInputException of InvalidInputException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Long of LongType.t
| `String of EntityId.t
| `Timestamp of EpochTime.t ])
list ]