BatchPrediction class

Represents the output of a GetBatchPrediction operation.

The content consists of the detailed metadata, the status, and the data file information of a Batch Prediction.

  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: true, createToJson: false)


BatchPrediction({String batchPredictionDataSourceId, String batchPredictionId, int computeTime, DateTime createdAt, String createdByIamUser, DateTime finishedAt, String inputDataLocationS3, int invalidRecordCount, DateTime lastUpdatedAt, String mLModelId, String message, String name, String outputUri, DateTime startedAt, EntityStatus status, int totalRecordCount})
BatchPrediction.fromJson(Map<String, dynamic> json)


batchPredictionDataSourceId String
The ID of the DataSource that points to the group of observations to predict.
@JsonKey(name: 'BatchPredictionDataSourceId'), final
batchPredictionId String
The ID assigned to the BatchPrediction at creation. This value should be identical to the value of the BatchPredictionID in the request.
@JsonKey(name: 'BatchPredictionId'), final
computeTime int
@JsonKey(name: 'ComputeTime'), final
createdAt DateTime
The time that the BatchPrediction was created. The time is expressed in epoch time.
@JsonKey(name: 'CreatedAt', fromJson: unixFromJson, toJson: unixToJson), final
createdByIamUser String
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.
@JsonKey(name: 'CreatedByIamUser'), final
finishedAt DateTime
@JsonKey(name: 'FinishedAt', fromJson: unixFromJson, toJson: unixToJson), final
hashCode int
The hash code for this object. [...]
read-only, inherited
inputDataLocationS3 String
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
@JsonKey(name: 'InputDataLocationS3'), final
invalidRecordCount int
@JsonKey(name: 'InvalidRecordCount'), final
lastUpdatedAt DateTime
The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time.
@JsonKey(name: 'LastUpdatedAt', fromJson: unixFromJson, toJson: unixToJson), final
message String
A description of the most recent details about processing the batch prediction request.
@JsonKey(name: 'Message'), final
mLModelId String
The ID of the MLModel that generated predictions for the BatchPrediction request.
@JsonKey(name: 'MLModelId'), final
name String
A user-supplied name or description of the BatchPrediction.
@JsonKey(name: 'Name'), final
outputUri String
The location of an Amazon S3 bucket or directory to receive the operation results. The following substrings are not allowed in the s3 key portion of the outputURI field: ':', '//', '/./', '/../'.
@JsonKey(name: 'OutputUri'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startedAt DateTime
@JsonKey(name: 'StartedAt', fromJson: unixFromJson, toJson: unixToJson), final
status EntityStatus
The status of the BatchPrediction. This element can have one of the following values: [...]
@JsonKey(name: 'Status'), final
totalRecordCount int
@JsonKey(name: 'TotalRecordCount'), final


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]