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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-machinelearning/types.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#batch_prediction_data_source_idString

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

Returns:

  • (String)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#batch_prediction_idString

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

Returns:

  • (String)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#compute_timeInteger

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)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#created_atTime

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

Returns:

  • (Time)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#created_by_iam_userString

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)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#finished_atTime

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)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#input_data_location_s3String

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

Returns:

  • (String)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#invalid_record_countInteger

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

Returns:

  • (Integer)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#last_updated_atTime

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

Returns:

  • (Time)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#log_uriString

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

Returns:

  • (String)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#messageString

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

Returns:

  • (String)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#ml_model_idString

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

Returns:

  • (String)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#nameString

A user-supplied name or description of the ‘BatchPrediction`.

Returns:

  • (String)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#output_uriString

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

Returns:

  • (String)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#started_atTime

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)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#statusString

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.

Returns:

  • (String)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end

#total_record_countInteger

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

Returns:

  • (Integer)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'lib/aws-sdk-machinelearning/types.rb', line 1968

class GetBatchPredictionOutput < Struct.new(
  :batch_prediction_id,
  :ml_model_id,
  :batch_prediction_data_source_id,
  :input_data_location_s3,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :name,
  :status,
  :output_uri,
  :log_uri,
  :message,
  :compute_time,
  :finished_at,
  :started_at,
  :total_record_count,
  :invalid_record_count)
  include Aws::Structure
end