describePlaceIndex method

Future<DescribePlaceIndexResponse> describePlaceIndex({
  1. required String indexName,
})
Retrieves the place index resource details.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter indexName : The name of the place index resource.

Implementation

Future<DescribePlaceIndexResponse> describePlaceIndex({
  required String indexName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/places/v0/indexes/${Uri.encodeComponent(indexName)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribePlaceIndexResponse.fromJson(response);
}