2021/07/08 - AWS MediaTailor - 1 new api methods
Changes Add ListAlerts for Channel, Program, Source Location, and VOD Source to return alerts for resources.
Returns a list of alerts for the given resource.
See also: AWS API Documentation
Request Syntax
client.list_alerts( MaxResults=123, NextToken='string', ResourceArn='string' )
integer
Upper bound on number of records to return. The maximum number of results is 100.
string
Pagination token from the GET list request. 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', 'LastModifiedTime': datetime(2015, 1, 1), 'RelatedResourceArns': [ 'string', ], 'ResourceArn': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Success.
Items (list) --
An array 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.
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 from the list request. Use the token to fetch the next page of results.