Copyright | (c) 2013-2016 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 |
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
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:
data UpdateEvaluation Source #
See: updateEvaluation
smart constructor.
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 #
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:
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.