Assurance / Client / get_annotation

get_annotation

Assurance.Client.get_annotation(**kwargs)

Retrieves the annotation for a specific piece of evidence.

See also: AWS API Documentation

Request Syntax

response = client.get_annotation(
    environmentArn='string',
    project='string',
    framework='string',
    frameworkVersion='string',
    controlId='string',
    assessmentId='string',
    evidenceId='string',
    evidenceVersion=123
)
Parameters:
  • environmentArn (string) –

    [REQUIRED]

    The ARN of this governance environment.

  • project (string) –

    [REQUIRED]

    The name of the project.

  • 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 identifier of the assessment.

  • evidenceId (string) –

    [REQUIRED]

    The identifier of the evidence the annotation applies to.

  • evidenceVersion (integer) –

    [REQUIRED]

    The version number of the evidence the annotation applies to.

Return type:

dict

Returns:

Response Syntax

{
    'environmentArn': 'string',
    'project': 'string',
    'framework': 'string',
    'frameworkVersion': 'string',
    'controlId': 'string',
    'assessmentId': 'string',
    'evidenceId': 'string',
    'evidenceVersion': 123,
    'notes': 'string',
    'createdAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • environmentArn (string) –

      The ARN of this governance environment.

    • 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.

    • evidenceId (string) –

      The identifier of the evidence the annotation applies to.

    • evidenceVersion (integer) –

      The version number of the evidence the annotation applies to.

    • notes (string) –

      The free-text reviewer note attached to the evidence.

    • createdAt (datetime) –

      The timestamp when the annotation was created.

Exceptions