Assurance / Client / list_assessment_annotations

list_assessment_annotations

Assurance.Client.list_assessment_annotations(**kwargs)

Lists the annotations on one assessment, paginated.

See also: AWS API Documentation

Request Syntax

response = client.list_assessment_annotations(
    environmentArn='string',
    project='string',
    framework='string',
    frameworkVersion='string',
    controlId='string',
    assessmentId='string',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • environmentArn (string) –

    [REQUIRED]

    The ARN of this governance environment.

  • project (string) –

    [REQUIRED]

    The project the assessment belongs to.

  • framework (string) –

    [REQUIRED]

    The name of the compliance framework.

  • frameworkVersion (string) –

    [REQUIRED]

    The version of the compliance framework.

  • controlId (string) –

    [REQUIRED]

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

  • assessmentId (string) –

    [REQUIRED]

    The assessment whose annotations are listed.

  • 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