AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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
The returned endpoint does not have the API name appended. The client needs to add
the API name to the returned endpoint.
GetMedia
or
GetMediaForFragmentList
operations) or write to it (using the PutMedia
operation).
In the request, specify the stream either by StreamName
or StreamARN
.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginGetDataEndpoint and EndGetDataEndpoint.
Namespace: Amazon.KinesisVideo
Assembly: AWSSDK.KinesisVideo.dll
Version: 3.x.y.z
public abstract Task<GetDataEndpointResponse> GetDataEndpointAsync( GetDataEndpointRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the GetDataEndpoint service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exception | Condition |
---|---|
ClientLimitExceededException | Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client calls. Try making the call later. |
InvalidArgumentException | The value for this input parameter is invalid. |
NotAuthorizedException | The caller is not authorized to perform this operation. |
ResourceNotFoundException | Amazon Kinesis Video Streams can't find the stream that you specified. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5