Batch Put Geofence
locationservice_batch_put_geofence | R Documentation |
A batch request for storing geofence geometries into a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request¶
Description¶
A batch request for storing geofence geometries into a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.
Usage¶
locationservice_batch_put_geofence(CollectionName, Entries)
Arguments¶
CollectionName |
[required] The geofence collection storing the geofences. |
Entries |
[required] The batch of geofences to be stored in a geofence collection. |
Value¶
A list with the following syntax:
list(
Successes = list(
list(
GeofenceId = "string",
CreateTime = as.POSIXct(
"2015-01-01"
),
UpdateTime = as.POSIXct(
"2015-01-01"
)
)
),
Errors = list(
list(
GeofenceId = "string",
Error = list(
Code = "AccessDeniedError"|"ConflictError"|"InternalServerError"|"ResourceNotFoundError"|"ThrottlingError"|"ValidationError",
Message = "string"
)
)
)
)
Request syntax¶
svc$batch_put_geofence(
CollectionName = "string",
Entries = list(
list(
GeofenceId = "string",
Geometry = list(
Polygon = list(
list(
list(
123.0
)
)
),
Circle = list(
Center = list(
123.0
),
Radius = 123.0
),
Geobuf = raw
),
GeofenceProperties = list(
"string"
)
)
)
)