Ejemplo n.º 1
0
        internal virtual UpdateContactAttributesResponse UpdateContactAttributes(UpdateContactAttributesRequest request)
        {
            var marshaller   = UpdateContactAttributesRequestMarshaller.Instance;
            var unmarshaller = UpdateContactAttributesResponseUnmarshaller.Instance;

            return(Invoke <UpdateContactAttributesRequest, UpdateContactAttributesResponse>(request, marshaller, unmarshaller));
        }
        internal virtual UpdateContactAttributesResponse UpdateContactAttributes(UpdateContactAttributesRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = UpdateContactAttributesRequestMarshaller.Instance;
            options.ResponseUnmarshaller = UpdateContactAttributesResponseUnmarshaller.Instance;

            return(Invoke <UpdateContactAttributesResponse>(request, options));
        }
        /// <summary>
        /// Initiates the asynchronous execution of the UpdateContactAttributes operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the UpdateContactAttributes 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/UpdateContactAttributes">REST API Reference for UpdateContactAttributes Operation</seealso>
        public virtual Task <UpdateContactAttributesResponse> UpdateContactAttributesAsync(UpdateContactAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = UpdateContactAttributesRequestMarshaller.Instance;
            options.ResponseUnmarshaller = UpdateContactAttributesResponseUnmarshaller.Instance;

            return(InvokeAsync <UpdateContactAttributesResponse>(request, options, cancellationToken));
        }