KinesisVideo / Client / get_signaling_channel_endpoint
get_signaling_channel_endpoint#
- KinesisVideo.Client.get_signaling_channel_endpoint(**kwargs)#
- Provides an endpoint for the specified signaling channel to send and receive messages. This API uses the - SingleMasterChannelEndpointConfigurationinput parameter, which consists of the- Protocolsand- Roleproperties.- Protocolsis used to determine the communication mechanism. For example, if you specify- WSSas the protocol, this API produces a secure websocket endpoint. If you specify- HTTPSas the protocol, this API generates an HTTPS endpoint.- Roledetermines the messaging permissions. A- MASTERrole results in this API generating an endpoint that a client can use to communicate with any of the viewers on the channel. A- VIEWERrole results in this API generating an endpoint that a client can use to communicate only with a- MASTER.- See also: AWS API Documentation - Request Syntax- response = client.get_signaling_channel_endpoint( ChannelARN='string', SingleMasterChannelEndpointConfiguration={ 'Protocols': [ 'WSS'|'HTTPS'|'WEBRTC', ], 'Role': 'MASTER'|'VIEWER' } ) - Parameters:
- ChannelARN (string) – - [REQUIRED] - The Amazon Resource Name (ARN) of the signalling channel for which you want to get an endpoint. 
- SingleMasterChannelEndpointConfiguration (dict) – - A structure containing the endpoint configuration for the - SINGLE_MASTERchannel type.- Protocols (list) – - This property is used to determine the nature of communication over this - SINGLE_MASTERsignaling channel. If- WSSis specified, this API returns a websocket endpoint. If- HTTPSis specified, this API returns an- HTTPSendpoint.- (string) – 
 
- Role (string) – - This property is used to determine messaging permissions in this - SINGLE_MASTERsignaling channel. If- MASTERis specified, this API returns an endpoint that a client can use to receive offers from and send answers to any of the viewers on this signaling channel. If- VIEWERis specified, this API returns an endpoint that a client can use only to send offers to another- MASTERclient on this signaling channel.
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'ResourceEndpointList': [ { 'Protocol': 'WSS'|'HTTPS'|'WEBRTC', 'ResourceEndpoint': 'string' }, ] } - Response Structure- (dict) – - ResourceEndpointList (list) – - A list of endpoints for the specified signaling channel. - (dict) – - An object that describes the endpoint of the signaling channel returned by the - GetSignalingChannelEndpointAPI.- The media server endpoint will correspond to the - WEBRTCProtocol.- Protocol (string) – - The protocol of the signaling channel returned by the - GetSignalingChannelEndpointAPI.
- ResourceEndpoint (string) – - The endpoint of the signaling channel returned by the - GetSignalingChannelEndpointAPI.
 
 
 
 
 - Exceptions- KinesisVideo.Client.exceptions.InvalidArgumentException
- KinesisVideo.Client.exceptions.ClientLimitExceededException
- KinesisVideo.Client.exceptions.ResourceNotFoundException
- KinesisVideo.Client.exceptions.ResourceInUseException
- KinesisVideo.Client.exceptions.AccessDeniedException