All Products
Search
Document Center

Serverless App Engine:DescribeSwimmingLane

Last Updated:Jun 11, 2026

Mengambil detail swimlane.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

sae:DescribeSwimmingLane

get

*全部资源

*

None None

Sintaks permintaan

GET /pop/v1/cas/gray/describeSwimmingLane HTTP/1.1

Parameter permintaan

Parameter

Type

Required

Description

Example

NamespaceId

string

No

ID namespace.

cn-beijing:test

GroupId

integer

No

ID kelompok lane.

2074

LaneId

integer

No

ID swimlane.

9637

Elemen respons

Element

Type

Description

Example

object

The information returned.

RequestId

string

The request ID.

30375C38-F4ED-4135-A0AE-5C75DC7F****

Message

string

The message returned with the response.

  • success is returned if the request is successful.

  • An error code is returned if the request fails.

success

TraceId

string

The trace ID. You can use this ID to query the details of a call.

0a98a02315955564772843261e****

Data

object

The data returned.

LaneId

integer

The ID of the lane.

9488

LaneName

string

The name of the lane.

mse-test

LaneTag

string

The tag of the lane.

{"alicloud.service.tag":"g1"}

Enable

boolean

Indicates whether the lane is enabled.

  • true: enabled

  • false: disabled

true

EnableRules

boolean

Indicates whether traffic rules are enabled.

true

CanaryModel

integer

The mode for the end-to-end canary release. Valid values:

  • 0: content-based routing

  • 1: percentage-based routing

0

Apps

array<object>

A list of associated applications.

object

An application that is associated with the lane.

AppId

string

The ID of the application.

6b4c0f64-f679-4580-8105-91eac4******

AppName

string

The name of the application.

test

MseAppId

string

The ID of the MSE instance.

mse-cn-53y49******

MseAppName

string

The name of the MSE instance.

sae-test

mseNamespaceId

string

The ID of the MSE namespace.

6733e538-d52f-48e6-91a4-192f91******

AppEntryRule

object

The application entry rule.

Paths

array

The request path.

string

The URL path.

/Path

Percentage

integer

The traffic ratio. Valid values: 0 to 100.

50

ConditionJoiner

string

Logical connectors between conditions:

  • AND: All conditions are met at the same time.

  • OR: Any condition is met.

AND

Conditions

array<object>

The matching condition.

object

The condition item.

Type

string

Parameter type.

Header

Name

string

The name of the parameter.

t

Condition

string

The matching rule.

==

Value

string

The match value of the condition.

g1

Values

array

The match value of the condition.

string

The match value of the condition.

g1

IndependentPercentageEnable

boolean

Whether to enable proportional grayscale.

true

PercentageByPath

object

Traffic matching.

integer

The traffic ratio.

100

MseGatewayEntryRule

object

The entry rule for the MSE Gateway.

RouteIds

array

The list of route IDs.

integer

The ID of the route.

["1001","1002"]

Routes

array<object>

The detailed configuration of the routing rule.

array<object>

The route configurations.

RouteId

integer

The route ID.

9504

RouteName

string

The name of the route.

demo

RoutePredicate

object

The routing rule.

PathPredicate

object

The path matching rule.

Path

string

The path.

/Path

Type

string

The matching rule.

Header

Percentage

integer

The proportion of path traffic.

100

Conditions

array<object>

The matching condition.

object

Item

Type

string

The type of the parameter.

Header

Name

string

The parameter name.

t

Condition

string

The matching rule.

==

Value

string

The match value of the condition.

g1

PercentageByRoute

object

The traffic configuration.

integer

Configure the traffic ratio. The range is 1 to 100.

100

IndependentPercentageEnable

boolean

Whether to enable proportional grayscale.

true

ConditionJoiner

string

The logical connector between conditions.

AND

ErrorCode

string

The error code.

  • This parameter is returned only if the request fails.

  • For more information, see the Error codes section in this topic.

Code

string

The HTTP status code that is returned.

  • 2xx: Success.

  • 3xx: Redirection.

  • 4xx: Client error.

  • 5xx: Server error.

200

Success

boolean

Indicates whether the request was successful.

  • true: The query was successful.

  • false: The query failed.

true

Contoh

Respons sukses

JSONformat

{
  "RequestId": "30375C38-F4ED-4135-A0AE-5C75DC7F****",
  "Message": "success",
  "TraceId": "0a98a02315955564772843261e****",
  "Data": {
    "LaneId": 9488,
    "LaneName": "mse-test",
    "LaneTag": "{\"alicloud.service.tag\":\"g1\"}",
    "Enable": true,
    "EnableRules": true,
    "CanaryModel": 0,
    "Apps": [
      {
        "AppId": "6b4c0f64-f679-4580-8105-91eac4******",
        "AppName": "test",
        "MseAppId": "mse-cn-53y49******",
        "MseAppName": "sae-test",
        "mseNamespaceId": "6733e538-d52f-48e6-91a4-192f91******"
      }
    ],
    "AppEntryRule": {
      "Paths": [
        "/Path"
      ],
      "Percentage": 50,
      "ConditionJoiner": "AND",
      "Conditions": [
        {
          "Type": "Header",
          "Name": "t",
          "Condition": "==",
          "Value": "g1",
          "Values": [
            "g1"
          ]
        }
      ],
      "IndependentPercentageEnable": true,
      "PercentageByPath": {
        "key": 100
      }
    },
    "MseGatewayEntryRule": {
      "RouteIds": [
        0
      ],
      "Routes": [
        {
          "RouteId": 9504,
          "RouteName": "demo\n",
          "RoutePredicate": {
            "PathPredicate": {
              "Path": "/Path",
              "Type": "Header"
            }
          }
        }
      ],
      "Percentage": 100,
      "Conditions": [
        {
          "Type": "Header",
          "Name": "t",
          "Condition": "==",
          "Value": "g1"
        }
      ],
      "PercentageByRoute": {
        "key": 100
      },
      "IndependentPercentageEnable": true,
      "ConditionJoiner": "AND"
    }
  },
  "ErrorCode": "",
  "Code": "200",
  "Success": true
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidParameter.NotEmpty You must specify the parameter %s.
400 InvalidParameter.Obviously The specified parameter is invalid {%s}.
400 InvalidParameter.WithMessage The parameter is invalid {%s}: %s
400 MseGatewayRule.CreateFailed Create MSE Gateway rule failed.
400 InternalApiError An exception occurred when calling mse:%s, error message: %s.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.