AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.
[ 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.
Protocolsis used to determine the communication mechanism. For example, if you specifyWSSas the protocol, this API produces a secure websocket endpoint. If you specifyHTTPSas the protocol, this API generates an HTTPS endpoint.
Roledetermines the messaging permissions. AMASTERrole results in this API generating an endpoint that a client can use to communicate with any of the viewers on the channel. AVIEWERrole results in this API generating an endpoint that a client can use to communicate only with aMASTER.
See also: AWS API Documentation
get-signaling-channel-endpoint
--channel-arn <value>
[--single-master-channel-endpoint-configuration <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <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_MASTERchannel type.Protocols -> (list)
This property is used to determine the nature of communication over this
SINGLE_MASTERsignaling channel. IfWSSis specified, this API returns a websocket endpoint. IfHTTPSis specified, this API returns anHTTPSendpoint.(string)
Role -> (string)
This property is used to determine messaging permissions in thisSINGLE_MASTERsignaling channel. IfMASTERis 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. IfVIEWERis specified, this API returns an endpoint that a client can use only to send offers to anotherMASTERclient on this signaling channel.
Shorthand Syntax:
Protocols=string,string,Role=string
JSON Syntax:
{
"Protocols": ["WSS"|"HTTPS"|"WEBRTC", ...],
"Role": "MASTER"|"VIEWER"
}
--cli-input-json (string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI 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.
--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. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
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
GetSignalingChannelEndpointAPI.The media server endpoint will correspond to the
WEBRTCProtocol.Protocol -> (string)
The protocol of the signaling channel returned by theGetSignalingChannelEndpointAPI.ResourceEndpoint -> (string)
The endpoint of the signaling channel returned by theGetSignalingChannelEndpointAPI.