예제 #1
0
        /// <summary>
        /// Initiates the asynchronous execution of the ListUsageForLicenseConfiguration operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the ListUsageForLicenseConfiguration 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/ListUsageForLicenseConfiguration">REST API Reference for ListUsageForLicenseConfiguration Operation</seealso>
        public virtual Task <ListUsageForLicenseConfigurationResponse> ListUsageForLicenseConfigurationAsync(ListUsageForLicenseConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = ListUsageForLicenseConfigurationRequestMarshaller.Instance;
            var unmarshaller = ListUsageForLicenseConfigurationResponseUnmarshaller.Instance;

            return(InvokeAsync <ListUsageForLicenseConfigurationRequest, ListUsageForLicenseConfigurationResponse>(request, marshaller,
                                                                                                                   unmarshaller, cancellationToken));
        }
예제 #2
0
        internal virtual ListUsageForLicenseConfigurationResponse ListUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = ListUsageForLicenseConfigurationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = ListUsageForLicenseConfigurationResponseUnmarshaller.Instance;

            return(Invoke <ListUsageForLicenseConfigurationResponse>(request, options));
        }
예제 #3
0
        internal virtual ListUsageForLicenseConfigurationResponse ListUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest request)
        {
            var marshaller   = ListUsageForLicenseConfigurationRequestMarshaller.Instance;
            var unmarshaller = ListUsageForLicenseConfigurationResponseUnmarshaller.Instance;

            return(Invoke <ListUsageForLicenseConfigurationRequest, ListUsageForLicenseConfigurationResponse>(request, marshaller, unmarshaller));
        }