Skip to content

BatchPrediction

Source code in docs_src/capo_machine_learning/types/batch_prediction.py
class BatchPrediction(TypedDict, closed=True):
    batch_prediction_id: NotRequired["capo_machine_learning.types.entity_id.EntityId"]
    """<p>The ID assigned to the <code>BatchPrediction</code> at creation. This value should be identical to the value of the <code>BatchPredictionID</code> in the request. </p>"""
    ml_model_id: NotRequired["capo_machine_learning.types.entity_id.EntityId"]
    """<p>The ID of the <code>MLModel</code> that generated predictions for the <code>BatchPrediction</code> request.</p>"""
    batch_prediction_data_source_id: NotRequired[
        "capo_machine_learning.types.entity_id.EntityId"
    ]
    """<p>The ID of the <code>DataSource</code> that points to the group of observations to predict.</p>"""
    input_data_location_s3: NotRequired["capo_machine_learning.types.s3_url.S3Url"]
    """<p>The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).</p>"""
    created_by_iam_user: NotRequired[
        "capo_machine_learning.types.aws_user_arn.AwsUserArn"
    ]
    """<p>The AWS user account that invoked the <code>BatchPrediction</code>. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.</p>"""
    created_at: NotRequired["capo_machine_learning.types.epoch_time.EpochTime"]
    """<p>The time that the <code>BatchPrediction</code> was created. The time is expressed in epoch time.</p>"""
    last_updated_at: NotRequired["capo_machine_learning.types.epoch_time.EpochTime"]
    """<p>The time of the most recent edit to the <code>BatchPrediction</code>. The time is expressed in epoch time.</p>"""
    name: NotRequired["capo_machine_learning.types.entity_name.EntityName"]
    """<p>A user-supplied name or description of the <code>BatchPrediction</code>.</p>"""
    status: NotRequired["capo_machine_learning.types.entity_status.EntityStatus"]
    """<p>The status of the <code>BatchPrediction</code>. This element can have one of the following values:</p> <ul> <li> <p> <code>PENDING</code> - Amazon Machine Learning (Amazon ML) submitted a request to generate predictions for a batch of observations.</p> </li> <li> <p> <code>INPROGRESS</code> - The process is underway.</p> </li> <li> <p> <code>FAILED</code> - The request to perform a batch prediction did not run to completion. It is not usable.</p> </li> <li> <p> <code>COMPLETED</code> - The batch prediction process completed successfully.</p> </li> <li> <p> <code>DELETED</code> - The <code>BatchPrediction</code> is marked as deleted. It is not usable.</p> </li> </ul>"""
    output_uri: NotRequired["capo_machine_learning.types.s3_url.S3Url"]
    """<p>The location of an Amazon S3 bucket or directory to receive the operation results. The following substrings are not allowed in the <code>s3 key</code> portion of the <code>outputURI</code> field: ':', '//', '/./', '/../'.</p>"""
    message: NotRequired["capo_machine_learning.types.message.Message"]
    """<p>A description of the most recent details about processing the batch prediction request.</p>"""
    compute_time: NotRequired["capo_machine_learning.types.long_type.LongType"]
    finished_at: NotRequired["capo_machine_learning.types.epoch_time.EpochTime"]
    started_at: NotRequired["capo_machine_learning.types.epoch_time.EpochTime"]
    total_record_count: NotRequired["capo_machine_learning.types.long_type.LongType"]
    invalid_record_count: NotRequired["capo_machine_learning.types.long_type.LongType"]

batch_prediction_data_source_id instance-attribute

batch_prediction_data_source_id: NotRequired[EntityId]

The ID of the DataSource that points to the group of observations to predict.

batch_prediction_id instance-attribute

batch_prediction_id: NotRequired[EntityId]

The ID assigned to the BatchPrediction at creation. This value should be identical to the value of the BatchPredictionID in the request.

compute_time instance-attribute

compute_time: NotRequired[LongType]

created_at instance-attribute

created_at: NotRequired[EpochTime]

The time that the BatchPrediction was created. The time is expressed in epoch time.

created_by_iam_user instance-attribute

created_by_iam_user: NotRequired[AwsUserArn]

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.

finished_at instance-attribute

finished_at: NotRequired[EpochTime]

input_data_location_s3 instance-attribute

input_data_location_s3: NotRequired[S3Url]

The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).

invalid_record_count instance-attribute

invalid_record_count: NotRequired[LongType]

last_updated_at instance-attribute

last_updated_at: NotRequired[EpochTime]

The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time.

message instance-attribute

message: NotRequired[Message]

A description of the most recent details about processing the batch prediction request.

ml_model_id instance-attribute

ml_model_id: NotRequired[EntityId]

The ID of the MLModel that generated predictions for the BatchPrediction request.

name instance-attribute

name: NotRequired[EntityName]

A user-supplied name or description of the BatchPrediction.

output_uri instance-attribute

output_uri: NotRequired[S3Url]

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: ':', '//', '/./', '/../'.

started_at instance-attribute

started_at: NotRequired[EpochTime]

status instance-attribute

status: NotRequired[EntityStatus]

The status of the BatchPrediction. This element can have one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate predictions for a batch of observations.

  • INPROGRESS - The process is underway.

  • 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.

total_record_count instance-attribute

total_record_count: NotRequired[LongType]