Mengkueri kelompok keamanan yang terkait dengan titik akhir.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:ListVpcEndpointSecurityGroups |
get |
*VpcEndpoint
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah titik akhir yang ingin Anda kueri. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-huhehaote |
| NextToken |
string |
No |
Token paginasi yang digunakan di permintaan berikutnya untuk mengambil halaman hasil baru. Nilai valid:
|
caeba0bbb2be03f84eb48b699f0a4883 |
| MaxResults |
integer |
No |
Jumlah entri yang dikembalikan per halaman. Nilai valid: 1 hingga 50. Nilai default: 50. |
50 |
| EndpointId |
string |
Yes |
ID titik akhir yang ingin Anda kueri. |
ep-hp33b2e43fays7s8**** |
| RegionId |
string |
Yes |
The region ID of the endpoint that you want to query. You can call the DescribeRegions operation to query the most recent region list. |
cn-huhehaote |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| SecurityGroups |
array<object> |
The information about the security groups. |
|
|
object |
The information about the array object. |
||
| SecurityGroupId |
string |
The ID of the security group that is associated with the endpoint. |
sg-hp33bw6ynvm2yb0e**** |
| SecurityGroupStatus |
string |
The associate status of the security group, valid values:
|
Attached |
| 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 per page. |
50 |
| TotalCount |
integer |
The total number of entries returned. |
12 |
Contoh
Respons sukses
JSONformat
{
"SecurityGroups": [
{
"SecurityGroupId": "sg-hp33bw6ynvm2yb0e****",
"SecurityGroupStatus": "Attached"
}
],
"NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0",
"MaxResults": 50,
"TotalCount": 12
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EndpointNotFound | The specified Endpoint does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.