Exemplo n.º 1
0
        internal virtual ListResourceInventoryResponse ListResourceInventory(ListResourceInventoryRequest request)
        {
            var marshaller   = ListResourceInventoryRequestMarshaller.Instance;
            var unmarshaller = ListResourceInventoryResponseUnmarshaller.Instance;

            return(Invoke <ListResourceInventoryRequest, ListResourceInventoryResponse>(request, marshaller, unmarshaller));
        }
Exemplo n.º 2
0
        internal virtual ListResourceInventoryResponse ListResourceInventory(ListResourceInventoryRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = ListResourceInventoryRequestMarshaller.Instance;
            options.ResponseUnmarshaller = ListResourceInventoryResponseUnmarshaller.Instance;

            return(Invoke <ListResourceInventoryResponse>(request, options));
        }
Exemplo n.º 3
0
        /// <summary>
        /// Initiates the asynchronous execution of the ListResourceInventory operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the ListResourceInventory 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/license-manager-2018-08-01/ListResourceInventory">REST API Reference for ListResourceInventory Operation</seealso>
        public virtual Task <ListResourceInventoryResponse> ListResourceInventoryAsync(ListResourceInventoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = ListResourceInventoryRequestMarshaller.Instance;
            options.ResponseUnmarshaller = ListResourceInventoryResponseUnmarshaller.Instance;

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