Assurance / Client / list_evidence_annotations

list_evidence_annotations

Assurance.Client.list_evidence_annotations(**kwargs)

Lists the annotations on one version of a piece of evidence within a project, paginated.

See also: AWS API Documentation

Request Syntax

response = client.list_evidence_annotations(
    environmentArn='string',
    project='string',
    evidenceId='string',
    evidenceVersion=123,
    maxResults=123,
    nextToken='string'
)
Parameters:
  • environmentArn (string) –

    [REQUIRED]

    The ARN of this governance environment.

  • project (string) –

    [REQUIRED]

    The project scope for the annotation list. Each request is scoped to one project.

  • evidenceId (string) –

    [REQUIRED]

    The identifier of the evidence whose annotations are listed.

  • evidenceVersion (integer) –

    [REQUIRED]

    The version number of the evidence whose annotations are listed. Required. The operation returns annotations for exactly one version. To retrieve annotations across all versions, call ListEvidence to get the available versions, then call this operation once for each version.

  • maxResults (integer) – The maximum number of records to return on one page. If you omit it, the operation uses its default page size. If more records are available, use the nextToken value from the response to get the next page.

  • nextToken (string) – The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.

Return type:

dict

Returns:

Response Syntax

{
    'annotations': [
        {
            'environment': 'string',
            'evidenceId': 'string',
            'evidenceVersion': 123,
            'project': 'string',
            'framework': 'string',
            'frameworkVersion': 'string',
            'controlId': 'string',
            'assessmentId': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • annotations (list) –

      The list of annotation summaries returned by the request.

      • (dict) –

        Summary view of an annotation returned in list results.

        • environment (string) –

          The name of the governance environment the annotation belongs to.

        • evidenceId (string) –

          The identifier of the evidence the annotation applies to.

        • evidenceVersion (integer) –

          The version number of the evidence the annotation applies to.

        • project (string) –

          The name of the project.

        • framework (string) –

          The name of the compliance framework.

        • frameworkVersion (string) –

          The version of the compliance framework.

        • controlId (string) –

          The control identifier. Optional. If omitted, the operation applies to the full framework.

        • assessmentId (string) –

          The identifier of the assessment.

    • nextToken (string) –

      The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.

Exceptions