Gets the current distribution configuration for the specified distribution ID.
Standard distributions are handled separately from streaming distributions. For streaming
distributions, set the Streaming
option to true.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The distribution ID returned from |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Get the current configuration XML for a given distribution.
// Get distribution info $cdn = new AmazonCloudFront(); $response = $cdn->get_distribution_config('E2L6A3OZHQT5W4'); // Success? var_dump($response->isOK());Result:
bool(true)
Related Methods
See Also
Source
Method defined in services/cloudfront.class.php | Toggle source view (11 lines) | View on GitHub