deleteRouteRequestParameter method
Deletes a route request parameter. Supported only for WebSocket APIs.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter apiId :
The API identifier.
Parameter requestParameterKey :
The route request parameter key.
Parameter routeId :
The route ID.
Implementation
Future<void> deleteRouteRequestParameter({
required String apiId,
required String requestParameterKey,
required String routeId,
}) async {
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v2/apis/${Uri.encodeComponent(apiId)}/routes/${Uri.encodeComponent(routeId)}/requestparameters/${Uri.encodeComponent(requestParameterKey)}',
exceptionFnMap: _exceptionFns,
);
}