v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1428150135.9 KB

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

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 StreamName or StreamARN.

post/getDataEndpoint

Request body

StreamNamestring

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

StreamARNstring

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

APIName'PUT_MEDIA' | 'GET_MEDIA' | 'LIST_FRAGMENTS' | 'GET_MEDIA_FOR_FRAGMENT_LIST' | 'GET_HLS_STREAMING_SESSION_URL' | 'GET_DASH_STREAMING_SESSION_URL' | 'GET_CLIP' | 'GET_IMAGES' required

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

Response

Success

DataEndpointstring

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