internal virtual SendAlexaOfferToMasterResponse SendAlexaOfferToMaster(SendAlexaOfferToMasterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendAlexaOfferToMasterRequestMarshaller.Instance; options.ResponseUnmarshaller = SendAlexaOfferToMasterResponseUnmarshaller.Instance; return(Invoke <SendAlexaOfferToMasterResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the SendAlexaOfferToMaster operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the SendAlexaOfferToMaster operation on AmazonKinesisVideoSignalingChannelsClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSendAlexaOfferToMaster /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-signaling-2019-12-04/SendAlexaOfferToMaster">REST API Reference for SendAlexaOfferToMaster Operation</seealso> public virtual IAsyncResult BeginSendAlexaOfferToMaster(SendAlexaOfferToMasterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SendAlexaOfferToMasterRequestMarshaller.Instance; options.ResponseUnmarshaller = SendAlexaOfferToMasterResponseUnmarshaller.Instance; return(BeginInvoke(request, options, callback, state)); }
/// <summary> /// This API allows you to connect WebRTC-enabled devices with Alexa display devices. /// When invoked, it sends the Alexa Session Description Protocol (SDP) offer to the master /// peer. The offer is delivered as soon as the master is connected to the specified signaling /// channel. This API returns the SDP answer from the connected master. If the master /// is not connected to the signaling channel, redelivery requests are made until the /// message expires. /// </summary> /// <param name="request">Container for the necessary parameters to execute the SendAlexaOfferToMaster service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the SendAlexaOfferToMaster service method, as returned by KinesisVideoSignalingChannels.</returns> /// <exception cref="Amazon.KinesisVideoSignalingChannels.Model.ClientLimitExceededException"> /// Your request was throttled because you have exceeded the limit of allowed client calls. /// Try making the call later. /// </exception> /// <exception cref="Amazon.KinesisVideoSignalingChannels.Model.InvalidArgumentException"> /// The value for this input parameter is invalid. /// </exception> /// <exception cref="Amazon.KinesisVideoSignalingChannels.Model.NotAuthorizedException"> /// The caller is not authorized to perform this operation. /// </exception> /// <exception cref="Amazon.KinesisVideoSignalingChannels.Model.ResourceNotFoundException"> /// The specified resource is not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-signaling-2019-12-04/SendAlexaOfferToMaster">REST API Reference for SendAlexaOfferToMaster Operation</seealso> public virtual Task <SendAlexaOfferToMasterResponse> SendAlexaOfferToMasterAsync(SendAlexaOfferToMasterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SendAlexaOfferToMasterRequestMarshaller.Instance; options.ResponseUnmarshaller = SendAlexaOfferToMasterResponseUnmarshaller.Instance; return(InvokeAsync <SendAlexaOfferToMasterResponse>(request, options, cancellationToken)); }