listIndexes method
Lists indexes in this bucket, optionally filtered by prefix and
paginated with maxResults and nextToken.
Implementation
Future<VectorIndexList> listIndexes({
String? prefix,
int? maxResults,
String? nextToken,
}) async {
final response = await _storageFetch.post(
'$_url/ListIndexes',
{
'vectorBucketName': bucketName,
'prefix': ?prefix,
'maxResults': ?maxResults,
'nextToken': ?nextToken,
},
options: _options,
);
return VectorIndexList.fromJson(response as Map<String, dynamic>);
}