Amazon.ApplicationDiscoveryService.AmazonApplicationDiscoveryServiceClient.StartDataCollectionByAgentIdsAsync C# (CSharp) Method

StartDataCollectionByAgentIdsAsync() public method

Initiates the asynchronous execution of the StartDataCollectionByAgentIds operation.
public StartDataCollectionByAgentIdsAsync ( StartDataCollectionByAgentIdsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationDiscoveryService.Model.StartDataCollectionByAgentIdsRequest Container for the necessary parameters to execute the StartDataCollectionByAgentIds operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<StartDataCollectionByAgentIdsResponse> StartDataCollectionByAgentIdsAsync(StartDataCollectionByAgentIdsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new StartDataCollectionByAgentIdsRequestMarshaller();
            var unmarshaller = StartDataCollectionByAgentIdsResponseUnmarshaller.Instance;

            return InvokeAsync<StartDataCollectionByAgentIdsRequest,StartDataCollectionByAgentIdsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonApplicationDiscoveryServiceClient