Ejemplo n.º 1
0
        internal virtual PutNotificationChannelResponse PutNotificationChannel(PutNotificationChannelRequest request)
        {
            var marshaller   = PutNotificationChannelRequestMarshaller.Instance;
            var unmarshaller = PutNotificationChannelResponseUnmarshaller.Instance;

            return(Invoke <PutNotificationChannelRequest, PutNotificationChannelResponse>(request, marshaller, unmarshaller));
        }
Ejemplo n.º 2
0
        internal virtual PutNotificationChannelResponse PutNotificationChannel(PutNotificationChannelRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = PutNotificationChannelRequestMarshaller.Instance;
            options.ResponseUnmarshaller = PutNotificationChannelResponseUnmarshaller.Instance;

            return(Invoke <PutNotificationChannelResponse>(request, options));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Initiates the asynchronous execution of the PutNotificationChannel operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the PutNotificationChannel 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/fms-2018-01-01/PutNotificationChannel">REST API Reference for PutNotificationChannel Operation</seealso>
        public virtual Task <PutNotificationChannelResponse> PutNotificationChannelAsync(PutNotificationChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = PutNotificationChannelRequestMarshaller.Instance;
            var unmarshaller = PutNotificationChannelResponseUnmarshaller.Instance;

            return(InvokeAsync <PutNotificationChannelRequest, PutNotificationChannelResponse>(request, marshaller,
                                                                                               unmarshaller, cancellationToken));
        }