Menu
Amazon CloudFront
API Reference (API Version 2016-09-29)

GetCloudFrontOriginAccessIdentityConfig

Get the configuration information about an origin access identity.

Request Syntax

GET /2016-09-29/origin-access-identity/cloudfront/Id/config HTTP/1.1

URI Request Parameters

The request requires the following URI parameters.

Id

The identity'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"?>
<GetCloudFrontOriginAccessIdentityConfigResult>
   <CloudFrontOriginAccessIdentityConfig>
      <CallerReference>string</CallerReference>
      <Comment>string</Comment>
   </CloudFrontOriginAccessIdentityConfig>
</GetCloudFrontOriginAccessIdentityConfigResult>

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.

GetCloudFrontOriginAccessIdentityConfigResult

Root level tag for the GetCloudFrontOriginAccessIdentityConfigResult parameters.

Required: Yes

CloudFrontOriginAccessIdentityConfig

The origin access identity's configuration information.

Type: CloudFrontOriginAccessIdentityConfig object

Errors

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

AccessDenied

Access denied.

HTTP Status Code: 403

NoSuchCloudFrontOriginAccessIdentity

The specified origin access identity does not exist.

HTTP Status Code: 404