Skip to content

DesiredWeightAndCapacity

Source code in docs_src/capo_sagemaker/types/desired_weight_and_capacity.py
class DesiredWeightAndCapacity(TypedDict, closed=True):
    variant_name: NotRequired["capo_sagemaker.types.variant_name.VariantName"]
    """<p>The name of the variant to update.</p>"""
    desired_weight: NotRequired["capo_sagemaker.types.variant_weight.VariantWeight"]
    """<p>The variant's weight.</p>"""
    desired_instance_count: NotRequired["capo_sagemaker.types.task_count.TaskCount"]
    """<p>The variant's capacity.</p>"""
    serverless_update_config: NotRequired[
        "capo_sagemaker.types.production_variant_serverless_update_config.ProductionVariantServerlessUpdateConfig"
    ]
    """<p>Specifies the serverless update concurrency configuration for an endpoint variant.</p>"""

desired_instance_count instance-attribute

desired_instance_count: NotRequired[TaskCount]

The variant's capacity.

desired_weight instance-attribute

desired_weight: NotRequired[VariantWeight]

The variant's weight.

serverless_update_config instance-attribute

serverless_update_config: NotRequired[ProductionVariantServerlessUpdateConfig]

Specifies the serverless update concurrency configuration for an endpoint variant.

variant_name instance-attribute

variant_name: NotRequired[VariantName]

The name of the variant to update.