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 |
Amazonka.MediaLive.UpdateMultiplexProgram
Description
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.
Constructors
UpdateMultiplexProgram'' | |
Fields
|
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.
Constructors
UpdateMultiplexProgramResponse' | |
Fields
|
Instances
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.