Menerbitkan versi fungsi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:PublishFunctionVersion |
create |
*全部资源
|
None | None |
Sintaks permintaan
POST /2023-03-30/functions/{functionName}/versions HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| functionName |
string |
Yes |
Nama fungsi. |
my-func |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| body | PublishVersionInput |
Yes |
Informasi versi fungsi. |
Elemen respons
|
Element |
Type |
Description |
Example |
| Version |
The information about the function version. |
Contoh
Respons sukses
JSONformat
{
"createdTime": "2006-01-02T15:04:05Z07:00",
"description": "my version",
"lastModifiedTime": "2006-01-02T15:04:05Z07:00",
"versionId": "1"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.