Свойство | Type | Description | |
---|---|---|---|
$cloudFront | Scalr\Service\Aws\CloudFront |
Méthode | Description | |
---|---|---|
__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 |
Méthode | Description | |
---|---|---|
_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 | |
_loadCustomErrorResponseData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\CustomErrorResponseData | Loads CustomErrorResponseData from simple xml object | |
_loadCustomErrorResponseList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\CustomErrorResponseList | Parses CustomErrorResponseList | |
_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 | |
_loadGeoRestrictionData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\GeoRestrictionData | Loads GeoRestrictionData 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 | |
_loadViewerCertificateData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\ViewerCertificateData | Loads ViewerCertificateData from simple xml object | |
_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 | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\CacheBehaviorData | Returns CacheBehaviorData |
protected _loadCacheBehaviorList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\CacheBehaviorList | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\CacheBehaviorList | Returns CacheBehaviorList object |
protected _loadCustomErrorResponseData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\CustomErrorResponseData | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\CustomErrorResponseData | Returns CustomErrorResponseData |
protected _loadCustomErrorResponseList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\CustomErrorResponseList | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\CustomErrorResponseList | Returns CustomErrorResponseList object |
protected _loadCustomOriginConfigData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\CustomOriginConfigData | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\CustomOriginConfigData | Returns CustomOriginConfigData |
protected _loadDistributionConfigAliasList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigAliasList | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\DistributionConfigAliasList | Returns DistributionConfigAliasList object |
protected _loadDistributionConfigData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | Returns DistributionConfigData |
protected _loadDistributionConfigLoggingData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigLoggingData | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\DistributionConfigLoggingData | Returns DistributionConfigLoggingData |
protected _loadDistributionConfigOriginList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigOriginList | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\DistributionConfigOriginList | Returns DistributionConfigOriginList object |
protected _loadDistributionData ( SimpleXMLElement $v ) : |
||
$v | SimpleXMLElement | |
Résultat | Returns DistributionData |
protected _loadDistributionS3OriginConfigData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\DistributionS3OriginConfigData | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\DistributionS3OriginConfigData | Returns DistributionS3OriginConfigData |
protected _loadForwardedValuesCookiesData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\ForwardedValuesCookiesData | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\ForwardedValuesCookiesData | Returns ForwardedValuesCookiesData |
protected _loadForwardedValuesData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\ForwardedValuesData | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\ForwardedValuesData | Returns ForwardedValuesData |
protected _loadGeoRestrictionData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\GeoRestrictionData | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\GeoRestrictionData | Returns GeoRestrictionData |
protected _loadKeyPairList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\KeyPairList | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\KeyPairList | Returns KeyPairList object |
protected _loadTrustedSignerList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\TrustedSignerList | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\TrustedSignerList | Returns TrustedSignerList object |
protected _loadViewerCertificateData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\ViewerCertificateData | ||
$sxml | SimpleXMLElement | |
Résultat | Scalr\Service\Aws\CloudFront\DataType\ViewerCertificateData | Returns ViewerCertificateData |
protected _loadWhitelistedCookieNamesList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\CloudFront\DataType\WhitelistedCookieNamesList | ||
$sxml | SimpleXMLElement | |
Résultat | 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 |
Résultat | 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. |
Résultat | Scalr\Service\Aws\CloudFront\DataType\DistributionList | Returns the list of Distributions. |
public getDistribution ( string $distributionId ) : |
||
$distributionId | string | ID of the distribution. |
Résultat | Returns distribution. |
public getDistributionConfig ( string $distributionId ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | ||
$distributionId | string | ID of the distribution. |
Résultat | Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | Returns DistributionConfig object. |
public getEntityManager ( ) : Scalr\Service\Aws\EntityManager | ||
Résultat | 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. |
Résultat | Returns DistributionData object. |