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 |
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
- 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:
deEvaluationId
- A user-supplied ID that uniquely identifies theEvaluation
to 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 #
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 theEvaluationId
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
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.