internal virtual GetWorkingLocationResponse GetWorkingLocation(GetWorkingLocationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetWorkingLocationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetWorkingLocationResponseUnmarshaller.Instance; return(Invoke <GetWorkingLocationResponse>(request, options)); }
/// <summary> /// A temporary Amazon S3 location to copy your files from a source location to stage /// or use as a scratch space in Habanero notebook. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetWorkingLocation 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 GetWorkingLocation service method, as returned by FinSpaceData.</returns> /// <exception cref="Amazon.FinSpaceData.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.FinSpaceData.Model.InternalServerException"> /// The request processing has failed because of an unknown error, exception or failure. /// </exception> /// <exception cref="Amazon.FinSpaceData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <exception cref="Amazon.FinSpaceData.Model.ValidationException"> /// The input fails to satisfy the constraints specified by an AWS service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetWorkingLocation">REST API Reference for GetWorkingLocation Operation</seealso> public virtual Task <GetWorkingLocationResponse> GetWorkingLocationAsync(GetWorkingLocationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetWorkingLocationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetWorkingLocationResponseUnmarshaller.Instance; return(InvokeAsync <GetWorkingLocationResponse>(request, options, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the GetWorkingLocation operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetWorkingLocation operation on AmazonFinSpaceDataClient.</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 EndGetWorkingLocation /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetWorkingLocation">REST API Reference for GetWorkingLocation Operation</seealso> public virtual IAsyncResult BeginGetWorkingLocation(GetWorkingLocationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetWorkingLocationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetWorkingLocationResponseUnmarshaller.Instance; return(BeginInvoke(request, options, callback, state)); }