| Did this page help you? Yes No Tell us about it... |
To get a streaming distribution's configuration information, you do a GET on the
2010-11-01/streaming-distribution/<distribution
ID>/config resource.
GET /2010-11-01/streaming-distribution/<distribution ID>/config HTTP/1.1
Host: cloudfront.amazonaws.com
Authorization: [AWS authentication string]
Date: [time stamp]
[Other required headers]The request must include the headers required in all CloudFront requests. For more information, see Common REST Headers.
200 OK
ETag: [ETag value to use later when doing a PUT on the config]
x-amz-request-id: [Request ID]
<?xml version="1.0" encoding="UTF-8"?>
<StreamingDistributionConfig>
<S3Origin>
<DNSName>name</DNSName>
<OriginAccessIdentity>OAI</OriginAccessIdentity>
<S3Origin>origin</S3Origin>
<CallerReference>ref</CallerReference>
<CNAME>canonical name</CNAME>
<Comment>The comment</Comment>
<Enabled>true|false</Enabled>
<Logging>
<Bucket>mylogs.s3.amazonaws.com</Bucket>
<Prefix>myprefix/</Prefix>
</Logging>
</StreamingDistributionConfig>| Name | Description |
|---|---|
|
|
The current version of the configuration. For example:
Type: String |
| Name | Description |
|---|---|
|
|
The streaming distribution's configuration information. For more information, see StreamingDistributionConfig Complex Type. Type: |
The following table lists the special errors returned in addition to the common errors all actions return (for more information, see Errors).
| Error | Description | HTTP Status Code |
|---|---|---|
|
|
The specified streaming distribution does not exist. |
404 |
The following example request gets the configuration information for the EGTXBD79H29TRA8 streaming distribution.
GET /2010-11-01/streaming-distribution/EGTXBD79H29TRA8/config HTTP/1.1 Host: cloudfront.amazonaws.com Authorization: AWS O39F6A430S6FJNPPGDR2:frJIUN8DYpKDtOLEXAMPLE= Date: Thu, 19 Nov 2009 19:37:58 GMT [Other required headers]
200 OK
ETag: E2QWRUHAPOMQZL
x-amz-request-id: request_id
<?xml version="1.0" encoding="UTF-8"?>
<StreamingDistributionConfig xmlns="http://cloudfront.amazonaws.com/doc/2010-11-01/">
<S3Origin>
<DNSName>mystreamingbucket.s3.amazonaws.com</DNSName>
</S3Origin>
<CallerReference>20091130090000</CallerReference>
<CNAME>beagles.com</CNAME>
<Comment>My comments</Comment>
<Enabled>true</Enabled>
<Logging>
<Bucket>mylogs.s3.amazonaws.com</Bucket>
<Prefix>myprefix/</Prefix>
</Logging>
</StreamingDistributionConfig>