deleteIndex method
Deletes an Amazon Q Business index.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter applicationId :
The identifier of the Amazon Q Business application the Amazon Q Business
index is linked to.
Parameter indexId :
The identifier of the Amazon Q Business index.
Implementation
Future<void> deleteIndex({
required String applicationId,
required String indexId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/applications/${Uri.encodeComponent(applicationId)}/indices/${Uri.encodeComponent(indexId)}',
exceptionFnMap: _exceptionFns,
);
}