ListVpcOrigins - Amazon CloudFront

ListVpcOrigins

List the CloudFront VPC origins in your account.

Request Syntax

GET /2020-05-31/vpc-origin?Marker=Marker&MaxItems=MaxItems HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

Marker

The marker associated with the VPC origins list.

MaxItems

The maximum number of items included in the list.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?> <VpcOriginList> <IsTruncated>boolean</IsTruncated> <Items> <VpcOriginSummary> <Arn>string</Arn> <CreatedTime>timestamp</CreatedTime> <Id>string</Id> <LastModifiedTime>timestamp</LastModifiedTime> <Name>string</Name> <OriginEndpointArn>string</OriginEndpointArn> <Status>string</Status> </VpcOriginSummary> </Items> <Marker>string</Marker> <MaxItems>integer</MaxItems> <NextMarker>string</NextMarker> <Quantity>integer</Quantity> </VpcOriginList>

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.

VpcOriginList

Root level tag for the VpcOriginList parameters.

Required: Yes

IsTruncated

A flag that indicates whether more VPC origins remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more VPC origins in the list.

Type: Boolean

Items

The items of the VPC origins list.

Type: Array of VpcOriginSummary objects

Marker

The marker associated with the VPC origins list.

Type: String

MaxItems

The maximum number of items included in the list.

Type: Integer

NextMarker

The next marker associated with the VPC origins list.

Type: String

Quantity

The number of VPC origins in the list.

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: