Queries the whitelist of an endpoint service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:ListVpcEndpointServiceUsers |
get |
*VpcEndpointService
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the endpoint service that you want to query. You can call the DescribeRegions operation to query the most recent region list. |
cn-huhehaote |
| NextToken |
string |
No |
The pagination token that is used in the next request to retrieve a new page of results. Valid values:
|
caeba0bbb2be03f84eb48b699f0a4883 |
| MaxResults |
integer |
No |
The number of entries to return on each page. Valid values: 1 to 50. Default value: 50. |
50 |
| ServiceId |
string |
Yes |
The endpoint service ID. |
epsrv-hp3vpx8yqxblby3i**** |
| UserId |
integer |
No |
The ID of the Alibaba Cloud account in the whitelist of the endpoint service. |
12345678 |
| RegionId |
string |
Yes |
The region ID of the endpoint service that you want to query. You can call the DescribeRegions operation to query the most recent region list. |
cn-huhehaote |
| UserListType |
string |
No |
The type of the user list in the whitelist of the endpoint service. |
Users |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. Valid values:
|
caeba0bbb2be03f84eb48b699f0a4883 |
| RequestId |
string |
The request ID. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
| MaxResults |
integer |
The number of entries returned on each page. |
50 |
| Users |
array<object> |
The Alibaba Cloud accounts in the whitelist of the endpoint service. |
|
|
object |
|||
| UserId |
integer |
The ID of the Alibaba Cloud account in the whitelist of the endpoint service. |
12345678 |
| UserARNs |
array<object> |
The whitelists in the format of Aliyun Resource Name (ARN). |
|
|
object |
|||
| UserARN |
string |
The whitelist in the format of ARN. |
acs:ram:*::* |
| TotalCount |
string |
The total number of entries returned. |
3 |
Examples
Success response
JSON format
{
"NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0",
"MaxResults": 50,
"Users": [
{
"UserId": 12345678
}
],
"UserARNs": [
{
"UserARN": "acs:ram:*::*"
}
],
"TotalCount": "3"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EndpointServiceNotFound | The specified Service does not exist. | The specified Service does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.