MediaLive.Client.
delete_reservation
(**kwargs)¶Delete an expired reservation.
See also: AWS API Documentation
Request Syntax
response = client.delete_reservation(
ReservationId='string'
)
{
'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.NotFoundException
MediaLive.Client.exceptions.GatewayTimeoutException
MediaLive.Client.exceptions.TooManyRequestsException
MediaLive.Client.exceptions.ConflictException