internal virtual GetTranscriptResponse GetTranscript(GetTranscriptRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTranscriptRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTranscriptResponseUnmarshaller.Instance; return(Invoke <GetTranscriptResponse>(request, options)); }
/// <summary> /// Retrieves a transcript of the session, including details about any attachments. Note /// that ConnectionToken is used for invoking this API instead of ParticipantToken. /// /// /// <para> /// The Amazon Connect Participant Service APIs do not use <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature /// Version 4 authentication</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetTranscript 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 GetTranscript service method, as returned by ConnectParticipant.</returns> /// <exception cref="Amazon.ConnectParticipant.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.ConnectParticipant.Model.InternalServerException"> /// This exception occurs when there is an internal failure in the Amazon Connect service. /// </exception> /// <exception cref="Amazon.ConnectParticipant.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <exception cref="Amazon.ConnectParticipant.Model.ValidationException"> /// The input fails to satisfy the constraints specified by Amazon Connect. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetTranscript">REST API Reference for GetTranscript Operation</seealso> public virtual Task <GetTranscriptResponse> GetTranscriptAsync(GetTranscriptRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTranscriptRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTranscriptResponseUnmarshaller.Instance; return(InvokeAsync <GetTranscriptResponse>(request, options, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the GetTranscript operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetTranscript operation on AmazonConnectParticipantClient.</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 EndGetTranscript /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetTranscript">REST API Reference for GetTranscript Operation</seealso> public virtual IAsyncResult BeginGetTranscript(GetTranscriptRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetTranscriptRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTranscriptResponseUnmarshaller.Instance; return(BeginInvoke(request, options, callback, state)); }