internal virtual DescribeListenerResponse DescribeListener(DescribeListenerRequest request) { var marshaller = DescribeListenerRequestMarshaller.Instance; var unmarshaller = DescribeListenerResponseUnmarshaller.Instance; return(Invoke <DescribeListenerRequest, DescribeListenerResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeListener operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeListener 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/globalaccelerator-2018-08-08/DescribeListener">REST API Reference for DescribeListener Operation</seealso> public virtual Task <DescribeListenerResponse> DescribeListenerAsync(DescribeListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = DescribeListenerRequestMarshaller.Instance; var unmarshaller = DescribeListenerResponseUnmarshaller.Instance; return(InvokeAsync <DescribeListenerRequest, DescribeListenerResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeListener operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeListener 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/globalaccelerator-2018-08-08/DescribeListener">REST API Reference for DescribeListener Operation</seealso> public virtual Task <DescribeListenerResponse> DescribeListenerAsync(DescribeListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeListenerRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeListenerResponseUnmarshaller.Instance; return(InvokeAsync <DescribeListenerResponse>(request, options, cancellationToken)); }
internal virtual DescribeListenerResponse DescribeListener(DescribeListenerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeListenerRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeListenerResponseUnmarshaller.Instance; return(Invoke <DescribeListenerResponse>(request, options)); }
/// <summary> /// 查询监听器详情 /// </summary> /// <param name="request">请求参数信息</param> /// <returns>请求结果信息</returns> public async Task <DescribeListenerResponse> DescribeListener(DescribeListenerRequest request) { return(await new DescribeListenerExecutor().Client(this).Execute <DescribeListenerResponse, DescribeListenerResult, DescribeListenerRequest>(request).ConfigureAwait(false)); }
/// <summary> /// 查询监听器详情 /// </summary> /// <param name="request">请求参数信息</param> /// <returns>请求结果信息</returns> public DescribeListenerResponse DescribeListener(DescribeListenerRequest request) { return(new DescribeListenerExecutor().Client(this).Execute <DescribeListenerResponse, DescribeListenerResult, DescribeListenerRequest>(request)); }