:doc:`CloudWatchLogs <../../logs>` / Client / delete_data_protection_policy

*****************************
delete_data_protection_policy
*****************************



.. py:method:: CloudWatchLogs.Client.delete_data_protection_policy(**kwargs)

  

  Deletes the data protection policy from the specified log group.

   

  For more information about data protection policies, see `PutDataProtectionPolicy <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDataProtectionPolicy.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDataProtectionPolicy>`_  


  **Request Syntax**
  ::

    response = client.delete_data_protection_policy(
        logGroupIdentifier='string'
    )
    
  :type logGroupIdentifier: string
  :param logGroupIdentifier: **[REQUIRED]** 

    The name or ARN of the log group that you want to delete the data protection policy for.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`CloudWatchLogs.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.OperationAbortedException`

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ServiceUnavailableException`

  