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 |
Gets summary information about playback key pairs. For more information, see Setting Up Private Channels in the Amazon IVS User Guide.
This operation returns paginated results.
Synopsis
- data ListPlaybackKeyPairs = ListPlaybackKeyPairs' {}
- newListPlaybackKeyPairs :: ListPlaybackKeyPairs
- listPlaybackKeyPairs_maxResults :: Lens' ListPlaybackKeyPairs (Maybe Natural)
- listPlaybackKeyPairs_nextToken :: Lens' ListPlaybackKeyPairs (Maybe Text)
- data ListPlaybackKeyPairsResponse = ListPlaybackKeyPairsResponse' {}
- newListPlaybackKeyPairsResponse :: Int -> ListPlaybackKeyPairsResponse
- listPlaybackKeyPairsResponse_nextToken :: Lens' ListPlaybackKeyPairsResponse (Maybe Text)
- listPlaybackKeyPairsResponse_httpStatus :: Lens' ListPlaybackKeyPairsResponse Int
- listPlaybackKeyPairsResponse_keyPairs :: Lens' ListPlaybackKeyPairsResponse [PlaybackKeyPairSummary]
Creating a Request
data ListPlaybackKeyPairs Source #
See: newListPlaybackKeyPairs
smart constructor.
Instances
newListPlaybackKeyPairs :: ListPlaybackKeyPairs Source #
Create a value of ListPlaybackKeyPairs
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:ListPlaybackKeyPairs'
, listPlaybackKeyPairs_maxResults
- Maximum number of key pairs to return. Default: your service quota or
100, whichever is smaller.
ListPlaybackKeyPairs
, listPlaybackKeyPairs_nextToken
- The first key pair to retrieve. This is used for pagination; see the
nextToken
response field.
Request Lenses
listPlaybackKeyPairs_maxResults :: Lens' ListPlaybackKeyPairs (Maybe Natural) Source #
Maximum number of key pairs to return. Default: your service quota or 100, whichever is smaller.
listPlaybackKeyPairs_nextToken :: Lens' ListPlaybackKeyPairs (Maybe Text) Source #
The first key pair to retrieve. This is used for pagination; see the
nextToken
response field.
Destructuring the Response
data ListPlaybackKeyPairsResponse Source #
See: newListPlaybackKeyPairsResponse
smart constructor.
ListPlaybackKeyPairsResponse' | |
|
Instances
newListPlaybackKeyPairsResponse Source #
Create a value of ListPlaybackKeyPairsResponse
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:
ListPlaybackKeyPairs
, listPlaybackKeyPairsResponse_nextToken
- If there are more key pairs than maxResults
, use nextToken
in the
request to get the next set.
$sel:httpStatus:ListPlaybackKeyPairsResponse'
, listPlaybackKeyPairsResponse_httpStatus
- The response's http status code.
$sel:keyPairs:ListPlaybackKeyPairsResponse'
, listPlaybackKeyPairsResponse_keyPairs
- List of key pairs.
Response Lenses
listPlaybackKeyPairsResponse_nextToken :: Lens' ListPlaybackKeyPairsResponse (Maybe Text) Source #
If there are more key pairs than maxResults
, use nextToken
in the
request to get the next set.
listPlaybackKeyPairsResponse_httpStatus :: Lens' ListPlaybackKeyPairsResponse Int Source #
The response's http status code.
listPlaybackKeyPairsResponse_keyPairs :: Lens' ListPlaybackKeyPairsResponse [PlaybackKeyPairSummary] Source #
List of key pairs.