:doc:`ConfigService <../../config>` / Client / put_external_evaluation

***********************
put_external_evaluation
***********************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutExternalEvaluation>`_  


  **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)
        }
    )
    
  :type ConfigRuleName: string
  :param ConfigRuleName: **[REQUIRED]** 

    The name of the Config rule.

    

  
  :type ExternalEvaluation: dict
  :param ExternalEvaluation: **[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.

      

    
  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`ConfigService.Client.exceptions.NoSuchConfigRuleException`

  
  *   :py:class:`ConfigService.Client.exceptions.InvalidParameterValueException`

  