put_external_evaluation
(**kwargs)¶Add or updates the evaluations for process checks. This API checks if the rule is a process check when the name of the Config rule is provided.
See also: AWS API Documentation
Request Syntax
response = client.put_external_evaluation(
ConfigRuleName='string',
ExternalEvaluation={
'ComplianceResourceType': 'string',
'ComplianceResourceId': 'string',
'ComplianceType': 'COMPLIANT'|'NON_COMPLIANT'|'NOT_APPLICABLE'|'INSUFFICIENT_DATA',
'Annotation': 'string',
'OrderingTimestamp': datetime(2015, 1, 1)
}
)
[REQUIRED]
The name of the Config rule.
[REQUIRED]
An ExternalEvaluation
object that provides details about compliance.
The evaluated compliance resource type. Config accepts AWS::::Account
resource type.
The evaluated compliance resource ID. Config accepts only Amazon Web Services account ID.
The compliance of the Amazon Web Services resource. The valid values are COMPLIANT, NON_COMPLIANT,
and NOT_APPLICABLE
.
Supplementary information about the reason of compliance. For example, this task was completed on a specific date.
The time when the compliance was recorded.
dict
Response Syntax
{}
Response Structure
Exceptions
ConfigService.Client.exceptions.NoSuchConfigRuleException
ConfigService.Client.exceptions.InvalidParameterValueException