amazonka-ml-1.4.1: Amazon Machine Learning SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.MachineLearning.GetBatchPrediction

Contents

Description

Returns a BatchPrediction that includes detailed metadata, status, and data file information for a 'Batch Prediction' request.

Synopsis

Creating a Request

getBatchPrediction Source #

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

Eq GetBatchPrediction Source # 
Data GetBatchPrediction Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetBatchPrediction -> c GetBatchPrediction #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetBatchPrediction #

toConstr :: GetBatchPrediction -> Constr #

dataTypeOf :: GetBatchPrediction -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetBatchPrediction) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetBatchPrediction) #

gmapT :: (forall b. Data b => b -> b) -> GetBatchPrediction -> GetBatchPrediction #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetBatchPrediction -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetBatchPrediction -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetBatchPrediction -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetBatchPrediction -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetBatchPrediction -> m GetBatchPrediction #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBatchPrediction -> m GetBatchPrediction #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBatchPrediction -> m GetBatchPrediction #

Read GetBatchPrediction Source # 
Show GetBatchPrediction Source # 
Generic GetBatchPrediction Source # 
Hashable GetBatchPrediction Source # 
ToJSON GetBatchPrediction Source # 
NFData GetBatchPrediction Source # 

Methods

rnf :: GetBatchPrediction -> () #

AWSRequest GetBatchPrediction Source # 
ToQuery GetBatchPrediction Source # 
ToPath GetBatchPrediction Source # 
ToHeaders GetBatchPrediction Source # 
type Rep GetBatchPrediction Source # 
type Rep GetBatchPrediction = D1 (MetaData "GetBatchPrediction" "Network.AWS.MachineLearning.GetBatchPrediction" "amazonka-ml-1.4.1-5jDp9fGygLI17rP35njtq9" True) (C1 (MetaCons "GetBatchPrediction'" PrefixI True) (S1 (MetaSel (Just Symbol "_gbpBatchPredictionId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetBatchPrediction Source # 

Request Lenses

Destructuring the Response

data GetBatchPredictionResponse Source #

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

See: getBatchPredictionResponse smart constructor.

Instances

Eq GetBatchPredictionResponse Source # 
Data GetBatchPredictionResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetBatchPredictionResponse -> c GetBatchPredictionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetBatchPredictionResponse #

toConstr :: GetBatchPredictionResponse -> Constr #

dataTypeOf :: GetBatchPredictionResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetBatchPredictionResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetBatchPredictionResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetBatchPredictionResponse -> GetBatchPredictionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetBatchPredictionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetBatchPredictionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetBatchPredictionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetBatchPredictionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetBatchPredictionResponse -> m GetBatchPredictionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBatchPredictionResponse -> m GetBatchPredictionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBatchPredictionResponse -> m GetBatchPredictionResponse #

Read GetBatchPredictionResponse Source # 
Show GetBatchPredictionResponse Source # 
Generic GetBatchPredictionResponse Source # 
NFData GetBatchPredictionResponse Source # 
type Rep GetBatchPredictionResponse Source # 
type Rep GetBatchPredictionResponse = D1 (MetaData "GetBatchPredictionResponse" "Network.AWS.MachineLearning.GetBatchPrediction" "amazonka-ml-1.4.1-5jDp9fGygLI17rP35njtq9" False) (C1 (MetaCons "GetBatchPredictionResponse'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gbprsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EntityStatus))) ((:*:) (S1 (MetaSel (Just Symbol "_gbprsLastUpdatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_gbprsCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))))) ((:*:) (S1 (MetaSel (Just Symbol "_gbprsInputDataLocationS3") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gbprsMLModelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gbprsBatchPredictionDataSourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gbprsBatchPredictionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gbprsCreatedByIAMUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gbprsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gbprsLogURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gbprsMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gbprsOutputURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gbprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))))

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 - The BatchPrediction is 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.

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.