| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.MachineLearning.GetBatchPrediction
Description
Returns a BatchPrediction that includes detailed metadata, status, and
data file information for a 'Batch Prediction' request.
- getBatchPrediction :: Text -> GetBatchPrediction
- data GetBatchPrediction
- gbpBatchPredictionId :: Lens' GetBatchPrediction Text
- getBatchPredictionResponse :: Int -> GetBatchPredictionResponse
- data GetBatchPredictionResponse
- gbprsStatus :: Lens' GetBatchPredictionResponse (Maybe EntityStatus)
- gbprsLastUpdatedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
- gbprsCreatedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
- gbprsInputDataLocationS3 :: Lens' GetBatchPredictionResponse (Maybe Text)
- gbprsMLModelId :: Lens' GetBatchPredictionResponse (Maybe Text)
- gbprsBatchPredictionDataSourceId :: Lens' GetBatchPredictionResponse (Maybe Text)
- gbprsBatchPredictionId :: Lens' GetBatchPredictionResponse (Maybe Text)
- gbprsCreatedByIAMUser :: Lens' GetBatchPredictionResponse (Maybe Text)
- gbprsName :: Lens' GetBatchPredictionResponse (Maybe Text)
- gbprsLogURI :: Lens' GetBatchPredictionResponse (Maybe Text)
- gbprsMessage :: Lens' GetBatchPredictionResponse (Maybe Text)
- gbprsOutputURI :: Lens' GetBatchPredictionResponse (Maybe Text)
- gbprsResponseStatus :: Lens' GetBatchPredictionResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetBatchPrediction |
Creates a value of GetBatchPrediction with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetBatchPrediction Source #
See: getBatchPrediction smart constructor.
Instances
Request Lenses
gbpBatchPredictionId :: Lens' GetBatchPrediction Text Source #
An ID assigned to the BatchPrediction at creation.
Destructuring the Response
getBatchPredictionResponse Source #
Arguments
| :: Int | |
| -> GetBatchPredictionResponse |
Creates a value of GetBatchPredictionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetBatchPredictionResponse Source #
Represents the output of a GetBatchPrediction operation and describes
a BatchPrediction.
See: getBatchPredictionResponse smart constructor.
Instances
Response Lenses
gbprsStatus :: 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.
gbprsLastUpdatedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime) Source #
The time of the most recent edit to BatchPrediction. The time is
expressed in epoch time.
gbprsCreatedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime) Source #
The time when the BatchPrediction was created. The time is expressed
in epoch time.
gbprsInputDataLocationS3 :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
gbprsMLModelId :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
The ID of the MLModel that generated predictions for the
BatchPrediction request.
gbprsBatchPredictionDataSourceId :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
The ID of the DataSource that was used to create the
BatchPrediction.
gbprsBatchPredictionId :: 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.
gbprsCreatedByIAMUser :: 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.
gbprsName :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
A user-supplied name or description of the BatchPrediction.
gbprsLogURI :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
A link to the file that contains logs of the CreateBatchPrediction operation.
gbprsMessage :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
A description of the most recent details about processing the batch prediction request.
gbprsOutputURI :: Lens' GetBatchPredictionResponse (Maybe Text) Source #
The location of an Amazon S3 bucket or directory to receive the operation results.
gbprsResponseStatus :: Lens' GetBatchPredictionResponse Int Source #
The response status code.