You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::MachineLearning::Types::GetBatchPredictionOutput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Represents the output of a GetBatchPrediction operation and describes a BatchPrediction.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#batch_prediction_data_source_id ⇒ String

The ID of the DataSource that was used to create the BatchPrediction.

Returns:

  • (String) —

    The ID of the DataSource that was used to create the BatchPrediction.

#batch_prediction_id ⇒ String

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

Returns:

  • (String) —

    An ID assigned to the BatchPrediction at creation.

#compute_time ⇒ Integer

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.

Returns:

  • (Integer) —

    The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the BatchPrediction, normalized and scaled on computation resources.

#created_at ⇒ Time

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

Returns:

  • (Time) —

    The time when the BatchPrediction was created.

#created_by_iam_user ⇒ 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.

Returns:

  • (String) —

    The AWS user account that invoked the BatchPrediction.

#finished_at ⇒ Time

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.

Returns:

  • (Time) —

    The epoch time when Amazon Machine Learning marked the BatchPrediction as COMPLETED or FAILED.

#input_data_location_s3 ⇒ String

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

Returns:

  • (String) —

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

#invalid_record_count ⇒ Integer

The number of invalid records that Amazon Machine Learning saw while processing the BatchPrediction.

Returns:

  • (Integer) —

    The number of invalid records that Amazon Machine Learning saw while processing the BatchPrediction.

#last_updated_at ⇒ Time

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

Returns:

  • (Time) —

    The time of the most recent edit to BatchPrediction.

#log_uri ⇒ String

A link to the file that contains logs of the CreateBatchPrediction operation.

Returns:

  • (String) —

    A link to the file that contains logs of the CreateBatchPrediction operation.

#message ⇒ String

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

Returns:

  • (String) —

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

#ml_model_id ⇒ String

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

Returns:

  • (String) —

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

#name ⇒ String

A user-supplied name or description of the BatchPrediction.

Returns:

  • (String) —

    A user-supplied name or description of the BatchPrediction.

#output_uri ⇒ String

The location of an Amazon S3 bucket or directory to receive the operation results.

Returns:

  • (String) —

    The location of an Amazon S3 bucket or directory to receive the operation results.

#started_at ⇒ Time

The epoch time when Amazon Machine Learning marked the BatchPrediction as INPROGRESS. StartedAt isn\'t available if the BatchPrediction is in the PENDING state.

Returns:

  • (Time) —

    The epoch time when Amazon Machine Learning marked the BatchPrediction as INPROGRESS.

#status ⇒ String

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.

    Possible values:

    • PENDING
    • INPROGRESS
    • FAILED
    • COMPLETED
    • DELETED

Returns:

  • (String) —

    The status of the BatchPrediction, which can be one of the following values:.

#total_record_count ⇒ Integer

The number of total records that Amazon Machine Learning saw while processing the BatchPrediction.

Returns:

  • (Integer) —

    The number of total records that Amazon Machine Learning saw while processing the BatchPrediction.