libZSservicesZSamazonka-ivsZSamazonka-ivs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IVS.ImportPlaybackKeyPair

Description

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

Creating a Request

data ImportPlaybackKeyPair Source #

See: newImportPlaybackKeyPair smart constructor.

Constructors

ImportPlaybackKeyPair' 

Fields

Instances

Instances details
Eq ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Read ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Show ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Generic ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Associated Types

type Rep ImportPlaybackKeyPair :: Type -> Type #

NFData ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Methods

rnf :: ImportPlaybackKeyPair -> () #

Hashable ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

ToJSON ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

AWSRequest ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Associated Types

type AWSResponse ImportPlaybackKeyPair #

ToHeaders ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

ToPath ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

ToQuery ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

type Rep ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

type Rep ImportPlaybackKeyPair = D1 ('MetaData "ImportPlaybackKeyPair" "Amazonka.IVS.ImportPlaybackKeyPair" "libZSservicesZSamazonka-ivsZSamazonka-ivs" 'False) (C1 ('MetaCons "ImportPlaybackKeyPair'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "publicKeyMaterial") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

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.

Constructors

ImportPlaybackKeyPairResponse' 

Fields

Instances

Instances details
Eq ImportPlaybackKeyPairResponse Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Read ImportPlaybackKeyPairResponse Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Show ImportPlaybackKeyPairResponse Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Generic ImportPlaybackKeyPairResponse Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Associated Types

type Rep ImportPlaybackKeyPairResponse :: Type -> Type #

NFData ImportPlaybackKeyPairResponse Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

type Rep ImportPlaybackKeyPairResponse Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

type Rep ImportPlaybackKeyPairResponse = D1 ('MetaData "ImportPlaybackKeyPairResponse" "Amazonka.IVS.ImportPlaybackKeyPair" "libZSservicesZSamazonka-ivsZSamazonka-ivs" 'False) (C1 ('MetaCons "ImportPlaybackKeyPairResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyPair") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PlaybackKeyPair)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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