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

BatchGetBuildsAsync() public method

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

            return InvokeAsync<BatchGetBuildsRequest,BatchGetBuildsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }