internal UpdatePipelineNotificationsResponse UpdatePipelineNotifications(UpdatePipelineNotificationsRequest request) { var marshaller = new UpdatePipelineNotificationsRequestMarshaller(); var unmarshaller = UpdatePipelineNotificationsResponseUnmarshaller.Instance; return(Invoke <UpdatePipelineNotificationsRequest, UpdatePipelineNotificationsResponse>(request, marshaller, unmarshaller)); }
internal UpdatePipelineNotificationsResponse UpdatePipelineNotifications(UpdatePipelineNotificationsRequest request) { var task = UpdatePipelineNotificationsAsync(request); try { return(task.Result); } catch (AggregateException e) { ExceptionDispatchInfo.Capture(e.InnerException).Throw(); return(null); } }
/// <summary> /// <para>With the UpdatePipelineNotifications operation, you can update Amazon Simple Notification Service (Amazon SNS) notifications for a /// pipeline.</para> <para>When you update notifications for a pipeline, Elastic Transcoder returns the values that you specified in the /// request.</para> /// </summary> /// /// <param name="updatePipelineNotificationsRequest">Container for the necessary parameters to execute the UpdatePipelineNotifications service /// method on AmazonElasticTranscoder.</param> /// /// <returns>The response from the UpdatePipelineNotifications service method, as returned by AmazonElasticTranscoder.</returns> /// /// <exception cref="T:Amazon.ElasticTranscoder.Model.ResourceNotFoundException" /> /// <exception cref="T:Amazon.ElasticTranscoder.Model.AccessDeniedException" /> /// <exception cref="T:Amazon.ElasticTranscoder.Model.ResourceInUseException" /> /// <exception cref="T:Amazon.ElasticTranscoder.Model.InternalServiceException" /> /// <exception cref="T:Amazon.ElasticTranscoder.Model.ValidationException" /> /// <exception cref="T:Amazon.ElasticTranscoder.Model.IncompatibleVersionException" /> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public Task <UpdatePipelineNotificationsResponse> UpdatePipelineNotificationsAsync(UpdatePipelineNotificationsRequest updatePipelineNotificationsRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new UpdatePipelineNotificationsRequestMarshaller(); var unmarshaller = UpdatePipelineNotificationsResponseUnmarshaller.GetInstance(); return(Invoke <IRequest, UpdatePipelineNotificationsRequest, UpdatePipelineNotificationsResponse>(updatePipelineNotificationsRequest, marshaller, unmarshaller, signer, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the UpdatePipelineNotifications operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdatePipelineNotifications 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> public virtual Task <UpdatePipelineNotificationsResponse> UpdatePipelineNotificationsAsync(UpdatePipelineNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new UpdatePipelineNotificationsRequestMarshaller(); var unmarshaller = UpdatePipelineNotificationsResponseUnmarshaller.Instance; return(InvokeAsync <UpdatePipelineNotificationsRequest, UpdatePipelineNotificationsResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the UpdatePipelineNotifications operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdatePipelineNotifications 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> public virtual Task<UpdatePipelineNotificationsResponse> UpdatePipelineNotificationsAsync(UpdatePipelineNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePipelineNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePipelineNotificationsResponseUnmarshaller.Instance; return InvokeAsync<UpdatePipelineNotificationsResponse>(request, options, cancellationToken); }
internal virtual UpdatePipelineNotificationsResponse UpdatePipelineNotifications(UpdatePipelineNotificationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePipelineNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePipelineNotificationsResponseUnmarshaller.Instance; return Invoke<UpdatePipelineNotificationsResponse>(request, options); }