amazonka-ml-1.4.5: 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.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 #

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 #

See: deleteEvaluation smart constructor.

Instances

Eq DeleteEvaluation # 
Data DeleteEvaluation # 

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 # 
Show DeleteEvaluation # 
Generic DeleteEvaluation # 
Hashable DeleteEvaluation # 
ToJSON DeleteEvaluation # 
NFData DeleteEvaluation # 

Methods

rnf :: DeleteEvaluation -> () #

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

Request Lenses

deEvaluationId :: Lens' DeleteEvaluation Text #

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

Destructuring the Response

deleteEvaluationResponse #

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 #

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 # 
Data DeleteEvaluationResponse # 

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 # 
Show DeleteEvaluationResponse # 
Generic DeleteEvaluationResponse # 
NFData DeleteEvaluationResponse # 
type Rep DeleteEvaluationResponse # 
type Rep DeleteEvaluationResponse = D1 (MetaData "DeleteEvaluationResponse" "Network.AWS.MachineLearning.DeleteEvaluation" "amazonka-ml-1.4.5-CevT0Y7DDZXCSb8Nqca7UU" False) (C1 (MetaCons "DeleteEvaluationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dersEvaluationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dersResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

dersEvaluationId :: Lens' DeleteEvaluationResponse (Maybe Text) #

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

dersResponseStatus :: Lens' DeleteEvaluationResponse Int #

  • - | The response status code.