Copyright | (c) 2013-2021 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 |
Returns an assessment from Audit Manager.
Synopsis
- data GetAssessment = GetAssessment' {
- assessmentId :: Text
- newGetAssessment :: Text -> GetAssessment
- getAssessment_assessmentId :: Lens' GetAssessment Text
- data GetAssessmentResponse = GetAssessmentResponse' {
- userRole :: Maybe Role
- assessment :: Maybe Assessment
- httpStatus :: Int
- newGetAssessmentResponse :: Int -> GetAssessmentResponse
- getAssessmentResponse_userRole :: Lens' GetAssessmentResponse (Maybe Role)
- getAssessmentResponse_assessment :: Lens' GetAssessmentResponse (Maybe Assessment)
- getAssessmentResponse_httpStatus :: Lens' GetAssessmentResponse Int
Creating a Request
data GetAssessment Source #
See: newGetAssessment
smart constructor.
GetAssessment' | |
|
Instances
Create a value of GetAssessment
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:
$sel:assessmentId:GetAssessment'
, getAssessment_assessmentId
- The identifier for the specified assessment.
Request Lenses
getAssessment_assessmentId :: Lens' GetAssessment Text Source #
The identifier for the specified assessment.
Destructuring the Response
data GetAssessmentResponse Source #
See: newGetAssessmentResponse
smart constructor.
GetAssessmentResponse' | |
|
Instances
newGetAssessmentResponse Source #
Create a value of GetAssessmentResponse
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:
$sel:userRole:GetAssessmentResponse'
, getAssessmentResponse_userRole
- Undocumented member.
$sel:assessment:GetAssessmentResponse'
, getAssessmentResponse_assessment
- Undocumented member.
$sel:httpStatus:GetAssessmentResponse'
, getAssessmentResponse_httpStatus
- The response's http status code.
Response Lenses
getAssessmentResponse_userRole :: Lens' GetAssessmentResponse (Maybe Role) Source #
Undocumented member.
getAssessmentResponse_assessment :: Lens' GetAssessmentResponse (Maybe Assessment) Source #
Undocumented member.
getAssessmentResponse_httpStatus :: Lens' GetAssessmentResponse Int Source #
The response's http status code.