MediaTailor.Paginator.
ListAlerts
¶paginator = client.get_paginator('list_alerts')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from MediaTailor.Client.list_alerts()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ResourceArn='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'Items': [
{
'AlertCode': 'string',
'AlertMessage': 'string',
'LastModifiedTime': datetime(2015, 1, 1),
'RelatedResourceArns': [
'string',
],
'ResourceArn': '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.
LastModifiedTime (datetime) --
The timestamp when the alert was last modified.
RelatedResourceArns (list) --
The Amazon Resource Names (ARNs) related to this alert.
ResourceArn (string) --
The Amazon Resource Name (ARN) of the resource.