Assurance / Client / update_comment

update_comment

Assurance.Client.update_comment(**kwargs)

Modifies the content of an existing comment.

See also: AWS API Documentation

Request Syntax

response = client.update_comment(
    environmentArn='string',
    project='string',
    framework='string',
    frameworkVersion='string',
    controlId='string',
    commentId='string',
    content='string'
)
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.

  • commentId (string) –

    [REQUIRED]

    The unique identifier of the comment.

  • content (string) – The replacement free-text content of the comment.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Assurance.Client.exceptions.ConflictException

  • Assurance.Client.exceptions.ValidationException

  • Assurance.Client.exceptions.InternalServerException

  • Assurance.Client.exceptions.ThrottlingException

  • Assurance.Client.exceptions.AccessDeniedException

  • Assurance.Client.exceptions.ResourceNotFoundException