:doc:`LocationService <../../location>` / Client / delete_geofence_collection

**************************
delete_geofence_collection
**************************



.. py:method:: LocationService.Client.delete_geofence_collection(**kwargs)

  

  Deletes a geofence collection from your Amazon Web Services account.

   

  .. note::

    

    This operation deletes the resource permanently. If the geofence collection is the target of a tracker resource, the devices will no longer be monitored.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteGeofenceCollection>`_  


  **Request Syntax**
  ::

    response = client.delete_geofence_collection(
        CollectionName='string'
    )
    
  :type CollectionName: string
  :param CollectionName: **[REQUIRED]** 

    The name of the geofence collection to be deleted.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`LocationService.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`LocationService.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`LocationService.Client.exceptions.ValidationException`

  
  *   :py:class:`LocationService.Client.exceptions.ThrottlingException`

  