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 |
Imports the public portion of a new key pair and returns its arn
and
fingerprint
. The privateKey
can then 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 ImportPlaybackKeyPair = ImportPlaybackKeyPair' {}
- newImportPlaybackKeyPair :: Text -> ImportPlaybackKeyPair
- importPlaybackKeyPair_name :: Lens' ImportPlaybackKeyPair (Maybe Text)
- importPlaybackKeyPair_tags :: Lens' ImportPlaybackKeyPair (Maybe (HashMap Text Text))
- importPlaybackKeyPair_publicKeyMaterial :: Lens' ImportPlaybackKeyPair Text
- data ImportPlaybackKeyPairResponse = ImportPlaybackKeyPairResponse' {}
- newImportPlaybackKeyPairResponse :: Int -> ImportPlaybackKeyPairResponse
- importPlaybackKeyPairResponse_keyPair :: Lens' ImportPlaybackKeyPairResponse (Maybe PlaybackKeyPair)
- importPlaybackKeyPairResponse_httpStatus :: Lens' ImportPlaybackKeyPairResponse Int
Creating a Request
data ImportPlaybackKeyPair Source #
See: newImportPlaybackKeyPair
smart constructor.
Instances
newImportPlaybackKeyPair Source #
Create a value of ImportPlaybackKeyPair
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:name:ImportPlaybackKeyPair'
, importPlaybackKeyPair_name
- Playback-key-pair name. The value does not need to be unique.
$sel:tags:ImportPlaybackKeyPair'
, importPlaybackKeyPair_tags
- Any tags provided with the request are added to the playback key pair
tags.
$sel:publicKeyMaterial:ImportPlaybackKeyPair'
, importPlaybackKeyPair_publicKeyMaterial
- The public portion of a customer-generated key pair.
Request Lenses
importPlaybackKeyPair_name :: Lens' ImportPlaybackKeyPair (Maybe Text) Source #
Playback-key-pair name. The value does not need to be unique.
importPlaybackKeyPair_tags :: Lens' ImportPlaybackKeyPair (Maybe (HashMap Text Text)) Source #
Any tags provided with the request are added to the playback key pair tags.
importPlaybackKeyPair_publicKeyMaterial :: Lens' ImportPlaybackKeyPair Text Source #
The public portion of a customer-generated key pair.
Destructuring the Response
data ImportPlaybackKeyPairResponse Source #
See: newImportPlaybackKeyPairResponse
smart constructor.
ImportPlaybackKeyPairResponse' | |
|
Instances
newImportPlaybackKeyPairResponse Source #
Create a value of ImportPlaybackKeyPairResponse
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:ImportPlaybackKeyPairResponse'
, importPlaybackKeyPairResponse_keyPair
-
$sel:httpStatus:ImportPlaybackKeyPairResponse'
, importPlaybackKeyPairResponse_httpStatus
- The response's http status code.
Response Lenses
importPlaybackKeyPairResponse_keyPair :: Lens' ImportPlaybackKeyPairResponse (Maybe PlaybackKeyPair) Source #
importPlaybackKeyPairResponse_httpStatus :: Lens' ImportPlaybackKeyPairResponse Int Source #
The response's http status code.