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 assessment specified by the assessment ARN.
- updateAssessment :: Text -> Text -> Int -> UpdateAssessment
- data UpdateAssessment
- uaAssessmentARN :: Lens' UpdateAssessment Text
- uaAssessmentName :: Lens' UpdateAssessment Text
- uaDurationInSeconds :: Lens' UpdateAssessment Int
- updateAssessmentResponse :: Int -> UpdateAssessmentResponse
- data UpdateAssessmentResponse
- ursMessage :: Lens' UpdateAssessmentResponse (Maybe Text)
- ursResponseStatus :: Lens' UpdateAssessmentResponse Int
Creating a Request
Creates a value of UpdateAssessment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateAssessment Source
See: updateAssessment
smart constructor.
Request Lenses
uaAssessmentARN :: Lens' UpdateAssessment Text Source
Asessment ARN that you want to update.
uaAssessmentName :: Lens' UpdateAssessment Text Source
Assessment name that you want to update.
uaDurationInSeconds :: Lens' UpdateAssessment Int Source
Assessment duration in seconds that you want to update. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).
Destructuring the Response
updateAssessmentResponse Source
Creates a value of UpdateAssessmentResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateAssessmentResponse Source
See: updateAssessmentResponse
smart constructor.
Response Lenses
ursMessage :: Lens' UpdateAssessmentResponse (Maybe Text) Source
Confirmation details of the action performed.
ursResponseStatus :: Lens' UpdateAssessmentResponse Int Source
The response status code.