Copyright | (c) 2013-2015 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.
See: AWS API Reference for UpdateAssessment.
- updateAssessment :: UpdateAssessment
- data UpdateAssessment
- uaAssessmentARN :: Lens' UpdateAssessment (Maybe Text)
- uaDurationInSeconds :: Lens' UpdateAssessment (Maybe Int)
- uaAssessmentName :: Lens' UpdateAssessment (Maybe Text)
- updateAssessmentResponse :: Int -> UpdateAssessmentResponse
- data UpdateAssessmentResponse
- ursMessage :: Lens' UpdateAssessmentResponse (Maybe Text)
- ursResponseStatus :: Lens' UpdateAssessmentResponse Int
Creating a Request
updateAssessment :: UpdateAssessment Source
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 (Maybe Text) Source
Asessment ARN that you want to update.
uaDurationInSeconds :: Lens' UpdateAssessment (Maybe 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).
uaAssessmentName :: Lens' UpdateAssessment (Maybe Text) Source
Assessment name that you want to update.
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.