aws.location.get_geofence
Example SQL Queries
SELECT * FROMaws.location.get_geofenceWHERE"collection_name" = 'VALUE'AND "geofence_id" = 'VALUE';Description
Retrieves the geofence details from a geofence collection.
The returned geometry will always match the geometry format used when the geofence was created.
Table Definition
| Column Name | Column Data Type |
|---|---|
| collection_name Required Input Column The geofence collection storing the target geofence. | VARCHAR |
| geofence_id Required Input Column The geofence identifier. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| create_time The timestamp for when the geofence collection was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ | TIMESTAMP_S |
| geofence_properties User defined properties of the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence. Format: "key" : "value" | MAP(VARCHAR, VARCHAR) |
| geometry Contains the geofence geometry details describing a polygon or a circle. | STRUCT( |
Show child fields
| |
| status Identifies the state of the geofence. A geofence will hold one of the following states:
| VARCHAR |
| update_time The timestamp for when the geofence collection was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ | TIMESTAMP_S |