Values_1.CreateInferenceRecommendationsJobRequestSourceStarts a recommendation job. You can create either an instance recommendation or load test job.
type nonrec t = {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.
*)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.
*)roleArn : Values_0.RoleArn.t;The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
*)inputConfig : RecommendationJobInputConfig.t;Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.
*)jobDescription : RecommendationJobDescription.t option;Description of the recommendation job.
*)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.
*)outputConfig : RecommendationJobOutputConfig.t option;Provides information about the output artifacts and the KMS key to use for Amazon S3 server-side encryption.
*)}val make :
?jobDescription:??? ->
?stoppingConditions:??? ->
?outputConfig:??? ->
?tags:??? ->
jobName:RecommendationJobName.t ->
jobType:RecommendationJobType.t ->
roleArn:Values_0.RoleArn.t ->
inputConfig:RecommendationJobInputConfig.t ->
unit ->
tval 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 ]