Module Values_1.RecommendationJobInputConfigSource

The input configuration of the recommendation job.

Sourcetype nonrec t = {
  1. modelPackageVersionArn : Values_0.ModelPackageArn.t option;
    (*

    The Amazon Resource Name (ARN) of a versioned model package.

    *)
  2. modelName : Values_0.ModelName.t option;
    (*

    The name of the created model.

    *)
  3. jobDurationInSeconds : JobDurationInSeconds.t option;
    (*

    Specifies the maximum duration of the job, in seconds. The maximum value is 18,000 seconds.

    *)
  4. trafficPattern : TrafficPattern.t option;
    (*

    Specifies the traffic pattern of the job.

    *)
  5. resourceLimit : RecommendationJobResourceLimit.t option;
    (*

    Defines the resource limit of the job.

    *)
  6. endpointConfigurations : EndpointInputConfigurations.t option;
    (*

    Specifies the endpoint configuration to use for a job.

    *)
  7. volumeKmsKeyId : Values_0.KmsKeyId.t option;
    (*

    The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation. The SageMaker execution role must have kms:CreateGrant permission in order to encrypt data on the storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail asynchronously during endpoint configuration creation if the role passed does not have kms:CreateGrant permission. The KmsKeyId can be any of the following formats: // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab" // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>" // KMS Key Alias "alias/ExampleAlias" // Amazon Resource Name (ARN) of a KMS Key Alias "arn:aws:kms:<region>:<account>:alias/<ExampleAlias>" For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.

    *)
  8. containerConfig : RecommendationJobContainerConfig.t option;
    (*

    Specifies mandatory fields for running an Inference Recommender job. The fields specified in ContainerConfig override the corresponding fields in the model package.

    *)
  9. endpoints : Endpoints.t option;
    (*

    Existing customer endpoints on which to run an Inference Recommender job.

    *)
  10. vpcConfig : RecommendationJobVpcConfig.t option;
    (*

    Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.

    *)
}
Sourceval make : ?modelPackageVersionArn:??? -> ?modelName:??? -> ?jobDurationInSeconds:??? -> ?trafficPattern:??? -> ?resourceLimit:??? -> ?endpointConfigurations:??? -> ?volumeKmsKeyId:??? -> ?containerConfig:??? -> ?endpoints:??? -> ?vpcConfig:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of JobDurationInSeconds.t | `List of [> `Structure of (string * [> `Enum of string | `String of Values_0.InferenceSpecificationName.t | `Structure of (string * [> `Integer of int | `List of [> `Structure of (string * [> `List of [> `String of string ] list | `String of string ]) list ] list ]) list ]) list ] list | `String of Values_0.ModelPackageArn.t | `Structure of (string * [> `Enum of string | `Integer of MaxNumberOfTests.t | `List of [> `String of Values_0.String_.t | `Structure of (string * [> `Integer of InitialNumberOfUsers.t ]) list ] list | `String of Values_0.String_.t | `Structure of (string * [> `Integer of TrafficDurationInSeconds.t | `List of [> `String of RecommendationJobSupportedContentType.t ] list | `String of Values_0.S3Uri.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t