You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodePipeline::Types::PutJobFailureResultInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb

Overview

Note:

When making an API call, you may pass PutJobFailureResultInput data as a hash:

{
  job_id: "JobId", # required
  failure_details: { # required
    type: "JobFailed", # required, accepts JobFailed, ConfigurationError, PermissionError, RevisionOutOfSync, RevisionUnavailable, SystemUnavailable
    message: "Message", # required
    external_execution_id: "ExecutionId",
  },
}

Represents the input of a PutJobFailureResult action.

Instance Attribute Summary collapse

Instance Attribute Details

#failure_detailsTypes::FailureDetails

The details about the failure of a job.



2311
2312
2313
2314
2315
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2311

class PutJobFailureResultInput < Struct.new(
  :job_id,
  :failure_details)
  include Aws::Structure
end

#job_idString

The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs.

Returns:

  • (String)


2311
2312
2313
2314
2315
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2311

class PutJobFailureResultInput < Struct.new(
  :job_id,
  :failure_details)
  include Aws::Structure
end