Module Values.GetGeofenceResponseSource

Retrieves the geofence details from a geofence collection. The returned geometry will always match the geometry format used when the geofence was created.

Sourcetype nonrec t = {
  1. geofenceId : Id.t option;
    (*

    The geofence identifier.

    *)
  2. geometry : GeofenceGeometry.t option;
    (*

    Contains the geofence geometry details describing the position of the geofence. Can be a circle, a polygon, or a multipolygon.

    *)
  3. status : String_.t option;
    (*

    Identifies the state of the geofence. A geofence will hold one of the following states: ACTIVE — The geofence has been indexed by the system. PENDING — The geofence is being processed by the system. FAILED — The geofence failed to be indexed by the system. DELETED — The geofence has been deleted from the system index. DELETING — The geofence is being deleted from the system index.

    *)
  4. createTime : Timestamp.t option;
    (*

    The timestamp for when the geofence collection was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    *)
  5. updateTime : Timestamp.t option;
    (*

    The timestamp for when the geofence collection was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    *)
  6. geofenceProperties : PropertyMap.t option;
    (*

    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"

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?geofenceId:??? -> ?geometry:??? -> ?status:??? -> ?createTime:??? -> ?updateTime:??? -> ?geofenceProperties:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of PropertyMapKeyString.t ] * [> `String of PropertyMapValueString.t ]) list | `String of Id.t | `Structure of (string * [> `Blob of Base64EncodedGeobuf.t | `List of [> `List of [> `List of [> `Double of Double.t | `List of [> `Double of Double.t ] list ] list ] list ] list | `Structure of (string * [> `Double of SensitiveDouble.t | `List of [> `Double of Double.t ] list ]) list ]) list | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t