Beispiel #1
0
        internal UpdateDirectoryConfigResponse UpdateDirectoryConfig(UpdateDirectoryConfigRequest request)
        {
            var marshaller   = new UpdateDirectoryConfigRequestMarshaller();
            var unmarshaller = UpdateDirectoryConfigResponseUnmarshaller.Instance;

            return(Invoke <UpdateDirectoryConfigRequest, UpdateDirectoryConfigResponse>(request, marshaller, unmarshaller));
        }
Beispiel #2
0
        /// <summary>
        /// Initiates the asynchronous execution of the UpdateDirectoryConfig operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the UpdateDirectoryConfig 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/appstream-2016-12-01/UpdateDirectoryConfig">REST API Reference for UpdateDirectoryConfig Operation</seealso>
        public Task <UpdateDirectoryConfigResponse> UpdateDirectoryConfigAsync(UpdateDirectoryConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new UpdateDirectoryConfigRequestMarshaller();
            var unmarshaller = UpdateDirectoryConfigResponseUnmarshaller.Instance;

            return(InvokeAsync <UpdateDirectoryConfigRequest, UpdateDirectoryConfigResponse>(request, marshaller,
                                                                                             unmarshaller, cancellationToken));
        }