Queries alert information in MediaWeaver.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListAlerts |
none |
*All Resource
|
None | None |
Request syntax
POST / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNo |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
20 |
| ResourceArn |
string |
Yes |
The ARN of the source or program. |
acs:ims:mediaweaver: |
| Category |
string |
No |
The alert type. |
Scheduling Error:Error building schedule. PlayBack Warning:AddsourceAddress pull exception. info:Information. |
| SortBy |
string |
No |
The sorting order by creation time. Default value: desc. Valid values: asc and desc. |
asc |
| SortByModifiedTime |
string |
No |
The sorting order by modification time. Valid values: asc and desc. |
asc |
| GmtStart |
string |
No |
The beginning of the time range to query. |
2024-11-21T16:10:45Z |
| GmtEnd |
string |
No |
The end of the time range to query. |
2024-11-22T16:10:45Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Request ID |
xxx-xxxx-xxxxx-xxxx |
| TotalCount |
integer |
The total number of entries returned. |
100 |
| PageNo |
integer |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
The number of entries per page. Default value: 10. Valid values: 1 to 100. |
10 |
| Alerts |
array<object> |
The alerts. |
|
|
object |
The alert information. |
||
| ResourceArn |
string |
The ARN of the resource. |
acs:ims:mediaweaver: |
| Code |
string |
The error code. |
ScheduleError |
| Message |
string |
The error message. |
xxxxx |
| Category |
string |
The alert type. |
Scheduling Error:Error building schedule. PlayBack Warning:AddsourceAddress pull exception. info:Information. |
| RelatedResourceArns |
string |
The ARN of the related resource. |
acs:ims:mediaweaver: |
| GmtCreate |
string |
The time when the alert was received, in UTC. |
2024-07-16T10:03Z |
| GmtModified |
string |
The time when the alert was last modified, in UTC. |
2024-07-16T10:03Z |
Examples
Success response
JSON format
{
"RequestId": "xxx-xxxx-xxxxx-xxxx",
"TotalCount": 100,
"PageNo": 1,
"PageSize": 10,
"Alerts": [
{
"ResourceArn": "acs:ims:mediaweaver:::vodSource/mySourceLocation/MySource",
"Code": "ScheduleError",
"Message": "xxxxx",
"Category": "Scheduling Error:Error building schedule.\nPlayBack Warning:AddsourceAddress pull exception.\ninfo:Information.",
"RelatedResourceArns": "acs:ims:mediaweaver:::vodSource/mySourceLocation/MySource",
"GmtCreate": "2024-07-16T10:03Z",
"GmtModified": "2024-07-16T10:03Z"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.