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 a specified playback authorization key pair and returns the arn
and fingerprint
. The privateKey
held by the caller can be used to
generate viewer authorization tokens, to grant viewers access to private
channels. For more information, see
Setting Up Private Channels
in the Amazon IVS User Guide.
Synopsis
- data GetPlaybackKeyPair = GetPlaybackKeyPair' {}
- newGetPlaybackKeyPair :: Text -> GetPlaybackKeyPair
- getPlaybackKeyPair_arn :: Lens' GetPlaybackKeyPair Text
- data GetPlaybackKeyPairResponse = GetPlaybackKeyPairResponse' {}
- newGetPlaybackKeyPairResponse :: Int -> GetPlaybackKeyPairResponse
- getPlaybackKeyPairResponse_keyPair :: Lens' GetPlaybackKeyPairResponse (Maybe PlaybackKeyPair)
- getPlaybackKeyPairResponse_httpStatus :: Lens' GetPlaybackKeyPairResponse Int
Creating a Request
data GetPlaybackKeyPair Source #
See: newGetPlaybackKeyPair
smart constructor.
Instances
newGetPlaybackKeyPair Source #
Create a value of GetPlaybackKeyPair
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:arn:GetPlaybackKeyPair'
, getPlaybackKeyPair_arn
- ARN of the key pair to be returned.
Request Lenses
getPlaybackKeyPair_arn :: Lens' GetPlaybackKeyPair Text Source #
ARN of the key pair to be returned.
Destructuring the Response
data GetPlaybackKeyPairResponse Source #
See: newGetPlaybackKeyPairResponse
smart constructor.
GetPlaybackKeyPairResponse' | |
|
Instances
newGetPlaybackKeyPairResponse Source #
Create a value of GetPlaybackKeyPairResponse
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:keyPair:GetPlaybackKeyPairResponse'
, getPlaybackKeyPairResponse_keyPair
-
$sel:httpStatus:GetPlaybackKeyPairResponse'
, getPlaybackKeyPairResponse_httpStatus
- The response's http status code.
Response Lenses
getPlaybackKeyPairResponse_keyPair :: Lens' GetPlaybackKeyPairResponse (Maybe PlaybackKeyPair) Source #
getPlaybackKeyPairResponse_httpStatus :: Lens' GetPlaybackKeyPairResponse Int Source #
The response's http status code.