Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
See: AWS API Reference for DeleteEvaluation.
- 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
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:
data DeleteEvaluation Source
See: deleteEvaluation
smart constructor.
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:
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.