Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Update reservation.
Synopsis
- data UpdateReservation' = UpdateReservation'' {}
- newUpdateReservation' :: Text -> UpdateReservation'
- updateReservation'_name :: Lens' UpdateReservation' (Maybe Text)
- updateReservation'_renewalSettings :: Lens' UpdateReservation' (Maybe RenewalSettings)
- updateReservation'_reservationId :: Lens' UpdateReservation' Text
- data UpdateReservationResponse = UpdateReservationResponse' {}
- newUpdateReservationResponse :: Int -> UpdateReservationResponse
- updateReservationResponse_reservation :: Lens' UpdateReservationResponse (Maybe Reservation)
- updateReservationResponse_httpStatus :: Lens' UpdateReservationResponse Int
Creating a Request
data UpdateReservation' Source #
Request to update a reservation
See: newUpdateReservation'
smart constructor.
UpdateReservation'' | |
|
Instances
newUpdateReservation' Source #
Create a value of UpdateReservation'
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:
UpdateReservation'
, updateReservation'_name
- Name of the reservation
UpdateReservation'
, updateReservation'_renewalSettings
- Renewal settings for the reservation
UpdateReservation'
, updateReservation'_reservationId
- Unique reservation ID, e.g. '1234567'
Request Lenses
updateReservation'_name :: Lens' UpdateReservation' (Maybe Text) Source #
Name of the reservation
updateReservation'_renewalSettings :: Lens' UpdateReservation' (Maybe RenewalSettings) Source #
Renewal settings for the reservation
updateReservation'_reservationId :: Lens' UpdateReservation' Text Source #
Unique reservation ID, e.g. '1234567'
Destructuring the Response
data UpdateReservationResponse Source #
Placeholder documentation for UpdateReservationResponse
See: newUpdateReservationResponse
smart constructor.
UpdateReservationResponse' | |
|
Instances
newUpdateReservationResponse Source #
Create a value of UpdateReservationResponse
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:UpdateReservationResponse'
, updateReservationResponse_reservation
- Undocumented member.
$sel:httpStatus:UpdateReservationResponse'
, updateReservationResponse_httpStatus
- The response's http status code.
Response Lenses
updateReservationResponse_reservation :: Lens' UpdateReservationResponse (Maybe Reservation) Source #
Undocumented member.
updateReservationResponse_httpStatus :: Lens' UpdateReservationResponse Int Source #
The response's http status code.