/// <summary> /// Gets details of a job execution. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeJobExecution service method.</param> /// /// <returns>The response from the DescribeJobExecution service method, as returned by IoTJobsDataPlane.</returns> /// <exception cref="Amazon.IoTJobsDataPlane.Model.CertificateValidationException"> /// The certificate is invalid. /// </exception> /// <exception cref="Amazon.IoTJobsDataPlane.Model.InvalidRequestException"> /// The contents of the request were invalid. For example, this code is returned when /// an UpdateJobExecution request contains invalid status details. The message contains /// details about the error. /// </exception> /// <exception cref="Amazon.IoTJobsDataPlane.Model.ResourceNotFoundException"> /// The specified resource does not exist. /// </exception> /// <exception cref="Amazon.IoTJobsDataPlane.Model.ServiceUnavailableException"> /// The service is temporarily unavailable. /// </exception> /// <exception cref="Amazon.IoTJobsDataPlane.Model.TerminalStateException"> /// The job is in a terminal state. /// </exception> /// <exception cref="Amazon.IoTJobsDataPlane.Model.ThrottlingException"> /// The rate exceeds the limit. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/DescribeJobExecution">REST API Reference for DescribeJobExecution Operation</seealso> public virtual DescribeJobExecutionResponse DescribeJobExecution(DescribeJobExecutionRequest request) { var marshaller = new DescribeJobExecutionRequestMarshaller(); var unmarshaller = DescribeJobExecutionResponseUnmarshaller.Instance; return(Invoke <DescribeJobExecutionRequest, DescribeJobExecutionResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeJobExecution operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeJobExecution operation on AmazonIoTJobsDataPlaneClient.</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 EndDescribeJobExecution /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/DescribeJobExecution">REST API Reference for DescribeJobExecution Operation</seealso> public virtual IAsyncResult BeginDescribeJobExecution(DescribeJobExecutionRequest request, AsyncCallback callback, object state) { var marshaller = new DescribeJobExecutionRequestMarshaller(); var unmarshaller = DescribeJobExecutionResponseUnmarshaller.Instance; return(BeginInvoke <DescribeJobExecutionRequest>(request, marshaller, unmarshaller, callback, state)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeJobExecution operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeJobExecution 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/iot-jobs-data-2017-09-29/DescribeJobExecution">REST API Reference for DescribeJobExecution Operation</seealso> public virtual Task <DescribeJobExecutionResponse> DescribeJobExecutionAsync(DescribeJobExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DescribeJobExecutionRequestMarshaller(); var unmarshaller = DescribeJobExecutionResponseUnmarshaller.Instance; return(InvokeAsync <DescribeJobExecutionRequest, DescribeJobExecutionResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Gets details of a job execution. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeJobExecution 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 DescribeJobExecution service method, as returned by IoTJobsDataPlane.</returns> /// <exception cref="Amazon.IoTJobsDataPlane.Model.CertificateValidationException"> /// The certificate is invalid. /// </exception> /// <exception cref="Amazon.IoTJobsDataPlane.Model.InvalidRequestException"> /// The contents of the request were invalid. For example, this code is returned when /// an UpdateJobExecution request contains invalid status details. The message contains /// details about the error. /// </exception> /// <exception cref="Amazon.IoTJobsDataPlane.Model.ResourceNotFoundException"> /// The specified resource does not exist. /// </exception> /// <exception cref="Amazon.IoTJobsDataPlane.Model.ServiceUnavailableException"> /// The service is temporarily unavailable. /// </exception> /// <exception cref="Amazon.IoTJobsDataPlane.Model.TerminalStateException"> /// The job is in a terminal state. /// </exception> /// <exception cref="Amazon.IoTJobsDataPlane.Model.ThrottlingException"> /// The rate exceeds the limit. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/DescribeJobExecution">REST API Reference for DescribeJobExecution Operation</seealso> public virtual Task <DescribeJobExecutionResponse> DescribeJobExecutionAsync(DescribeJobExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobExecutionResponseUnmarshaller.Instance; return(InvokeAsync <DescribeJobExecutionResponse>(request, options, cancellationToken)); }
internal virtual DescribeJobExecutionResponse DescribeJobExecution(DescribeJobExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobExecutionResponseUnmarshaller.Instance; return(Invoke <DescribeJobExecutionResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeJobExecution operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeJobExecution operation on AmazonIoTJobsDataPlaneClient.</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 EndDescribeJobExecution /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/DescribeJobExecution">REST API Reference for DescribeJobExecution Operation</seealso> public virtual IAsyncResult BeginDescribeJobExecution(DescribeJobExecutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobExecutionResponseUnmarshaller.Instance; return(BeginInvoke(request, options, callback, state)); }