All Products
Search
Document Center

Smart Access Gateway:DescribeRegions

Last Updated:Mar 29, 2024

Queries regions.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AcceptLanguagestringNo

The language of the response. Valid values:

  • zh-CN (default): Chinese
  • en-US: English
  • ja: Japanese
zh-CN

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

2F026E79-30AD-47B6-9E7D-D1D4BA77F1F1
Regionsobject []

A list of regions.

LocalNamestring

The name of the region.

RegionEndpointstring

The endpoint of the Smart Access Gateway (SAG) service in the current region.

smartag.cn-shanghai.aliyuncs.com
RegionIdstring

The ID of the region.

cn-shanghai

Examples

Sample success responses

JSONformat

{
  "RequestId": "2F026E79-30AD-47B6-9E7D-D1D4BA77F1F1",
  "Regions": {
    "Region": [
      {
        "LocalName": "",
        "RegionEndpoint": "smartag.cn-shanghai.aliyuncs.com",
        "RegionId": "cn-shanghai"
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
403ForbiddenUser not authorized to operate on the specified resource.You do not have permissions to manage the specified resource.
501InnerServiceFailedCall inner service failed.An error occurred while invoking internal services.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-03-15API Description Update. The Error code has changedsee changesets
Change itemChange content
API DescriptionAPI Description Update.
Error CodesThe Error code has changed.
    delete Error Codes: 403
    delete Error Codes: 501