deleteFunction method
Deletes a Function.
May throw BadRequestException.
May throw ConcurrentModificationException.
May throw InternalFailureException.
May throw NotFoundException.
May throw UnauthorizedException.
Parameter apiId :
The GraphQL API ID.
Parameter functionId :
The Function ID.
Implementation
Future<void> deleteFunction({
required String apiId,
required String functionId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v1/apis/${Uri.encodeComponent(apiId)}/functions/${Uri.encodeComponent(functionId)}',
exceptionFnMap: _exceptionFns,
);
}