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 |
Lists all the VOD sources in a source location.
This operation returns paginated results.
Synopsis
- data ListVodSources = ListVodSources' {}
- newListVodSources :: Text -> ListVodSources
- listVodSources_nextToken :: Lens' ListVodSources (Maybe Text)
- listVodSources_maxResults :: Lens' ListVodSources (Maybe Natural)
- 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:nextToken:ListVodSources'
, listVodSources_nextToken
- Pagination token from the GET list request. Use the token to fetch the
next page of results.
$sel:maxResults:ListVodSources'
, listVodSources_maxResults
- Upper bound on number of records to return. The maximum number of
results is 100.
$sel:sourceLocationName:ListVodSources'
, listVodSources_sourceLocationName
- The identifier for the source location you are working on.
Request Lenses
listVodSources_nextToken :: Lens' ListVodSources (Maybe Text) Source #
Pagination token from the GET list request. Use the token to fetch the next page of results.
listVodSources_maxResults :: Lens' ListVodSources (Maybe Natural) Source #
Upper bound on number of records to return. The maximum number of results is 100.
listVodSources_sourceLocationName :: Lens' ListVodSources Text Source #
The identifier for the source location you are working on.
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.
$sel:nextToken:ListVodSources'
, listVodSourcesResponse_nextToken
- Pagination token from the list request. 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 from the list request. Use the token to fetch the next page of results.
listVodSourcesResponse_httpStatus :: Lens' ListVodSourcesResponse Int Source #
The response's http status code.