Menu
Amazon CloudFront
API Reference (API Version 2016-11-25)

GetStreamingDistributionConfig

Get the configuration information about a streaming distribution.

Request Syntax

GET /2016-11-25/streaming-distribution/Id/config HTTP/1.1

URI Request Parameters

The request requires the following URI parameters.

Id

The streaming distribution's ID.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200
ETag: ETag
<?xml version="1.0" encoding="UTF-8"?>
<GetStreamingDistributionConfigResult>
   <StreamingDistributionConfig>
      <Aliases>
         <Items>
            <CNAME>string</CNAME></Items>
         <Quantity>integer</Quantity>
      </Aliases>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
      <Enabled>boolean</Enabled>
      <Logging>
         <Bucket>string</Bucket>
         <Enabled>boolean</Enabled>
         <Prefix>string</Prefix>
      </Logging>
      <PriceClass>string</PriceClass>
      <S3Origin>
         <DomainName>string</DomainName>
         <OriginAccessIdentity>string</OriginAccessIdentity>
      </S3Origin>
      <TrustedSigners>
         <Enabled>boolean</Enabled>
         <Items>
            <AwsAccountNumber>string</AwsAccountNumber></Items>
         <Quantity>integer</Quantity>
      </TrustedSigners>
   </StreamingDistributionConfig>
</GetStreamingDistributionConfigResult>

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The response returns the following HTTP headers.

ETag

The current version of the configuration. For example: E2QWRUHAPOMQZL.

The following data is returned in XML format by the service.

GetStreamingDistributionConfigResult

Root level tag for the GetStreamingDistributionConfigResult parameters.

Required: Yes

StreamingDistributionConfig

The streaming distribution's configuration information.

Type: StreamingDistributionConfig object

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDenied

Access denied.

HTTP Status Code: 403

NoSuchStreamingDistribution

The specified streaming distribution does not exist.

HTTP Status Code: 404