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 |
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:
$sel:multiplexId: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.
$sel:multiplexProgramSettings:CreateMultiplexProgram''
, createMultiplexProgram'_multiplexProgramSettings
- The settings for this multiplex program.
$sel:programName: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
Eq CreateMultiplexProgramResponse Source # | |
Read CreateMultiplexProgramResponse Source # | |
Show CreateMultiplexProgramResponse Source # | |
Defined in Amazonka.MediaLive.CreateMultiplexProgram | |
Generic CreateMultiplexProgramResponse Source # | |
NFData CreateMultiplexProgramResponse Source # | |
Defined in Amazonka.MediaLive.CreateMultiplexProgram rnf :: CreateMultiplexProgramResponse -> () # | |
type Rep CreateMultiplexProgramResponse Source # | |
Defined in Amazonka.MediaLive.CreateMultiplexProgram type Rep CreateMultiplexProgramResponse = D1 ('MetaData "CreateMultiplexProgramResponse" "Amazonka.MediaLive.CreateMultiplexProgram" "libZSservicesZSamazonka-medialiveZSamazonka-medialive" '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.