Memperbarui lokasi sumber.
Deskripsi operasi
Memanggil operasi UpdateSourceLocation untuk memperbarui lokasi sumber.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:UpdateSourceLocation |
update |
*全部资源
|
None | None |
Sintaks permintaan
POST / HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SourceLocationName |
string |
Yes |
Nama lokasi sumber. |
MySourceLocation |
| BaseUrl |
string |
No |
URL lokasi sumber. |
http://xxx.com |
| EnableSegmentDelivery |
boolean |
No |
Apakah akan menggunakan nama domain independen untuk mengakses file segmen. |
true |
| SegmentDeliveryUrl |
string |
No |
URL untuk transfer file segmen. |
http://xxxx.com |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Tanggapan. |
||
| RequestId |
string |
ID permintaan. |
xxx-xxxx-xxxxx-xxxx |
| SourceLocation | ChannelAssemblySourceLocation |
Informasi lokasi sumber. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "xxx-xxxx-xxxxx-xxxx",
"SourceLocation": {
"GmtCreate": "2024-03-29T02:03:17Z",
"SourceLocationName": "MySourceLocation\n",
"State": 0,
"GmtModified": "2024-03-29T02:03:17Z\n",
"SegmentDeliveryConfigurations": "http://segmentdelivery.com\n",
"BaseUrl": "http://xxxx.com\n",
"Arn": "acs:ims:mediaweaver:::sourcelocation/MySourceLocation\n"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.