{ "version": "2.0", "metadata": { "apiVersion": "2019-12-04", "endpointPrefix": "kinesisvideo", "protocol": "rest-json", "serviceAbbreviation": "Amazon Kinesis Video Signaling Channels", "serviceFullName": "Amazon Kinesis Video Signaling Channels", "serviceId": "Kinesis Video Signaling", "signatureVersion": "v4", "uid": "kinesis-video-signaling-2019-12-04" }, "operations": { "GetIceServerConfig": { "name": "GetIceServerConfig", "http": { "method": "POST", "requestUri": "/v1/get-ice-server-config" }, "input": { "shape": "GetIceServerConfigRequest" }, "output": { "shape": "GetIceServerConfigResponse" }, "errors": [ { "shape": "InvalidClientException" }, { "shape": "SessionExpiredException" }, { "shape": "ClientLimitExceededException" }, { "shape": "ResourceNotFoundException" }, { "shape": "InvalidArgumentException" }, { "shape": "NotAuthorizedException" } ], "documentation": "
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.
" }, "SendAlexaOfferToMaster": { "name": "SendAlexaOfferToMaster", "http": { "method": "POST", "requestUri": "/v1/send-alexa-offer-to-master" }, "input": { "shape": "SendAlexaOfferToMasterRequest" }, "output": { "shape": "SendAlexaOfferToMasterResponse" }, "errors": [ { "shape": "ClientLimitExceededException" }, { "shape": "ResourceNotFoundException" }, { "shape": "InvalidArgumentException" }, { "shape": "NotAuthorizedException" } ], "documentation": "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.
" } }, "shapes": { "Answer": { "type": "string", "max": 10000, "min": 1 }, "ClientId": { "type": "string", "max": 256, "min": 1, "pattern": "[a-zA-Z0-9_.-]+" }, "GetIceServerConfigRequest": { "type": "structure", "required": [ "ChannelARN" ], "members": { "ChannelARN": { "shape": "ResourceARN", "documentation": "The ARN of the signaling channel to be used for the peer-to-peer connection between configured peers.
" }, "ClientId": { "shape": "ClientId", "documentation": "Unique identifier for the viewer. Must be unique within the signaling channel.
" }, "Service": { "shape": "Service", "documentation": "Specifies the desired service. Currently, TURN
is the only valid value.
An optional user ID to be associated with the credentials.
" } } }, "GetIceServerConfigResponse": { "type": "structure", "members": { "IceServerList": { "shape": "IceServerList", "documentation": "The list of ICE server information objects.
" } } }, "IceServer": { "type": "structure", "members": { "Uris": { "shape": "Uris", "documentation": "An array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris spec. These URIs provide the different addresses and/or protocols that can be used to reach the TURN server.
" }, "Username": { "shape": "Username", "documentation": "A username to login to the ICE server.
" }, "Password": { "shape": "Password", "documentation": "A password to login to the ICE server.
" }, "Ttl": { "shape": "Ttl", "documentation": "The period of time, in seconds, during which the username and password are valid.
" } }, "documentation": "A structure for the ICE server connection data.
" }, "IceServerList": { "type": "list", "member": { "shape": "IceServer" } }, "MessagePayload": { "type": "string", "max": 10000, "min": 1, "pattern": "[a-zA-Z0-9+/=]+" }, "Password": { "type": "string", "max": 256, "min": 1, "pattern": "[a-zA-Z0-9_.-]+" }, "ResourceARN": { "type": "string", "max": 1024, "min": 1, "pattern": "arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+" }, "SendAlexaOfferToMasterRequest": { "type": "structure", "required": [ "ChannelARN", "SenderClientId", "MessagePayload" ], "members": { "ChannelARN": { "shape": "ResourceARN", "documentation": "The ARN of the signaling channel by which Alexa and the master peer communicate.
" }, "SenderClientId": { "shape": "ClientId", "documentation": "The unique identifier for the sender client.
" }, "MessagePayload": { "shape": "MessagePayload", "documentation": "The base64-encoded SDP offer content.
" } } }, "SendAlexaOfferToMasterResponse": { "type": "structure", "members": { "Answer": { "shape": "Answer", "documentation": "The base64-encoded SDP answer content.
" } } }, "Service": { "type": "string", "enum": [ "TURN" ] }, "Ttl": { "type": "integer", "max": 86400, "min": 30 }, "Uri": { "type": "string", "max": 256, "min": 1 }, "Uris": { "type": "list", "member": { "shape": "Uri" } }, "Username": { "type": "string", "max": 256, "min": 1, "pattern": "[a-zA-Z0-9_.-]+" } }, "documentation": "Kinesis Video Streams Signaling Service is a intermediate service that establishes a communication channel for discovering peers, transmitting offers and answers in order to establish peer-to-peer connection in webRTC technology.
" }