Skip to content

LocationAction

Source code in docs_src/capo_iot/types/location_action.py
class LocationAction(TypedDict, closed=True):
    role_arn: "capo_iot.types.aws_arn.AwsArn"
    """<p>The IAM role that grants permission to write to the Amazon Location resource.</p>"""
    tracker_name: "capo_iot.types.string.String"
    """<p>The name of the tracker resource in Amazon Location in which the location is updated.</p>"""
    device_id: "capo_iot.types.string.String"
    """<p>The unique ID of the device providing the location data.</p>"""
    timestamp: NotRequired["capo_iot.types.location_timestamp.LocationTimestamp"]
    """<p>The time that the location data was sampled. The default value is the time the MQTT message was processed.</p>"""
    latitude: "capo_iot.types.string.String"
    """<p>A string that evaluates to a double value that represents the latitude of the device's location.</p>"""
    longitude: "capo_iot.types.string.String"
    """<p>A string that evaluates to a double value that represents the longitude of the device's location.</p>"""

device_id instance-attribute

device_id: String

The unique ID of the device providing the location data.

latitude instance-attribute

latitude: String

A string that evaluates to a double value that represents the latitude of the device's location.

longitude instance-attribute

longitude: String

A string that evaluates to a double value that represents the longitude of the device's location.

role_arn instance-attribute

role_arn: AwsArn

The IAM role that grants permission to write to the Amazon Location resource.

timestamp instance-attribute

timestamp: NotRequired[LocationTimestamp]

The time that the location data was sampled. The default value is the time the MQTT message was processed.

tracker_name instance-attribute

tracker_name: String

The name of the tracker resource in Amazon Location in which the location is updated.