PHP Класс Scalr\Service\Aws\CloudFront\DataType\DistributionData

С версии: 01.02.2013
Автор: Vitaliy Demidov ([email protected])
Наследование: extends Scalr\Service\Aws\CloudFront\AbstractCloudFrontDataType
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$distributionId string The identifier for the distribution
$domainName string The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.
$inProgressInvalidationBatches string The number of invalidation batches currently in progress for this distribution Valid Values: 0 | 1 | 2 | 3
$lastModifiedTime DateTime The date and time the distribution was last modified.
$status string Valid Values: Deployed | InProgress

Защищенные свойства (Protected)

Свойство Тип Описание
$_externalKeys array List of external identifier names.
$_properties array List of the public properties which is managed by magic getter and setters internally.

Открытые методы

Метод Описание
delete ( string $eTag = null ) : boolean DELETE Distribution Config action
refresh ( ) : DistributionData GET Distribution action
refreshConfig ( ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData GET Distribution Config action
setConfig ( Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | string $config, string $eTag ) : DistributionData PUT Distribution Config action

Защищенные методы

Метод Описание
throwExceptionIfNotInitialized ( )

Описание методов

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

DELETE Distribution Config action
public delete ( string $eTag = null ) : boolean
$eTag string optional ETag that is retrieved from getDistributionConfig request.
Результат boolean Returns true on success

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

This method 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 ( ) : DistributionData
Результат DistributionData

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

Refreshes distribution config data set using API request to Amazon. NOTE! It refreshes object itself only when EntityManager is enabled. Decision is to use $object = object->refreshConfig() instead;
public refreshConfig ( ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData
Результат Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData

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

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.
Результат DistributionData Returns DistributionData object.

throwExceptionIfNotInitialized() защищенный Метод

Описание свойств

$_externalKeys защищенное свойство

List of external identifier names.
protected array $_externalKeys
Результат array

$_properties защищенное свойство

List of the public properties which is managed by magic getter and setters internally.
protected array $_properties
Результат array

$distributionId публичное свойство

The identifier for the distribution
public string $distributionId
Результат string

$domainName публичное свойство

The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.
public string $domainName
Результат string

$inProgressInvalidationBatches публичное свойство

The number of invalidation batches currently in progress for this distribution Valid Values: 0 | 1 | 2 | 3
public string $inProgressInvalidationBatches
Результат string

$lastModifiedTime публичное свойство

The date and time the distribution was last modified.
public DateTime $lastModifiedTime
Результат DateTime

$status публичное свойство

Valid Values: Deployed | InProgress
public string $status
Результат string