Skip to content

GetScalingConfigurationRecommendationRequest

Source code in docs_src/capo_sagemaker/types/get_scaling_configuration_recommendation_request.py
class GetScalingConfigurationRecommendationRequest(TypedDict, closed=True):
    inference_recommendations_job_name: NotRequired[
        "capo_sagemaker.types.recommendation_job_name.RecommendationJobName"
    ]
    """<p>The name of a previously completed Inference Recommender job.</p>"""
    recommendation_id: NotRequired["capo_sagemaker.types.string.String"]
    """<p>The recommendation ID of a previously completed inference recommendation. This ID should come from one of the recommendations returned by the job specified in the <code>InferenceRecommendationsJobName</code> field.</p> <p>Specify either this field or the <code>EndpointName</code> field.</p>"""
    endpoint_name: NotRequired["capo_sagemaker.types.endpoint_name.EndpointName"]
    """<p>The name of an endpoint benchmarked during a previously completed inference recommendation job. This name should come from one of the recommendations returned by the job specified in the <code>InferenceRecommendationsJobName</code> field.</p> <p>Specify either this field or the <code>RecommendationId</code> field.</p>"""
    target_cpu_utilization_per_core: NotRequired[
        "capo_sagemaker.types.utilization_percentage_per_core.UtilizationPercentagePerCore"
    ]
    """<p>The percentage of how much utilization you want an instance to use before autoscaling. The default value is 50%.</p>"""
    scaling_policy_objective: NotRequired[
        "capo_sagemaker.types.scaling_policy_objective.ScalingPolicyObjective"
    ]
    """<p>An object where you specify the anticipated traffic pattern for an endpoint.</p>"""

endpoint_name instance-attribute

endpoint_name: NotRequired[EndpointName]

The name of an endpoint benchmarked during a previously completed inference recommendation job. This name should come from one of the recommendations returned by the job specified in the InferenceRecommendationsJobName field.

Specify either this field or the RecommendationId field.

inference_recommendations_job_name instance-attribute

inference_recommendations_job_name: NotRequired[RecommendationJobName]

The name of a previously completed Inference Recommender job.

recommendation_id instance-attribute

recommendation_id: NotRequired[String]

The recommendation ID of a previously completed inference recommendation. This ID should come from one of the recommendations returned by the job specified in the InferenceRecommendationsJobName field.

Specify either this field or the EndpointName field.

scaling_policy_objective instance-attribute

scaling_policy_objective: NotRequired[ScalingPolicyObjective]

An object where you specify the anticipated traffic pattern for an endpoint.

target_cpu_utilization_per_core instance-attribute

target_cpu_utilization_per_core: NotRequired[UtilizationPercentagePerCore]

The percentage of how much utilization you want an instance to use before autoscaling. The default value is 50%.