All Products
Search
Document Center

Intelligent Media Services:ListAlerts

Last Updated:Dec 23, 2025

Lists alerts received in MediaWeaver.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ice:ListAlertsnone
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
PageNointegerNo

The page number. Default value: 1.

1
PageSizeintegerNo

The number of entries per page.

20
ResourceArnstringYes

The ARN of the source or program.

acs:ims:mediaweaver:<regionId>:<userId>:vodSource/mySourceLocation/MySource
CategorystringNo

The alert type.

SortBystringNo

The sorting order. By default, the query results are sorted by creation time in descending order. Valid values: asc and desc.

asc
SortByModifiedTimestringNo

The sorting order by modification time. Valid values: asc and desc.

asc
GmtStartstringNo

The beginning of the time range to query.

2024-11-21T16:10:45Z
GmtEndstringNo

The end of the time range to query.

2024-11-22T16:10:45Z

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

Request ID

xxx-xxxx-xxxxx-xxxx
TotalCountinteger

The total number of entries returned.

100
PageNointeger

The page number. Default value: 1.

1
PageSizeinteger

The number of entries per page. Default value: 10. Valid values: 1 to 100.

10
Alertsarray<object>

The alerts.

Alertobject

The alert information.

ResourceArnstring

The ARN of the resource.

acs:ims:mediaweaver:<regionId>:<userId>:vodSource/mySourceLocation/MySource
Codestring

The error code.

ScheduleError
Messagestring

The error message.

xxxxx
Categorystring

The alert type.

RelatedResourceArnsstring

The ARN of the related resource.

acs:ims:mediaweaver:<regionId>:<userId>:vodSource/mySourceLocation/MySource
GmtCreatestring

The time when the alert was received in UTC.

2024-07-16T10:03Z
GmtModifiedstring

The time when the alert was modified in UTC.

2024-07-16T10:03Z

Examples

Sample success responses

JSONformat

{
  "RequestId": "xxx-xxxx-xxxxx-xxxx",
  "TotalCount": 100,
  "PageNo": 1,
  "PageSize": 10,
  "Alerts": [
    {
      "ResourceArn": "acs:ims:mediaweaver:<regionId>:<userId>:vodSource/mySourceLocation/MySource",
      "Code": "ScheduleError",
      "Message": "xxxxx",
      "Category": "",
      "RelatedResourceArns": "acs:ims:mediaweaver:<regionId>:<userId>:vodSource/mySourceLocation/MySource",
      "GmtCreate": "2024-07-16T10:03Z",
      "GmtModified": "2024-07-16T10:03Z"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.