Example #1
0
        internal StartDataCollectionByAgentIdsResponse StartDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest request)
        {
            var marshaller   = new StartDataCollectionByAgentIdsRequestMarshaller();
            var unmarshaller = StartDataCollectionByAgentIdsResponseUnmarshaller.Instance;

            return(Invoke <StartDataCollectionByAgentIdsRequest, StartDataCollectionByAgentIdsResponse>(request, marshaller, unmarshaller));
        }
Example #2
0
        /// <summary>
        /// Initiates the asynchronous execution of the StartDataCollectionByAgentIds operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the StartDataCollectionByAgentIds 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/StartDataCollectionByAgentIds">REST API Reference for StartDataCollectionByAgentIds Operation</seealso>
        public virtual Task <StartDataCollectionByAgentIdsResponse> StartDataCollectionByAgentIdsAsync(StartDataCollectionByAgentIdsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = StartDataCollectionByAgentIdsRequestMarshaller.Instance;
            var unmarshaller = StartDataCollectionByAgentIdsResponseUnmarshaller.Instance;

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