amazonka-ml-1.4.2: 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.DeleteBatchPrediction

Contents

Description

Assigns the DELETED status to a BatchPrediction, rendering it unusable.

After using the DeleteBatchPrediction operation, you can use the GetBatchPrediction operation to verify that the status of the BatchPrediction changed to DELETED.

Caution: The result of the DeleteBatchPrediction operation is irreversible.

Synopsis

Creating a Request

deleteBatchPrediction Source #

Creates a value of DeleteBatchPrediction with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DeleteBatchPrediction Source #

See: deleteBatchPrediction smart constructor.

Instances

Eq DeleteBatchPrediction Source # 
Data DeleteBatchPrediction Source # 

Methods

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

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

toConstr :: DeleteBatchPrediction -> Constr #

dataTypeOf :: DeleteBatchPrediction -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DeleteBatchPrediction -> () #

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

Request Lenses

dbpBatchPredictionId :: Lens' DeleteBatchPrediction Text Source #

A user-supplied ID that uniquely identifies the BatchPrediction.

Destructuring the Response

deleteBatchPredictionResponse Source #

Creates a value of DeleteBatchPredictionResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DeleteBatchPredictionResponse Source #

Represents the output of a DeleteBatchPrediction operation.

You can use the GetBatchPrediction operation and check the value of the Status parameter to see whether a BatchPrediction is marked as DELETED.

See: deleteBatchPredictionResponse smart constructor.

Instances

Eq DeleteBatchPredictionResponse Source # 
Data DeleteBatchPredictionResponse Source # 

Methods

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

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

toConstr :: DeleteBatchPredictionResponse -> Constr #

dataTypeOf :: DeleteBatchPredictionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteBatchPredictionResponse Source # 
Show DeleteBatchPredictionResponse Source # 
Generic DeleteBatchPredictionResponse Source # 
NFData DeleteBatchPredictionResponse Source # 
type Rep DeleteBatchPredictionResponse Source # 
type Rep DeleteBatchPredictionResponse = D1 (MetaData "DeleteBatchPredictionResponse" "Network.AWS.MachineLearning.DeleteBatchPrediction" "amazonka-ml-1.4.2-HF6krfipW1H3AFW7IkLncg" False) (C1 (MetaCons "DeleteBatchPredictionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dbprsBatchPredictionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dbprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dbprsBatchPredictionId :: Lens' DeleteBatchPredictionResponse (Maybe Text) Source #

A user-supplied ID that uniquely identifies the BatchPrediction. This value should be identical to the value of the BatchPredictionID in the request.