LocationService / Client / update_geofence_collection

update_geofence_collection#

LocationService.Client.update_geofence_collection(**kwargs)#

Updates the specified properties of a given geofence collection.

See also: AWS API Documentation

Request Syntax

response = client.update_geofence_collection(
    CollectionName='string',
    PricingPlan='RequestBasedUsage'|'MobileAssetTracking'|'MobileAssetManagement',
    PricingPlanDataSource='string',
    Description='string'
)
Parameters:
  • CollectionName (string) –

    [REQUIRED]

    The name of the geofence collection to update.

  • PricingPlan (string) – No longer used. If included, the only allowed value is RequestBasedUsage.

  • PricingPlanDataSource (string) – This parameter is no longer used.

  • Description (string) – Updates the description for the geofence collection.

Return type:

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 format: YYYY-MM-DDThh:mm:ss.sssZ

Exceptions

  • LocationService.Client.exceptions.InternalServerException

  • LocationService.Client.exceptions.ResourceNotFoundException

  • LocationService.Client.exceptions.AccessDeniedException

  • LocationService.Client.exceptions.ValidationException

  • LocationService.Client.exceptions.ThrottlingException