Queries region information within a specified area.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page in a paged query. Default value: 10. Valid values: 1 to 50. |
10 |
| GeographicRegionId |
string |
Yes |
The ID of the area to query. Valid values:
|
china |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
The number of entries per page in a paged query. |
2 |
| RequestId |
string |
The request ID. |
DC9EB0C9-60AF-4A09-A36C-608F70130274 |
| PageNumber |
integer |
The page number. |
10 |
| TotalCount |
integer |
The total number of entries. |
2 |
| RegionIds |
object |
||
| RegionId |
array<object> |
The list of region information. |
|
|
object |
|||
| RegionId |
string |
The ID of the region. You can call the DescribeChildInstanceRegions operation to query the most recent region list. |
us-west-1 |
Examples
Success response
JSON format
{
"PageSize": 2,
"RequestId": "DC9EB0C9-60AF-4A09-A36C-608F70130274",
"PageNumber": 10,
"TotalCount": 2,
"RegionIds": {
"RegionId": [
{
"RegionId": "us-west-1"
}
]
}
}
Error codes
|
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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.