create_geofence_collection
(**kwargs)¶Creates a geofence collection, which manages and stores geofences.
See also: AWS API Documentation
Request Syntax
response = client.create_geofence_collection(
CollectionName='string',
Description='string',
KmsKeyId='string',
PricingPlan='RequestBasedUsage'|'MobileAssetTracking'|'MobileAssetManagement',
PricingPlanDataSource='string',
Tags={
'string': 'string'
}
)
[REQUIRED]
A custom name for the geofence collection.
Requirements:
ExampleGeofenceCollection
.RequestBasedUsage
.Applies one or more tags to the geofence collection. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
dict
Response Syntax
{
'CollectionArn': 'string',
'CollectionName': 'string',
'CreateTime': datetime(2015, 1, 1)
}
Response Structure
(dict) --
CollectionArn (string) --
The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all Amazon Web Services.
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
CollectionName (string) --
The name for the geofence collection.
CreateTime (datetime) --
The timestamp for when the geofence collection was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
Exceptions
LocationService.Client.exceptions.InternalServerException
LocationService.Client.exceptions.ConflictException
LocationService.Client.exceptions.AccessDeniedException
LocationService.Client.exceptions.ValidationException
LocationService.Client.exceptions.ServiceQuotaExceededException
LocationService.Client.exceptions.ThrottlingException