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 |
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 #
:: Text | |
-> Text | |
-> UpdateMultiplexProgram' |
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:
$sel:multiplexProgramSettings:UpdateMultiplexProgram''
, updateMultiplexProgram'_multiplexProgramSettings
- The new settings for a multiplex program.
$sel:multiplexId:UpdateMultiplexProgram''
, updateMultiplexProgram'_multiplexId
- The ID of the multiplex of the program to update.
$sel:programName: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
Eq UpdateMultiplexProgramResponse Source # | |
Read UpdateMultiplexProgramResponse Source # | |
Show UpdateMultiplexProgramResponse Source # | |
Defined in Amazonka.MediaLive.UpdateMultiplexProgram | |
Generic UpdateMultiplexProgramResponse Source # | |
NFData UpdateMultiplexProgramResponse Source # | |
Defined in Amazonka.MediaLive.UpdateMultiplexProgram rnf :: UpdateMultiplexProgramResponse -> () # | |
type Rep UpdateMultiplexProgramResponse Source # | |
Defined in Amazonka.MediaLive.UpdateMultiplexProgram type Rep UpdateMultiplexProgramResponse = D1 ('MetaData "UpdateMultiplexProgramResponse" "Amazonka.MediaLive.UpdateMultiplexProgram" "libZSservicesZSamazonka-medialiveZSamazonka-medialive" '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.