| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MachineLearning.GetBatchPrediction
Description
Returns a BatchPrediction that includes detailed metadata, status, and
data file information for a Batch Prediction request.
Synopsis
- data GetBatchPrediction = GetBatchPrediction' {}
- newGetBatchPrediction :: Text -> GetBatchPrediction
- getBatchPrediction_batchPredictionId :: Lens' GetBatchPrediction Text
- data GetBatchPredictionResponse = GetBatchPredictionResponse' {
- batchPredictionDataSourceId :: Maybe Text
- batchPredictionId :: Maybe Text
- computeTime :: Maybe Integer
- createdAt :: Maybe POSIX
- createdByIamUser :: Maybe Text
- finishedAt :: Maybe POSIX
- inputDataLocationS3 :: Maybe Text
- invalidRecordCount :: Maybe Integer
- lastUpdatedAt :: Maybe POSIX
- logUri :: Maybe Text
- mLModelId :: Maybe Text
- message :: Maybe Text
- name :: Maybe Text
- outputUri :: Maybe Text
- startedAt :: Maybe POSIX
- status :: Maybe EntityStatus
- totalRecordCount :: Maybe Integer
- httpStatus :: Int
- newGetBatchPredictionResponse :: Int -> GetBatchPredictionResponse
- getBatchPredictionResponse_batchPredictionDataSourceId :: Lens' GetBatchPredictionResponse (Maybe Text)
- getBatchPredictionResponse_batchPredictionId :: Lens' GetBatchPredictionResponse (Maybe Text)
- getBatchPredictionResponse_computeTime :: Lens' GetBatchPredictionResponse (Maybe Integer)
- getBatchPredictionResponse_createdAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
- getBatchPredictionResponse_createdByIamUser :: Lens' GetBatchPredictionResponse (Maybe Text)
- getBatchPredictionResponse_finishedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
- getBatchPredictionResponse_inputDataLocationS3 :: Lens' GetBatchPredictionResponse (Maybe Text)
- getBatchPredictionResponse_invalidRecordCount :: Lens' GetBatchPredictionResponse (Maybe Integer)
- getBatchPredictionResponse_lastUpdatedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
- getBatchPredictionResponse_logUri :: Lens' GetBatchPredictionResponse (Maybe Text)
- getBatchPredictionResponse_mLModelId :: Lens' GetBatchPredictionResponse (Maybe Text)
- getBatchPredictionResponse_message :: Lens' GetBatchPredictionResponse (Maybe Text)
- getBatchPredictionResponse_name :: Lens' GetBatchPredictionResponse (Maybe Text)
- getBatchPredictionResponse_outputUri :: Lens' GetBatchPredictionResponse (Maybe Text)
- getBatchPredictionResponse_startedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
- getBatchPredictionResponse_status :: Lens' GetBatchPredictionResponse (Maybe EntityStatus)
- getBatchPredictionResponse_totalRecordCount :: Lens' GetBatchPredictionResponse (Maybe Integer)
- getBatchPredictionResponse_httpStatus :: Lens' GetBatchPredictionResponse Int
Creating a Request
data GetBatchPrediction Source #
See: newGetBatchPrediction smart constructor.
Constructors
| GetBatchPrediction' | |
Fields
| |
Instances
newGetBatchPrediction Source #
Arguments
| :: Text | |
| -> GetBatchPrediction |
Create a value of GetBatchPrediction with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetBatchPrediction, getBatchPrediction_batchPredictionId - An ID assigned to the BatchPrediction at creation.
Request Lenses
getBatchPrediction_batchPredictionId :: Lens' GetBatchPrediction Text Source #
An ID assigned to the BatchPrediction at creation.
Destructuring the Response
data GetBatchPredictionResponse Source #
Represents the output of a GetBatchPrediction operation and describes
a BatchPrediction.
See: newGetBatchPredictionResponse smart constructor.
Constructors
| GetBatchPredictionResponse' | |
Fields
| |
Instances
newGetBatchPredictionResponse Source #
Create a value of GetBatchPredictionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetBatchPredictionResponse, getBatchPredictionResponse_batchPredictionDataSourceId - The ID of the DataSource that was used to create the
BatchPrediction.
GetBatchPrediction, getBatchPredictionResponse_batchPredictionId - An ID assigned to the BatchPrediction at creation. This value should
be identical to the value of the BatchPredictionID in the request.
GetBatchPredictionResponse, getBatchPredictionResponse_computeTime - 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.
GetBatchPredictionResponse, getBatchPredictionResponse_createdAt - The time when the BatchPrediction was created. The time is expressed
in epoch time.
GetBatchPredictionResponse, getBatchPredictionResponse_createdByIamUser - 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.
GetBatchPredictionResponse, getBatchPredictionResponse_finishedAt - 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.
GetBatchPredictionResponse, getBatchPredictionResponse_inputDataLocationS3 - The location of the data file or directory in Amazon Simple Storage
Service (Amazon S3).
GetBatchPredictionResponse, getBatchPredictionResponse_invalidRecordCount - The number of invalid records that Amazon Machine Learning saw while
processing the BatchPrediction.
GetBatchPredictionResponse, getBatchPredictionResponse_lastUpdatedAt - The time of the most recent edit to BatchPrediction. The time is
expressed in epoch time.
$sel:logUri:GetBatchPredictionResponse', getBatchPredictionResponse_logUri - A link to the file that contains logs of the CreateBatchPrediction
operation.
GetBatchPredictionResponse, getBatchPredictionResponse_mLModelId - The ID of the MLModel that generated predictions for the
BatchPrediction request.
GetBatchPredictionResponse, getBatchPredictionResponse_message - A description of the most recent details about processing the batch
prediction request.
GetBatchPredictionResponse, getBatchPredictionResponse_name - A user-supplied name or description of the BatchPrediction.
GetBatchPredictionResponse, getBatchPredictionResponse_outputUri - The location of an Amazon S3 bucket or directory to receive the
operation results.
GetBatchPredictionResponse, getBatchPredictionResponse_startedAt - The epoch time when Amazon Machine Learning marked the BatchPrediction
as INPROGRESS. StartedAt isn't available if the BatchPrediction
is in the PENDING state.
GetBatchPredictionResponse, getBatchPredictionResponse_status - 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- TheBatchPredictionis marked as deleted. It is not usable.
GetBatchPredictionResponse, getBatchPredictionResponse_totalRecordCount - The number of total records that Amazon Machine Learning saw while
processing the BatchPrediction.
$sel:httpStatus:GetBatchPredictionResponse', getBatchPredictionResponse_httpStatus - The response's http status code.
Response Lenses
getBatchPredictionResponse_batchPredictionDataSourceId :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
The ID of the DataSource that was used to create the
BatchPrediction.
getBatchPredictionResponse_batchPredictionId :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
An ID assigned to the BatchPrediction at creation. This value should
be identical to the value of the BatchPredictionID in the request.
getBatchPredictionResponse_computeTime :: Lens' GetBatchPredictionResponse (Maybe Integer) Source #
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.
getBatchPredictionResponse_createdAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime) Source #
The time when the BatchPrediction was created. The time is expressed
in epoch time.
getBatchPredictionResponse_createdByIamUser :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
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.
getBatchPredictionResponse_finishedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime) Source #
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.
getBatchPredictionResponse_inputDataLocationS3 :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
getBatchPredictionResponse_invalidRecordCount :: Lens' GetBatchPredictionResponse (Maybe Integer) Source #
The number of invalid records that Amazon Machine Learning saw while
processing the BatchPrediction.
getBatchPredictionResponse_lastUpdatedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime) Source #
The time of the most recent edit to BatchPrediction. The time is
expressed in epoch time.
getBatchPredictionResponse_logUri :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
A link to the file that contains logs of the CreateBatchPrediction
operation.
getBatchPredictionResponse_mLModelId :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
The ID of the MLModel that generated predictions for the
BatchPrediction request.
getBatchPredictionResponse_message :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
A description of the most recent details about processing the batch prediction request.
getBatchPredictionResponse_name :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
A user-supplied name or description of the BatchPrediction.
getBatchPredictionResponse_outputUri :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
The location of an Amazon S3 bucket or directory to receive the operation results.
getBatchPredictionResponse_startedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime) Source #
The epoch time when Amazon Machine Learning marked the BatchPrediction
as INPROGRESS. StartedAt isn't available if the BatchPrediction
is in the PENDING state.
getBatchPredictionResponse_status :: Lens' GetBatchPredictionResponse (Maybe EntityStatus) Source #
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- TheBatchPredictionis marked as deleted. It is not usable.
getBatchPredictionResponse_totalRecordCount :: Lens' GetBatchPredictionResponse (Maybe Integer) Source #
The number of total records that Amazon Machine Learning saw while
processing the BatchPrediction.
getBatchPredictionResponse_httpStatus :: Lens' GetBatchPredictionResponse Int Source #
The response's http status code.