| 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.CreateMultiplexProgram
Description
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.
Constructors
| CreateMultiplexProgram'' | |
Fields
| |
Instances
newCreateMultiplexProgram' Source #
Arguments
| :: 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.
Constructors
| CreateMultiplexProgramResponse' | |
Fields
| |
Instances
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.