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 a program in a multiplex.
Synopsis
- data UpdateMultiplexProgram' = UpdateMultiplexProgram'' {}
- newUpdateMultiplexProgram' :: Text -> Text -> UpdateMultiplexProgram'
- updateMultiplexProgram'_multiplexProgramSettings :: Lens' UpdateMultiplexProgram' (Maybe MultiplexProgramSettings)
- updateMultiplexProgram'_multiplexId :: Lens' UpdateMultiplexProgram' Text
- updateMultiplexProgram'_programName :: Lens' UpdateMultiplexProgram' Text
- data UpdateMultiplexProgramResponse = UpdateMultiplexProgramResponse' {}
- newUpdateMultiplexProgramResponse :: Int -> UpdateMultiplexProgramResponse
- updateMultiplexProgramResponse_multiplexProgram :: Lens' UpdateMultiplexProgramResponse (Maybe MultiplexProgram)
- updateMultiplexProgramResponse_httpStatus :: Lens' UpdateMultiplexProgramResponse Int
Creating a Request
data UpdateMultiplexProgram' Source #
A request to update a program in a multiplex.
See: newUpdateMultiplexProgram'
smart constructor.
UpdateMultiplexProgram'' | |
|
Instances
newUpdateMultiplexProgram' Source #
Create a value of UpdateMultiplexProgram'
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:
UpdateMultiplexProgram'
, updateMultiplexProgram'_multiplexProgramSettings
- The new settings for a multiplex program.
UpdateMultiplexProgram'
, updateMultiplexProgram'_multiplexId
- The ID of the multiplex of the program to update.
UpdateMultiplexProgram'
, updateMultiplexProgram'_programName
- The name of the program to update.
Request Lenses
updateMultiplexProgram'_multiplexProgramSettings :: Lens' UpdateMultiplexProgram' (Maybe MultiplexProgramSettings) Source #
The new settings for a multiplex program.
updateMultiplexProgram'_multiplexId :: Lens' UpdateMultiplexProgram' Text Source #
The ID of the multiplex of the program to update.
updateMultiplexProgram'_programName :: Lens' UpdateMultiplexProgram' Text Source #
The name of the program to update.
Destructuring the Response
data UpdateMultiplexProgramResponse Source #
Placeholder documentation for UpdateMultiplexProgramResponse
See: newUpdateMultiplexProgramResponse
smart constructor.
UpdateMultiplexProgramResponse' | |
|
Instances
Generic UpdateMultiplexProgramResponse Source # | |
Read UpdateMultiplexProgramResponse Source # | |
Show UpdateMultiplexProgramResponse Source # | |
Defined in Amazonka.MediaLive.UpdateMultiplexProgram | |
NFData UpdateMultiplexProgramResponse Source # | |
Defined in Amazonka.MediaLive.UpdateMultiplexProgram rnf :: UpdateMultiplexProgramResponse -> () # | |
Eq UpdateMultiplexProgramResponse Source # | |
type Rep UpdateMultiplexProgramResponse Source # | |
Defined in Amazonka.MediaLive.UpdateMultiplexProgram type Rep UpdateMultiplexProgramResponse = D1 ('MetaData "UpdateMultiplexProgramResponse" "Amazonka.MediaLive.UpdateMultiplexProgram" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "UpdateMultiplexProgramResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "multiplexProgram") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MultiplexProgram)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateMultiplexProgramResponse Source #
Create a value of UpdateMultiplexProgramResponse
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:multiplexProgram:UpdateMultiplexProgramResponse'
, updateMultiplexProgramResponse_multiplexProgram
- The updated multiplex program.
$sel:httpStatus:UpdateMultiplexProgramResponse'
, updateMultiplexProgramResponse_httpStatus
- The response's http status code.
Response Lenses
updateMultiplexProgramResponse_multiplexProgram :: Lens' UpdateMultiplexProgramResponse (Maybe MultiplexProgram) Source #
The updated multiplex program.
updateMultiplexProgramResponse_httpStatus :: Lens' UpdateMultiplexProgramResponse Int Source #
The response's http status code.