CreateCompilationJobRequest
public struct CreateCompilationJobRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
A name for the model compilation job. The name must be unique within the AWS Region and within your AWS account.
Declaration
Swift
public let compilationJobName: String
-
Provides information about the location of input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.
Declaration
Swift
public let inputConfig: InputConfig
-
Provides information about the output location for the compiled model and the target device the model runs on.
Declaration
Swift
public let outputConfig: OutputConfig
-
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. During model compilation, Amazon SageMaker needs your permission to: Read input data from an S3 bucket Write model artifacts to an S3 bucket Write logs to Amazon CloudWatch Logs Publish metrics to Amazon CloudWatch You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole permission. For more information, see Amazon SageMaker Roles.
Declaration
Swift
public let roleArn: String
-
Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker ends the compilation job. Use this API to cap model training costs.
Declaration
Swift
public let stoppingCondition: StoppingCondition
-
Undocumented
Declaration
Swift
public init(compilationJobName: String, inputConfig: InputConfig, outputConfig: OutputConfig, roleArn: String, stoppingCondition: StoppingCondition)
-
Declaration
Swift
public func validate(name: String) throws