[ aws . kinesisvideo ]
Provides an endpoint for the specified signaling channel to send and receive messages. This API uses the SingleMasterChannelEndpointConfiguration
input parameter, which consists of the Protocols
and Role
properties.
Protocols
is used to determine the communication mechanism. For example, if you specifyWSS
as the protocol, this API produces a secure websocket endpoint. If you specifyHTTPS
as the protocol, this API generates an HTTPS endpoint.
Role
determines the messaging permissions. AMASTER
role results in this API generating an endpoint that a client can use to communicate with any of the viewers on the channel. AVIEWER
role results in this API generating an endpoint that a client can use to communicate only with aMASTER
.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
get-signaling-channel-endpoint
--channel-arn <value>
[--single-master-channel-endpoint-configuration <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--channel-arn
(string)
The Amazon Resource Name (ARN) of the signalling channel for which you want to get an endpoint.
--single-master-channel-endpoint-configuration
(structure)
A structure containing the endpoint configuration for the
SINGLE_MASTER
channel type.Protocols -> (list)
This property is used to determine the nature of communication over this
SINGLE_MASTER
signaling channel. IfWSS
is specified, this API returns a websocket endpoint. IfHTTPS
is specified, this API returns anHTTPS
endpoint.(string)
Role -> (string)
This property is used to determine messaging permissions in this
SINGLE_MASTER
signaling channel. IfMASTER
is 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. IfVIEWER
is specified, this API returns an endpoint that a client can use only to send offers to anotherMASTER
client on this signaling channel.
Shorthand Syntax:
Protocols=string,string,Role=string
JSON Syntax:
{
"Protocols": ["WSS"|"HTTPS", ...],
"Role": "MASTER"|"VIEWER"
}
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
See ‘aws help’ for descriptions of global parameters.
ResourceEndpointList -> (list)
A list of endpoints for the specified signaling channel.
(structure)
An object that describes the endpoint of the signaling channel returned by the
GetSignalingChannelEndpoint
API.Protocol -> (string)
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint
API.ResourceEndpoint -> (string)
The endpoint of the signaling channel returned by the
GetSignalingChannelEndpoint
API.