AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Represents the failure of a job as returned to the pipeline by a job worker. Used for custom actions only.
For .NET Core this operation is only available in asynchronous form. Please refer to PutJobFailureResultAsync.
Namespace: Amazon.CodePipeline
Assembly: AWSSDK.CodePipeline.dll
Version: 3.x.y.z
public virtual PutJobFailureResultResponse PutJobFailureResult( String jobId, FailureDetails failureDetails )
The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs.
The details about the failure of a job.
Exception | Condition |
---|---|
InvalidJobStateException | The job state was specified in an invalid format. |
JobNotFoundException | The job was specified in an invalid format or cannot be found. |
ValidationException | The validation was specified in an invalid format. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5