internal virtual UpdateUserRoutingProfileResponse UpdateUserRoutingProfile(UpdateUserRoutingProfileRequest request)
        {
            var marshaller   = UpdateUserRoutingProfileRequestMarshaller.Instance;
            var unmarshaller = UpdateUserRoutingProfileResponseUnmarshaller.Instance;

            return(Invoke <UpdateUserRoutingProfileRequest, UpdateUserRoutingProfileResponse>(request, marshaller, unmarshaller));
        }
        internal virtual UpdateUserRoutingProfileResponse UpdateUserRoutingProfile(UpdateUserRoutingProfileRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = UpdateUserRoutingProfileRequestMarshaller.Instance;
            options.ResponseUnmarshaller = UpdateUserRoutingProfileResponseUnmarshaller.Instance;

            return(Invoke <UpdateUserRoutingProfileResponse>(request, options));
        }
        /// <summary>
        /// Initiates the asynchronous execution of the UpdateUserRoutingProfile operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the UpdateUserRoutingProfile 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/UpdateUserRoutingProfile">REST API Reference for UpdateUserRoutingProfile Operation</seealso>
        public virtual Task <UpdateUserRoutingProfileResponse> UpdateUserRoutingProfileAsync(UpdateUserRoutingProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = UpdateUserRoutingProfileRequestMarshaller.Instance;
            var unmarshaller = UpdateUserRoutingProfileResponseUnmarshaller.Instance;

            return(InvokeAsync <UpdateUserRoutingProfileRequest, UpdateUserRoutingProfileResponse>(request, marshaller,
                                                                                                   unmarshaller, cancellationToken));
        }