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

**************************
update_geofence_collection
**************************



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

  

  Updates the specified properties of a given geofence collection.

  

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


  **Request Syntax**
  ::

    response = client.update_geofence_collection(
        CollectionName='string',
        PricingPlan='RequestBasedUsage'|'MobileAssetTracking'|'MobileAssetManagement',
        PricingPlanDataSource='string',
        Description='string'
    )
    
  :type CollectionName: string
  :param CollectionName: **[REQUIRED]** 

    The name of the geofence collection to update.

    

  
  :type PricingPlan: string
  :param PricingPlan: 

    No longer used. If included, the only allowed value is ``RequestBasedUsage``.

    

  
  :type PricingPlanDataSource: string
  :param PricingPlanDataSource: 

    This parameter is no longer used.

    

  
  :type Description: string
  :param Description: 

    Updates the description for the geofence collection.

    

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

    
    ::

      {
          'CollectionName': 'string',
          'CollectionArn': 'string',
          'UpdateTime': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **CollectionName** *(string) --* 

        The name of the updated geofence collection.

        
      

      - **CollectionArn** *(string) --* 

        The Amazon Resource Name (ARN) of the updated geofence collection. Used to specify a resource across Amazon Web Services.

         

        
        * Format example: ``arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection``
        

        
      

      - **UpdateTime** *(datetime) --* 

        The time when the geofence collection was last updated in `ISO 8601 <https://www.iso.org/iso-8601-date-and-time-format.html>`__ format: ``YYYY-MM-DDThh:mm:ss.sssZ``

        
  
  **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`

  