Skip to content

Lists geofences stored in a given geofence collection

Description

Lists geofences stored in a given geofence collection.

Usage

locationservice_list_geofences(CollectionName, NextToken, MaxResults)

Arguments

  • CollectionName

    [required] The name of the geofence collection storing the list of geofences.

  • NextToken

    The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

    Default value: null

  • MaxResults

    An optional limit for the number of geofences returned in a single call.

    Default value: 100

Value

A list with the following syntax:

list(
  Entries = list(
    list(
      GeofenceId = "string",
      Geometry = list(
        Polygon = list(
          list(
            list(
              123.0
            )
          )
        ),
        Circle = list(
          Center = list(
            123.0
          ),
          Radius = 123.0
        ),
        Geobuf = raw,
        MultiPolygon = list(
          list(
            list(
              list(
                123.0
              )
            )
          )
        )
      ),
      Status = "string",
      CreateTime = as.POSIXct(
        "2015-01-01"
      ),
      UpdateTime = as.POSIXct(
        "2015-01-01"
      ),
      GeofenceProperties = list(
        "string"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_geofences(
  CollectionName = "string",
  NextToken = "string",
  MaxResults = 123
)