Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . kinesisvideo ]

get-data-endpoint

Description

Gets an endpoint for a specified stream for either reading or writing. Use this endpoint in your application to read from the specified stream (using the GetMedia or GetMediaForFragmentList operations) or write to it (using the PutMedia operation).

Note

The returned endpoint does not have the API name appended. The client needs to add the API name to the returned endpoint.

In the request, specify the stream either by stream-name or StreamARN .

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  get-data-endpoint
[--stream-name <value>]
[--stream-arn <value>]
--api-name <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--stream-name (string)

The name of the stream that you want to get the endpoint for. You must specify either this parameter or a StreamARN in the request.

--stream-arn (string)

The Amazon Resource Name (ARN) of the stream that you want to get the endpoint for. You must specify either this parameter or a stream-name in the request.

--api-name (string)

The name of the API action for which to get an endpoint.

Possible values:

  • PUT_MEDIA
  • GET_MEDIA
  • LIST_FRAGMENTS
  • GET_MEDIA_FOR_FRAGMENT_LIST
  • GET_HLS_STREAMING_SESSION_URL

--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.

--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.

See 'aws help' for descriptions of global parameters.

Output

DataEndpoint -> (string)

The endpoint value. To read data from the stream or to write data to it, specify this endpoint in your application.