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