/// <summary> /// The Amazon AppIntegrations APIs are in preview release and are subject to change. /// /// /// <para> /// Returns a paginated list of event integrations in the account. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEventIntegrations service method.</param> /// /// <returns>The response from the ListEventIntegrations service method, as returned by AppIntegrationsService.</returns> /// <exception cref="Amazon.AppIntegrationsService.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.AppIntegrationsService.Model.InternalServiceErrorException"> /// Request processing failed due to an error or failure with the service. /// </exception> /// <exception cref="Amazon.AppIntegrationsService.Model.InvalidRequestException"> /// The request is not valid. /// </exception> /// <exception cref="Amazon.AppIntegrationsService.Model.ThrottlingException"> /// The throttling limit has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListEventIntegrations">REST API Reference for ListEventIntegrations Operation</seealso> public virtual ListEventIntegrationsResponse ListEventIntegrations(ListEventIntegrationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListEventIntegrationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEventIntegrationsResponseUnmarshaller.Instance; return(Invoke <ListEventIntegrationsResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the ListEventIntegrations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListEventIntegrations operation on AmazonAppIntegrationsServiceClient.</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 EndListEventIntegrations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListEventIntegrations">REST API Reference for ListEventIntegrations Operation</seealso> public virtual IAsyncResult BeginListEventIntegrations(ListEventIntegrationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListEventIntegrationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEventIntegrationsResponseUnmarshaller.Instance; return(BeginInvoke(request, options, callback, state)); }
/// <summary> /// The Amazon AppIntegrations APIs are in preview release and are subject to change. /// /// /// <para> /// Returns a paginated list of event integrations in the account. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEventIntegrations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListEventIntegrations service method, as returned by AppIntegrationsService.</returns> /// <exception cref="Amazon.AppIntegrationsService.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.AppIntegrationsService.Model.InternalServiceErrorException"> /// Request processing failed due to an error or failure with the service. /// </exception> /// <exception cref="Amazon.AppIntegrationsService.Model.InvalidRequestException"> /// The request is not valid. /// </exception> /// <exception cref="Amazon.AppIntegrationsService.Model.ThrottlingException"> /// The throttling limit has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListEventIntegrations">REST API Reference for ListEventIntegrations Operation</seealso> public virtual Task <ListEventIntegrationsResponse> ListEventIntegrationsAsync(ListEventIntegrationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListEventIntegrationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEventIntegrationsResponseUnmarshaller.Instance; return(InvokeAsync <ListEventIntegrationsResponse>(request, options, cancellationToken)); }