Skip to content

winterbaume-sagemaker

Amazon SageMaker service implementation for winterbaume.

Coverage

MetricValue
ServiceSageMaker
AWS modelsagemaker
ProtocolawsJson1.1
winterbaume coverage141/396 operations (35.6%)
stubs (routed, returns empty/default)1/396 operations (0.3%)
moto coverage112/396 operations (28.3%)
floci coverage0/396 operations (0.0%)
kumo coverage11/396 operations (2.8%)
Coverage report date2026-05-13

Server-mode usage

Start winterbaume-server and point the AWS CLI at it:

sh
cargo run -p winterbaume-server -- --host 127.0.0.1 --port 5555
sh
export AWS_ENDPOINT_URL=http://localhost:5555
aws sagemaker list-models

Current Network Resource Stub Semantics

SageMaker currently leaves most VPC-aware model fields unpopulated in implemented state.

  • Model records include a vpc_config slot, but current create_model initialises it to None.
  • Domain records include VPC ID, subnet IDs, app network access type, and security group IDs, but current create_domain initialises VPC ID to None and the subnet/security group lists to empty.
  • Notebook, job, app, and workforce VPC shapes exist in the generated model, but the implemented state does not provision ENIs or validate networking inputs.
  • The implementation does not consult winterbaume-ec2 state for these identifiers, so it does not check that referenced VPCs, subnets, security groups, VPC endpoints, network interfaces, or load balancers exist, belong to the same VPC, or are in a usable lifecycle state.

Example

rust
use aws_sdk_sagemaker::config::BehaviorVersion;
use winterbaume_core::MockAws;
use winterbaume_sagemaker::SageMakerService;

#[tokio::main]
async fn main() {
    let mock = MockAws::builder()
        .with_service(SageMakerService::new())
        .build();

    let config = aws_config::defaults(BehaviorVersion::latest())
        .http_client(mock.http_client())
        .credentials_provider(mock.credentials_provider())
        .region(aws_sdk_sagemaker::config::Region::new("us-east-1"))
        .load()
        .await;

    let client = aws_sdk_sagemaker::Client::new(&config);

    let resp = client
        .list_domains()
        .send()
        .await
        .expect("list_domains should succeed");
    println!("SageMaker domains: {}", resp.domains().len());
}

Implemented APIs (141)

  • AddTags
  • AssociateTrialComponent
  • CreateApp
  • CreateAutoMLJobV2
  • CreateCluster
  • CreateCompilationJob
  • CreateDataQualityJobDefinition
  • CreateDomain
  • CreateEndpoint
  • CreateEndpointConfig
  • CreateExperiment
  • CreateFeatureGroup
  • CreateHyperParameterTuningJob
  • CreateModel
  • CreateModelBiasJobDefinition
  • CreateModelCard
  • CreateModelExplainabilityJobDefinition
  • CreateModelPackage
  • CreateModelPackageGroup
  • CreateModelQualityJobDefinition
  • CreateNotebookInstance
  • CreateNotebookInstanceLifecycleConfig
  • CreatePipeline
  • CreateProcessingJob
  • CreateSpace
  • CreateTrainingJob
  • CreateTransformJob
  • CreateTrial
  • CreateTrialComponent
  • CreateUserProfile
  • DeleteApp
  • DeleteCluster
  • DeleteCompilationJob
  • DeleteDataQualityJobDefinition
  • DeleteDomain
  • DeleteEndpoint
  • DeleteEndpointConfig
  • DeleteExperiment
  • DeleteFeatureGroup
  • DeleteHyperParameterTuningJob
  • DeleteModel
  • DeleteModelBiasJobDefinition
  • DeleteModelCard
  • DeleteModelExplainabilityJobDefinition
  • DeleteModelPackage
  • DeleteModelPackageGroup
  • DeleteModelQualityJobDefinition
  • DeleteNotebookInstance
  • DeleteNotebookInstanceLifecycleConfig
  • DeletePipeline
  • DeleteProcessingJob
  • DeleteSpace
  • DeleteTags
  • DeleteTrainingJob
  • DeleteTrial
  • DeleteTrialComponent
  • DeleteUserProfile
  • DescribeApp
  • DescribeAutoMLJobV2
  • DescribeCluster
  • DescribeClusterNode
  • DescribeCompilationJob
  • DescribeDataQualityJobDefinition
  • DescribeDomain
  • DescribeEndpoint
  • DescribeEndpointConfig
  • DescribeExperiment
  • DescribeFeatureGroup
  • DescribeHyperParameterTuningJob
  • DescribeModel
  • DescribeModelBiasJobDefinition
  • DescribeModelCard
  • DescribeModelExplainabilityJobDefinition
  • DescribeModelPackage
  • DescribeModelPackageGroup
  • DescribeModelQualityJobDefinition
  • DescribeNotebookInstance
  • DescribeNotebookInstanceLifecycleConfig
  • DescribePipeline
  • DescribePipelineDefinitionForExecution
  • DescribePipelineExecution
  • DescribeProcessingJob
  • DescribeSpace
  • DescribeTrainingJob
  • DescribeTransformJob
  • DescribeTrial
  • DescribeTrialComponent
  • DescribeUserProfile
  • DisassociateTrialComponent
  • ListApps
  • ListAutoMLJobs
  • ListClusterNodes
  • ListClusters
  • ListCompilationJobs
  • ListDataQualityJobDefinitions
  • ListDomains
  • ListEndpointConfigs
  • ListEndpoints
  • ListExperiments
  • ListFeatureGroups
  • ListHyperParameterTuningJobs
  • ListModelBiasJobDefinitions
  • ListModelCardVersions
  • ListModelCards
  • ListModelExplainabilityJobDefinitions
  • ListModelPackageGroups
  • ListModelPackages
  • ListModelQualityJobDefinitions
  • ListModels
  • ListNotebookInstanceLifecycleConfigs
  • ListNotebookInstances
  • ListPipelineExecutions
  • ListPipelineParametersForExecution
  • ListPipelines
  • ListProcessingJobs
  • ListSpaces
  • ListTags
  • ListTrainingJobs
  • ListTransformJobs
  • ListTrialComponents
  • ListTrials
  • ListUserProfiles
  • StartNotebookInstance
  • StartPipelineExecution
  • StopAutoMLJob
  • StopNotebookInstance
  • StopProcessingJob
  • StopTrainingJob
  • StopTransformJob
  • UpdateDomain
  • UpdateEndpoint
  • UpdateEndpointWeightsAndCapacities
  • UpdateExperiment
  • UpdateModelCard
  • UpdateModelPackage
  • UpdateNotebookInstance
  • UpdatePipeline
  • UpdateSpace
  • UpdateTrial
  • UpdateTrialComponent
  • UpdateUserProfile
Stubbed APIs (1) — routed but return an empty/default response
  • Search
Not yet implemented APIs (254)
  • AddAssociation
  • AttachClusterNodeVolume
  • BatchAddClusterNodes
  • BatchDeleteClusterNodes
  • BatchDescribeModelPackage
  • BatchRebootClusterNodes
  • BatchReplaceClusterNodes
  • CreateAIBenchmarkJob
  • CreateAIRecommendationJob
  • CreateAIWorkloadConfig
  • CreateAction
  • CreateAlgorithm
  • CreateAppImageConfig
  • CreateArtifact
  • CreateAutoMLJob
  • CreateClusterSchedulerConfig
  • CreateCodeRepository
  • CreateComputeQuota
  • CreateContext
  • CreateDeviceFleet
  • CreateEdgeDeploymentPlan
  • CreateEdgeDeploymentStage
  • CreateEdgePackagingJob
  • CreateFlowDefinition
  • CreateHub
  • CreateHubContentPresignedUrls
  • CreateHubContentReference
  • CreateHumanTaskUi
  • CreateImage
  • CreateImageVersion
  • CreateInferenceComponent
  • CreateInferenceExperiment
  • CreateInferenceRecommendationsJob
  • CreateLabelingJob
  • CreateMlflowApp
  • CreateMlflowTrackingServer
  • CreateModelCardExportJob
  • CreateMonitoringSchedule
  • CreateOptimizationJob
  • CreatePartnerApp
  • CreatePartnerAppPresignedUrl
  • CreatePresignedDomainUrl
  • CreatePresignedMlflowAppUrl
  • CreatePresignedMlflowTrackingServerUrl
  • CreatePresignedNotebookInstanceUrl
  • CreateProject
  • CreateStudioLifecycleConfig
  • CreateTrainingPlan
  • CreateWorkforce
  • CreateWorkteam
  • DeleteAIBenchmarkJob
  • DeleteAIRecommendationJob
  • DeleteAIWorkloadConfig
  • DeleteAction
  • DeleteAlgorithm
  • DeleteAppImageConfig
  • DeleteArtifact
  • DeleteAssociation
  • DeleteClusterSchedulerConfig
  • DeleteCodeRepository
  • DeleteComputeQuota
  • DeleteContext
  • DeleteDeviceFleet
  • DeleteEdgeDeploymentPlan
  • DeleteEdgeDeploymentStage
  • DeleteFlowDefinition
  • DeleteHub
  • DeleteHubContent
  • DeleteHubContentReference
  • DeleteHumanTaskUi
  • DeleteImage
  • DeleteImageVersion
  • DeleteInferenceComponent
  • DeleteInferenceExperiment
  • DeleteMlflowApp
  • DeleteMlflowTrackingServer
  • DeleteModelPackageGroupPolicy
  • DeleteMonitoringSchedule
  • DeleteOptimizationJob
  • DeletePartnerApp
  • DeleteProject
  • DeleteStudioLifecycleConfig
  • DeleteWorkforce
  • DeleteWorkteam
  • DeregisterDevices
  • DescribeAIBenchmarkJob
  • DescribeAIRecommendationJob
  • DescribeAIWorkloadConfig
  • DescribeAction
  • DescribeAlgorithm
  • DescribeAppImageConfig
  • DescribeArtifact
  • DescribeAutoMLJob
  • DescribeClusterEvent
  • DescribeClusterSchedulerConfig
  • DescribeCodeRepository
  • DescribeComputeQuota
  • DescribeContext
  • DescribeDevice
  • DescribeDeviceFleet
  • DescribeEdgeDeploymentPlan
  • DescribeEdgePackagingJob
  • DescribeFeatureMetadata
  • DescribeFlowDefinition
  • DescribeHub
  • DescribeHubContent
  • DescribeHumanTaskUi
  • DescribeImage
  • DescribeImageVersion
  • DescribeInferenceComponent
  • DescribeInferenceExperiment
  • DescribeInferenceRecommendationsJob
  • DescribeLabelingJob
  • DescribeLineageGroup
  • DescribeMlflowApp
  • DescribeMlflowTrackingServer
  • DescribeModelCardExportJob
  • DescribeMonitoringSchedule
  • DescribeOptimizationJob
  • DescribePartnerApp
  • DescribeProject
  • DescribeReservedCapacity
  • DescribeStudioLifecycleConfig
  • DescribeSubscribedWorkteam
  • DescribeTrainingPlan
  • DescribeTrainingPlanExtensionHistory
  • DescribeWorkforce
  • DescribeWorkteam
  • DetachClusterNodeVolume
  • DisableSagemakerServicecatalogPortfolio
  • EnableSagemakerServicecatalogPortfolio
  • ExtendTrainingPlan
  • GetDeviceFleetReport
  • GetLineageGroupPolicy
  • GetModelPackageGroupPolicy
  • GetSagemakerServicecatalogPortfolioStatus
  • GetScalingConfigurationRecommendation
  • GetSearchSuggestions
  • ImportHubContent
  • ListAIBenchmarkJobs
  • ListAIRecommendationJobs
  • ListAIWorkloadConfigs
  • ListActions
  • ListAlgorithms
  • ListAliases
  • ListAppImageConfigs
  • ListArtifacts
  • ListAssociations
  • ListCandidatesForAutoMLJob
  • ListClusterEvents
  • ListClusterSchedulerConfigs
  • ListCodeRepositories
  • ListComputeQuotas
  • ListContexts
  • ListDeviceFleets
  • ListDevices
  • ListEdgeDeploymentPlans
  • ListEdgePackagingJobs
  • ListFlowDefinitions
  • ListHubContentVersions
  • ListHubContents
  • ListHubs
  • ListHumanTaskUis
  • ListImageVersions
  • ListImages
  • ListInferenceComponents
  • ListInferenceExperiments
  • ListInferenceRecommendationsJobSteps
  • ListInferenceRecommendationsJobs
  • ListLabelingJobs
  • ListLabelingJobsForWorkteam
  • ListLineageGroups
  • ListMlflowApps
  • ListMlflowTrackingServers
  • ListModelCardExportJobs
  • ListModelMetadata
  • ListMonitoringAlertHistory
  • ListMonitoringAlerts
  • ListMonitoringExecutions
  • ListMonitoringSchedules
  • ListOptimizationJobs
  • ListPartnerApps
  • ListPipelineExecutionSteps
  • ListPipelineVersions
  • ListProjects
  • ListResourceCatalogs
  • ListStageDevices
  • ListStudioLifecycleConfigs
  • ListSubscribedWorkteams
  • ListTrainingJobsForHyperParameterTuningJob
  • ListTrainingPlans
  • ListUltraServersByReservedCapacity
  • ListWorkforces
  • ListWorkteams
  • PutModelPackageGroupPolicy
  • QueryLineage
  • RegisterDevices
  • RenderUiTemplate
  • RetryPipelineExecution
  • SearchTrainingPlanOfferings
  • SendPipelineExecutionStepFailure
  • SendPipelineExecutionStepSuccess
  • StartClusterHealthCheck
  • StartEdgeDeploymentStage
  • StartInferenceExperiment
  • StartMlflowTrackingServer
  • StartMonitoringSchedule
  • StartSession
  • StopAIBenchmarkJob
  • StopAIRecommendationJob
  • StopCompilationJob
  • StopEdgeDeploymentStage
  • StopEdgePackagingJob
  • StopHyperParameterTuningJob
  • StopInferenceExperiment
  • StopInferenceRecommendationsJob
  • StopLabelingJob
  • StopMlflowTrackingServer
  • StopMonitoringSchedule
  • StopOptimizationJob
  • StopPipelineExecution
  • UpdateAction
  • UpdateAppImageConfig
  • UpdateArtifact
  • UpdateCluster
  • UpdateClusterSchedulerConfig
  • UpdateClusterSoftware
  • UpdateCodeRepository
  • UpdateComputeQuota
  • UpdateContext
  • UpdateDeviceFleet
  • UpdateDevices
  • UpdateFeatureGroup
  • UpdateFeatureMetadata
  • UpdateHub
  • UpdateHubContent
  • UpdateHubContentReference
  • UpdateImage
  • UpdateImageVersion
  • UpdateInferenceComponent
  • UpdateInferenceComponentRuntimeConfig
  • UpdateInferenceExperiment
  • UpdateMlflowApp
  • UpdateMlflowTrackingServer
  • UpdateMonitoringAlert
  • UpdateMonitoringSchedule
  • UpdateNotebookInstanceLifecycleConfig
  • UpdatePartnerApp
  • UpdatePipelineExecution
  • UpdatePipelineVersion
  • UpdateProject
  • UpdateTrainingJob
  • UpdateWorkforce
  • UpdateWorkteam

Released under the Apache-2.0 License. This project is not affiliated with or endorsed by Amazon Web Services.