Module Values.GetDataEndpointInputSource

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.

Sourcetype nonrec t = {
  1. streamName : StreamName.t option;
    (*

    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.

    *)
  2. streamARN : ResourceARN.t option;
    (*

    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.

    *)
  3. aPIName : APIName.t;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?streamName:??? -> ?streamARN:??? -> aPIName:APIName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of StreamName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t