Beispiel #1
0
        internal virtual ExportProjectResponse ExportProject(ExportProjectRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = ExportProjectRequestMarshaller.Instance;
            options.ResponseUnmarshaller = ExportProjectResponseUnmarshaller.Instance;

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

            options.RequestMarshaller    = ExportProjectRequestMarshaller.Instance;
            options.ResponseUnmarshaller = ExportProjectResponseUnmarshaller.Instance;

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