CreateModelInput

public struct CreateModelInput : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Specifies the containers in the inference pipeline.

    Declaration

    Swift

    public let containers: [ContainerDefinition]?
  • Isolates the model container. No inbound or outbound network calls can be made to or from the model container.

    Declaration

    Swift

    public let enableNetworkIsolation: Bool?
  • The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on ML compute instances or for batch transform jobs. Deploying on ML compute instances is part of model hosting. For more information, see Amazon SageMaker Roles. To be able to pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole permission.

    Declaration

    Swift

    public let executionRoleArn: String
  • The name of the new model.

    Declaration

    Swift

    public let modelName: String
  • The location of the primary docker image containing inference code, associated artifacts, and custom environment map that the inference code uses when the model is deployed for predictions.

    Declaration

    Swift

    public let primaryContainer: ContainerDefinition?
  • An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

    Declaration

    Swift

    public let tags: [Tag]?
  • A VpcConfig object that specifies the VPC that you want your model to connect to. Control access to and from your model container by configuring the VPC. VpcConfig is used in hosting services and in batch transform. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud and Protect Data in Batch Transform Jobs by Using an Amazon Virtual Private Cloud.

    Declaration

    Swift

    public let vpcConfig: VpcConfig?
  • Undocumented

    Declaration

    Swift

    public init(containers: [ContainerDefinition]? = nil, enableNetworkIsolation: Bool? = nil, executionRoleArn: String, modelName: String, primaryContainer: ContainerDefinition? = nil, tags: [Tag]? = nil, vpcConfig: VpcConfig? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws