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 list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.
This operation returns paginated results.
Synopsis
- data ListPlaybackConfigurations = ListPlaybackConfigurations' {}
- newListPlaybackConfigurations :: ListPlaybackConfigurations
- listPlaybackConfigurations_nextToken :: Lens' ListPlaybackConfigurations (Maybe Text)
- listPlaybackConfigurations_maxResults :: Lens' ListPlaybackConfigurations (Maybe Natural)
- data ListPlaybackConfigurationsResponse = ListPlaybackConfigurationsResponse' {
- items :: Maybe [PlaybackConfiguration]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListPlaybackConfigurationsResponse :: Int -> ListPlaybackConfigurationsResponse
- listPlaybackConfigurationsResponse_items :: Lens' ListPlaybackConfigurationsResponse (Maybe [PlaybackConfiguration])
- listPlaybackConfigurationsResponse_nextToken :: Lens' ListPlaybackConfigurationsResponse (Maybe Text)
- listPlaybackConfigurationsResponse_httpStatus :: Lens' ListPlaybackConfigurationsResponse Int
Creating a Request
data ListPlaybackConfigurations Source #
See: newListPlaybackConfigurations
smart constructor.
Instances
newListPlaybackConfigurations :: ListPlaybackConfigurations Source #
Create a value of ListPlaybackConfigurations
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:ListPlaybackConfigurations'
, listPlaybackConfigurations_nextToken
- Pagination token returned by the GET list request when results exceed
the maximum allowed. Use the token to fetch the next page of results.
$sel:maxResults:ListPlaybackConfigurations'
, listPlaybackConfigurations_maxResults
- Maximum number of records to return.
Request Lenses
listPlaybackConfigurations_nextToken :: Lens' ListPlaybackConfigurations (Maybe Text) Source #
Pagination token returned by the GET list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
listPlaybackConfigurations_maxResults :: Lens' ListPlaybackConfigurations (Maybe Natural) Source #
Maximum number of records to return.
Destructuring the Response
data ListPlaybackConfigurationsResponse Source #
See: newListPlaybackConfigurationsResponse
smart constructor.
ListPlaybackConfigurationsResponse' | |
|
Instances
newListPlaybackConfigurationsResponse Source #
Create a value of ListPlaybackConfigurationsResponse
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:ListPlaybackConfigurationsResponse'
, listPlaybackConfigurationsResponse_items
- Array of playback configurations. This might be all the available
configurations or a subset, depending on the settings that you provide
and the total number of configurations stored.
$sel:nextToken:ListPlaybackConfigurations'
, listPlaybackConfigurationsResponse_nextToken
- Pagination token returned by the GET list request when results exceed
the maximum allowed. Use the token to fetch the next page of results.
$sel:httpStatus:ListPlaybackConfigurationsResponse'
, listPlaybackConfigurationsResponse_httpStatus
- The response's http status code.
Response Lenses
listPlaybackConfigurationsResponse_items :: Lens' ListPlaybackConfigurationsResponse (Maybe [PlaybackConfiguration]) Source #
Array of playback configurations. This might be all the available configurations or a subset, depending on the settings that you provide and the total number of configurations stored.
listPlaybackConfigurationsResponse_nextToken :: Lens' ListPlaybackConfigurationsResponse (Maybe Text) Source #
Pagination token returned by the GET list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
listPlaybackConfigurationsResponse_httpStatus :: Lens' ListPlaybackConfigurationsResponse Int Source #
The response's http status code.