deletePeering method
Deletes an existing peering connection.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter peeringId :
The ID of the peering connection to delete.
Implementation
Future<DeletePeeringResponse> deletePeering({
required String peeringId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/peerings/${Uri.encodeComponent(peeringId)}',
exceptionFnMap: _exceptionFns,
);
return DeletePeeringResponse.fromJson(response);
}