| 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 |
Amazonka.MediaLive.UpdateReservation
Description
Update reservation.
Synopsis
- data UpdateReservation' = UpdateReservation'' {
- name :: Maybe Text
- reservationId :: Text
- newUpdateReservation' :: Text -> UpdateReservation'
- updateReservation'_name :: Lens' UpdateReservation' (Maybe Text)
- 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.
Constructors
| UpdateReservation'' | |
Fields
| |
Instances
newUpdateReservation' Source #
Arguments
| :: Text | |
| -> UpdateReservation' |
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:
$sel:name:UpdateReservation'', updateReservation'_name - Name of the reservation
$sel:reservationId:UpdateReservation'', updateReservation'_reservationId - Unique reservation ID, e.g. '1234567'
Request Lenses
updateReservation'_name :: Lens' UpdateReservation' (Maybe Text) Source #
Name of 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.
Constructors
| UpdateReservationResponse' | |
Fields
| |
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.