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

ListCloudFrontOriginAccessIdentities

Lists origin access identities.

Request Syntax

GET /2016-09-29/origin-access-identity/cloudfront?Marker=Marker&MaxItems=MaxItems HTTP/1.1

URI Request Parameters

The request requires the following URI parameters.

Marker

Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last identity on that page).

MaxItems

The maximum number of origin access identities you want in the response body.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<ListCloudFrontOriginAccessIdentitiesResult>
   <CloudFrontOriginAccessIdentityList>
      <IsTruncated>boolean</IsTruncated>
      <Items>
         <CloudFrontOriginAccessIdentitySummary>
            <Comment>string</Comment>
            <Id>string</Id>
            <S3CanonicalUserId>string</S3CanonicalUserId>
         </CloudFrontOriginAccessIdentitySummary></Items>
      <Marker>string</Marker>
      <MaxItems>integer</MaxItems>
      <NextMarker>string</NextMarker>
      <Quantity>integer</Quantity>
   </CloudFrontOriginAccessIdentityList>
</ListCloudFrontOriginAccessIdentitiesResult>

Response Elements

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

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

ListCloudFrontOriginAccessIdentitiesResult

Root level tag for the ListCloudFrontOriginAccessIdentitiesResult parameters.

Required: Yes

CloudFrontOriginAccessIdentityList

The CloudFrontOriginAccessIdentityList type.

Type: CloudFrontOriginAccessIdentityList object

Errors

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

InvalidArgument

The argument is invalid.

HTTP Status Code: 400