StoppingCondition
public struct StoppingCondition : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The maximum length of time, in seconds, that the training or compilation job can run. If job does not complete during this time, Amazon SageMaker ends the job. If value is not specified, default value is 1 day. The maximum value is 28 days.
Declaration
Swift
public let maxRuntimeInSeconds: Int?
-
The maximum length of time, in seconds, how long you are willing to wait for a managed spot training job to complete. It is the amount of time spent waiting for Spot capacity plus the amount of time the training job runs. It must be equal to or greater than MaxRuntimeInSeconds.
Declaration
Swift
public let maxWaitTimeInSeconds: Int?
-
Undocumented
Declaration
Swift
public init(maxRuntimeInSeconds: Int? = nil, maxWaitTimeInSeconds: Int? = nil)
-
Declaration
Swift
public func validate(name: String) throws