internal virtual ListRoutingProfilesResponse ListRoutingProfiles(ListRoutingProfilesRequest request)
        {
            var marshaller   = ListRoutingProfilesRequestMarshaller.Instance;
            var unmarshaller = ListRoutingProfilesResponseUnmarshaller.Instance;

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

            return(InvokeAsync <ListRoutingProfilesRequest, ListRoutingProfilesResponse>(request, marshaller,
                                                                                         unmarshaller, cancellationToken));
        }
        internal virtual ListRoutingProfilesResponse ListRoutingProfiles(ListRoutingProfilesRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = ListRoutingProfilesRequestMarshaller.Instance;
            options.ResponseUnmarshaller = ListRoutingProfilesResponseUnmarshaller.Instance;

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