/// <summary> /// Lists all available Dataviews for a Dataset. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDataViews 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 ListDataViews service method, as returned by FinSpaceData.</returns> /// <exception cref="Amazon.FinSpaceData.Model.ConflictException"> /// The request conflicts with an existing resource. /// </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.ResourceNotFoundException"> /// One or more resources can't be found. /// </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/ListDataViews">REST API Reference for ListDataViews Operation</seealso> public virtual Task <ListDataViewsResponse> ListDataViewsAsync(ListDataViewsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDataViewsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDataViewsResponseUnmarshaller.Instance; return(InvokeAsync <ListDataViewsResponse>(request, options, cancellationToken)); }
internal virtual ListDataViewsResponse ListDataViews(ListDataViewsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDataViewsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDataViewsResponseUnmarshaller.Instance; return(Invoke <ListDataViewsResponse>(request, options)); }