list_reservations
(**kwargs)¶Displays a list of all reservations that have been purchased by this account in the current AWS Region. This list includes all reservations in all states (such as active and expired).
See also: AWS API Documentation
Request Syntax
response = client.list_reservations(
MaxResults=123,
NextToken='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'Reservations': [
{
'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.ServiceUnavailableException
MediaConnect.Client.exceptions.TooManyRequestsException
MediaConnect.Client.exceptions.BadRequestException
MediaConnect.Client.exceptions.InternalServerErrorException