Skip to content

/AWS1/CL_KNV=>GETDATAENDPOINT()

About GetDataEndpoint

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.

Method Signature

IMPORTING

Required arguments:

IV_APINAME TYPE /AWS1/KNVAPINAME /AWS1/KNVAPINAME

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

Optional arguments:

IV_STREAMNAME TYPE /AWS1/KNVSTREAMNAME /AWS1/KNVSTREAMNAME

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.

IV_STREAMARN TYPE /AWS1/KNVRESOURCEARN /AWS1/KNVRESOURCEARN

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_KNVGETDATAENDPTOUTPUT /AWS1/CL_KNVGETDATAENDPTOUTPUT