internal virtual ListLicenseSpecificationsForResourceResponse ListLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListLicenseSpecificationsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLicenseSpecificationsForResourceResponseUnmarshaller.Instance; return(Invoke <ListLicenseSpecificationsForResourceResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the ListLicenseSpecificationsForResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListLicenseSpecificationsForResource 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/ListLicenseSpecificationsForResource">REST API Reference for ListLicenseSpecificationsForResource Operation</seealso> public virtual Task <ListLicenseSpecificationsForResourceResponse> ListLicenseSpecificationsForResourceAsync(ListLicenseSpecificationsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListLicenseSpecificationsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLicenseSpecificationsForResourceResponseUnmarshaller.Instance; return(InvokeAsync <ListLicenseSpecificationsForResourceResponse>(request, options, cancellationToken)); }
internal virtual ListLicenseSpecificationsForResourceResponse ListLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest request) { var marshaller = ListLicenseSpecificationsForResourceRequestMarshaller.Instance; var unmarshaller = ListLicenseSpecificationsForResourceResponseUnmarshaller.Instance; return(Invoke <ListLicenseSpecificationsForResourceRequest, ListLicenseSpecificationsForResourceResponse>(request, marshaller, unmarshaller)); }