| 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.ListMultiplexPrograms
Description
List the programs that currently exist for a specific multiplex.
This operation returns paginated results.
Synopsis
- data ListMultiplexPrograms = ListMultiplexPrograms' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- multiplexId :: Text
- newListMultiplexPrograms :: Text -> ListMultiplexPrograms
- listMultiplexPrograms_maxResults :: Lens' ListMultiplexPrograms (Maybe Natural)
- listMultiplexPrograms_nextToken :: Lens' ListMultiplexPrograms (Maybe Text)
- listMultiplexPrograms_multiplexId :: Lens' ListMultiplexPrograms Text
- data ListMultiplexProgramsResponse = ListMultiplexProgramsResponse' {}
- newListMultiplexProgramsResponse :: Int -> ListMultiplexProgramsResponse
- listMultiplexProgramsResponse_multiplexPrograms :: Lens' ListMultiplexProgramsResponse (Maybe [MultiplexProgramSummary])
- listMultiplexProgramsResponse_nextToken :: Lens' ListMultiplexProgramsResponse (Maybe Text)
- listMultiplexProgramsResponse_httpStatus :: Lens' ListMultiplexProgramsResponse Int
Creating a Request
data ListMultiplexPrograms Source #
Placeholder documentation for ListMultiplexProgramsRequest
See: newListMultiplexPrograms smart constructor.
Constructors
| ListMultiplexPrograms' | |
Fields
| |
Instances
newListMultiplexPrograms Source #
Arguments
| :: Text | |
| -> ListMultiplexPrograms |
Create a value of ListMultiplexPrograms 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:maxResults:ListMultiplexPrograms', listMultiplexPrograms_maxResults - The maximum number of items to return.
ListMultiplexPrograms, listMultiplexPrograms_nextToken - The token to retrieve the next page of results.
ListMultiplexPrograms, listMultiplexPrograms_multiplexId - The ID of the multiplex that the programs belong to.
Request Lenses
listMultiplexPrograms_maxResults :: Lens' ListMultiplexPrograms (Maybe Natural) Source #
The maximum number of items to return.
listMultiplexPrograms_nextToken :: Lens' ListMultiplexPrograms (Maybe Text) Source #
The token to retrieve the next page of results.
listMultiplexPrograms_multiplexId :: Lens' ListMultiplexPrograms Text Source #
The ID of the multiplex that the programs belong to.
Destructuring the Response
data ListMultiplexProgramsResponse Source #
Placeholder documentation for ListMultiplexProgramsResponse
See: newListMultiplexProgramsResponse smart constructor.
Constructors
| ListMultiplexProgramsResponse' | |
Fields
| |
Instances
newListMultiplexProgramsResponse Source #
Create a value of ListMultiplexProgramsResponse 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:multiplexPrograms:ListMultiplexProgramsResponse', listMultiplexProgramsResponse_multiplexPrograms - List of multiplex programs.
ListMultiplexPrograms, listMultiplexProgramsResponse_nextToken - Token for the next ListMultiplexProgram request.
$sel:httpStatus:ListMultiplexProgramsResponse', listMultiplexProgramsResponse_httpStatus - The response's http status code.
Response Lenses
listMultiplexProgramsResponse_multiplexPrograms :: Lens' ListMultiplexProgramsResponse (Maybe [MultiplexProgramSummary]) Source #
List of multiplex programs.
listMultiplexProgramsResponse_nextToken :: Lens' ListMultiplexProgramsResponse (Maybe Text) Source #
Token for the next ListMultiplexProgram request.
listMultiplexProgramsResponse_httpStatus :: Lens' ListMultiplexProgramsResponse Int Source #
The response's http status code.