Membuat lokasi sumber baru.
Deskripsi operasi
Panggil operasi ini untuk membuat lokasi sumber.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:CreateSourceLocation |
create |
*全部资源
|
None | None |
Sintaks permintaan
POST / HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SourceLocationName |
string |
Yes |
Nama lokasi sumber. |
MySourcelocation |
| BaseUrl |
string |
Yes |
Informasi lokasi sumber, termasuk Header protokol dan Host. |
http://xxx.com |
| EnableSegmentDelivery |
boolean |
No |
Apakah akan menggunakan nama domain independen untuk mengakses file segmen. |
true |
| SegmentDeliveryUrl |
string |
No |
Informasi Host yang digunakan untuk segmen. |
http://xxxxx.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.