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 |
Create a new program in the multiplex.
Synopsis
- data CreateMultiplexProgram' = CreateMultiplexProgram'' {}
- newCreateMultiplexProgram' :: Text -> Text -> MultiplexProgramSettings -> Text -> CreateMultiplexProgram'
- createMultiplexProgram'_multiplexId :: Lens' CreateMultiplexProgram' Text
- createMultiplexProgram'_requestId :: Lens' CreateMultiplexProgram' Text
- createMultiplexProgram'_multiplexProgramSettings :: Lens' CreateMultiplexProgram' MultiplexProgramSettings
- createMultiplexProgram'_programName :: Lens' CreateMultiplexProgram' Text
- data CreateMultiplexProgramResponse = CreateMultiplexProgramResponse' {}
- newCreateMultiplexProgramResponse :: Int -> CreateMultiplexProgramResponse
- createMultiplexProgramResponse_multiplexProgram :: Lens' CreateMultiplexProgramResponse (Maybe MultiplexProgram)
- createMultiplexProgramResponse_httpStatus :: Lens' CreateMultiplexProgramResponse Int
Creating a Request
data CreateMultiplexProgram' Source #
A request to create a program in a multiplex.
See: newCreateMultiplexProgram'
smart constructor.
CreateMultiplexProgram'' | |
|
Instances
newCreateMultiplexProgram' Source #
:: Text | |
-> Text | |
-> MultiplexProgramSettings | |
-> Text | |
-> CreateMultiplexProgram' |
Create a value of CreateMultiplexProgram'
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:
CreateMultiplexProgram'
, createMultiplexProgram'_multiplexId
- ID of the multiplex where the program is to be created.
$sel:requestId:CreateMultiplexProgram''
, createMultiplexProgram'_requestId
- Unique request ID. This prevents retries from creating multiple
resources.
CreateMultiplexProgram'
, createMultiplexProgram'_multiplexProgramSettings
- The settings for this multiplex program.
CreateMultiplexProgram'
, createMultiplexProgram'_programName
- Name of multiplex program.
Request Lenses
createMultiplexProgram'_multiplexId :: Lens' CreateMultiplexProgram' Text Source #
ID of the multiplex where the program is to be created.
createMultiplexProgram'_requestId :: Lens' CreateMultiplexProgram' Text Source #
Unique request ID. This prevents retries from creating multiple resources.
createMultiplexProgram'_multiplexProgramSettings :: Lens' CreateMultiplexProgram' MultiplexProgramSettings Source #
The settings for this multiplex program.
createMultiplexProgram'_programName :: Lens' CreateMultiplexProgram' Text Source #
Name of multiplex program.
Destructuring the Response
data CreateMultiplexProgramResponse Source #
Placeholder documentation for CreateMultiplexProgramResponse
See: newCreateMultiplexProgramResponse
smart constructor.
CreateMultiplexProgramResponse' | |
|
Instances
Generic CreateMultiplexProgramResponse Source # | |
Read CreateMultiplexProgramResponse Source # | |
Show CreateMultiplexProgramResponse Source # | |
Defined in Amazonka.MediaLive.CreateMultiplexProgram | |
NFData CreateMultiplexProgramResponse Source # | |
Defined in Amazonka.MediaLive.CreateMultiplexProgram rnf :: CreateMultiplexProgramResponse -> () # | |
Eq CreateMultiplexProgramResponse Source # | |
type Rep CreateMultiplexProgramResponse Source # | |
Defined in Amazonka.MediaLive.CreateMultiplexProgram type Rep CreateMultiplexProgramResponse = D1 ('MetaData "CreateMultiplexProgramResponse" "Amazonka.MediaLive.CreateMultiplexProgram" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "CreateMultiplexProgramResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "multiplexProgram") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MultiplexProgram)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateMultiplexProgramResponse Source #
Create a value of CreateMultiplexProgramResponse
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:CreateMultiplexProgramResponse'
, createMultiplexProgramResponse_multiplexProgram
- The newly created multiplex program.
$sel:httpStatus:CreateMultiplexProgramResponse'
, createMultiplexProgramResponse_httpStatus
- The response's http status code.
Response Lenses
createMultiplexProgramResponse_multiplexProgram :: Lens' CreateMultiplexProgramResponse (Maybe MultiplexProgram) Source #
The newly created multiplex program.
createMultiplexProgramResponse_httpStatus :: Lens' CreateMultiplexProgramResponse Int Source #
The response's http status code.