internal virtual ListDeviceEventsResponse ListDeviceEvents(ListDeviceEventsRequest request) { var marshaller = ListDeviceEventsRequestMarshaller.Instance; var unmarshaller = ListDeviceEventsResponseUnmarshaller.Instance; return(Invoke <ListDeviceEventsRequest, ListDeviceEventsResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the ListDeviceEvents operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListDeviceEvents 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/devices-2018-05-14/ListDeviceEvents">REST API Reference for ListDeviceEvents Operation</seealso> public virtual Task <ListDeviceEventsResponse> ListDeviceEventsAsync(ListDeviceEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = ListDeviceEventsRequestMarshaller.Instance; var unmarshaller = ListDeviceEventsResponseUnmarshaller.Instance; return(InvokeAsync <ListDeviceEventsRequest, ListDeviceEventsResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the ListDeviceEvents operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListDeviceEvents operation on AmazonIoT1ClickDevicesServiceClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDeviceEvents /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListDeviceEvents">REST API Reference for ListDeviceEvents Operation</seealso> public virtual IAsyncResult BeginListDeviceEvents(ListDeviceEventsRequest request, AsyncCallback callback, object state) { var marshaller = ListDeviceEventsRequestMarshaller.Instance; var unmarshaller = ListDeviceEventsResponseUnmarshaller.Instance; return(BeginInvoke <ListDeviceEventsRequest>(request, marshaller, unmarshaller, callback, state)); }
/// <summary> /// Initiates the asynchronous execution of the ListDeviceEvents operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListDeviceEvents 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/devices-2018-05-14/ListDeviceEvents">REST API Reference for ListDeviceEvents Operation</seealso> public virtual Task <ListDeviceEventsResponse> ListDeviceEventsAsync(ListDeviceEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeviceEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeviceEventsResponseUnmarshaller.Instance; return(InvokeAsync <ListDeviceEventsResponse>(request, options, cancellationToken)); }
internal virtual ListDeviceEventsResponse ListDeviceEvents(ListDeviceEventsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeviceEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeviceEventsResponseUnmarshaller.Instance; return(Invoke <ListDeviceEventsResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the ListDeviceEvents operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListDeviceEvents operation on AmazonIoT1ClickDevicesServiceClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDeviceEvents /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListDeviceEvents">REST API Reference for ListDeviceEvents Operation</seealso> public virtual IAsyncResult BeginListDeviceEvents(ListDeviceEventsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeviceEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeviceEventsResponseUnmarshaller.Instance; return(BeginInvoke(request, options, callback, state)); }