Struct aws_sdk_machinelearning::model::BatchPrediction
source · [−]#[non_exhaustive]pub struct BatchPrediction {Show 16 fields
pub batch_prediction_id: Option<String>,
pub ml_model_id: Option<String>,
pub batch_prediction_data_source_id: Option<String>,
pub input_data_location_s3: Option<String>,
pub created_by_iam_user: Option<String>,
pub created_at: Option<DateTime>,
pub last_updated_at: Option<DateTime>,
pub name: Option<String>,
pub status: Option<EntityStatus>,
pub output_uri: Option<String>,
pub message: Option<String>,
pub compute_time: Option<i64>,
pub finished_at: Option<DateTime>,
pub started_at: Option<DateTime>,
pub total_record_count: Option<i64>,
pub invalid_record_count: Option<i64>,
}
Expand description
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
.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.batch_prediction_id: Option<String>
The ID assigned to the BatchPrediction
at creation. This value should be identical to the value of the BatchPredictionID
in the request.
ml_model_id: Option<String>
The ID of the MLModel
that generated predictions for the BatchPrediction
request.
batch_prediction_data_source_id: Option<String>
The ID of the DataSource
that points to the group of observations to predict.
input_data_location_s3: Option<String>
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
created_by_iam_user: Option<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.
created_at: Option<DateTime>
The time that the BatchPrediction
was created. The time is expressed in epoch time.
last_updated_at: Option<DateTime>
The time of the most recent edit to the BatchPrediction
. The time is expressed in epoch time.
name: Option<String>
A user-supplied name or description of the BatchPrediction
.
status: Option<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
- TheBatchPrediction
is marked as deleted. It is not usable.
output_uri: Option<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: ':', '//', '/./', '/../'.
message: Option<String>
A description of the most recent details about processing the batch prediction request.
compute_time: Option<i64>
Long integer type that is a 64-bit signed number.
finished_at: Option<DateTime>
A timestamp represented in epoch time.
started_at: Option<DateTime>
A timestamp represented in epoch time.
total_record_count: Option<i64>
Long integer type that is a 64-bit signed number.
invalid_record_count: Option<i64>
Long integer type that is a 64-bit signed number.
Implementations
sourceimpl BatchPrediction
impl BatchPrediction
sourcepub fn batch_prediction_id(&self) -> Option<&str>
pub fn batch_prediction_id(&self) -> Option<&str>
The ID assigned to the BatchPrediction
at creation. This value should be identical to the value of the BatchPredictionID
in the request.
sourcepub fn ml_model_id(&self) -> Option<&str>
pub fn ml_model_id(&self) -> Option<&str>
The ID of the MLModel
that generated predictions for the BatchPrediction
request.
sourcepub fn batch_prediction_data_source_id(&self) -> Option<&str>
pub fn batch_prediction_data_source_id(&self) -> Option<&str>
The ID of the DataSource
that points to the group of observations to predict.
sourcepub fn input_data_location_s3(&self) -> Option<&str>
pub fn input_data_location_s3(&self) -> Option<&str>
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
sourcepub fn created_by_iam_user(&self) -> Option<&str>
pub fn created_by_iam_user(&self) -> Option<&str>
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.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time that the BatchPrediction
was created. The time is expressed in epoch time.
sourcepub fn last_updated_at(&self) -> Option<&DateTime>
pub fn last_updated_at(&self) -> Option<&DateTime>
The time of the most recent edit to the BatchPrediction
. The time is expressed in epoch time.
sourcepub fn status(&self) -> Option<&EntityStatus>
pub fn status(&self) -> Option<&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
- TheBatchPrediction
is marked as deleted. It is not usable.
sourcepub fn output_uri(&self) -> Option<&str>
pub fn output_uri(&self) -> Option<&str>
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: ':', '//', '/./', '/../'.
sourcepub fn message(&self) -> Option<&str>
pub fn message(&self) -> Option<&str>
A description of the most recent details about processing the batch prediction request.
sourcepub fn compute_time(&self) -> Option<i64>
pub fn compute_time(&self) -> Option<i64>
Long integer type that is a 64-bit signed number.
sourcepub fn finished_at(&self) -> Option<&DateTime>
pub fn finished_at(&self) -> Option<&DateTime>
A timestamp represented in epoch time.
sourcepub fn started_at(&self) -> Option<&DateTime>
pub fn started_at(&self) -> Option<&DateTime>
A timestamp represented in epoch time.
sourcepub fn total_record_count(&self) -> Option<i64>
pub fn total_record_count(&self) -> Option<i64>
Long integer type that is a 64-bit signed number.
sourcepub fn invalid_record_count(&self) -> Option<i64>
pub fn invalid_record_count(&self) -> Option<i64>
Long integer type that is a 64-bit signed number.
sourceimpl BatchPrediction
impl BatchPrediction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BatchPrediction
Trait Implementations
sourceimpl Clone for BatchPrediction
impl Clone for BatchPrediction
sourcefn clone(&self) -> BatchPrediction
fn clone(&self) -> BatchPrediction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BatchPrediction
impl Debug for BatchPrediction
sourceimpl PartialEq<BatchPrediction> for BatchPrediction
impl PartialEq<BatchPrediction> for BatchPrediction
sourcefn eq(&self, other: &BatchPrediction) -> bool
fn eq(&self, other: &BatchPrediction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BatchPrediction) -> bool
fn ne(&self, other: &BatchPrediction) -> bool
This method tests for !=
.
impl StructuralPartialEq for BatchPrediction
Auto Trait Implementations
impl RefUnwindSafe for BatchPrediction
impl Send for BatchPrediction
impl Sync for BatchPrediction
impl Unpin for BatchPrediction
impl UnwindSafe for BatchPrediction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more