/// <summary> /// The Amazon AppIntegrations APIs are in preview release and are subject to change. /// /// /// <para> /// Updates the description of an event integration. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEventIntegration service method.</param> /// /// <returns>The response from the UpdateEventIntegration 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.ResourceNotFoundException"> /// The specified resource was not found. /// </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/UpdateEventIntegration">REST API Reference for UpdateEventIntegration Operation</seealso> public virtual UpdateEventIntegrationResponse UpdateEventIntegration(UpdateEventIntegrationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEventIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEventIntegrationResponseUnmarshaller.Instance; return(Invoke <UpdateEventIntegrationResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the UpdateEventIntegration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateEventIntegration 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 EndUpdateEventIntegration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UpdateEventIntegration">REST API Reference for UpdateEventIntegration Operation</seealso> public virtual IAsyncResult BeginUpdateEventIntegration(UpdateEventIntegrationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEventIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEventIntegrationResponseUnmarshaller.Instance; return(BeginInvoke(request, options, callback, state)); }
/// <summary> /// The Amazon AppIntegrations APIs are in preview release and are subject to change. /// /// /// <para> /// Updates the description of an event integration. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEventIntegration 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 UpdateEventIntegration 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.ResourceNotFoundException"> /// The specified resource was not found. /// </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/UpdateEventIntegration">REST API Reference for UpdateEventIntegration Operation</seealso> public virtual Task <UpdateEventIntegrationResponse> UpdateEventIntegrationAsync(UpdateEventIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEventIntegrationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEventIntegrationResponseUnmarshaller.Instance; return(InvokeAsync <UpdateEventIntegrationResponse>(request, options, cancellationToken)); }