Queries all regions in a specified area.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
GeographicRegionId String  Yes china

The ID of the specified area. Valid values:

  • china: Mainland China
  • asia-pacific: Asia Pacific
  • europe: Europe
  • australia: Australia
  • north-america: North America
Action String No DescribeGeographicRegionMembership

Optional. The name of this action. Value: DescribeGeographicRegionMembership

PageNumber Integer No 1

Optional. The page number. Default value: 1

PageSize Integer No 1

Optional. The number of entries per page in the case of a paged query result. Maximum value: 50. Default value: 10

Response parameters

Parameter Type Example value Description
PageNumber Integer 1

The current page number.

PageSize Integer   2

The number of entries per page.

RegionIds

A list of regions in the specified area.

RegionId String us-west-1

The ID of the region.

RequestId String DC9EB0C9-60AF-4A09-A36C-608F70130274

 The ID of the request.

TotalCount Integer   2

The total number of queried entries.

Examples

Request example


http(s)://[Endpoint]/? Action=DescribeGeographicRegionMembership
&GeographicRegionId=china 
&<CommonParameters>

Response examples

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>
     <TotalCount>6</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"
}

Errors

For a list of error codes, visit the API Error Center.