All Products
Search
Document Center

Simple Log Service:DescribeRegions

Last Updated:Jun 06, 2025

Queries supported regions.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /regions HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
languagestringNo

The language of the localName parameter that is returned.

Valid values:

  • ja
  • en
  • zh
zh

Response parameters

ParameterTypeDescriptionExample
headersobject
Datestring

The time at which the response was returned.

Serverstring

The name of the server.

x-log-requestidstring

The request ID.

Content-Lengthstring

The content length of the response body.

Connectionstring

Indicates whether the connection is persistent. Valid values: close and keep-alive. close: The connection is non-persistent. A new TCP connection is established for each HTTP request. keep-alive: The connection is persistent. After a TCP connection is established, the connection remains open, and no more time or bandwidth is consumed to establish new connections.

object

Schema of Response

regionsarray<object>
object
regionstring

SLS region

localNamestring

The name of the Simple Log Service region.

intranetEndpointstring

The internal endpoint of Simple Log Service.

internetEndpointstring

The public endpoint of Simple Log Service.

Examples

Sample success responses

JSONformat

{
  "regions": [
    {
      "region": "",
      "localName": "",
      "intranetEndpoint": "",
      "internetEndpoint": ""
    }
  ]
}

Error codes

HTTP status codeError codeError message
400IdempotentParameterMismatchThe request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.

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