MediaLive.Paginator.
ListReservations
¶paginator = client.get_paginator('list_reservations')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from MediaLive.Client.list_reservations()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ChannelClass='string',
Codec='string',
MaximumBitrate='string',
MaximumFramerate='string',
Resolution='string',
ResourceType='string',
SpecialFeature='string',
VideoQuality='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
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
{
'Reservations': [
{
'Arn': 'string',
'Count': 123,
'CurrencyCode': 'string',
'Duration': 123,
'DurationUnits': 'MONTHS',
'End': 'string',
'FixedPrice': 123.0,
'Name': 'string',
'OfferingDescription': 'string',
'OfferingId': 'string',
'OfferingType': 'NO_UPFRONT',
'Region': 'string',
'RenewalSettings': {
'AutomaticRenewal': 'DISABLED'|'ENABLED'|'UNAVAILABLE',
'RenewalCount': 123
},
'ReservationId': 'string',
'ResourceSpecification': {
'ChannelClass': 'STANDARD'|'SINGLE_PIPELINE',
'Codec': 'MPEG2'|'AVC'|'HEVC'|'AUDIO'|'LINK',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'MaximumFramerate': 'MAX_30_FPS'|'MAX_60_FPS',
'Resolution': 'SD'|'HD'|'FHD'|'UHD',
'ResourceType': 'INPUT'|'OUTPUT'|'MULTIPLEX'|'CHANNEL',
'SpecialFeature': 'ADVANCED_AUDIO'|'AUDIO_NORMALIZATION'|'MGHD'|'MGUHD',
'VideoQuality': 'STANDARD'|'ENHANCED'|'PREMIUM'
},
'Start': 'string',
'State': 'ACTIVE'|'EXPIRED'|'CANCELED'|'DELETED',
'Tags': {
'string': 'string'
},
'UsagePrice': 123.0
},
]
}
Response Structure