  def GetVolumeType(self) -> str:
    """Return the volume type.

    Returns:
      str: The volume type.
    """
    client = self.aws_account.ResourceApi(common.EC2_SERVICE)
    volume_type = client.Volume(self.volume_id).volume_type  # type: str
    return volume_type
Return the volume type.

Returns:
str: The volume type.
libcloudforensics/providers/aws/internal/ebs.py