list_geofences
async
¶
list_geofences(
collection_name: ResourceName,
*,
config_overrides: Optional[AsyncLocationClientConfig] = 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/async_location.py
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 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 | |