amazonka-ml-1.5.0: Amazon Machine Learning SDK.

Copyright(c) 2013-2017 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.DeleteEvaluation

Contents

Description

Assigns the DELETED status to an Evaluation , rendering it unusable.

After invoking the DeleteEvaluation operation, you can use the GetEvaluation operation to verify that the status of the Evaluation changed to DELETED .

__Caution The results of the DeleteEvaluation operation are irreversible.

__

Synopsis

Creating a Request

deleteEvaluation Source #

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

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

  • deEvaluationId - A user-supplied ID that uniquely identifies the Evaluation to delete.

data DeleteEvaluation Source #

See: deleteEvaluation smart constructor.

Instances

Eq DeleteEvaluation Source # 
Data DeleteEvaluation Source # 

Methods

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

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

toConstr :: DeleteEvaluation -> Constr #

dataTypeOf :: DeleteEvaluation -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DeleteEvaluation -> () #

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

Request Lenses

deEvaluationId :: Lens' DeleteEvaluation Text Source #

A user-supplied ID that uniquely identifies the Evaluation to delete.

Destructuring the Response

deleteEvaluationResponse Source #

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

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

  • dersEvaluationId - A user-supplied ID that uniquely identifies the Evaluation . This value should be identical to the value of the EvaluationId in the request.
  • dersResponseStatus - -- | The response status code.

data DeleteEvaluationResponse Source #

Represents the output of a DeleteEvaluation operation. The output indicates that Amazon Machine Learning (Amazon ML) received the request.

You can use the GetEvaluation operation and check the value of the Status parameter to see whether an Evaluation is marked as DELETED .

See: deleteEvaluationResponse smart constructor.

Instances

Eq DeleteEvaluationResponse Source # 
Data DeleteEvaluationResponse Source # 

Methods

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

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

toConstr :: DeleteEvaluationResponse -> Constr #

dataTypeOf :: DeleteEvaluationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteEvaluationResponse Source # 
Show DeleteEvaluationResponse Source # 
Generic DeleteEvaluationResponse Source # 
NFData DeleteEvaluationResponse Source # 
type Rep DeleteEvaluationResponse Source # 
type Rep DeleteEvaluationResponse = D1 (MetaData "DeleteEvaluationResponse" "Network.AWS.MachineLearning.DeleteEvaluation" "amazonka-ml-1.5.0-CbUNVP31vJd1Lf9wTXn86Z" False) (C1 (MetaCons "DeleteEvaluationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dersEvaluationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dersEvaluationId :: Lens' DeleteEvaluationResponse (Maybe Text) Source #

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