/// <summary> /// Describes the recommended monitoring configuration of the component. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeComponentConfigurationRecommendation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeComponentConfigurationRecommendation service method, as returned by ApplicationInsights.</returns> /// <exception cref="Amazon.ApplicationInsights.Model.InternalServerException"> /// The server encountered an internal error and is unable to complete the request. /// </exception> /// <exception cref="Amazon.ApplicationInsights.Model.ResourceNotFoundException"> /// The resource does not exist in the customer account. /// </exception> /// <exception cref="Amazon.ApplicationInsights.Model.ValidationException"> /// The parameter is not valid. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfigurationRecommendation">REST API Reference for DescribeComponentConfigurationRecommendation Operation</seealso> public virtual Task <DescribeComponentConfigurationRecommendationResponse> DescribeComponentConfigurationRecommendationAsync(DescribeComponentConfigurationRecommendationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeComponentConfigurationRecommendationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeComponentConfigurationRecommendationResponseUnmarshaller.Instance; return(InvokeAsync <DescribeComponentConfigurationRecommendationResponse>(request, options, cancellationToken)); }
internal virtual DescribeComponentConfigurationRecommendationResponse DescribeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeComponentConfigurationRecommendationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeComponentConfigurationRecommendationResponseUnmarshaller.Instance; return(Invoke <DescribeComponentConfigurationRecommendationResponse>(request, options)); }