AuditManager / Client / batch_associate_assessment_report_evidence

batch_associate_assessment_report_evidence#

AuditManager.Client.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',
    ]
)
Parameters:
  • assessmentId (string) –

    [REQUIRED]

    The identifier for the assessment.

  • evidenceFolderId (string) –

    [REQUIRED]

    The identifier for the folder that the evidence is stored in.

  • evidenceIds (list) –

    [REQUIRED]

    The list of evidence identifiers.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'evidenceIds': [
        'string',
    ],
    'errors': [
        {
            'evidenceId': 'string',
            'errorCode': 'string',
            'errorMessage': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • evidenceIds (list) –

      The list of evidence identifiers.

      • (string) –

    • 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