internal virtual UpdateUserPhoneConfigResponse UpdateUserPhoneConfig(UpdateUserPhoneConfigRequest request)
        {
            var marshaller   = UpdateUserPhoneConfigRequestMarshaller.Instance;
            var unmarshaller = UpdateUserPhoneConfigResponseUnmarshaller.Instance;

            return(Invoke <UpdateUserPhoneConfigRequest, UpdateUserPhoneConfigResponse>(request, marshaller, unmarshaller));
        }
        internal virtual UpdateUserPhoneConfigResponse UpdateUserPhoneConfig(UpdateUserPhoneConfigRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = UpdateUserPhoneConfigRequestMarshaller.Instance;
            options.ResponseUnmarshaller = UpdateUserPhoneConfigResponseUnmarshaller.Instance;

            return(Invoke <UpdateUserPhoneConfigResponse>(request, options));
        }
        /// <summary>
        /// Initiates the asynchronous execution of the UpdateUserPhoneConfig operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the UpdateUserPhoneConfig 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/connect-2017-08-08/UpdateUserPhoneConfig">REST API Reference for UpdateUserPhoneConfig Operation</seealso>
        public virtual Task <UpdateUserPhoneConfigResponse> UpdateUserPhoneConfigAsync(UpdateUserPhoneConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = UpdateUserPhoneConfigRequestMarshaller.Instance;
            var unmarshaller = UpdateUserPhoneConfigResponseUnmarshaller.Instance;

            return(InvokeAsync <UpdateUserPhoneConfigRequest, UpdateUserPhoneConfigResponse>(request, marshaller,
                                                                                             unmarshaller, cancellationToken));
        }