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 |
Lists the live sources contained in a source location. A source represents a piece of content.
This operation returns paginated results.
Synopsis
- data ListLiveSources = ListLiveSources' {}
- newListLiveSources :: Text -> ListLiveSources
- listLiveSources_maxResults :: Lens' ListLiveSources (Maybe Natural)
- listLiveSources_nextToken :: Lens' ListLiveSources (Maybe Text)
- listLiveSources_sourceLocationName :: Lens' ListLiveSources Text
- data ListLiveSourcesResponse = ListLiveSourcesResponse' {
- items :: Maybe [LiveSource]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListLiveSourcesResponse :: Int -> ListLiveSourcesResponse
- listLiveSourcesResponse_items :: Lens' ListLiveSourcesResponse (Maybe [LiveSource])
- listLiveSourcesResponse_nextToken :: Lens' ListLiveSourcesResponse (Maybe Text)
- listLiveSourcesResponse_httpStatus :: Lens' ListLiveSourcesResponse Int
Creating a Request
data ListLiveSources Source #
See: newListLiveSources
smart constructor.
ListLiveSources' | |
|
Instances
Create a value of ListLiveSources
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:ListLiveSources'
, listLiveSources_maxResults
- The maximum number of live sources that you want MediaTailor to return
in response to the current request. If there are more than MaxResults
live sources, use the value of NextToken
in the response to get the
next page of results.
ListLiveSources
, listLiveSources_nextToken
- Pagination token returned by the list request when results exceed the
maximum allowed. Use the token to fetch the next page of results.
ListLiveSources
, listLiveSources_sourceLocationName
- The name of the source location associated with this Live Sources list.
Request Lenses
listLiveSources_maxResults :: Lens' ListLiveSources (Maybe Natural) Source #
The maximum number of live sources that you want MediaTailor to return
in response to the current request. If there are more than MaxResults
live sources, use the value of NextToken
in the response to get the
next page of results.
listLiveSources_nextToken :: Lens' ListLiveSources (Maybe Text) Source #
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
listLiveSources_sourceLocationName :: Lens' ListLiveSources Text Source #
The name of the source location associated with this Live Sources list.
Destructuring the Response
data ListLiveSourcesResponse Source #
See: newListLiveSourcesResponse
smart constructor.
ListLiveSourcesResponse' | |
|
Instances
newListLiveSourcesResponse Source #
Create a value of ListLiveSourcesResponse
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:items:ListLiveSourcesResponse'
, listLiveSourcesResponse_items
- Lists the live sources.
ListLiveSources
, listLiveSourcesResponse_nextToken
- Pagination token returned by the list request when results exceed the
maximum allowed. Use the token to fetch the next page of results.
$sel:httpStatus:ListLiveSourcesResponse'
, listLiveSourcesResponse_httpStatus
- The response's http status code.
Response Lenses
listLiveSourcesResponse_items :: Lens' ListLiveSourcesResponse (Maybe [LiveSource]) Source #
Lists the live sources.
listLiveSourcesResponse_nextToken :: Lens' ListLiveSourcesResponse (Maybe Text) Source #
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
listLiveSourcesResponse_httpStatus :: Lens' ListLiveSourcesResponse Int Source #
The response's http status code.