Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Displays the details of a reservation. The response includes the reservation name, state, start date and time, and the details of the offering that make up the rest of the reservation (such as price, duration, and outbound bandwidth).
Synopsis
- data DescribeReservation = DescribeReservation' {}
- newDescribeReservation :: Text -> DescribeReservation
- describeReservation_reservationArn :: Lens' DescribeReservation Text
- data DescribeReservationResponse = DescribeReservationResponse' {}
- newDescribeReservationResponse :: Int -> DescribeReservationResponse
- describeReservationResponse_reservation :: Lens' DescribeReservationResponse (Maybe Reservation)
- describeReservationResponse_httpStatus :: Lens' DescribeReservationResponse Int
Creating a Request
data DescribeReservation Source #
See: newDescribeReservation
smart constructor.
DescribeReservation' | |
|
Instances
newDescribeReservation Source #
Create a value of DescribeReservation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reservationArn:DescribeReservation'
, describeReservation_reservationArn
- The Amazon Resource Name (ARN) of the reservation.
Request Lenses
describeReservation_reservationArn :: Lens' DescribeReservation Text Source #
The Amazon Resource Name (ARN) of the reservation.
Destructuring the Response
data DescribeReservationResponse Source #
See: newDescribeReservationResponse
smart constructor.
DescribeReservationResponse' | |
|
Instances
newDescribeReservationResponse Source #
Create a value of DescribeReservationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reservation:DescribeReservationResponse'
, describeReservationResponse_reservation
- Undocumented member.
$sel:httpStatus:DescribeReservationResponse'
, describeReservationResponse_httpStatus
- The response's http status code.
Response Lenses
describeReservationResponse_reservation :: Lens' DescribeReservationResponse (Maybe Reservation) Source #
Undocumented member.
describeReservationResponse_httpStatus :: Lens' DescribeReservationResponse Int Source #
The response's http status code.