JobDetail

public struct JobDetail : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The array properties of the job, if it is an array job.

    Declaration

    Swift

    public let arrayProperties: ArrayPropertiesDetail?
  • A list of job attempts associated with this job.

    Declaration

    Swift

    public let attempts: [AttemptDetail]?
  • An object representing the details of the container that is associated with the job.

    Declaration

    Swift

    public let container: ContainerDetail?
  • The Unix timestamp (in seconds and milliseconds) for when the job was created. For non-array jobs and parent array jobs, this is when the job entered the SUBMITTED state (at the time SubmitJob was called). For array child jobs, this is when the child job was spawned by its parent and entered the PENDING state.

    Declaration

    Swift

    public let createdAt: Int64?
  • A list of job IDs on which this job depends.

    Declaration

    Swift

    public let dependsOn: [JobDependency]?
  • The job definition that is used by this job.

    Declaration

    Swift

    public let jobDefinition: String
  • The ID for the job.

    Declaration

    Swift

    public let jobId: String
  • The name of the job.

    Declaration

    Swift

    public let jobName: String
  • The Amazon Resource Name (ARN) of the job queue with which the job is associated.

    Declaration

    Swift

    public let jobQueue: String
  • An object representing the details of a node that is associated with a multi-node parallel job.

    Declaration

    Swift

    public let nodeDetails: NodeDetails?
  • An object representing the node properties of a multi-node parallel job.

    Declaration

    Swift

    public let nodeProperties: NodeProperties?
  • Additional parameters passed to the job that replace parameter substitution placeholders or override any corresponding parameter defaults from the job definition.

    Declaration

    Swift

    public let parameters: [String : String]?
  • The retry strategy to use for this job if an attempt fails.

    Declaration

    Swift

    public let retryStrategy: RetryStrategy?
  • The Unix timestamp (in seconds and milliseconds) for when the job was started (when the job transitioned from the STARTING state to the RUNNING state).

    Declaration

    Swift

    public let startedAt: Int64
  • The current status for the job. If your jobs do not progress to STARTING, see Jobs Stuck in RUNNABLE Status in the troubleshooting section of the AWS Batch User Guide.

    Declaration

    Swift

    public let status: JobStatus
  • A short, human-readable string to provide additional details about the current status of the job.

    Declaration

    Swift

    public let statusReason: String?
  • The Unix timestamp (in seconds and milliseconds) for when the job was stopped (when the job transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED).

    Declaration

    Swift

    public let stoppedAt: Int64?
  • The timeout configuration for the job.

    Declaration

    Swift

    public let timeout: JobTimeout?
  • Undocumented

    Declaration

    Swift

    public init(arrayProperties: ArrayPropertiesDetail? = nil, attempts: [AttemptDetail]? = nil, container: ContainerDetail? = nil, createdAt: Int64? = nil, dependsOn: [JobDependency]? = nil, jobDefinition: String, jobId: String, jobName: String, jobQueue: String, nodeDetails: NodeDetails? = nil, nodeProperties: NodeProperties? = nil, parameters: [String : String]? = nil, retryStrategy: RetryStrategy? = nil, startedAt: Int64, status: JobStatus, statusReason: String? = nil, stoppedAt: Int64? = nil, timeout: JobTimeout? = nil)