MediaConnect.Client.
purchase_offering
(**kwargs)¶Submits a request to purchase an offering. If you already have an active reservation, you can't purchase another offering.
See also: AWS API Documentation
Request Syntax
response = client.purchase_offering(
OfferingArn='string',
ReservationName='string',
Start='string'
)
dict
Response Syntax
{
'Reservation': {
'CurrencyCode': 'string',
'Duration': 123,
'DurationUnits': 'MONTHS',
'End': 'string',
'OfferingArn': 'string',
'OfferingDescription': 'string',
'PricePerUnit': 'string',
'PriceUnits': 'HOURLY',
'ReservationArn': 'string',
'ReservationName': 'string',
'ReservationState': 'ACTIVE'|'EXPIRED'|'PROCESSING'|'CANCELED',
'ResourceSpecification': {
'ReservedBitrate': 123,
'ResourceType': 'Mbps_Outbound_Bandwidth'
},
'Start': 'string'
}
}
Response Structure
Exceptions
MediaConnect.Client.exceptions.BadRequestException
MediaConnect.Client.exceptions.InternalServerErrorException
MediaConnect.Client.exceptions.ForbiddenException
MediaConnect.Client.exceptions.NotFoundException
MediaConnect.Client.exceptions.ServiceUnavailableException
MediaConnect.Client.exceptions.TooManyRequestsException