describeReservation method
Get details for a reservation.
May throw BadGatewayException.
May throw BadRequestException.
May throw ForbiddenException.
May throw GatewayTimeoutException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter reservationId :
Unique reservation ID, e.g. '1234567'
Implementation
Future<DescribeReservationResponse> describeReservation({
required String reservationId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/prod/reservations/${Uri.encodeComponent(reservationId)}',
exceptionFnMap: _exceptionFns,
);
return DescribeReservationResponse.fromJson(response);
}