amazonka-ml-1.6.0: Amazon Machine Learning SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 #

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 #

See: deleteBatchPrediction smart constructor.

Instances
Eq DeleteBatchPrediction # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

Data DeleteBatchPrediction # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

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 # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

Show DeleteBatchPrediction # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

Generic DeleteBatchPrediction # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

Associated Types

type Rep DeleteBatchPrediction :: * -> * #

Hashable DeleteBatchPrediction # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

ToJSON DeleteBatchPrediction # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

AWSRequest DeleteBatchPrediction # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

Associated Types

type Rs DeleteBatchPrediction :: * #

ToHeaders DeleteBatchPrediction # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

ToPath DeleteBatchPrediction # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

ToQuery DeleteBatchPrediction # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

NFData DeleteBatchPrediction # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

Methods

rnf :: DeleteBatchPrediction -> () #

type Rep DeleteBatchPrediction # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

type Rep DeleteBatchPrediction = D1 (MetaData "DeleteBatchPrediction" "Network.AWS.MachineLearning.DeleteBatchPrediction" "amazonka-ml-1.6.0-TdNGQduaCI3599xkq7Zfu" True) (C1 (MetaCons "DeleteBatchPrediction'" PrefixI True) (S1 (MetaSel (Just "_dbpBatchPredictionId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteBatchPrediction # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

Request Lenses

dbpBatchPredictionId :: Lens' DeleteBatchPrediction Text #

A user-supplied ID that uniquely identifies the BatchPrediction .

Destructuring the Response

deleteBatchPredictionResponse #

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:

  • dbprsBatchPredictionId - A user-supplied ID that uniquely identifies the BatchPrediction . This value should be identical to the value of the BatchPredictionID in the request.
  • dbprsResponseStatus - -- | The response status code.

data DeleteBatchPredictionResponse #

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 # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

Data DeleteBatchPredictionResponse # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

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 # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

Show DeleteBatchPredictionResponse # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

Generic DeleteBatchPredictionResponse # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

Associated Types

type Rep DeleteBatchPredictionResponse :: * -> * #

NFData DeleteBatchPredictionResponse # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

type Rep DeleteBatchPredictionResponse # 
Instance details

Defined in Network.AWS.MachineLearning.DeleteBatchPrediction

type Rep DeleteBatchPredictionResponse = D1 (MetaData "DeleteBatchPredictionResponse" "Network.AWS.MachineLearning.DeleteBatchPrediction" "amazonka-ml-1.6.0-TdNGQduaCI3599xkq7Zfu" False) (C1 (MetaCons "DeleteBatchPredictionResponse'" PrefixI True) (S1 (MetaSel (Just "_dbprsBatchPredictionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dbprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

dbprsBatchPredictionId :: Lens' DeleteBatchPredictionResponse (Maybe Text) #

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