2023/07/13 - AWS MediaTailor - 1 updated api methods
Changes Adds categories to MediaTailor channel assembly alerts
{'Items': {'Category': 'SCHEDULING_ERROR | PLAYBACK_WARNING | INFO'}}
Lists the alerts that are associated with a MediaTailor channel assembly resource.
See also: AWS API Documentation
Request Syntax
client.list_alerts( MaxResults=123, NextToken='string', ResourceArn='string' )
integer
The maximum number of alerts that you want MediaTailor to return in response to the current request. If there are more than MaxResults alerts, use the value of NextToken in the response to get the next page of results.
string
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
dict
Response Syntax
{ 'Items': [ { 'AlertCode': 'string', 'AlertMessage': 'string', 'Category': 'SCHEDULING_ERROR'|'PLAYBACK_WARNING'|'INFO', 'LastModifiedTime': datetime(2015, 1, 1), 'RelatedResourceArns': [ 'string', ], 'ResourceArn': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Items (list) --
A list of alerts that are associated with this resource.
(dict) --
Alert configuration parameters.
AlertCode (string) --
The code for the alert. For example, NOT_PROCESSED .
AlertMessage (string) --
If an alert is generated for a resource, an explanation of the reason for the alert.
Category (string) --
The category that MediaTailor assigns to the alert.
LastModifiedTime (datetime) --
The timestamp when the alert was last modified.
RelatedResourceArns (list) --
The Amazon Resource Names (ARNs) related to this alert.
(string) --
ResourceArn (string) --
The Amazon Resource Name (ARN) of the resource.
NextToken (string) --
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.