Scalr\Service\Aws\Rds\DataType\DBInstanceData::createSnapshot PHP Method

createSnapshot() public method

Creates a DBSnapshot. The source DBInstance must be in "available" state.
public createSnapshot ( string $dBSnapshotIdentifier ) : DBSnapshotData
$dBSnapshotIdentifier string The identifier for the DB Snapshot.
return DBSnapshotData Returns DBSnapshotData on success or throws an exception.
    public function createSnapshot($dBSnapshotIdentifier)
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getRds()->dbSnapshot->create($this->dBInstanceIdentifier, $dBSnapshotIdentifier);
    }