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 |
Disassociates a list of evidence from the specified assessment report in Audit Manager.
Synopsis
- data BatchDisassociateAssessmentReportEvidence = BatchDisassociateAssessmentReportEvidence' {
- assessmentId :: Text
- evidenceFolderId :: Text
- evidenceIds :: [Text]
- newBatchDisassociateAssessmentReportEvidence :: Text -> Text -> BatchDisassociateAssessmentReportEvidence
- batchDisassociateAssessmentReportEvidence_assessmentId :: Lens' BatchDisassociateAssessmentReportEvidence Text
- batchDisassociateAssessmentReportEvidence_evidenceFolderId :: Lens' BatchDisassociateAssessmentReportEvidence Text
- batchDisassociateAssessmentReportEvidence_evidenceIds :: Lens' BatchDisassociateAssessmentReportEvidence [Text]
- data BatchDisassociateAssessmentReportEvidenceResponse = BatchDisassociateAssessmentReportEvidenceResponse' {}
- newBatchDisassociateAssessmentReportEvidenceResponse :: Int -> BatchDisassociateAssessmentReportEvidenceResponse
- batchDisassociateAssessmentReportEvidenceResponse_evidenceIds :: Lens' BatchDisassociateAssessmentReportEvidenceResponse (Maybe [Text])
- batchDisassociateAssessmentReportEvidenceResponse_errors :: Lens' BatchDisassociateAssessmentReportEvidenceResponse (Maybe [AssessmentReportEvidenceError])
- batchDisassociateAssessmentReportEvidenceResponse_httpStatus :: Lens' BatchDisassociateAssessmentReportEvidenceResponse Int
Creating a Request
data BatchDisassociateAssessmentReportEvidence Source #
See: newBatchDisassociateAssessmentReportEvidence
smart constructor.
BatchDisassociateAssessmentReportEvidence' | |
|
Instances
newBatchDisassociateAssessmentReportEvidence Source #
:: Text |
|
-> Text |
|
-> BatchDisassociateAssessmentReportEvidence |
Create a value of BatchDisassociateAssessmentReportEvidence
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:BatchDisassociateAssessmentReportEvidence'
, batchDisassociateAssessmentReportEvidence_assessmentId
- The identifier for the specified assessment.
$sel:evidenceFolderId:BatchDisassociateAssessmentReportEvidence'
, batchDisassociateAssessmentReportEvidence_evidenceFolderId
- The identifier for the folder in which evidence is stored.
$sel:evidenceIds:BatchDisassociateAssessmentReportEvidence'
, batchDisassociateAssessmentReportEvidence_evidenceIds
- The list of evidence identifiers.
Request Lenses
batchDisassociateAssessmentReportEvidence_assessmentId :: Lens' BatchDisassociateAssessmentReportEvidence Text Source #
The identifier for the specified assessment.
batchDisassociateAssessmentReportEvidence_evidenceFolderId :: Lens' BatchDisassociateAssessmentReportEvidence Text Source #
The identifier for the folder in which evidence is stored.
batchDisassociateAssessmentReportEvidence_evidenceIds :: Lens' BatchDisassociateAssessmentReportEvidence [Text] Source #
The list of evidence identifiers.
Destructuring the Response
data BatchDisassociateAssessmentReportEvidenceResponse Source #
See: newBatchDisassociateAssessmentReportEvidenceResponse
smart constructor.
BatchDisassociateAssessmentReportEvidenceResponse' | |
|
Instances
newBatchDisassociateAssessmentReportEvidenceResponse Source #
:: Int |
|
-> BatchDisassociateAssessmentReportEvidenceResponse |
Create a value of BatchDisassociateAssessmentReportEvidenceResponse
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:BatchDisassociateAssessmentReportEvidence'
, batchDisassociateAssessmentReportEvidenceResponse_evidenceIds
- The identifier for the evidence.
$sel:errors:BatchDisassociateAssessmentReportEvidenceResponse'
, batchDisassociateAssessmentReportEvidenceResponse_errors
- A list of errors returned by the
BatchDisassociateAssessmentReportEvidence
API.
$sel:httpStatus:BatchDisassociateAssessmentReportEvidenceResponse'
, batchDisassociateAssessmentReportEvidenceResponse_httpStatus
- The response's http status code.
Response Lenses
batchDisassociateAssessmentReportEvidenceResponse_evidenceIds :: Lens' BatchDisassociateAssessmentReportEvidenceResponse (Maybe [Text]) Source #
The identifier for the evidence.
batchDisassociateAssessmentReportEvidenceResponse_errors :: Lens' BatchDisassociateAssessmentReportEvidenceResponse (Maybe [AssessmentReportEvidenceError]) Source #
A list of errors returned by the
BatchDisassociateAssessmentReportEvidence
API.
batchDisassociateAssessmentReportEvidenceResponse_httpStatus :: Lens' BatchDisassociateAssessmentReportEvidenceResponse Int Source #
The response's http status code.