deleteVolume method
Deletes a persistent volume.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerErrorException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter farmId :
The farm ID of the farm that contains the fleet.
Parameter fleetId :
The fleet ID of the fleet that contains the volume.
Parameter volumeId :
The volume ID of the volume to delete.
Implementation
Future<void> deleteVolume({
required String farmId,
required String fleetId,
required String volumeId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/2023-10-12/farms/${Uri.encodeComponent(farmId)}/fleets/${Uri.encodeComponent(fleetId)}/volumes/${Uri.encodeComponent(volumeId)}',
exceptionFnMap: _exceptionFns,
);
}