batch_associate_assessment_report_evidence
(**kwargs)¶Associates a list of evidence to an assessment report in an Audit Manager assessment.
See also: AWS API Documentation
Request Syntax
response = client.batch_associate_assessment_report_evidence(
assessmentId='string',
evidenceFolderId='string',
evidenceIds=[
'string',
]
)
[REQUIRED]
The identifier for the assessment.
[REQUIRED]
The identifier for the folder that the evidence is stored in.
[REQUIRED]
The list of evidence identifiers.
dict
Response Syntax
{
'evidenceIds': [
'string',
],
'errors': [
{
'evidenceId': 'string',
'errorCode': 'string',
'errorMessage': 'string'
},
]
}
Response Structure
(dict) --
evidenceIds (list) --
The list of evidence identifiers.
errors (list) --
A list of errors that the BatchAssociateAssessmentReportEvidence
API returned.
(dict) --
An error entity for assessment report evidence errors. This is used to provide more meaningful errors than a simple string message.
evidenceId (string) --
The identifier for the evidence.
errorCode (string) --
The error code that was returned.
errorMessage (string) --
The error message that was returned.
Exceptions
AuditManager.Client.exceptions.ValidationException
AuditManager.Client.exceptions.AccessDeniedException
AuditManager.Client.exceptions.InternalServerException
AuditManager.Client.exceptions.ResourceNotFoundException