Assurance / Client / update_evidence
update_evidence¶
- Assurance.Client.update_evidence(**kwargs)¶
Updates evidence metadata and manages control links (add or remove) and re-analysis without creating a new evidence version.
See also: AWS API Documentation
Request Syntax
response = client.update_evidence( environmentArn='string', project='string', evidenceId='string', title='string', description='string', addControlReferenceLinks=[ { 'framework': 'string', 'frameworkVersion': 'string', 'controlId': 'string' }, ], removeControlReferenceLinks=[ { 'framework': 'string', 'frameworkVersion': 'string', 'controlId': 'string' }, ], linkMode='AUTO'|'MANUAL'|'DISABLED' )
- Parameters:
environmentArn (string) –
[REQUIRED]
The ARN of this governance environment.
project (string) –
[REQUIRED]
The name of the project.
evidenceId (string) –
[REQUIRED]
The unique identifier of the evidence item.
title (string) – The optional new title.
description (string) – The optional new description.
addControlReferenceLinks (list) –
The control links to add.
(dict) –
Reference to a specific control within a framework version.
framework (string) – [REQUIRED]
The framework identifier.
frameworkVersion (string) – [REQUIRED]
The framework version.
controlId (string) – [REQUIRED]
The control identifier within the framework.
removeControlReferenceLinks (list) –
The control links to remove. AWS Assurance doesn’t suggest removed links again.
(dict) –
Reference to a specific control within a framework version.
framework (string) – [REQUIRED]
The framework identifier.
frameworkVersion (string) – [REQUIRED]
The framework version.
controlId (string) – [REQUIRED]
The control identifier within the framework.
linkMode (string) –
Controls whether AWS Assurance analyzes the latest version of the evidence again and suggests new control links. Specify one of the following values:
AUTO– Starts an analysis. The analysis only adds links. It keeps existing links, and it doesn’t suggest links that you removed.MANUAL– Doesn’t run an analysis. This is the default if you omit this parameter.
You can’t specify
DISABLED. If an analysis that started less than 10 minutes ago is still running, AWS Assurance returns aConflictException. Other changes in the same request might already be applied, so it’s safe to retry.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions