Module Values_1.CreateInferenceRecommendationsJobRequestSource

Starts a recommendation job. You can create either an instance recommendation or load test job.

Sourcetype nonrec t = {
  1. jobName : RecommendationJobName.t;
    (*

    A name for the recommendation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account. The job name is passed down to the resources created by the recommendation job. The names of resources (such as the model, endpoint configuration, endpoint, and compilation) that are prefixed with the job name are truncated at 40 characters.

    *)
  2. jobType : RecommendationJobType.t;
    (*

    Defines the type of recommendation job. Specify Default to initiate an instance recommendation and Advanced to initiate a load test. If left unspecified, Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT) job.

    *)
  3. roleArn : Values_0.RoleArn.t;
    (*

    The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

    *)
  4. inputConfig : RecommendationJobInputConfig.t;
    (*

    Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.

    *)
  5. jobDescription : RecommendationJobDescription.t option;
    (*

    Description of the recommendation job.

    *)
  6. stoppingConditions : RecommendationJobStoppingConditions.t option;
    (*

    A set of conditions for stopping a recommendation job. If any of the conditions are met, the job is automatically stopped.

    *)
  7. outputConfig : RecommendationJobOutputConfig.t option;
    (*

    Provides information about the output artifacts and the KMS key to use for Amazon S3 server-side encryption.

    *)
  8. tags : Values_0.TagList.t option;
    (*

    The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.

    *)
}
Sourceval context_ : string
Sourceval make : ?jobDescription:??? -> ?stoppingConditions:??? -> ?outputConfig:??? -> ?tags:??? -> jobName:RecommendationJobName.t -> jobType:RecommendationJobType.t -> roleArn:Values_0.RoleArn.t -> inputConfig:RecommendationJobInputConfig.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of RecommendationJobName.t | `Structure of (string * [> `Enum of string | `Integer of JobDurationInSeconds.t | `List of [> `Structure of (string * [> `Enum of string | `Integer of Values_0.Integer.t | `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 ]) 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