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

*****************************
delete_remediation_exceptions
*****************************



.. py:method:: ConfigService.Client.delete_remediation_exceptions(**kwargs)

  

  Deletes one or more remediation exceptions mentioned in the resource keys.

   

  .. note::

    

    Config generates a remediation exception when a problem occurs executing a remediation action to a specific resource. Remediation exceptions blocks auto-remediation until the exception is cleared.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteRemediationExceptions>`_  


  **Request Syntax**
  ::

    response = client.delete_remediation_exceptions(
        ConfigRuleName='string',
        ResourceKeys=[
            {
                'ResourceType': 'string',
                'ResourceId': 'string'
            },
        ]
    )
    
  :type ConfigRuleName: string
  :param ConfigRuleName: **[REQUIRED]** 

    The name of the Config rule for which you want to delete remediation exception configuration.

    

  
  :type ResourceKeys: list
  :param ResourceKeys: **[REQUIRED]** 

    An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.

    

  
    - *(dict) --* 

      The details that identify a resource within Config, including the resource type and resource ID.

      

    
      - **ResourceType** *(string) --* 

        The type of a resource.

        

      
      - **ResourceId** *(string) --* 

        The ID of the resource (for example., sg-xxxxxx).

        

      
    

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

    
    ::

      {
          'FailedBatches': [
              {
                  'FailureMessage': 'string',
                  'FailedItems': [
                      {
                          'ResourceType': 'string',
                          'ResourceId': 'string'
                      },
                  ]
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **FailedBatches** *(list) --* 

        Returns a list of failed delete remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.

        
        

        - *(dict) --* 

          List of each of the failed delete remediation exceptions with specific reasons.

          
          

          - **FailureMessage** *(string) --* 

            Returns a failure message for delete remediation exception. For example, Config creates an exception due to an internal error.

            
          

          - **FailedItems** *(list) --* 

            Returns remediation exception resource key object of the failed items.

            
            

            - *(dict) --* 

              The details that identify a resource within Config, including the resource type and resource ID.

              
              

              - **ResourceType** *(string) --* 

                The type of a resource.

                
              

              - **ResourceId** *(string) --* 

                The ID of the resource (for example., sg-xxxxxx).

                
          
        
      
    
  
  **Exceptions**
  
  *   :py:class:`ConfigService.Client.exceptions.NoSuchRemediationExceptionException`

  