

# 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](#API_ListVpcOrigins_RequestSyntax) **   <a name="cloudfront-ListVpcOrigins-request-uri-Marker"></a>
The marker associated with the VPC origins list.

 ** [MaxItems](#API_ListVpcOrigins_RequestSyntax) **   <a name="cloudfront-ListVpcOrigins-request-uri-MaxItems"></a>
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](#API_ListVpcOrigins_ResponseSyntax) **   <a name="cloudfront-ListVpcOrigins-response-VpcOriginList"></a>
Root level tag for the VpcOriginList parameters.  
Required: Yes

 ** [IsTruncated](#API_ListVpcOrigins_ResponseSyntax) **   <a name="cloudfront-ListVpcOrigins-response-IsTruncated"></a>
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](#API_ListVpcOrigins_ResponseSyntax) **   <a name="cloudfront-ListVpcOrigins-response-Items"></a>
The items of the VPC origins list.  
Type: Array of [VpcOriginSummary](API_VpcOriginSummary.md) objects

 ** [Marker](#API_ListVpcOrigins_ResponseSyntax) **   <a name="cloudfront-ListVpcOrigins-response-Marker"></a>
The marker associated with the VPC origins list.  
Type: String

 ** [MaxItems](#API_ListVpcOrigins_ResponseSyntax) **   <a name="cloudfront-ListVpcOrigins-response-MaxItems"></a>
The maximum number of items included in the list.  
Type: Integer

 ** [NextMarker](#API_ListVpcOrigins_ResponseSyntax) **   <a name="cloudfront-ListVpcOrigins-response-NextMarker"></a>
The next marker associated with the VPC origins list.  
Type: String

 ** [Quantity](#API_ListVpcOrigins_ResponseSyntax) **   <a name="cloudfront-ListVpcOrigins-response-Quantity"></a>
The number of VPC origins in the list.  
Type: Integer

## Errors


For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** 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 Amazon Web Services Region.  
HTTP Status Code: 400

## See Also


For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon Command Line Interface V2](https://docs.amazonaws.cn/goto/cli2/cloudfront-2020-05-31/ListVpcOrigins) 
+  [Amazon SDK for .NET V4](https://docs.amazonaws.cn/goto/DotNetSDKV4/cloudfront-2020-05-31/ListVpcOrigins) 
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/cloudfront-2020-05-31/ListVpcOrigins) 
+  [Amazon SDK for Go v2](https://docs.amazonaws.cn/goto/SdkForGoV2/cloudfront-2020-05-31/ListVpcOrigins) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/cloudfront-2020-05-31/ListVpcOrigins) 
+  [Amazon SDK for JavaScript V3](https://docs.amazonaws.cn/goto/SdkForJavaScriptV3/cloudfront-2020-05-31/ListVpcOrigins) 
+  [Amazon SDK for Kotlin](https://docs.amazonaws.cn/goto/SdkForKotlin/cloudfront-2020-05-31/ListVpcOrigins) 
+  [Amazon SDK for PHP V3](https://docs.amazonaws.cn/goto/SdkForPHPV3/cloudfront-2020-05-31/ListVpcOrigins) 
+  [Amazon SDK for Python](https://docs.amazonaws.cn/goto/boto3/cloudfront-2020-05-31/ListVpcOrigins) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/cloudfront-2020-05-31/ListVpcOrigins) 