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 VOD sources contained in a source location. A source represents a piece of content.
This operation returns paginated results.
Synopsis
- data ListVodSources = ListVodSources' {}
- newListVodSources :: Text -> ListVodSources
- listVodSources_maxResults :: Lens' ListVodSources (Maybe Natural)
- listVodSources_nextToken :: Lens' ListVodSources (Maybe Text)
- listVodSources_sourceLocationName :: Lens' ListVodSources Text
- data ListVodSourcesResponse = ListVodSourcesResponse' {}
- newListVodSourcesResponse :: Int -> ListVodSourcesResponse
- listVodSourcesResponse_items :: Lens' ListVodSourcesResponse (Maybe [VodSource])
- listVodSourcesResponse_nextToken :: Lens' ListVodSourcesResponse (Maybe Text)
- listVodSourcesResponse_httpStatus :: Lens' ListVodSourcesResponse Int
Creating a Request
data ListVodSources Source #
See: newListVodSources
smart constructor.
ListVodSources' | |
|
Instances
Create a value of ListVodSources
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:ListVodSources'
, listVodSources_maxResults
- The maximum number of VOD sources that you want MediaTailor to return in
response to the current request. If there are more than MaxResults
VOD
sources, use the value of NextToken
in the response to get the next
page of results.
ListVodSources
, listVodSources_nextToken
- Pagination token returned by the list request when results exceed the
maximum allowed. Use the token to fetch the next page of results.
ListVodSources
, listVodSources_sourceLocationName
- The name of the source location associated with this VOD Source list.
Request Lenses
listVodSources_maxResults :: Lens' ListVodSources (Maybe Natural) Source #
The maximum number of VOD sources that you want MediaTailor to return in
response to the current request. If there are more than MaxResults
VOD
sources, use the value of NextToken
in the response to get the next
page of results.
listVodSources_nextToken :: Lens' ListVodSources (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.
listVodSources_sourceLocationName :: Lens' ListVodSources Text Source #
The name of the source location associated with this VOD Source list.
Destructuring the Response
data ListVodSourcesResponse Source #
See: newListVodSourcesResponse
smart constructor.
Instances
newListVodSourcesResponse Source #
Create a value of ListVodSourcesResponse
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:ListVodSourcesResponse'
, listVodSourcesResponse_items
- Lists the VOD sources.
ListVodSources
, listVodSourcesResponse_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:ListVodSourcesResponse'
, listVodSourcesResponse_httpStatus
- The response's http status code.
Response Lenses
listVodSourcesResponse_items :: Lens' ListVodSourcesResponse (Maybe [VodSource]) Source #
Lists the VOD sources.
listVodSourcesResponse_nextToken :: Lens' ListVodSourcesResponse (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.
listVodSourcesResponse_httpStatus :: Lens' ListVodSourcesResponse Int Source #
The response's http status code.