AWSSDKDocSamples.Amazon.CodePipeline.Generated.CodePipelineSamples.CodePipelineAcknowledgeJob C# (CSharp) Метод

CodePipelineAcknowledgeJob() публичный Метод

public CodePipelineAcknowledgeJob ( ) : void
Результат void
        public void CodePipelineAcknowledgeJob()
        {
            #region acknowledge-a-job-for-a-custom-action-1449100979484

            var response = client.AcknowledgeJob(new AcknowledgeJobRequest 
            {
                JobId = "11111111-abcd-1111-abcd-111111abcdef", // Use the PollforJobs API to determine the ID of the job.
                Nonce = "3" // Use the PollforJobs API to determine the nonce for the job.
            });

            string status = response.Status; // Valid values include Created, Queued, Dispatched, InProgress, TimedOut, Suceeded, and Failed. Completed jobs are removed from the system after a short period of time.

            #endregion
        }