| 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.UpdateEvaluation
Description
Updates the EvaluationName of an Evaluation .
You can use the GetEvaluation operation to view the contents of the updated data element.
- updateEvaluation :: Text -> Text -> UpdateEvaluation
- data UpdateEvaluation
- ueEvaluationId :: Lens' UpdateEvaluation Text
- ueEvaluationName :: Lens' UpdateEvaluation Text
- updateEvaluationResponse :: Int -> UpdateEvaluationResponse
- data UpdateEvaluationResponse
- uersEvaluationId :: Lens' UpdateEvaluationResponse (Maybe Text)
- uersResponseStatus :: Lens' UpdateEvaluationResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> UpdateEvaluation |
Creates a value of UpdateEvaluation with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ueEvaluationId- The ID assigned to theEvaluationduring creation.ueEvaluationName- A new user-supplied name or description of theEvaluationthat will replace the current content.
data UpdateEvaluation Source #
See: updateEvaluation smart constructor.
Instances
Request Lenses
ueEvaluationId :: Lens' UpdateEvaluation Text Source #
The ID assigned to the Evaluation during creation.
ueEvaluationName :: Lens' UpdateEvaluation Text Source #
A new user-supplied name or description of the Evaluation that will replace the current content.
Destructuring the Response
updateEvaluationResponse Source #
Arguments
| :: Int | |
| -> UpdateEvaluationResponse |
Creates a value of UpdateEvaluationResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uersEvaluationId- The ID assigned to theEvaluationduring creation. This value should be identical to the value of theEvaluationin the request.uersResponseStatus- -- | The response status code.
data UpdateEvaluationResponse Source #
Represents the output of an UpdateEvaluation operation.
You can see the updated content by using the GetEvaluation operation.
See: updateEvaluationResponse smart constructor.
Response Lenses
uersEvaluationId :: 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.
uersResponseStatus :: Lens' UpdateEvaluationResponse Int Source #
- - | The response status code.