amazonka-ivs-2.0: Amazon Interactive Video Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • name :: Maybe Text

    Playback-key-pair name. The value does not need to be unique.

  • tags :: Maybe (HashMap Text Text)

    Any tags provided with the request are added to the playback key pair tags. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.

  • publicKeyMaterial :: Text

    The public portion of a customer-generated key pair.

Instances

Instances details
ToJSON ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.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

AWSRequest ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Associated Types

type AWSResponse ImportPlaybackKeyPair #

Generic ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Associated Types

type Rep ImportPlaybackKeyPair :: Type -> Type #

Read ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Show ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

NFData ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Methods

rnf :: ImportPlaybackKeyPair -> () #

Eq ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Hashable ImportPlaybackKeyPair Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

type AWSResponse 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" "amazonka-ivs-2.0-1XuGgGDxNXQ7UL2Yr5LhmE" '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))))

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:

ImportPlaybackKeyPair, importPlaybackKeyPair_name - Playback-key-pair name. The value does not need to be unique.

ImportPlaybackKeyPair, importPlaybackKeyPair_tags - Any tags provided with the request are added to the playback key pair tags. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.

$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. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.

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
Generic ImportPlaybackKeyPairResponse Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Associated Types

type Rep ImportPlaybackKeyPairResponse :: Type -> Type #

Read ImportPlaybackKeyPairResponse Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Show ImportPlaybackKeyPairResponse Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

NFData ImportPlaybackKeyPairResponse Source # 
Instance details

Defined in Amazonka.IVS.ImportPlaybackKeyPair

Eq 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" "amazonka-ivs-2.0-1XuGgGDxNXQ7UL2Yr5LhmE" '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