libZSservicesZSamazonka-kinesis-video-signalingZSamazonka-kinesis-video-signaling
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.KinesisVideoSignaling.GetIceServerConfig

Description

Gets the Interactive Connectivity Establishment (ICE) server configuration information, including URIs, username, and password which can be used to configure the WebRTC connection. The ICE component uses this configuration information to setup the WebRTC connection, including authenticating with the Traversal Using Relays around NAT (TURN) relay server.

TURN is a protocol that is used to improve the connectivity of peer-to-peer applications. By providing a cloud-based relay service, TURN ensures that a connection can be established even when one or more peers are incapable of a direct peer-to-peer connection. For more information, see A REST API For Access To TURN Services.

You can invoke this API to establish a fallback mechanism in case either of the peers is unable to establish a direct peer-to-peer connection over a signaling channel. You must specify either a signaling channel ARN or the client ID in order to invoke this API.

Synopsis

Creating a Request

data GetIceServerConfig Source #

See: newGetIceServerConfig smart constructor.

Constructors

GetIceServerConfig' 

Fields

  • clientId :: Maybe Text

    Unique identifier for the viewer. Must be unique within the signaling channel.

  • service :: Maybe Service

    Specifies the desired service. Currently, TURN is the only valid value.

  • username :: Maybe Text

    An optional user ID to be associated with the credentials.

  • channelARN :: Text

    The ARN of the signaling channel to be used for the peer-to-peer connection between configured peers.

Instances

Instances details
Eq GetIceServerConfig Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

Read GetIceServerConfig Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

Show GetIceServerConfig Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

Generic GetIceServerConfig Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

Associated Types

type Rep GetIceServerConfig :: Type -> Type #

NFData GetIceServerConfig Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

Methods

rnf :: GetIceServerConfig -> () #

Hashable GetIceServerConfig Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

ToJSON GetIceServerConfig Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

AWSRequest GetIceServerConfig Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

Associated Types

type AWSResponse GetIceServerConfig #

ToHeaders GetIceServerConfig Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

ToPath GetIceServerConfig Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

ToQuery GetIceServerConfig Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

type Rep GetIceServerConfig Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

type Rep GetIceServerConfig = D1 ('MetaData "GetIceServerConfig" "Amazonka.KinesisVideoSignaling.GetIceServerConfig" "libZSservicesZSamazonka-kinesis-video-signalingZSamazonka-kinesis-video-signaling" 'False) (C1 ('MetaCons "GetIceServerConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Service))) :*: (S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "channelARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetIceServerConfig Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

newGetIceServerConfig Source #

Create a value of GetIceServerConfig 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:clientId:GetIceServerConfig', getIceServerConfig_clientId - Unique identifier for the viewer. Must be unique within the signaling channel.

$sel:service:GetIceServerConfig', getIceServerConfig_service - Specifies the desired service. Currently, TURN is the only valid value.

$sel:username:GetIceServerConfig', getIceServerConfig_username - An optional user ID to be associated with the credentials.

$sel:channelARN:GetIceServerConfig', getIceServerConfig_channelARN - The ARN of the signaling channel to be used for the peer-to-peer connection between configured peers.

Request Lenses

getIceServerConfig_clientId :: Lens' GetIceServerConfig (Maybe Text) Source #

Unique identifier for the viewer. Must be unique within the signaling channel.

getIceServerConfig_service :: Lens' GetIceServerConfig (Maybe Service) Source #

Specifies the desired service. Currently, TURN is the only valid value.

getIceServerConfig_username :: Lens' GetIceServerConfig (Maybe Text) Source #

An optional user ID to be associated with the credentials.

getIceServerConfig_channelARN :: Lens' GetIceServerConfig Text Source #

The ARN of the signaling channel to be used for the peer-to-peer connection between configured peers.

Destructuring the Response

data GetIceServerConfigResponse Source #

See: newGetIceServerConfigResponse smart constructor.

Constructors

GetIceServerConfigResponse' 

Fields

Instances

Instances details
Eq GetIceServerConfigResponse Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

Read GetIceServerConfigResponse Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

Show GetIceServerConfigResponse Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

Generic GetIceServerConfigResponse Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

Associated Types

type Rep GetIceServerConfigResponse :: Type -> Type #

NFData GetIceServerConfigResponse Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

type Rep GetIceServerConfigResponse Source # 
Instance details

Defined in Amazonka.KinesisVideoSignaling.GetIceServerConfig

type Rep GetIceServerConfigResponse = D1 ('MetaData "GetIceServerConfigResponse" "Amazonka.KinesisVideoSignaling.GetIceServerConfig" "libZSservicesZSamazonka-kinesis-video-signalingZSamazonka-kinesis-video-signaling" 'False) (C1 ('MetaCons "GetIceServerConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iceServerList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [IceServer])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetIceServerConfigResponse Source #

Create a value of GetIceServerConfigResponse 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:iceServerList:GetIceServerConfigResponse', getIceServerConfigResponse_iceServerList - The list of ICE server information objects.

$sel:httpStatus:GetIceServerConfigResponse', getIceServerConfigResponse_httpStatus - The response's http status code.

Response Lenses