Scalr\Service\Aws\Ec2\DataType\VolumeData::delete PHP Метод

delete() публичный Метод

Deletes an Amazon EBS volume. The volume must be in the available state (not attached to an instance)
public delete ( ) : boolean
Результат boolean Returns true on success or throws an exception otherwise
    public function delete()
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getEc2()->volume->delete($this->volumeId);
    }