sagemaker.core.enums#

Defines enum values.

Classes

EndpointType(value)

Types of endpoint

RoutingStrategy(value)

Strategy for routing https traffics.

Tag(value)

Enum class for tag keys to apply to models.

class sagemaker.core.enums.EndpointType(value)[source]#

Bases: Enum

Types of endpoint

INFERENCE_COMPONENT_BASED = 'InferenceComponentBased'#
MODEL_BASED = 'ModelBased'#
class sagemaker.core.enums.RoutingStrategy(value)[source]#

Bases: Enum

Strategy for routing https traffics.

LEAST_OUTSTANDING_REQUESTS = 'LEAST_OUTSTANDING_REQUESTS'#

The endpoint routes requests to the specific instances that have more capacity to process them.

RANDOM = 'RANDOM'#

The endpoint routes each request to a randomly chosen instance.

class sagemaker.core.enums.Tag(value)[source]#

Bases: str, Enum

Enum class for tag keys to apply to models.

FINE_TUNING_JOB_NAME = 'sagemaker-sdk:fine-tuning-job-name'#
FINE_TUNING_MODEL_PATH = 'sagemaker-sdk:fine-tuning-model-path'#
OPTIMIZATION_JOB_NAME = 'sagemaker-sdk:optimization-job-name'#
SPECULATIVE_DRAFT_MODEL_PROVIDER = 'sagemaker-sdk:speculative-draft-model-provider'#