list_geofences
¶
list_geofences(
collection_name: ResourceName,
*,
config_overrides: Optional[LocationClientConfig] = None,
next_token: Optional[LargeToken] = None,
max_results: Optional[int] = None,
) -> ListGeofencesResponse
Lists geofences stored in a given geofence collection.
Parameters:
-
collection_name(ResourceName) –The name of the geofence collection storing the list of geofences.
-
next_token(Optional[LargeToken], default:None) –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 -
max_results(Optional[int], default:None) –An optional limit for the number of geofences returned in a single call.
Default value:
100
Raises:
-
AccessDeniedException–The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.
-
InternalServerException–The request has failed to process because of an unknown server error, exception, or failure.
-
ResourceNotFoundException–The resource that you've entered was not found in your AWS account.
-
ThrottlingException–The request was denied because of request throttling.
-
ValidationException–The input failed to meet the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_location/_services/location.py
1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 | |