| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MachineLearning.UpdateEvaluation
Description
Updates the EvaluationName of an Evaluation.
You can use the GetEvaluation operation to view the contents of the
updated data element.
Synopsis
- data UpdateEvaluation = UpdateEvaluation' {}
- newUpdateEvaluation :: Text -> Text -> UpdateEvaluation
- updateEvaluation_evaluationId :: Lens' UpdateEvaluation Text
- updateEvaluation_evaluationName :: Lens' UpdateEvaluation Text
- data UpdateEvaluationResponse = UpdateEvaluationResponse' {
- evaluationId :: Maybe Text
- httpStatus :: Int
- newUpdateEvaluationResponse :: Int -> UpdateEvaluationResponse
- updateEvaluationResponse_evaluationId :: Lens' UpdateEvaluationResponse (Maybe Text)
- updateEvaluationResponse_httpStatus :: Lens' UpdateEvaluationResponse Int
Creating a Request
data UpdateEvaluation Source #
See: newUpdateEvaluation smart constructor.
Constructors
| UpdateEvaluation' | |
Fields
| |
Instances
Create a value of UpdateEvaluation 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:
UpdateEvaluation, updateEvaluation_evaluationId - The ID assigned to the Evaluation during creation.
$sel:evaluationName:UpdateEvaluation', updateEvaluation_evaluationName - A new user-supplied name or description of the Evaluation that will
replace the current content.
Request Lenses
updateEvaluation_evaluationId :: Lens' UpdateEvaluation Text Source #
The ID assigned to the Evaluation during creation.
updateEvaluation_evaluationName :: Lens' UpdateEvaluation Text Source #
A new user-supplied name or description of the Evaluation that will
replace the current content.
Destructuring the Response
data UpdateEvaluationResponse Source #
Represents the output of an UpdateEvaluation operation.
You can see the updated content by using the GetEvaluation operation.
See: newUpdateEvaluationResponse smart constructor.
Constructors
| UpdateEvaluationResponse' | |
Fields
| |
Instances
newUpdateEvaluationResponse Source #
Create a value of UpdateEvaluationResponse 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:
UpdateEvaluation, updateEvaluationResponse_evaluationId - The ID assigned to the Evaluation during creation. This value should
be identical to the value of the Evaluation in the request.
$sel:httpStatus:UpdateEvaluationResponse', updateEvaluationResponse_httpStatus - The response's http status code.
Response Lenses
updateEvaluationResponse_evaluationId :: Lens' UpdateEvaluationResponse (Maybe Text) Source #
The ID assigned to the Evaluation during creation. This value should
be identical to the value of the Evaluation in the request.
updateEvaluationResponse_httpStatus :: Lens' UpdateEvaluationResponse Int Source #
The response's http status code.