Scalr\Service\Aws\CloudFront\DataType\DistributionData::setConfig PHP Méthode

setConfig() public méthode

PUT Distribution Config action
public setConfig ( Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | string $config, string $eTag ) : DistributionData
$config Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | string Config for distribution. It accepts object or xml document.
$eTag string ETag that is retrieved from getDistributionConfig request.
Résultat DistributionData Returns DistributionData object.
    public function setConfig($config, $eTag)
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getCloudFront()->distribution->setConfig($this->distributionId, $config, $eTag);
    }