

# ListVpcOrigins
<a name="API_ListVpcOrigins"></a>

List the CloudFront VPC origins in your account.

## Request Syntax
<a name="API_ListVpcOrigins_RequestSyntax"></a>

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

## URI Request Parameters
<a name="API_ListVpcOrigins_RequestParameters"></a>

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
<a name="API_ListVpcOrigins_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListVpcOrigins_ResponseSyntax"></a>

```
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
<a name="API_ListVpcOrigins_ResponseElements"></a>

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
<a name="API_ListVpcOrigins_Errors"></a>

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 AWS Region.  
HTTP Status Code: 400

## See Also
<a name="API_ListVpcOrigins_SeeAlso"></a>

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