/// <summary>
        /// Initiates the asynchronous execution of the UpdateServerEngineAttributes operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the UpdateServerEngineAttributes 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>
        public Task <UpdateServerEngineAttributesResponse> UpdateServerEngineAttributesAsync(UpdateServerEngineAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new UpdateServerEngineAttributesRequestMarshaller();
            var unmarshaller = UpdateServerEngineAttributesResponseUnmarshaller.Instance;

            return(InvokeAsync <UpdateServerEngineAttributesRequest, UpdateServerEngineAttributesResponse>(request, marshaller,
                                                                                                           unmarshaller, cancellationToken));
        }
Пример #2
0
        /// <summary>
        /// Initiates the asynchronous execution of the UpdateServerEngineAttributes operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the UpdateServerEngineAttributes 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/opsworkscm-2016-11-01/UpdateServerEngineAttributes">REST API Reference for UpdateServerEngineAttributes Operation</seealso>
        public virtual Task <UpdateServerEngineAttributesResponse> UpdateServerEngineAttributesAsync(UpdateServerEngineAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = UpdateServerEngineAttributesRequestMarshaller.Instance;
            options.ResponseUnmarshaller = UpdateServerEngineAttributesResponseUnmarshaller.Instance;

            return(InvokeAsync <UpdateServerEngineAttributesResponse>(request, options, cancellationToken));
        }
Пример #3
0
        internal virtual UpdateServerEngineAttributesResponse UpdateServerEngineAttributes(UpdateServerEngineAttributesRequest request)
        {
            var marshaller   = UpdateServerEngineAttributesRequestMarshaller.Instance;
            var unmarshaller = UpdateServerEngineAttributesResponseUnmarshaller.Instance;

            return(Invoke <UpdateServerEngineAttributesRequest, UpdateServerEngineAttributesResponse>(request, marshaller, unmarshaller));
        }
Пример #4
0
        internal virtual UpdateServerEngineAttributesResponse UpdateServerEngineAttributes(UpdateServerEngineAttributesRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = UpdateServerEngineAttributesRequestMarshaller.Instance;
            options.ResponseUnmarshaller = UpdateServerEngineAttributesResponseUnmarshaller.Instance;

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