Amazon.CodePipeline.AmazonCodePipelineClient.AcknowledgeJobAsync C# (CSharp) Метод

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

Returns information about a specified job and whether that job has been received by the job worker. Only used for custom actions.
/// The specified nonce was specified in an invalid format. /// /// The specified job was specified in an invalid format or cannot be found. /// /// The validation was specified in an invalid format. ///
public AcknowledgeJobAsync ( string jobId, string nonce, System cancellationToken = default(CancellationToken) ) : Task
jobId string The unique system-generated ID of the job for which you want to confirm receipt.
nonce string A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Get this number from the response of the PollForJobs request that returned this job.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<AcknowledgeJobResponse> AcknowledgeJobAsync(string jobId, string nonce, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new AcknowledgeJobRequest();
            request.JobId = jobId;
            request.Nonce = nonce;
            return AcknowledgeJobAsync(request, cancellationToken);
        }

Same methods

AmazonCodePipelineClient::AcknowledgeJobAsync ( AcknowledgeJobRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonCodePipelineClient