/// <summary> /// Provides information about parameters required to provision a specified product in /// a specified manner. Use this operation to obtain the list of <code>ProvisioningArtifactParameters</code> /// parameters available to call the <a>ProvisionProduct</a> operation for the specified /// product. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeProvisioningParameters service method.</param> /// /// <returns>The response from the DescribeProvisioningParameters service method, as returned by ServiceCatalog.</returns> /// <exception cref="Amazon.ServiceCatalog.Model.InvalidParametersException"> /// One or more parameters provided to the operation are invalid. /// </exception> /// <exception cref="Amazon.ServiceCatalog.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> public DescribeProvisioningParametersResponse DescribeProvisioningParameters(DescribeProvisioningParametersRequest request) { var marshaller = new DescribeProvisioningParametersRequestMarshaller(); var unmarshaller = DescribeProvisioningParametersResponseUnmarshaller.Instance; return(Invoke <DescribeProvisioningParametersRequest, DescribeProvisioningParametersResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeProvisioningParameters operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeProvisioningParameters operation on AmazonServiceCatalogClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeProvisioningParameters /// operation.</returns> public IAsyncResult BeginDescribeProvisioningParameters(DescribeProvisioningParametersRequest request, AsyncCallback callback, object state) { var marshaller = new DescribeProvisioningParametersRequestMarshaller(); var unmarshaller = DescribeProvisioningParametersResponseUnmarshaller.Instance; return(BeginInvoke <DescribeProvisioningParametersRequest>(request, marshaller, unmarshaller, callback, state)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeProvisioningParameters operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeProvisioningParameters 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 <DescribeProvisioningParametersResponse> DescribeProvisioningParametersAsync(DescribeProvisioningParametersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DescribeProvisioningParametersRequestMarshaller(); var unmarshaller = DescribeProvisioningParametersResponseUnmarshaller.Instance; return(InvokeAsync <DescribeProvisioningParametersRequest, DescribeProvisioningParametersResponse>(request, marshaller, unmarshaller, cancellationToken)); }