amazonka-kinesis-video-signaling-2.0: Amazon Kinesis Video Signaling Channels 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.KinesisVideoSignaling.SendAlexaOfferToMaster

Description

This API allows you to connect WebRTC-enabled devices with Alexa display devices. When invoked, it sends the Alexa Session Description Protocol (SDP) offer to the master peer. The offer is delivered as soon as the master is connected to the specified signaling channel. This API returns the SDP answer from the connected master. If the master is not connected to the signaling channel, redelivery requests are made until the message expires.

Synopsis

Creating a Request

data SendAlexaOfferToMaster Source #

See: newSendAlexaOfferToMaster smart constructor.

Constructors

SendAlexaOfferToMaster' 

Fields

Instances

Instances details
ToJSON SendAlexaOfferToMaster Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

ToHeaders SendAlexaOfferToMaster Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

ToPath SendAlexaOfferToMaster Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

ToQuery SendAlexaOfferToMaster Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

AWSRequest SendAlexaOfferToMaster Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

Associated Types

type AWSResponse SendAlexaOfferToMaster #

Generic SendAlexaOfferToMaster Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

Associated Types

type Rep SendAlexaOfferToMaster :: Type -> Type #

Read SendAlexaOfferToMaster Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

Show SendAlexaOfferToMaster Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

NFData SendAlexaOfferToMaster Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

Methods

rnf :: SendAlexaOfferToMaster -> () #

Eq SendAlexaOfferToMaster Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

Hashable SendAlexaOfferToMaster Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

type AWSResponse SendAlexaOfferToMaster Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

type Rep SendAlexaOfferToMaster Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

type Rep SendAlexaOfferToMaster = D1 ('MetaData "SendAlexaOfferToMaster" "Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster" "amazonka-kinesis-video-signaling-2.0-4XN7Yx1E1cS9Ym8RNXTClf" 'False) (C1 ('MetaCons "SendAlexaOfferToMaster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "senderClientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "messagePayload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newSendAlexaOfferToMaster Source #

Create a value of SendAlexaOfferToMaster 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:channelARN:SendAlexaOfferToMaster', sendAlexaOfferToMaster_channelARN - The ARN of the signaling channel by which Alexa and the master peer communicate.

$sel:senderClientId:SendAlexaOfferToMaster', sendAlexaOfferToMaster_senderClientId - The unique identifier for the sender client.

$sel:messagePayload:SendAlexaOfferToMaster', sendAlexaOfferToMaster_messagePayload - The base64-encoded SDP offer content.

Request Lenses

sendAlexaOfferToMaster_channelARN :: Lens' SendAlexaOfferToMaster Text Source #

The ARN of the signaling channel by which Alexa and the master peer communicate.

sendAlexaOfferToMaster_senderClientId :: Lens' SendAlexaOfferToMaster Text Source #

The unique identifier for the sender client.

Destructuring the Response

data SendAlexaOfferToMasterResponse Source #

See: newSendAlexaOfferToMasterResponse smart constructor.

Constructors

SendAlexaOfferToMasterResponse' 

Fields

Instances

Instances details
Generic SendAlexaOfferToMasterResponse Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

Associated Types

type Rep SendAlexaOfferToMasterResponse :: Type -> Type #

Read SendAlexaOfferToMasterResponse Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

Show SendAlexaOfferToMasterResponse Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

NFData SendAlexaOfferToMasterResponse Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

Eq SendAlexaOfferToMasterResponse Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

type Rep SendAlexaOfferToMasterResponse Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster

type Rep SendAlexaOfferToMasterResponse = D1 ('MetaData "SendAlexaOfferToMasterResponse" "Amazonka.KinesisVideoSignaling.SendAlexaOfferToMaster" "amazonka-kinesis-video-signaling-2.0-4XN7Yx1E1cS9Ym8RNXTClf" 'False) (C1 ('MetaCons "SendAlexaOfferToMasterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "answer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSendAlexaOfferToMasterResponse Source #

Create a value of SendAlexaOfferToMasterResponse 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:answer:SendAlexaOfferToMasterResponse', sendAlexaOfferToMasterResponse_answer - The base64-encoded SDP answer content.

$sel:httpStatus:SendAlexaOfferToMasterResponse', sendAlexaOfferToMasterResponse_httpStatus - The response's http status code.

Response Lenses