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