Пример #1
0
        internal virtual BatchUpdateUserResponse BatchUpdateUser(BatchUpdateUserRequest request)
        {
            var marshaller   = BatchUpdateUserRequestMarshaller.Instance;
            var unmarshaller = BatchUpdateUserResponseUnmarshaller.Instance;

            return(Invoke <BatchUpdateUserRequest, BatchUpdateUserResponse>(request, marshaller, unmarshaller));
        }
Пример #2
0
        /// <summary>
        /// Initiates the asynchronous execution of the BatchUpdateUser operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the BatchUpdateUser 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/chime-2018-05-01/BatchUpdateUser">REST API Reference for BatchUpdateUser Operation</seealso>
        public virtual Task <BatchUpdateUserResponse> BatchUpdateUserAsync(BatchUpdateUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = BatchUpdateUserRequestMarshaller.Instance;
            var unmarshaller = BatchUpdateUserResponseUnmarshaller.Instance;

            return(InvokeAsync <BatchUpdateUserRequest, BatchUpdateUserResponse>(request, marshaller,
                                                                                 unmarshaller, cancellationToken));
        }
Пример #3
0
        /// <summary>
        /// Initiates the asynchronous execution of the BatchUpdateUser operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the BatchUpdateUser 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/chime-2018-05-01/BatchUpdateUser">REST API Reference for BatchUpdateUser Operation</seealso>
        public virtual Task <BatchUpdateUserResponse> BatchUpdateUserAsync(BatchUpdateUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = BatchUpdateUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchUpdateUserResponseUnmarshaller.Instance;

            return(InvokeAsync <BatchUpdateUserResponse>(request, options, cancellationToken));
        }
Пример #4
0
        internal virtual BatchUpdateUserResponse BatchUpdateUser(BatchUpdateUserRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = BatchUpdateUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchUpdateUserResponseUnmarshaller.Instance;

            return(Invoke <BatchUpdateUserResponse>(request, options));
        }