LocationService / Client / associate_tracker_consumer

associate_tracker_consumer#

LocationService.Client.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(
    TrackerName='string',
    ConsumerArn='string'
)
Parameters:
  • TrackerName (string) –

    [REQUIRED]

    The name of the tracker resource to be associated with a geofence collection.

  • ConsumerArn (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.

    • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions