internal StopDataCollectionByAgentIdsResponse StopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest request) { var marshaller = new StopDataCollectionByAgentIdsRequestMarshaller(); var unmarshaller = StopDataCollectionByAgentIdsResponseUnmarshaller.Instance; return(Invoke <StopDataCollectionByAgentIdsRequest, StopDataCollectionByAgentIdsResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the StopDataCollectionByAgentIds operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StopDataCollectionByAgentIds operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopDataCollectionByAgentIds">REST API Reference for StopDataCollectionByAgentIds Operation</seealso> public virtual Task <StopDataCollectionByAgentIdsResponse> StopDataCollectionByAgentIdsAsync(StopDataCollectionByAgentIdsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = StopDataCollectionByAgentIdsRequestMarshaller.Instance; var unmarshaller = StopDataCollectionByAgentIdsResponseUnmarshaller.Instance; return(InvokeAsync <StopDataCollectionByAgentIdsRequest, StopDataCollectionByAgentIdsResponse>(request, marshaller, unmarshaller, cancellationToken)); }