Свойство | Тип | Описание | |
---|---|---|---|
$cloudFront | Scalr\Service\Aws\CloudFront |
Метод | Описание | |
---|---|---|
__construct ( Scalr\Service\Aws\CloudFront $cloudFront, Scalr\Service\Aws\Client\QueryClient\CloudFrontQueryClient $client ) | Constructor | |
createDistribution ( Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | string $config ) : |
POST Distribution action | |
deleteDistribution ( string $distributionId, string $eTag ) : boolean | DELETE Distribution Config action | |
describeDistributions ( Scalr\Service\Aws\CloudFront\DataType\MarkerType $marker = null ) : Scalr\Service\Aws\CloudFront\DataType\DistributionList | GET Distribution List action | |
getDistribution ( string $distributionId ) : |
GET Distribution action | |
getDistributionConfig ( string $distributionId ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | GET Distribution Config action | |
getEntityManager ( ) : Scalr\Service\Aws\EntityManager | Gets an EntityManager | |
setDistributionConfig ( string $distributionId, Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | string $config, string $eTag ) : |
PUT Distribution Config action |
Метод | Описание | |
---|---|---|
_loadCacheBehaviorData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\CacheBehaviorData | Loads CacheBehaviorData from simple xml object | |
_loadCacheBehaviorList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\CacheBehaviorList | Parses CacheBehaviorList | |
_loadCustomOriginConfigData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\CustomOriginConfigData | Loads CustomOriginConfigData from simple xml object | |
_loadDistributionConfigAliasList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigAliasList | Parses DistributionConfigAliasList | |
_loadDistributionConfigData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | Loads DistributionConfigData from simple xml object | |
_loadDistributionConfigLoggingData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigLoggingData | Loads DistributionConfigLoggingData from simple xml object | |
_loadDistributionConfigOriginList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigOriginList | Parses DistributionConfigOriginList | |
_loadDistributionData ( SimpleXMLElement $v ) : |
Loads DistributionData from simple xml object | |
_loadDistributionS3OriginConfigData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionS3OriginConfigData | Loads DistributionS3OriginConfigData from simple xml object | |
_loadForwardedValuesCookiesData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\ForwardedValuesCookiesData | Loads ForwardedValuesCookiesData from simple xml object | |
_loadForwardedValuesData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\ForwardedValuesData | Loads ForwardedValuesData from simple xml object | |
_loadKeyPairList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\KeyPairList | Parses KeyPairList | |
_loadTrustedSignerList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\TrustedSignerList | Parses TrustedSignerList | |
_loadWhitelistedCookieNamesList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\WhitelistedCookieNamesList | Parses WhitelistedCookieNamesList |
public __construct ( Scalr\Service\Aws\CloudFront $cloudFront, Scalr\Service\Aws\Client\QueryClient\CloudFrontQueryClient $client ) | ||
$cloudFront | Scalr\Service\Aws\CloudFront | CloudFront instance |
$client | Scalr\Service\Aws\Client\QueryClient\CloudFrontQueryClient | Client Interface |
protected _loadCacheBehaviorData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\CacheBehaviorData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\CloudFront\DataType\CacheBehaviorData | Returns CacheBehaviorData |
protected _loadCacheBehaviorList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\CacheBehaviorList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\CloudFront\DataType\CacheBehaviorList | Returns CacheBehaviorList object |
protected _loadCustomOriginConfigData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\CustomOriginConfigData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\CloudFront\DataType\CustomOriginConfigData | Returns CustomOriginConfigData |
protected _loadDistributionConfigAliasList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigAliasList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\CloudFront\DataType\DistributionConfigAliasList | Returns DistributionConfigAliasList object |
protected _loadDistributionConfigData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | Returns DistributionConfigData |
protected _loadDistributionConfigLoggingData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigLoggingData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\CloudFront\DataType\DistributionConfigLoggingData | Returns DistributionConfigLoggingData |
protected _loadDistributionConfigOriginList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigOriginList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\CloudFront\DataType\DistributionConfigOriginList | Returns DistributionConfigOriginList object |
protected _loadDistributionData ( SimpleXMLElement $v ) : |
||
$v | SimpleXMLElement | |
Результат | Returns DistributionData |
protected _loadDistributionS3OriginConfigData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionS3OriginConfigData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\CloudFront\DataType\DistributionS3OriginConfigData | Returns DistributionS3OriginConfigData |
protected _loadForwardedValuesCookiesData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\ForwardedValuesCookiesData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\CloudFront\DataType\ForwardedValuesCookiesData | Returns ForwardedValuesCookiesData |
protected _loadForwardedValuesData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\ForwardedValuesData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\CloudFront\DataType\ForwardedValuesData | Returns ForwardedValuesData |
protected _loadKeyPairList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\KeyPairList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\CloudFront\DataType\KeyPairList | Returns KeyPairList object |
protected _loadTrustedSignerList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\TrustedSignerList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\CloudFront\DataType\TrustedSignerList | Returns TrustedSignerList object |
protected _loadWhitelistedCookieNamesList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\WhitelistedCookieNamesList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\CloudFront\DataType\WhitelistedCookieNamesList | Returns WhitelistedCookieNamesList object |
public createDistribution ( Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | string $config ) : |
||
$config | Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | string | distribution config object or XML document |
Результат | Returns created distribution. |
public describeDistributions ( Scalr\Service\Aws\CloudFront\DataType\MarkerType $marker = null ) : Scalr\Service\Aws\CloudFront\DataType\DistributionList | ||
$marker | Scalr\Service\Aws\CloudFront\DataType\MarkerType | optional The query parameters. |
Результат | Scalr\Service\Aws\CloudFront\DataType\DistributionList | Returns the list of Distributions. |
public getDistribution ( string $distributionId ) : |
||
$distributionId | string | ID of the distribution. |
Результат | Returns distribution. |
public getDistributionConfig ( string $distributionId ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | ||
$distributionId | string | ID of the distribution. |
Результат | Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | Returns DistributionConfig object. |
public getEntityManager ( ) : Scalr\Service\Aws\EntityManager | ||
Результат | Scalr\Service\Aws\EntityManager |
public setDistributionConfig ( string $distributionId, Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | string $config, string $eTag ) : |
||
$distributionId | string | ID of the distribution. |
$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. |
Результат | Returns DistributionData object. |