Queries regions in an area.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | DescribeGeographicRegionMembership |
The operation that you want to perform. Set the value to DescribeGeographicRegionMembership. |
GeographicRegionId | String | Yes | china |
The ID of the area that you want to query. Valid values:
|
PageNumber | Integer | No | 1 |
The number of the page to return. Default value: 1. |
PageSize | Integer | No | 10 |
The number of entries to return per page. Default value: 10. Valid values: 1 to 50. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
PageNumber | Integer | 10 |
The page number of the returned page. |
PageSize | Integer | 2 |
The number of entries returned per page. |
RegionIds | Array of RegionId |
The list of regions. |
|
RegionId | |||
RegionId | String | us-west-1 |
The ID of the region. You can call the DescribeChildInstanceRegions operation to query the most recent region list. |
RequestId | String | DC9EB0C9-60AF-4A09-A36C-608F70130274 |
The ID of the request. |
TotalCount | Integer | 2 |
The total number of entries returned. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeGeographicRegionMembership
&GeographicRegionId=china
&<Common request parameters>
Sample success responses
XML
format
<DescribeGeographicRegionMembershipResponse>
<PageNumber>1</PageNumber>
<PageSize>10</PageSize>
<RegionIds>
<RegionId>
<RegionId>us-west-1</RegionId>
</RegionId>
<RegionId>
<RegionId>us-east-1</RegionId>
</RegionId>
</RegionIds>
<RequestId>DC9EB0C9-60AF-4A09-A36C-608F70130274</RequestId>
<TotalCount>2</TotalCount>
</DescribeGeographicRegionMembershipResponse>
JSON
format
{
"RegionIds":{
"RegionId":[
{
"RegionId":"us-west-1"
},
{
"RegionId":"us-east-1"
}
]
},
"PageNumber":1,
"TotalCount":2,
"PageSize":10,
"RequestId":"DC9EB0C9-60AF-4A09-A36C-608F70130274"
}
Error codes
For a list of error codes, visit the API Error Center.