describeGeofenceCollection method
Future<DescribeGeofenceCollectionResponse>
describeGeofenceCollection({
- required String collectionName,
Retrieves the geofence collection details.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter collectionName :
The name of the geofence collection.
Implementation
Future<DescribeGeofenceCollectionResponse> describeGeofenceCollection({
required String collectionName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/geofencing/v0/collections/${Uri.encodeComponent(collectionName)}',
hostPrefix: 'cp.geofencing.',
exceptionFnMap: _exceptionFns,
);
return DescribeGeofenceCollectionResponse.fromJson(response);
}