Amazon.CodeBuild.AmazonCodeBuildClient.ListBuildsAsync C# (CSharp) Method

ListBuildsAsync() public method

Initiates the asynchronous execution of the ListBuilds operation.
public ListBuildsAsync ( ListBuildsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeBuild.Model.ListBuildsRequest Container for the necessary parameters to execute the ListBuilds operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<ListBuildsResponse> ListBuildsAsync(ListBuildsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ListBuildsRequestMarshaller();
            var unmarshaller = ListBuildsResponseUnmarshaller.Instance;

            return InvokeAsync<ListBuildsRequest,ListBuildsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }