Copyright | (c) 2013-2021 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 |
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
- data DeleteEvaluation = DeleteEvaluation' {
- evaluationId :: Text
- newDeleteEvaluation :: Text -> DeleteEvaluation
- deleteEvaluation_evaluationId :: Lens' DeleteEvaluation Text
- data DeleteEvaluationResponse = DeleteEvaluationResponse' {
- evaluationId :: Maybe Text
- httpStatus :: Int
- newDeleteEvaluationResponse :: Int -> DeleteEvaluationResponse
- deleteEvaluationResponse_evaluationId :: Lens' DeleteEvaluationResponse (Maybe Text)
- deleteEvaluationResponse_httpStatus :: Lens' DeleteEvaluationResponse Int
Creating a Request
data DeleteEvaluation Source #
See: newDeleteEvaluation
smart constructor.
DeleteEvaluation' | |
|
Instances
Create a value of DeleteEvaluation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:evaluationId:DeleteEvaluation'
, deleteEvaluation_evaluationId
- A user-supplied ID that uniquely identifies the Evaluation
to delete.
Request Lenses
deleteEvaluation_evaluationId :: Lens' DeleteEvaluation Text Source #
A user-supplied ID that uniquely identifies the Evaluation
to delete.
Destructuring the Response
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: newDeleteEvaluationResponse
smart constructor.
DeleteEvaluationResponse' | |
|
Instances
newDeleteEvaluationResponse Source #
Create a value of DeleteEvaluationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:evaluationId:DeleteEvaluation'
, deleteEvaluationResponse_evaluationId
- A user-supplied ID that uniquely identifies the Evaluation
. This value
should be identical to the value of the EvaluationId
in the request.
$sel:httpStatus:DeleteEvaluationResponse'
, deleteEvaluationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteEvaluationResponse_evaluationId :: 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.
deleteEvaluationResponse_httpStatus :: Lens' DeleteEvaluationResponse Int Source #
The response's http status code.