Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns evidence from Audit Manager.
Synopsis
- data GetEvidence = GetEvidence' {}
- newGetEvidence :: Text -> Text -> Text -> Text -> GetEvidence
- getEvidence_assessmentId :: Lens' GetEvidence Text
- getEvidence_controlSetId :: Lens' GetEvidence Text
- getEvidence_evidenceFolderId :: Lens' GetEvidence Text
- getEvidence_evidenceId :: Lens' GetEvidence Text
- data GetEvidenceResponse = GetEvidenceResponse' {
- evidence :: Maybe Evidence
- httpStatus :: Int
- newGetEvidenceResponse :: Int -> GetEvidenceResponse
- getEvidenceResponse_evidence :: Lens' GetEvidenceResponse (Maybe Evidence)
- getEvidenceResponse_httpStatus :: Lens' GetEvidenceResponse Int
Creating a Request
data GetEvidence Source #
See: newGetEvidence
smart constructor.
GetEvidence' | |
|
Instances
Create a value of GetEvidence
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:
GetEvidence
, getEvidence_assessmentId
- The unique identifier for the assessment.
GetEvidence
, getEvidence_controlSetId
- The unique identifier for the control set.
GetEvidence
, getEvidence_evidenceFolderId
- The unique identifier for the folder that the evidence is stored in.
GetEvidence
, getEvidence_evidenceId
- The unique identifier for the evidence.
Request Lenses
getEvidence_assessmentId :: Lens' GetEvidence Text Source #
The unique identifier for the assessment.
getEvidence_controlSetId :: Lens' GetEvidence Text Source #
The unique identifier for the control set.
getEvidence_evidenceFolderId :: Lens' GetEvidence Text Source #
The unique identifier for the folder that the evidence is stored in.
getEvidence_evidenceId :: Lens' GetEvidence Text Source #
The unique identifier for the evidence.
Destructuring the Response
data GetEvidenceResponse Source #
See: newGetEvidenceResponse
smart constructor.
GetEvidenceResponse' | |
|
Instances
newGetEvidenceResponse Source #
Create a value of GetEvidenceResponse
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:evidence:GetEvidenceResponse'
, getEvidenceResponse_evidence
- The evidence that the GetEvidence
API returned.
$sel:httpStatus:GetEvidenceResponse'
, getEvidenceResponse_httpStatus
- The response's http status code.
Response Lenses
getEvidenceResponse_evidence :: Lens' GetEvidenceResponse (Maybe Evidence) Source #
The evidence that the GetEvidence
API returned.
getEvidenceResponse_httpStatus :: Lens' GetEvidenceResponse Int Source #
The response's http status code.