Meminta region dalam sebuah area.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
Nomor halaman yang akan dikembalikan. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri yang akan dikembalikan per halaman. Nilai default: 10. Nilai yang valid: 1 hingga 50. |
10 |
| GeographicRegionId |
string |
Yes |
ID area yang ingin Anda kueri. Nilai yang valid:
|
china |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
Jumlah entri yang dikembalikan per halaman. |
2 |
| RequestId |
string |
ID permintaan. |
DC9EB0C9-60AF-4A09-A36C-608F70130274 |
| PageNumber |
integer |
Nomor halaman yang dikembalikan. |
10 |
| TotalCount |
integer |
Jumlah total entri yang dikembalikan. |
2 |
| RegionIds |
object |
||
| RegionId |
array<object> |
Daftar region. |
|
|
object |
|||
| RegionId |
string |
The ID of the region. You can call the DescribeChildInstanceRegions operation to query the most recent region list. |
us-west-1 |
Contoh
Respons sukses
JSONformat
{
"PageSize": 2,
"RequestId": "DC9EB0C9-60AF-4A09-A36C-608F70130274",
"PageNumber": 10,
"TotalCount": 2,
"RegionIds": {
"RegionId": [
{
"RegionId": "us-west-1"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.