MediaTailor / Client / list_alerts
list_alerts#
- MediaTailor.Client.list_alerts(**kwargs)#
- Lists the alerts that are associated with a MediaTailor channel assembly resource. - See also: AWS API Documentation - Request Syntax- response = client.list_alerts( MaxResults=123, NextToken='string', ResourceArn='string' ) - Parameters:
- MaxResults (integer) – The maximum number of alerts that you want MediaTailor to return in response to the current request. If there are more than - MaxResultsalerts, use the value of- NextTokenin the response to get the next page of results.
- 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. 
- ResourceArn (string) – - [REQUIRED] - The Amazon Resource Name (ARN) of the resource. 
 
- Return type:
- dict 
- Returns:
- 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.