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