:doc:`CloudFront <../../cloudfront>` / Client / delete_connection_group

***********************
delete_connection_group
***********************



.. py:method:: CloudFront.Client.delete_connection_group(**kwargs)

  

  Deletes a connection group.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteConnectionGroup>`_  


  **Request Syntax**
  ::

    response = client.delete_connection_group(
        Id='string',
        IfMatch='string'
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** 

    The ID of the connection group to delete.

    

  
  :type IfMatch: string
  :param IfMatch: **[REQUIRED]** 

    The value of the ``ETag`` header that you received when retrieving the connection group to delete.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`CloudFront.Client.exceptions.CannotDeleteEntityWhileInUse`

  
  *   :py:class:`CloudFront.Client.exceptions.PreconditionFailed`

  
  *   :py:class:`CloudFront.Client.exceptions.AccessDenied`

  
  *   :py:class:`CloudFront.Client.exceptions.EntityNotFound`

  
  *   :py:class:`CloudFront.Client.exceptions.ResourceNotDisabled`

  
  *   :py:class:`CloudFront.Client.exceptions.InvalidIfMatchVersion`

  