internal virtual DescribeConfigurationResponse DescribeConfiguration(DescribeConfigurationRequest request) { var marshaller = DescribeConfigurationRequestMarshaller.Instance; var unmarshaller = DescribeConfigurationResponseUnmarshaller.Instance; return(Invoke <DescribeConfigurationRequest, DescribeConfigurationResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Returns a description of this MSK configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeConfiguration service method.</param> /// /// <returns>The response from the DescribeConfiguration service method, as returned by Kafka.</returns> /// <exception cref="Amazon.Kafka.Model.BadRequestException"> /// Returns information about an error. /// </exception> /// <exception cref="Amazon.Kafka.Model.ForbiddenException"> /// Returns information about an error. /// </exception> /// <exception cref="Amazon.Kafka.Model.InternalServerErrorException"> /// Returns information about an error. /// </exception> /// <exception cref="Amazon.Kafka.Model.NotFoundException"> /// Returns information about an error. /// </exception> /// <exception cref="Amazon.Kafka.Model.ServiceUnavailableException"> /// Returns information about an error. /// </exception> /// <exception cref="Amazon.Kafka.Model.UnauthorizedException"> /// Returns information about an error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfiguration">REST API Reference for DescribeConfiguration Operation</seealso> public virtual DescribeConfigurationResponse DescribeConfiguration(DescribeConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeConfigurationResponseUnmarshaller.Instance; return(Invoke <DescribeConfigurationResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeConfiguration 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/mq-2017-11-27/DescribeConfiguration">REST API Reference for DescribeConfiguration Operation</seealso> public virtual Task <DescribeConfigurationResponse> DescribeConfigurationAsync(DescribeConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = DescribeConfigurationRequestMarshaller.Instance; var unmarshaller = DescribeConfigurationResponseUnmarshaller.Instance; return(InvokeAsync <DescribeConfigurationRequest, DescribeConfigurationResponse>(request, marshaller, unmarshaller, cancellationToken)); }