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 |
Retrieves existing playback configurations. For information about MediaTailor configurations, see Working with Configurations in AWS Elemental MediaTailor.
This operation returns paginated results.
Synopsis
- data ListPlaybackConfigurations = ListPlaybackConfigurations' {}
- newListPlaybackConfigurations :: ListPlaybackConfigurations
- listPlaybackConfigurations_maxResults :: Lens' ListPlaybackConfigurations (Maybe Natural)
- listPlaybackConfigurations_nextToken :: Lens' ListPlaybackConfigurations (Maybe Text)
- 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.
ListPlaybackConfigurations' | |
|
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:maxResults:ListPlaybackConfigurations'
, listPlaybackConfigurations_maxResults
- The maximum number of playback configurations that you want MediaTailor
to return in response to the current request. If there are more than
MaxResults
playback configurations, use the value of NextToken
in
the response to get the next page of results.
ListPlaybackConfigurations
, listPlaybackConfigurations_nextToken
- Pagination token returned by the list request when results exceed the
maximum allowed. Use the token to fetch the next page of results.
Request Lenses
listPlaybackConfigurations_maxResults :: Lens' ListPlaybackConfigurations (Maybe Natural) Source #
The maximum number of playback configurations that you want MediaTailor
to return in response to the current request. If there are more than
MaxResults
playback configurations, use the value of NextToken
in
the response to get the next page of results.
listPlaybackConfigurations_nextToken :: Lens' ListPlaybackConfigurations (Maybe Text) Source #
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
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.
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.