/// <summary> /// Lists the FinSpace Changesets for a Dataset. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChangesets 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 ListChangesets 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.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/ListChangesets">REST API Reference for ListChangesets Operation</seealso> public virtual Task <ListChangesetsResponse> ListChangesetsAsync(ListChangesetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChangesetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChangesetsResponseUnmarshaller.Instance; return(InvokeAsync <ListChangesetsResponse>(request, options, cancellationToken)); }
internal virtual ListChangesetsResponse ListChangesets(ListChangesetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChangesetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChangesetsResponseUnmarshaller.Instance; return(Invoke <ListChangesetsResponse>(request, options)); }