| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.MachineLearning.DeleteEvaluation
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.
__
- deleteEvaluation :: Text -> DeleteEvaluation
- data DeleteEvaluation
- deEvaluationId :: Lens' DeleteEvaluation Text
- deleteEvaluationResponse :: Int -> DeleteEvaluationResponse
- data DeleteEvaluationResponse
- dersEvaluationId :: Lens' DeleteEvaluationResponse (Maybe Text)
- dersResponseStatus :: Lens' DeleteEvaluationResponse Int
Creating a Request
Arguments
| :: Text | |
| -> 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 theEvaluationto delete.
data DeleteEvaluation Source #
See: deleteEvaluation smart constructor.
Instances
Request Lenses
deEvaluationId :: Lens' DeleteEvaluation Text Source #
A user-supplied ID that uniquely identifies the Evaluation to delete.
Destructuring the Response
deleteEvaluationResponse Source #
Arguments
| :: Int | |
| -> 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 theEvaluation. This value should be identical to the value of theEvaluationIdin 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.
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.
dersResponseStatus :: Lens' DeleteEvaluationResponse Int Source #
- - | The response status code.