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 |
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_nextToken :: Lens' ListPlaybackKeyPairs (Maybe Text)
- listPlaybackKeyPairs_maxResults :: Lens' ListPlaybackKeyPairs (Maybe Natural)
- 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:nextToken:ListPlaybackKeyPairs'
, listPlaybackKeyPairs_nextToken
- Maximum number of key pairs to return.
$sel:maxResults:ListPlaybackKeyPairs'
, listPlaybackKeyPairs_maxResults
- The first key pair to retrieve. This is used for pagination; see the
nextToken
response field. Default: 50.
Request Lenses
listPlaybackKeyPairs_nextToken :: Lens' ListPlaybackKeyPairs (Maybe Text) Source #
Maximum number of key pairs to return.
listPlaybackKeyPairs_maxResults :: Lens' ListPlaybackKeyPairs (Maybe Natural) Source #
The first key pair to retrieve. This is used for pagination; see the
nextToken
response field. Default: 50.
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:
$sel:nextToken: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.