Assurance / Client / create_comment
create_comment¶
- Assurance.Client.create_comment(**kwargs)¶
Adds a new comment to a specific control.
See also: AWS API Documentation
Request Syntax
response = client.create_comment( environmentArn='string', project='string', framework='string', frameworkVersion='string', controlId='string', taskId='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.
taskId (string) – The identifier of the task to scope the comment to. Optional.
content (string) – The free-text content of the comment.
- Return type:
dict
- Returns:
Response Syntax
{ 'commentId': 'string' }
Response Structure
(dict) –
commentId (string) –
The unique identifier of the comment.
Exceptions