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 |
Associates a list of evidence to an assessment report in an Audit Manager assessment.
Synopsis
- data BatchAssociateAssessmentReportEvidence = BatchAssociateAssessmentReportEvidence' {
- assessmentId :: Text
- evidenceFolderId :: Text
- evidenceIds :: [Text]
- newBatchAssociateAssessmentReportEvidence :: Text -> Text -> BatchAssociateAssessmentReportEvidence
- batchAssociateAssessmentReportEvidence_assessmentId :: Lens' BatchAssociateAssessmentReportEvidence Text
- batchAssociateAssessmentReportEvidence_evidenceFolderId :: Lens' BatchAssociateAssessmentReportEvidence Text
- batchAssociateAssessmentReportEvidence_evidenceIds :: Lens' BatchAssociateAssessmentReportEvidence [Text]
- data BatchAssociateAssessmentReportEvidenceResponse = BatchAssociateAssessmentReportEvidenceResponse' {}
- newBatchAssociateAssessmentReportEvidenceResponse :: Int -> BatchAssociateAssessmentReportEvidenceResponse
- batchAssociateAssessmentReportEvidenceResponse_evidenceIds :: Lens' BatchAssociateAssessmentReportEvidenceResponse (Maybe [Text])
- batchAssociateAssessmentReportEvidenceResponse_errors :: Lens' BatchAssociateAssessmentReportEvidenceResponse (Maybe [AssessmentReportEvidenceError])
- batchAssociateAssessmentReportEvidenceResponse_httpStatus :: Lens' BatchAssociateAssessmentReportEvidenceResponse Int
Creating a Request
data BatchAssociateAssessmentReportEvidence Source #
See: newBatchAssociateAssessmentReportEvidence
smart constructor.
BatchAssociateAssessmentReportEvidence' | |
|
Instances
newBatchAssociateAssessmentReportEvidence Source #
:: Text | |
-> Text |
|
-> BatchAssociateAssessmentReportEvidence |
Create a value of BatchAssociateAssessmentReportEvidence
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:BatchAssociateAssessmentReportEvidence'
, batchAssociateAssessmentReportEvidence_assessmentId
- The unique identifier for the specified assessment.
$sel:evidenceFolderId:BatchAssociateAssessmentReportEvidence'
, batchAssociateAssessmentReportEvidence_evidenceFolderId
- The identifier for the folder in which the evidence is stored.
$sel:evidenceIds:BatchAssociateAssessmentReportEvidence'
, batchAssociateAssessmentReportEvidence_evidenceIds
- The list of evidence identifiers.
Request Lenses
batchAssociateAssessmentReportEvidence_assessmentId :: Lens' BatchAssociateAssessmentReportEvidence Text Source #
The unique identifier for the specified assessment.
batchAssociateAssessmentReportEvidence_evidenceFolderId :: Lens' BatchAssociateAssessmentReportEvidence Text Source #
The identifier for the folder in which the evidence is stored.
batchAssociateAssessmentReportEvidence_evidenceIds :: Lens' BatchAssociateAssessmentReportEvidence [Text] Source #
The list of evidence identifiers.
Destructuring the Response
data BatchAssociateAssessmentReportEvidenceResponse Source #
See: newBatchAssociateAssessmentReportEvidenceResponse
smart constructor.
BatchAssociateAssessmentReportEvidenceResponse' | |
|
Instances
newBatchAssociateAssessmentReportEvidenceResponse Source #
:: Int |
|
-> BatchAssociateAssessmentReportEvidenceResponse |
Create a value of BatchAssociateAssessmentReportEvidenceResponse
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:evidenceIds:BatchAssociateAssessmentReportEvidence'
, batchAssociateAssessmentReportEvidenceResponse_evidenceIds
- The identifier for the evidence.
$sel:errors:BatchAssociateAssessmentReportEvidenceResponse'
, batchAssociateAssessmentReportEvidenceResponse_errors
- A list of errors returned by the
BatchAssociateAssessmentReportEvidence
API.
$sel:httpStatus:BatchAssociateAssessmentReportEvidenceResponse'
, batchAssociateAssessmentReportEvidenceResponse_httpStatus
- The response's http status code.
Response Lenses
batchAssociateAssessmentReportEvidenceResponse_evidenceIds :: Lens' BatchAssociateAssessmentReportEvidenceResponse (Maybe [Text]) Source #
The identifier for the evidence.
batchAssociateAssessmentReportEvidenceResponse_errors :: Lens' BatchAssociateAssessmentReportEvidenceResponse (Maybe [AssessmentReportEvidenceError]) Source #
A list of errors returned by the
BatchAssociateAssessmentReportEvidence
API.
batchAssociateAssessmentReportEvidenceResponse_httpStatus :: Lens' BatchAssociateAssessmentReportEvidenceResponse Int Source #
The response's http status code.