Mendaftar lokasi sumber.
Deskripsi operasi
Panggil operasi ListSourceLocations untuk mendaftarkan lokasi sumber.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListSourceLocations |
none |
*全部资源
|
None | None |
Sintaks permintaan
POST / HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SourceLocationName |
string |
No |
Nama lokasi sumber. |
MySourceLocation |
| FilterState |
boolean |
No |
Apakah akan memfilter berdasarkan status penghapusan. Nilai true menunjukkan bahwa hanya lokasi sumber yang tidak dalam status dihapus yang akan dikembalikan. |
true |
| PageNo |
integer |
No |
|
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 20. Nilai maksimum: 100. |
10 |
| SortByModifiedTime |
string |
No |
Mengurutkan hasil berdasarkan pengatur waktu modifikasi. |
desc |
| SortBy |
string |
No |
Parameter pengurutan. Secara default, hasil diurutkan berdasarkan pengatur waktu pembuatan dalam Pesanan menurun. |
desc |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID Permintaan. |
xxx-xxxx-xxxxx-xxxx |
| TotalCount |
integer |
Jumlah total entri. |
100 |
| PageNo |
integer |
Nomor halaman saat ini. Nilai default: 1. |
1 |
| PageSize |
integer |
Jumlah entri per halaman. Nilai default: 20. Nilai maksimum: 100. |
10 |
| SourceLocationList |
array |
Daftar lokasi sumber. |
|
| ChannelAssemblySourceLocation |
Informasi tentang lokasi sumber. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "xxx-xxxx-xxxxx-xxxx",
"TotalCount": 100,
"PageNo": 1,
"PageSize": 10,
"SourceLocationList": [
{
"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.