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 |
Returns a collection of MediaPackage VOD Asset resources.
This operation returns paginated results.
Synopsis
- data ListAssets = ListAssets' {}
- newListAssets :: ListAssets
- listAssets_packagingGroupId :: Lens' ListAssets (Maybe Text)
- listAssets_nextToken :: Lens' ListAssets (Maybe Text)
- listAssets_maxResults :: Lens' ListAssets (Maybe Natural)
- data ListAssetsResponse = ListAssetsResponse' {
- nextToken :: Maybe Text
- assets :: Maybe [AssetShallow]
- httpStatus :: Int
- newListAssetsResponse :: Int -> ListAssetsResponse
- listAssetsResponse_nextToken :: Lens' ListAssetsResponse (Maybe Text)
- listAssetsResponse_assets :: Lens' ListAssetsResponse (Maybe [AssetShallow])
- listAssetsResponse_httpStatus :: Lens' ListAssetsResponse Int
Creating a Request
data ListAssets Source #
See: newListAssets
smart constructor.
ListAssets' | |
|
Instances
newListAssets :: ListAssets Source #
Create a value of ListAssets
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:packagingGroupId:ListAssets'
, listAssets_packagingGroupId
- Returns Assets associated with the specified PackagingGroup.
$sel:nextToken:ListAssets'
, listAssets_nextToken
- A token used to resume pagination from the end of a previous request.
$sel:maxResults:ListAssets'
, listAssets_maxResults
- Upper bound on number of records to return.
Request Lenses
listAssets_packagingGroupId :: Lens' ListAssets (Maybe Text) Source #
Returns Assets associated with the specified PackagingGroup.
listAssets_nextToken :: Lens' ListAssets (Maybe Text) Source #
A token used to resume pagination from the end of a previous request.
listAssets_maxResults :: Lens' ListAssets (Maybe Natural) Source #
Upper bound on number of records to return.
Destructuring the Response
data ListAssetsResponse Source #
See: newListAssetsResponse
smart constructor.
ListAssetsResponse' | |
|
Instances
newListAssetsResponse Source #
Create a value of ListAssetsResponse
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:ListAssets'
, listAssetsResponse_nextToken
- A token that can be used to resume pagination from the end of the
collection.
$sel:assets:ListAssetsResponse'
, listAssetsResponse_assets
- A list of MediaPackage VOD Asset resources.
$sel:httpStatus:ListAssetsResponse'
, listAssetsResponse_httpStatus
- The response's http status code.
Response Lenses
listAssetsResponse_nextToken :: Lens' ListAssetsResponse (Maybe Text) Source #
A token that can be used to resume pagination from the end of the collection.
listAssetsResponse_assets :: Lens' ListAssetsResponse (Maybe [AssetShallow]) Source #
A list of MediaPackage VOD Asset resources.
listAssetsResponse_httpStatus :: Lens' ListAssetsResponse Int Source #
The response's http status code.