ConfigService / Client / put_external_evaluation

put_external_evaluation#

ConfigService.Client.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)
    }
)
Parameters:
  • ConfigRuleName (string) –

    [REQUIRED]

    The name of the Config rule.

  • ExternalEvaluation (dict) –

    [REQUIRED]

    An ExternalEvaluation object that provides details about compliance.

    • ComplianceResourceType (string) – [REQUIRED]

      The evaluated compliance resource type. Config accepts AWS::::Account resource type.

    • ComplianceResourceId (string) – [REQUIRED]

      The evaluated compliance resource ID. Config accepts only Amazon Web Services account ID.

    • ComplianceType (string) – [REQUIRED]

      The compliance of the Amazon Web Services resource. The valid values are COMPLIANT, NON_COMPLIANT, ``and ``NOT_APPLICABLE.

    • Annotation (string) –

      Supplementary information about the reason of compliance. For example, this task was completed on a specific date.

    • OrderingTimestamp (datetime) – [REQUIRED]

      The time when the compliance was recorded.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ConfigService.Client.exceptions.NoSuchConfigRuleException

  • ConfigService.Client.exceptions.InvalidParameterValueException