MediaLive.Client.
list_reservations
(**kwargs)¶List purchased reservations.
See also: AWS API Documentation
Request Syntax
response = client.list_reservations(
ChannelClass='string',
Codec='string',
MaxResults=123,
MaximumBitrate='string',
MaximumFramerate='string',
NextToken='string',
Resolution='string',
ResourceType='string',
SpecialFeature='string',
VideoQuality='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'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
Exceptions
MediaLive.Client.exceptions.BadRequestException
MediaLive.Client.exceptions.InternalServerErrorException
MediaLive.Client.exceptions.ForbiddenException
MediaLive.Client.exceptions.BadGatewayException
MediaLive.Client.exceptions.GatewayTimeoutException
MediaLive.Client.exceptions.TooManyRequestsException