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