Scalr\Service\Aws\Ec2\DataType\SnapshotData::refresh PHP Méthode

refresh() public méthode

Refreshes current object using API request to AWS NOTE! It refreshes object itself only when EntityManager is enabled. Decision is to use $object = object->refresh() instead;
public refresh ( ) : SnapshotData
Résultat SnapshotData
    public function refresh()
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getEc2()->snapshot->describe($this->snapshotId)->get(0);
    }