| 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.ListPackagingGroups
Description
Returns a collection of MediaPackage VOD PackagingGroup resources.
This operation returns paginated results.
Synopsis
- data ListPackagingGroups = ListPackagingGroups' {}
- newListPackagingGroups :: ListPackagingGroups
- listPackagingGroups_maxResults :: Lens' ListPackagingGroups (Maybe Natural)
- listPackagingGroups_nextToken :: Lens' ListPackagingGroups (Maybe Text)
- data ListPackagingGroupsResponse = ListPackagingGroupsResponse' {}
- newListPackagingGroupsResponse :: Int -> ListPackagingGroupsResponse
- listPackagingGroupsResponse_nextToken :: Lens' ListPackagingGroupsResponse (Maybe Text)
- listPackagingGroupsResponse_packagingGroups :: Lens' ListPackagingGroupsResponse (Maybe [PackagingGroup])
- listPackagingGroupsResponse_httpStatus :: Lens' ListPackagingGroupsResponse Int
Creating a Request
data ListPackagingGroups Source #
See: newListPackagingGroups smart constructor.
Constructors
| ListPackagingGroups' | |
Instances
newListPackagingGroups :: ListPackagingGroups Source #
Create a value of ListPackagingGroups 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:ListPackagingGroups', listPackagingGroups_maxResults - Upper bound on number of records to return.
ListPackagingGroups, listPackagingGroups_nextToken - A token used to resume pagination from the end of a previous request.
Request Lenses
listPackagingGroups_maxResults :: Lens' ListPackagingGroups (Maybe Natural) Source #
Upper bound on number of records to return.
listPackagingGroups_nextToken :: Lens' ListPackagingGroups (Maybe Text) Source #
A token used to resume pagination from the end of a previous request.
Destructuring the Response
data ListPackagingGroupsResponse Source #
See: newListPackagingGroupsResponse smart constructor.
Constructors
| ListPackagingGroupsResponse' | |
Fields
| |
Instances
newListPackagingGroupsResponse Source #
Create a value of ListPackagingGroupsResponse 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:
ListPackagingGroups, listPackagingGroupsResponse_nextToken - A token that can be used to resume pagination from the end of the
collection.
$sel:packagingGroups:ListPackagingGroupsResponse', listPackagingGroupsResponse_packagingGroups - A list of MediaPackage VOD PackagingGroup resources.
$sel:httpStatus:ListPackagingGroupsResponse', listPackagingGroupsResponse_httpStatus - The response's http status code.
Response Lenses
listPackagingGroupsResponse_nextToken :: Lens' ListPackagingGroupsResponse (Maybe Text) Source #
A token that can be used to resume pagination from the end of the collection.
listPackagingGroupsResponse_packagingGroups :: Lens' ListPackagingGroupsResponse (Maybe [PackagingGroup]) Source #
A list of MediaPackage VOD PackagingGroup resources.
listPackagingGroupsResponse_httpStatus :: Lens' ListPackagingGroupsResponse Int Source #
The response's http status code.