associate_tracker_consumer
(**kwargs)¶Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection.
You can associate up to five geofence collections to each tracker resource.
Note
Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.
See also: AWS API Documentation
Request Syntax
response = client.associate_tracker_consumer(
ConsumerArn='string',
TrackerName='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all Amazon Web Services.
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer
[REQUIRED]
The name of the tracker resource to be associated with a geofence collection.
dict
Response Syntax
{}
Response Structure
Exceptions
LocationService.Client.exceptions.InternalServerException
LocationService.Client.exceptions.ResourceNotFoundException
LocationService.Client.exceptions.ConflictException
LocationService.Client.exceptions.AccessDeniedException
LocationService.Client.exceptions.ValidationException
LocationService.Client.exceptions.ServiceQuotaExceededException
LocationService.Client.exceptions.ThrottlingException