deleteVirtualInterface method
Future<DeleteVirtualInterfaceResponse>
deleteVirtualInterface({
- required String virtualInterfaceId,
Deletes a virtual interface.
May throw DirectConnectServerException. May throw DirectConnectClientException.
Parameter virtualInterfaceId
:
The ID of the virtual interface.
Implementation
Future<DeleteVirtualInterfaceResponse> deleteVirtualInterface({
required String virtualInterfaceId,
}) async {
ArgumentError.checkNotNull(virtualInterfaceId, 'virtualInterfaceId');
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'OvertureService.DeleteVirtualInterface'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'virtualInterfaceId': virtualInterfaceId,
},
);
return DeleteVirtualInterfaceResponse.fromJson(jsonResponse.body);
}