/// <summary> /// Returns descriptive information about an update against your Amazon EKS cluster. /// /// /// <para> /// When the status of the update is <code>Succeeded</code>, the update is complete. If /// an update fails, the status is <code>Failed</code>, and an error detail explains the /// reason for the failure. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUpdate service method.</param> /// /// <returns>The response from the DescribeUpdate service method, as returned by EKS.</returns> /// <exception cref="Amazon.EKS.Model.ClientException"> /// These errors are usually caused by a client action. Actions can include using an action /// or resource on behalf of a user that doesn't have permissions to use the action or /// resource or specifying an identifier that is not valid. /// </exception> /// <exception cref="Amazon.EKS.Model.InvalidParameterException"> /// The specified parameter is invalid. Review the available parameters for the API request. /// </exception> /// <exception cref="Amazon.EKS.Model.ResourceNotFoundException"> /// The specified resource could not be found. You can view your available clusters with /// <a>ListClusters</a>. Amazon EKS clusters are Region-specific. /// </exception> /// <exception cref="Amazon.EKS.Model.ServerException"> /// These errors are usually caused by a server-side issue. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeUpdate">REST API Reference for DescribeUpdate Operation</seealso> public virtual DescribeUpdateResponse DescribeUpdate(DescribeUpdateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUpdateResponseUnmarshaller.Instance; return(Invoke <DescribeUpdateResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeUpdate operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeUpdate operation on AmazonEKSClient.</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 EndDescribeUpdate /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeUpdate">REST API Reference for DescribeUpdate Operation</seealso> public virtual IAsyncResult BeginDescribeUpdate(DescribeUpdateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUpdateResponseUnmarshaller.Instance; return(BeginInvoke(request, options, callback, state)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeUpdate operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeUpdate 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/eks-2017-11-01/DescribeUpdate">REST API Reference for DescribeUpdate Operation</seealso> public virtual Task <DescribeUpdateResponse> DescribeUpdateAsync(DescribeUpdateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUpdateResponseUnmarshaller.Instance; return(InvokeAsync <DescribeUpdateResponse>(request, options, cancellationToken)); }