Module Values_2.GetScalingConfigurationRecommendationResponseSource

Starts an Amazon SageMaker Inference Recommender autoscaling recommendation job. Returns recommendations for autoscaling policies that you can apply to your SageMaker endpoint.

Sourcetype nonrec t = {
  1. inferenceRecommendationsJobName : Values_1.RecommendationJobName.t option;
    (*

    The name of a previously completed Inference Recommender job.

    *)
  2. recommendationId : Values_0.String_.t option;
    (*

    The recommendation ID of a previously completed inference recommendation.

    *)
  3. endpointName : Values_0.EndpointName.t option;
    (*

    The name of an endpoint benchmarked during a previously completed Inference Recommender job.

    *)
  4. targetCpuUtilizationPerCore : UtilizationPercentagePerCore.t option;
    (*

    The percentage of how much utilization you want an instance to use before autoscaling, which you specified in the request. The default value is 50%.

    *)
  5. scalingPolicyObjective : ScalingPolicyObjective.t option;
    (*

    An object representing the anticipated traffic pattern for an endpoint that you specified in the request.

    *)
  6. metric : ScalingPolicyMetric.t option;
    (*

    An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.

    *)
  7. dynamicScalingConfiguration : DynamicScalingConfiguration.t option;
    (*

    An object with the recommended values for you to specify when creating an autoscaling policy.

    *)
}
Sourcetype nonrec error = [
  1. | `ResourceNotFound of Values_0.ResourceNotFound.t
  2. | `Unknown_operation_error of string * string option
]
Sourceval make : ?inferenceRecommendationsJobName:??? -> ?recommendationId:??? -> ?endpointName:??? -> ?targetCpuUtilizationPerCore:??? -> ?scalingPolicyObjective:??? -> ?metric:??? -> ?dynamicScalingConfiguration:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ResourceNotFound of Values_0.ResourceNotFound.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ResourceNotFound of Values_0.ResourceNotFound.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of UtilizationPercentagePerCore.t | `String of Values_1.RecommendationJobName.t | `Structure of (string * [> `Integer of Values_0.Integer.t | `List of [> `Structure of (string * [> `Structure of (string * [> `Double of Double.t | `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of Values_0.String_.t ]) list ]) list ]) list ]) 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