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 |
Uploads one or more pieces of evidence to the specified control in the assessment in Audit Manager.
Synopsis
- data BatchImportEvidenceToAssessmentControl = BatchImportEvidenceToAssessmentControl' {}
- newBatchImportEvidenceToAssessmentControl :: Text -> Text -> Text -> NonEmpty ManualEvidence -> BatchImportEvidenceToAssessmentControl
- batchImportEvidenceToAssessmentControl_assessmentId :: Lens' BatchImportEvidenceToAssessmentControl Text
- batchImportEvidenceToAssessmentControl_controlSetId :: Lens' BatchImportEvidenceToAssessmentControl Text
- batchImportEvidenceToAssessmentControl_controlId :: Lens' BatchImportEvidenceToAssessmentControl Text
- batchImportEvidenceToAssessmentControl_manualEvidence :: Lens' BatchImportEvidenceToAssessmentControl (NonEmpty ManualEvidence)
- data BatchImportEvidenceToAssessmentControlResponse = BatchImportEvidenceToAssessmentControlResponse' {}
- newBatchImportEvidenceToAssessmentControlResponse :: Int -> BatchImportEvidenceToAssessmentControlResponse
- batchImportEvidenceToAssessmentControlResponse_errors :: Lens' BatchImportEvidenceToAssessmentControlResponse (Maybe [BatchImportEvidenceToAssessmentControlError])
- batchImportEvidenceToAssessmentControlResponse_httpStatus :: Lens' BatchImportEvidenceToAssessmentControlResponse Int
Creating a Request
data BatchImportEvidenceToAssessmentControl Source #
See: newBatchImportEvidenceToAssessmentControl
smart constructor.
BatchImportEvidenceToAssessmentControl' | |
|
Instances
newBatchImportEvidenceToAssessmentControl Source #
Create a value of BatchImportEvidenceToAssessmentControl
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:BatchImportEvidenceToAssessmentControl'
, batchImportEvidenceToAssessmentControl_assessmentId
- The identifier for the specified assessment.
$sel:controlSetId:BatchImportEvidenceToAssessmentControl'
, batchImportEvidenceToAssessmentControl_controlSetId
- The identifier for the specified control set.
$sel:controlId:BatchImportEvidenceToAssessmentControl'
, batchImportEvidenceToAssessmentControl_controlId
- The identifier for the specified control.
$sel:manualEvidence:BatchImportEvidenceToAssessmentControl'
, batchImportEvidenceToAssessmentControl_manualEvidence
- The list of manual evidence objects.
Request Lenses
batchImportEvidenceToAssessmentControl_assessmentId :: Lens' BatchImportEvidenceToAssessmentControl Text Source #
The identifier for the specified assessment.
batchImportEvidenceToAssessmentControl_controlSetId :: Lens' BatchImportEvidenceToAssessmentControl Text Source #
The identifier for the specified control set.
batchImportEvidenceToAssessmentControl_controlId :: Lens' BatchImportEvidenceToAssessmentControl Text Source #
The identifier for the specified control.
batchImportEvidenceToAssessmentControl_manualEvidence :: Lens' BatchImportEvidenceToAssessmentControl (NonEmpty ManualEvidence) Source #
The list of manual evidence objects.
Destructuring the Response
data BatchImportEvidenceToAssessmentControlResponse Source #
See: newBatchImportEvidenceToAssessmentControlResponse
smart constructor.
BatchImportEvidenceToAssessmentControlResponse' | |
|
Instances
newBatchImportEvidenceToAssessmentControlResponse Source #
:: Int |
|
-> BatchImportEvidenceToAssessmentControlResponse |
Create a value of BatchImportEvidenceToAssessmentControlResponse
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:errors:BatchImportEvidenceToAssessmentControlResponse'
, batchImportEvidenceToAssessmentControlResponse_errors
- A list of errors returned by the
BatchImportEvidenceToAssessmentControl
API.
$sel:httpStatus:BatchImportEvidenceToAssessmentControlResponse'
, batchImportEvidenceToAssessmentControlResponse_httpStatus
- The response's http status code.
Response Lenses
batchImportEvidenceToAssessmentControlResponse_errors :: Lens' BatchImportEvidenceToAssessmentControlResponse (Maybe [BatchImportEvidenceToAssessmentControlError]) Source #
A list of errors returned by the
BatchImportEvidenceToAssessmentControl
API.
batchImportEvidenceToAssessmentControlResponse_httpStatus :: Lens' BatchImportEvidenceToAssessmentControlResponse Int Source #
The response's http status code.