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 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
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> GetEvidence |
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:
$sel:assessmentId:GetEvidence'
, getEvidence_assessmentId
- The identifier for the specified assessment.
$sel:controlSetId:GetEvidence'
, getEvidence_controlSetId
- The identifier for the specified control set.
$sel:evidenceFolderId:GetEvidence'
, getEvidence_evidenceFolderId
- The identifier for the folder in which the evidence is stored.
$sel:evidenceId:GetEvidence'
, getEvidence_evidenceId
- The identifier for the evidence.
Request Lenses
getEvidence_assessmentId :: Lens' GetEvidence Text Source #
The identifier for the specified assessment.
getEvidence_controlSetId :: Lens' GetEvidence Text Source #
The identifier for the specified control set.
getEvidence_evidenceFolderId :: Lens' GetEvidence Text Source #
The identifier for the folder in which the evidence is stored.
getEvidence_evidenceId :: Lens' GetEvidence Text Source #
The 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 returned by the GetEvidenceResponse
API.
$sel:httpStatus:GetEvidenceResponse'
, getEvidenceResponse_httpStatus
- The response's http status code.
Response Lenses
getEvidenceResponse_evidence :: Lens' GetEvidenceResponse (Maybe Evidence) Source #
The evidence returned by the GetEvidenceResponse
API.
getEvidenceResponse_httpStatus :: Lens' GetEvidenceResponse Int Source #
The response's http status code.