ListDistributionsByVpcOriginId - Amazon CloudFront

ListDistributionsByVpcOriginId

List CloudFront distributions by their VPC origin ID.

Request Syntax

GET /2020-05-31/distributionsByVpcOriginId/VpcOriginId?Marker=Marker&MaxItems=MaxItems HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

Marker

The marker associated with the VPC origin distributions list.

MaxItems

The maximum number of items included in the list.

VpcOriginId

The VPC origin ID.

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?> <DistributionIdList> <IsTruncated>boolean</IsTruncated> <Items> <DistributionId>string</DistributionId> </Items> <Marker>string</Marker> <MaxItems>integer</MaxItems> <NextMarker>string</NextMarker> <Quantity>integer</Quantity> </DistributionIdList>

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.

DistributionIdList

Root level tag for the DistributionIdList parameters.

Required: Yes

IsTruncated

A flag that indicates whether more distribution IDs remain to be listed. If your results were truncated, you can make a subsequent request using the Marker request field to retrieve more distribution IDs in the list.

Type: Boolean

Items

Contains the distribution IDs in the list.

Type: Array of strings

Marker

The value provided in the Marker request field.

Type: String

MaxItems

The maximum number of distribution IDs requested.

Type: Integer

NextMarker

Contains the value that you should use in the Marker field of a subsequent request to continue listing distribution IDs where you left off.

Type: String

Quantity

The total number of distribution IDs returned in the response.

Type: Integer

Errors

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

AccessDenied

Access denied.

HTTP Status Code: 403

EntityNotFound

The entity was not found.

HTTP Status Code: 404

InvalidArgument

An argument is invalid.

HTTP Status Code: 400

UnsupportedOperation

This operation is not supported in this region.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: