All Products
Search
Document Center

DataWorks:ListDeploymentPackages

Last Updated:Jun 11, 2026

Mengkueri daftar paket deployment.

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

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

ProjectIdentifier

string

No

Pengidentifikasi unik workspace DataWorks, yaitu pengidentifikasi yang berada di bagian atas halaman Data Studio tempat Anda mengganti workspace. Parameter ini atau ProjectId harus ditentukan untuk menentukan workspace DataWorks mana yang dioperasikan oleh panggilan API ini.

dw_project

ProjectId

integer

No

ID workspace DataWorks. Anda dapat masuk ke konsol DataWorks dan membuka halaman konfigurasi workspace untuk mengkueri ID. Anda harus mengonfigurasi parameter ini atau parameter ProjectIdentifier untuk menentukan workspace DataWorks tempat operasi diterapkan.

10003

Creator

string

No

ID akun Alibaba Cloud dari pembuat paket deployment.

110755000425****

EndCreateTime

integer

No

Timestamp milidetik maksimum saat paket deployment dibuat.

1593877765000

Executor

string

No

ID akun Alibaba Cloud dari pelaksana paket deployment.

2003****

EndExecuteTime

integer

No

Timestamp milidetik maksimum saat paket deployment mulai dijalankan.

1593877765000

Status

integer

No

Status paket deployment. Nilai yang valid:

  • 0: Siap.

  • 1: Berhasil di-deploy.

  • 2: Gagal di-deploy.

  • 6: Ditolak.

1

Keyword

string

No

Kata kunci dalam nama paket deployment. DataWorks mendukung pencocokan fuzzy, artinya Anda dapat memasukkan kata kunci untuk mengkueri paket deployment yang memuatnya.

abc

PageNumber

integer

No

Nomor halaman.

1

PageSize

integer

No

Jumlah catatan per halaman. Nilai default: 10. Nilai maksimum: 100.

10

Elemen respons

Element

Type

Description

Example

object

Respons.

RequestId

string

ID permintaan.

952795279527ab****

Data

object

Daftar paket deployment yang memenuhi kondisi kueri.

PageNumber

integer

Nomor halaman.

1

PageSize

integer

Jumlah catatan per halaman.

10

TotalCount

integer

Jumlah total catatan yang memenuhi kondisi.

20

Deployments

array<object>

Daftar paket deployment yang dikembalikan.

object

Informasi rinci tentang paket deployment.

Status

integer

The status of the deployment package. Valid values:

  • 0: It is ready.

  • 1: It was successfully deployed.

  • 2: It failed to be deployed.

  • 6: It was rejected.

1

ErrorMessage

string

When the deployment package fails to execute, this parameter is used to record the error message.

OK

CreateTime

integer

The timestamp when the deployment package was created.

1593877765000

Executor

string

The Alibaba Cloud account ID of the deployment package executor.

2003****

Creator

string

The Alibaba Cloud account ID of the deployment package creator.

2003****

ExecuteTime

integer

The timestamp when the deployment package was executed.

1593877765000

Name

string

The name of the deployment package.

auto_created

Id

integer

The ID of the deployment package. You can use this ID to call the GetDeployment operation to get the deployment package details.

11111

Contoh

Respons sukses

JSONformat

{
  "RequestId": "952795279527ab****",
  "Data": {
    "PageNumber": 1,
    "PageSize": 10,
    "TotalCount": 20,
    "Deployments": [
      {
        "Status": 1,
        "ErrorMessage": "OK",
        "CreateTime": 1593877765000,
        "Executor": "2003****",
        "Creator": "2003****",
        "ExecuteTime": 1593877765000,
        "Name": "auto_created",
        "Id": 11111
      }
    ]
  }
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

500 InternalError.System An internal system error occurred. Try again later.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. No permission, please authorize
429 Throttling.Api The request for this resource has exceeded your available limit.
429 Throttling.System The DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.