sagemaker

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 25 Imported by: 0

README

SageMaker

Parity grade: A · SDK aws-sdk-go-v2/service/sagemaker@v1.236.0 · last audited 2026-07-12 (32733a415)

Coverage

Metric Value
Operations audited 22 (22 ok)
Feature families 21 (4 ok, 17 deferred)
Known gaps 3
Deferred items 17
Resource leaks clean
Known gaps
  • Pagination across the service is a hand-rolled integer-offset NextToken (parseNextToken/strconv.Atoi) rather than pkgs/page's opaque-token helper. Functionally correct (AWS clients treat NextToken as opaque) and internally consistent, but is a pkgs-catalog convention deviation across ~15 call sites. Not fixed this pass — refactor is cross-cutting and out of budget for a single-family sweep. (no bd issue filed yet)
  • ProductionVariantSummary.VariantStatus is populated with a single synthetic {Status: "Creating"|"InService"} entry, not a full AWS VariantStatus enum/message model (StatusMessage is always empty, no DeployedImages/CapacityReservationConfig/ManagedInstanceScaling/RoutingConfig fields). Sufficient for status-polling clients; deeper fidelity deferred. (no bd issue filed yet)
  • 9+ families deferred entirely (see families: above) — Domain/App/UserProfile/Space, Pipeline, Experiment/Trial, FeatureStore, ModelPackage, AutoML, Lineage, EdgeDeployment, Labeling, Hub, Cluster, TrainingPlan, MonitoringSchedule/Workteam/CompilationJob — none wire-audited this pass, only spot-checked for stub-vs-real dispatch wiring. Next audit pass should pick 2-3 of these per sweep given the service's size (~47k LOC).
Deferred
  • processing_transform_job (wire-shape field audit)
  • notebook_instance (wire-shape field audit)
  • hyperparameter_tuning_job
  • domain_app_userprofile_space
  • pipeline_pipeline_execution
  • …and 12 more — see PARITY.md

More

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrAlgorithmNotFound is returned when an algorithm does not exist.
	ErrAlgorithmNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrAlgorithmAlreadyExists is returned when an algorithm already exists.
	ErrAlgorithmAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrAppNotFound is returned when a SageMaker app does not exist.
	ErrAppNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrAppAlreadyExists is returned when an app already exists.
	ErrAppAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrAssociationNotFound is returned when an association does not exist.
	ErrAssociationNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrAssociationAlreadyExists is returned when an association already exists.
	ErrAssociationAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrAutoMLJobNotFound is returned when an AutoML job does not exist.
	ErrAutoMLJobNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrAutoMLJobNotStoppable is returned when stopping an already-terminal AutoML job.
	ErrAutoMLJobNotStoppable = awserr.New("ValidationException", awserr.ErrInvalidParameter)
)
View Source
var (
	// ErrClusterNotFound is returned when a cluster does not exist.
	ErrClusterNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrClusterAlreadyExists is returned when a cluster with the same name already exists.
	ErrClusterAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrCompilationJobNotFound is returned when a compilation job does not exist.
	ErrCompilationJobNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrCompilationJobNotStoppable is returned when stopping an already-terminal compilation job.
	ErrCompilationJobNotStoppable = awserr.New("ValidationException", awserr.ErrInvalidParameter)
)
View Source
var (
	// ErrDeviceFleetNotFound is returned when a device fleet does not exist.
	ErrDeviceFleetNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrDeviceFleetAlreadyExists is returned when a device fleet already exists.
	ErrDeviceFleetAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrDomainNotFound is returned when a domain does not exist.
	ErrDomainNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrDomainAlreadyExists is returned when a domain already exists.
	ErrDomainAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrEdgeDeploymentPlanNotFound is returned when an edge deployment plan does not exist.
	ErrEdgeDeploymentPlanNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrEdgeDeploymentPlanAlreadyExists is returned when an edge deployment plan already exists.
	ErrEdgeDeploymentPlanAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
	// ErrEdgeDeploymentStageNotFound is returned when a stage does not exist within a plan.
	ErrEdgeDeploymentStageNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
)
View Source
var (
	// ErrEdgePackagingJobNotFound is returned when an edge packaging job does not exist.
	ErrEdgePackagingJobNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrEdgePackagingJobAlreadyExists is returned when an edge packaging job already exists.
	ErrEdgePackagingJobAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrEndpointConfigNotFound is returned when an endpoint config does not exist.
	ErrEndpointConfigNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrEndpointConfigAlreadyExists is returned when an endpoint config already exists.
	ErrEndpointConfigAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrEndpointNotFound is returned when an endpoint does not exist.
	ErrEndpointNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrEndpointAlreadyExists is returned when an endpoint already exists.
	ErrEndpointAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrExperimentNotFound is returned when an experiment does not exist.
	ErrExperimentNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrExperimentAlreadyExists is returned when an experiment already exists.
	ErrExperimentAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrFeatureGroupNotFound is returned when a feature group does not exist.
	ErrFeatureGroupNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrFeatureGroupAlreadyExists is returned when a feature group already exists.
	ErrFeatureGroupAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrHPTuningJobNotFound is returned when an HP tuning job does not exist.
	ErrHPTuningJobNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrHPTuningJobAlreadyExists is returned when an HP tuning job already exists.
	ErrHPTuningJobAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrHubNotFound is returned when a hub does not exist.
	ErrHubNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrHubAlreadyExists is returned when a hub already exists.
	ErrHubAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
	// ErrHubNotEmpty is returned when deleting a hub that still contains hub content.
	ErrHubNotEmpty = awserr.New("ResourceInUse", awserr.ErrConflict)
	// ErrHubContentNotFound is returned when a hub content resource does not exist.
	ErrHubContentNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrHubContentAlreadyExists is returned when a hub content resource already exists.
	ErrHubContentAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrClusterSchedulerConfigNotFound is returned when a cluster scheduler config does not exist.
	ErrClusterSchedulerConfigNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrClusterSchedulerConfigAlreadyExists is returned when a cluster scheduler config already exists.
	ErrClusterSchedulerConfigAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrComputeQuotaNotFound is returned when a compute quota does not exist.
	ErrComputeQuotaNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrComputeQuotaAlreadyExists is returned when a compute quota already exists.
	ErrComputeQuotaAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrSMImageNotFound is returned when a SageMaker image does not exist.
	ErrSMImageNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrImageHasVersions is returned when deleting an image that still has versions.
	ErrImageHasVersions = awserr.New("ResourceInUse", awserr.ErrConflict)
	// ErrImageVersionNotFound is returned when an image version does not exist.
	ErrImageVersionNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
)
View Source
var (
	// ErrInferenceComponentNotFound is returned when an inference component does not exist.
	ErrInferenceComponentNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrInferenceComponentAlreadyExists is returned when an inference component already exists.
	ErrInferenceComponentAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrInferenceRecommendationsJobNotFound is returned when the job does not exist.
	ErrInferenceRecommendationsJobNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrInferenceRecommendationsJobAlreadyExists is returned when the job already exists.
	ErrInferenceRecommendationsJobAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrLabelingJobNotFound is returned when a labeling job does not exist.
	ErrLabelingJobNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrLabelingJobAlreadyExists is returned when a labeling job already exists.
	ErrLabelingJobAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
	// ErrSubscribedWorkteamNotFound is returned for DescribeSubscribedWorkteam,
	// since no Amazon Web Services Marketplace vendor subscriptions are modeled.
	ErrSubscribedWorkteamNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrWorkteamInUse is returned when deleting a workforce that still has work teams.
	ErrWorkteamInUse = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrActionNotFound is returned when an action does not exist.
	ErrActionNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrActionAlreadyExists is returned when an action already exists.
	ErrActionAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
	// ErrArtifactNotFound is returned when a lineage artifact does not exist.
	ErrArtifactNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrArtifactAlreadyExists is returned when a lineage artifact already exists.
	ErrArtifactAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
	// ErrContextNotFound is returned when a lineage context does not exist.
	ErrContextNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrContextAlreadyExists is returned when a lineage context already exists.
	ErrContextAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
	// ErrLineageGroupNotFound is returned when a lineage group does not exist.
	ErrLineageGroupNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrLineageGroupPolicyNotFound is returned when a lineage group has no resource policy attached.
	ErrLineageGroupPolicyNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
)
View Source
var (
	// ErrMlflowTrackingServerNotFound is returned when an MLflow tracking server does not exist.
	ErrMlflowTrackingServerNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrMlflowAppNotFound is returned when an MLflow App does not exist.
	ErrMlflowAppNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
)
View Source
var (
	// ErrModelPackageNotFound is returned when a model package does not exist.
	ErrModelPackageNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrModelPackageGroupNotFound is returned when a model package group does not exist.
	ErrModelPackageGroupNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrModelPackageGroupHasPackages is returned when deleting a group that still has packages.
	ErrModelPackageGroupHasPackages = awserr.New("ConflictException", awserr.ErrConflict)
)
View Source
var (
	// ErrModelNotFound is returned when a model does not exist.
	ErrModelNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrModelAlreadyExists is returned when a model already exists.
	ErrModelAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrDataQualityJobDefNotFound is returned when a data quality job definition does not exist.
	ErrDataQualityJobDefNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrDataQualityJobDefExists is returned when creating a data quality job definition whose name is taken.
	ErrDataQualityJobDefExists = awserr.New("ResourceInUse", awserr.ErrConflict)
	// ErrModelBiasJobDefNotFound is returned when a model bias job definition does not exist.
	ErrModelBiasJobDefNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrModelBiasJobDefExists is returned when creating a model bias job definition whose name is taken.
	ErrModelBiasJobDefExists = awserr.New("ResourceInUse", awserr.ErrConflict)
	// ErrModelQualityJobDefNotFound is returned when a model quality job definition does not exist.
	ErrModelQualityJobDefNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrModelQualityJobDefExists is returned when creating a model quality job definition whose name is taken.
	ErrModelQualityJobDefExists = awserr.New("ResourceInUse", awserr.ErrConflict)
	// ErrModelExplainJobDefNotFound is returned when a model explainability job definition does not exist.
	ErrModelExplainJobDefNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrModelExplainJobDefExists is returned when creating a model explainability job definition whose name is taken.
	ErrModelExplainJobDefExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrMonitoringScheduleNotFound is returned when a monitoring schedule does not exist.
	ErrMonitoringScheduleNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrMonitoringScheduleAlreadyStopped is returned when stopping an already-stopped schedule.
	ErrMonitoringScheduleAlreadyStopped = awserr.New("ValidationException", awserr.ErrInvalidParameter)
	// ErrMonitoringScheduleNotStopped is returned when starting a non-stopped schedule.
	ErrMonitoringScheduleNotStopped = awserr.New("ValidationException", awserr.ErrInvalidParameter)
)
View Source
var (
	// ErrNotebookNotFound is returned when a notebook instance does not exist.
	ErrNotebookNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrNotebookAlreadyExists is returned when a notebook instance already exists.
	ErrNotebookAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
	// ErrNotebookLifecycleConfigNotFound is returned when a lifecycle config does not exist.
	ErrNotebookLifecycleConfigNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrNotebookLifecycleConfigAlreadyExists is returned when a lifecycle config already exists.
	ErrNotebookLifecycleConfigAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrPipelineNotFound is returned when a pipeline does not exist.
	ErrPipelineNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrPipelineAlreadyExists is returned when a pipeline already exists.
	ErrPipelineAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
	// ErrPipelineExecutionNotFound is returned when a pipeline execution does not exist.
	ErrPipelineExecutionNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
)
View Source
var (
	// ErrProcessingJobNotFound is returned when a processing job does not exist.
	ErrProcessingJobNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrProcessingJobAlreadyExists is returned when a processing job already exists.
	ErrProcessingJobAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrTrainingJobNotFound is returned when a training job does not exist.
	ErrTrainingJobNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrTrainingJobAlreadyExists is returned when a training job already exists.
	ErrTrainingJobAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrTransformJobNotFound is returned when a transform job does not exist.
	ErrTransformJobNotFound = awserr.New("ValidationException", awserr.ErrNotFound)
	// ErrTransformJobAlreadyExists is returned when a transform job already exists.
	ErrTransformJobAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrTrialComponentNotFound is returned when a trial component does not exist.
	ErrTrialComponentNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrTrialComponentAlreadyExists is returned when a trial component already exists.
	ErrTrialComponentAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrTrialNotFound is returned when a trial does not exist.
	ErrTrialNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrTrialAlreadyExists is returned when a trial already exists.
	ErrTrialAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var (
	// ErrUserProfileNotFound is returned when a user profile does not exist.
	ErrUserProfileNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)
	// ErrUserProfileAlreadyExists is returned when a user profile already exists.
	ErrUserProfileAlreadyExists = awserr.New("ResourceInUse", awserr.ErrConflict)
)
View Source
var ErrAppImageConfigNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)

ErrAppImageConfigNotFound is returned when an app image config does not exist.

View Source
var ErrCodeRepositoryNotFound = awserr.New("ValidationException", awserr.ErrNotFound)

ErrCodeRepositoryNotFound is returned when a code repository does not exist.

View Source
var ErrDeviceNotFound = awserr.New("ValidationException", awserr.ErrNotFound)

ErrDeviceNotFound is returned when a device does not exist.

View Source
var ErrFlowDefinitionNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)

ErrFlowDefinitionNotFound is returned when a flow definition does not exist.

View Source
var ErrHumanTaskUINotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)

ErrHumanTaskUINotFound is returned when a human task UI does not exist.

View Source
var ErrInferenceExperimentNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)

ErrInferenceExperimentNotFound is returned when an inference experiment does not exist.

View Source
var ErrModelCardExportJobNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)

ErrModelCardExportJobNotFound is returned when a model card export job ARN does not exist.

View Source
var ErrModelCardNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)

ErrModelCardNotFound is returned when a model card does not exist.

View Source
var ErrModelPackageGroupPolicyNotFound = awserr.New("ValidationException", awserr.ErrNotFound)

ErrModelPackageGroupPolicyNotFound is returned when a model package group has no resource policy attached.

View Source
var ErrNilAppContext = errors.New("sagemaker: nil AppContext")

ErrNilAppContext is returned by Init when a nil AppContext is passed.

View Source
var ErrOptimizationJobNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)

ErrOptimizationJobNotFound is returned when an optimization job does not exist.

View Source
var ErrPartnerAppNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)

ErrPartnerAppNotFound is returned when a partner app does not exist.

View Source
var ErrProjectNotFound = awserr.New("ValidationException", awserr.ErrNotFound)

ErrProjectNotFound is returned when a project does not exist.

View Source
var ErrReservedCapacityNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)

ErrReservedCapacityNotFound is returned when a reserved capacity ARN does not exist.

View Source
var ErrSpaceNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)

ErrSpaceNotFound is returned when a space does not exist.

View Source
var ErrStudioLifecycleConfigNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)

ErrStudioLifecycleConfigNotFound is returned when a studio lifecycle config does not exist.

View Source
var ErrTrainingPlanNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)

ErrTrainingPlanNotFound is returned when a training plan does not exist.

View Source
var ErrValidation = awserr.New("ValidationException", awserr.ErrInvalidParameter)

ErrValidation is returned for invalid input parameters.

View Source
var ErrWorkforceNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)

ErrWorkforceNotFound is returned when a workforce does not exist.

View Source
var ErrWorkteamNotFound = awserr.New("ResourceNotFound", awserr.ErrNotFound)

ErrWorkteamNotFound is returned when a workteam does not exist.

Functions

This section is empty.

Types

type Action

type Action struct {
	CreationTime     time.Time         `json:"CreationTime"`
	LastModifiedTime time.Time         `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	Properties       map[string]string `json:"Properties,omitempty"`
	Source           ActionSource      `json:"Source"`
	ActionName       string            `json:"ActionName"`
	ActionArn        string            `json:"ActionArn"`
	ActionType       string            `json:"ActionType"`
	Description      string            `json:"Description,omitempty"`
	Status           string            `json:"Status,omitempty"`
}

Action represents a SageMaker ML lineage action.

type ActionSource

type ActionSource struct {
	SourceURI  string `json:"SourceUri"`
	SourceType string `json:"SourceType,omitempty"`
}

ActionSource represents the source of a SageMaker action.

type Algorithm

type Algorithm struct {
	CreationTime            time.Time              `json:"CreationTime"`
	Tags                    map[string]string      `json:"Tags,omitempty"`
	AlgorithmName           string                 `json:"AlgorithmName"`
	AlgorithmArn            string                 `json:"AlgorithmArn"`
	AlgorithmDescription    string                 `json:"AlgorithmDescription,omitempty"`
	AlgorithmStatus         string                 `json:"AlgorithmStatus"`
	ProductID               string                 `json:"ProductId,omitempty"`
	AlgorithmStatusDetails  AlgorithmStatusDetails `json:"AlgorithmStatusDetails"`
	TrainingSpecification   json.RawMessage        `json:"TrainingSpecification,omitempty"`
	InferenceSpecification  json.RawMessage        `json:"InferenceSpecification,omitempty"`
	ValidationSpecification json.RawMessage        `json:"ValidationSpecification,omitempty"`
	CertifyForMarketplace   bool                   `json:"CertifyForMarketplace,omitempty"`
}

Algorithm represents a SageMaker algorithm specification.

type AlgorithmSpecification

type AlgorithmSpecification struct {
	TrainingImage                    string             `json:"TrainingImage,omitempty"`
	AlgorithmName                    string             `json:"AlgorithmName,omitempty"`
	TrainingInputMode                string             `json:"TrainingInputMode,omitempty"`
	MetricDefinitions                []MetricDefinition `json:"MetricDefinitions,omitempty"`
	ContainerEntrypoint              []string           `json:"ContainerEntrypoint,omitempty"`
	ContainerArguments               []string           `json:"ContainerArguments,omitempty"`
	EnableSageMakerMetricsTimeSeries bool               `json:"EnableSageMakerMetricsTimeSeries,omitempty"`
}

AlgorithmSpecification is the typed algorithm spec for a training job.

type AlgorithmStatusDetails

type AlgorithmStatusDetails struct {
	ImageScanStatuses  []AlgorithmStatusItem `json:"ImageScanStatuses"`
	ValidationStatuses []AlgorithmStatusItem `json:"ValidationStatuses"`
}

AlgorithmStatusDetails represents the detailed status of an algorithm.

type AlgorithmStatusItem

type AlgorithmStatusItem struct {
	Name          string `json:"Name"`
	Status        string `json:"Status"`
	FailureReason string `json:"FailureReason,omitempty"`
}

AlgorithmStatusItem represents the status of a single algorithm image scan or validation check.

type App

type App struct {
	CreationTime    time.Time         `json:"CreationTime"`
	Tags            map[string]string `json:"Tags,omitempty"`
	DomainID        string            `json:"DomainId"`
	UserProfileName string            `json:"UserProfileName"`
	AppType         string            `json:"AppType"`
	AppName         string            `json:"AppName"`
	AppArn          string            `json:"AppArn"`
	Status          string            `json:"Status"`
}

App represents a SageMaker Studio app.

type AppImageConfig

type AppImageConfig struct {
	CreationTime       time.Time         `json:"CreationTime"`
	LastModifiedTime   time.Time         `json:"LastModifiedTime"`
	Tags               map[string]string `json:"Tags,omitempty"`
	AppImageConfigName string            `json:"AppImageConfigName"`
	AppImageConfigArn  string            `json:"AppImageConfigArn"`
}

AppImageConfig represents a SageMaker app image configuration.

type Artifact

type Artifact struct {
	CreationTime     time.Time         `json:"CreationTime"`
	LastModifiedTime time.Time         `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	Properties       map[string]string `json:"Properties,omitempty"`
	ArtifactName     string            `json:"ArtifactName,omitempty"`
	ArtifactArn      string            `json:"ArtifactArn"`
	ArtifactType     string            `json:"ArtifactType"`
	Source           ArtifactSource    `json:"Source"`
}

Artifact represents a SageMaker ML lineage artifact.

type ArtifactSource

type ArtifactSource struct {
	SourceURI   string               `json:"SourceUri"`
	SourceTypes []ArtifactSourceType `json:"SourceTypes,omitempty"`
}

ArtifactSource represents the source of a SageMaker artifact.

type ArtifactSourceType

type ArtifactSourceType struct {
	SourceIDType string `json:"SourceIdType"`
	Value        string `json:"Value"`
}

ArtifactSourceType is the ID and ID type of an artifact source.

type Association

type Association struct {
	CreationTime    time.Time         `json:"CreationTime"`
	Tags            map[string]string `json:"Tags,omitempty"`
	SourceArn       string            `json:"SourceArn"`
	DestinationArn  string            `json:"DestinationArn"`
	AssociationType string            `json:"AssociationType,omitempty"`
	AssociationArn  string            `json:"AssociationArn"`
}

Association represents a SageMaker ML lineage association.

type AsyncInferenceConfig

type AsyncInferenceConfig struct {
	OutputConfig AsyncOutputConfig `json:"OutputConfig"`
}

AsyncInferenceConfig configures asynchronous inference for an endpoint.

type AsyncOutputConfig

type AsyncOutputConfig struct {
	S3OutputPath string `json:"S3OutputPath"`
	KmsKeyID     string `json:"KmsKeyId,omitempty"`
}

AsyncOutputConfig specifies the async inference output location.

type AutoMLCandidate

type AutoMLCandidate struct {
	CreationTime                  time.Time              `json:"CreationTime"`
	LastModifiedTime              time.Time              `json:"LastModifiedTime"`
	FinalAutoMLJobObjectiveMetric *AutoMLObjectiveMetric `json:"FinalAutoMLJobObjectiveMetric,omitempty"`
	CandidateName                 string                 `json:"CandidateName"`
	CandidateStatus               string                 `json:"CandidateStatus"`
	ObjectiveStatus               string                 `json:"ObjectiveStatus"`
	CandidateSteps                []map[string]any       `json:"CandidateSteps"`
}

AutoMLCandidate mirrors types.AutoMLCandidate.

type AutoMLJob

type AutoMLJob struct {
	CreationTime       time.Time               `json:"CreationTime"`
	Tags               map[string]string       `json:"Tags,omitempty"`
	OutputDataConfig   *AutoMLOutputDataConfig `json:"OutputDataConfig,omitempty"`
	AutoMLJobObjective *AutoMLJobObjective     `json:"AutoMLJobObjective,omitempty"`
	AutoMLJobName      string                  `json:"AutoMLJobName"`
	AutoMLJobArn       string                  `json:"AutoMLJobArn"`
	AutoMLJobStatus    string                  `json:"AutoMLJobStatus"`
	RoleArn            string                  `json:"RoleArn,omitempty"`
}

AutoMLJob represents a SageMaker AutoML job.

type AutoMLJobObjective

type AutoMLJobObjective struct {
	MetricName string `json:"MetricName"`
}

AutoMLJobObjective specifies the optimization metric for an AutoML job.

type AutoMLObjectiveMetric

type AutoMLObjectiveMetric struct {
	MetricName string  `json:"MetricName"`
	Value      float64 `json:"Value"`
}

AutoMLObjectiveMetric mirrors types.FinalAutoMLJobObjectiveMetric.

type AutoMLOutputDataConfig

type AutoMLOutputDataConfig struct {
	S3OutputPath string `json:"S3OutputPath,omitempty"`
	KmsKeyID     string `json:"KmsKeyId,omitempty"`
}

AutoMLOutputDataConfig specifies the S3 output location for an AutoML job.

type BatchGetRecordResult

type BatchGetRecordResult struct {
	FeatureGroupName              string            `json:"FeatureGroupName"`
	RecordIdentifierValueAsString string            `json:"RecordIdentifierValueAsString"`
	Record                        map[string]string `json:"Record,omitempty"`
	ErrorCode                     string            `json:"ErrorCode,omitempty"`
	ErrorMessage                  string            `json:"ErrorMessage,omitempty"`
}

BatchGetRecordResult holds the result for a single record lookup.

type Channel

type Channel struct {
	DataSource        ChannelDataSource `json:"DataSource"`
	ChannelName       string            `json:"ChannelName"`
	ContentType       string            `json:"ContentType,omitempty"`
	CompressionType   string            `json:"CompressionType,omitempty"`
	RecordWrapperType string            `json:"RecordWrapperType,omitempty"`
	InputMode         string            `json:"InputMode,omitempty"`
}

Channel is one input data channel for a training job.

type ChannelDataSource

type ChannelDataSource struct {
	S3DataSource *S3DataSource `json:"S3DataSource,omitempty"`
}

ChannelDataSource holds either an S3 or file system data source.

type CheckpointConfig

type CheckpointConfig struct {
	S3Uri     string `json:"S3Uri"`
	LocalPath string `json:"LocalPath,omitempty"`
}

CheckpointConfig stores checkpoint location for managed spot.

type Cluster

type Cluster struct {
	CreationTime   time.Time               `json:"CreationTime"`
	Nodes          map[string]*ClusterNode `json:"-"`
	Tags           map[string]string       `json:"Tags,omitempty"`
	ClusterArn     string                  `json:"ClusterArn"`
	ClusterName    string                  `json:"ClusterName"`
	ClusterStatus  string                  `json:"ClusterStatus"`
	NodeRecovery   string                  `json:"NodeRecovery,omitempty"`
	InstanceGroups []ClusterInstanceGroup  `json:"InstanceGroups,omitempty"`
}

Cluster represents a SageMaker HyperPod cluster.

type ClusterInstanceGroup

type ClusterInstanceGroup struct {
	InstanceGroupName string `json:"InstanceGroupName"`
	InstanceType      string `json:"InstanceType,omitempty"`
	ExecutionRole     string `json:"ExecutionRole,omitempty"`
	InstanceCount     int32  `json:"InstanceCount,omitempty"`
}

ClusterInstanceGroup represents an instance group specification/details for a SageMaker HyperPod cluster (a merged view of the AWS ClusterInstanceGroupSpecification and ClusterInstanceGroupDetails shapes).

type ClusterNode

type ClusterNode struct {
	NodeID            string              `json:"NodeId"`
	InstanceType      string              `json:"InstanceType,omitempty"`
	NodeStatus        string              `json:"NodeStatus"`
	InstanceGroupName string              `json:"InstanceGroupName,omitempty"`
	Volumes           []ClusterNodeVolume `json:"Volumes,omitempty"`
}

ClusterNode represents a node in a SageMaker cluster.

type ClusterNodeVolume

type ClusterNodeVolume struct {
	VolumeName string `json:"VolumeName"`
	SizeInGB   int32  `json:"SizeInGB,omitempty"`
}

ClusterNodeVolume represents a volume attached to a cluster node.

type ClusterSchedulerConfig

type ClusterSchedulerConfig struct {
	CreationTime               time.Time         `json:"CreationTime"`
	LastModifiedTime           time.Time         `json:"LastModifiedTime"`
	Tags                       map[string]string `json:"Tags,omitempty"`
	ClusterSchedulerConfigName string            `json:"ClusterSchedulerConfigName"`
	ClusterSchedulerConfigArn  string            `json:"ClusterSchedulerConfigArn"`
	ClusterArn                 string            `json:"ClusterArn,omitempty"`
	Status                     string            `json:"Status"`
}

ClusterSchedulerConfig represents a SageMaker cluster scheduler configuration.

type CodeRepository

type CodeRepository struct {
	CreationTime       time.Time         `json:"CreationTime"`
	LastModifiedTime   time.Time         `json:"LastModifiedTime"`
	Tags               map[string]string `json:"Tags,omitempty"`
	GitConfig          map[string]string `json:"GitConfig,omitempty"`
	CodeRepositoryName string            `json:"CodeRepositoryName"`
	CodeRepositoryArn  string            `json:"CodeRepositoryArn"`
}

CodeRepository represents a SageMaker code repository.

type CognitoConfig

type CognitoConfig struct {
	UserPool string `json:"UserPool"`
	ClientID string `json:"ClientId"`
}

CognitoConfig configures an Amazon Cognito private workforce.

type CognitoMemberDefinition

type CognitoMemberDefinition struct {
	UserPool  string `json:"UserPool"`
	UserGroup string `json:"UserGroup"`
	ClientID  string `json:"ClientId"`
}

CognitoMemberDefinition identifies an Amazon Cognito user group.

type CompilationInputConfig

type CompilationInputConfig struct {
	S3Uri            string `json:"S3Uri,omitempty"`
	DataInputConfig  string `json:"DataInputConfig,omitempty"`
	Framework        string `json:"Framework,omitempty"`
	FrameworkVersion string `json:"FrameworkVersion,omitempty"`
}

CompilationInputConfig specifies the model source for a Neo compilation job.

type CompilationJob

type CompilationJob struct {
	CreationTime         time.Time                `json:"CreationTime"`
	LastModifiedTime     time.Time                `json:"LastModifiedTime"`
	Tags                 map[string]string        `json:"Tags,omitempty"`
	InputConfig          *CompilationInputConfig  `json:"InputConfig,omitempty"`
	OutputConfig         *CompilationOutputConfig `json:"OutputConfig,omitempty"`
	StoppingCondition    *StoppingCondition       `json:"StoppingCondition,omitempty"`
	CompilationJobName   string                   `json:"CompilationJobName"`
	CompilationJobArn    string                   `json:"CompilationJobArn"`
	CompilationJobStatus string                   `json:"CompilationJobStatus"`
	RoleArn              string                   `json:"RoleArn,omitempty"`
}

CompilationJob represents a SageMaker Neo compilation job.

type CompilationOutputConfig

type CompilationOutputConfig struct {
	S3OutputLocation string `json:"S3OutputLocation,omitempty"`
	TargetDevice     string `json:"TargetDevice,omitempty"`
	KmsKeyID         string `json:"KmsKeyId,omitempty"`
}

CompilationOutputConfig specifies the output destination for a Neo compilation job.

type ComputeQuota

type ComputeQuota struct {
	CreationTime     time.Time         `json:"CreationTime"`
	LastModifiedTime time.Time         `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	ComputeQuotaName string            `json:"ComputeQuotaName"`
	ComputeQuotaArn  string            `json:"ComputeQuotaArn"`
	Status           string            `json:"Status"`
	ClusterArn       string            `json:"ClusterArn,omitempty"`
}

ComputeQuota represents a SageMaker compute quota.

type ContainerDefinition

type ContainerDefinition struct {
	Environment                map[string]string `json:"Environment,omitempty"`
	ImageConfig                *ImageConfig      `json:"ImageConfig,omitempty"`
	MultiModelConfig           *MultiModelConfig `json:"MultiModelConfig,omitempty"`
	Image                      string            `json:"Image,omitempty"`
	ModelDataURL               string            `json:"ModelDataUrl,omitempty"`
	ModelPackageName           string            `json:"ModelPackageName,omitempty"`
	ModelDataSource            string            `json:"ModelDataSource,omitempty"`
	InferenceSpecificationName string            `json:"InferenceSpecificationName,omitempty"`
	ContainerHostname          string            `json:"ContainerHostname,omitempty"`
	Mode                       string            `json:"Mode,omitempty"`
}

ContainerDefinition holds image details for a model container.

type Context

type Context struct {
	CreationTime     time.Time         `json:"CreationTime"`
	LastModifiedTime time.Time         `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	Properties       map[string]string `json:"Properties,omitempty"`
	Source           ContextSource     `json:"Source"`
	ContextName      string            `json:"ContextName"`
	ContextArn       string            `json:"ContextArn"`
	ContextType      string            `json:"ContextType"`
	Description      string            `json:"Description,omitempty"`
}

Context represents a SageMaker ML lineage context.

type ContextSource

type ContextSource struct {
	SourceURI  string `json:"SourceUri"`
	SourceID   string `json:"SourceId,omitempty"`
	SourceType string `json:"SourceType,omitempty"`
}

ContextSource represents the source of a SageMaker context.

type CoreDumpConfig

type CoreDumpConfig struct {
	DestinationS3Uri string `json:"DestinationS3Uri,omitempty"`
	KmsKeyID         string `json:"KmsKeyId,omitempty"`
}

CoreDumpConfig specifies where core dumps are stored.

type CreateAlgorithmOptions

type CreateAlgorithmOptions struct {
	Tags                    map[string]string
	AlgorithmName           string
	AlgorithmDescription    string
	TrainingSpecification   json.RawMessage
	InferenceSpecification  json.RawMessage
	ValidationSpecification json.RawMessage
	CertifyForMarketplace   bool
}

CreateAlgorithmOptions holds the optional fields accepted by CreateAlgorithm.

type CreateClusterSchedulerConfigOptions

type CreateClusterSchedulerConfigOptions struct {
	Tags                       map[string]string
	ClusterSchedulerConfigName string
	ClusterArn                 string
}

CreateClusterSchedulerConfigOptions holds input fields for CreateClusterSchedulerConfig.

type CreateComputeQuotaOptions

type CreateComputeQuotaOptions struct {
	Tags             map[string]string
	ComputeQuotaName string
	ClusterArn       string
}

CreateComputeQuotaOptions holds input fields for CreateComputeQuota.

type CreateDeviceFleetOptions

type CreateDeviceFleetOptions struct {
	Tags            map[string]string
	OutputConfig    *DeviceFleetOutputConfig
	DeviceFleetName string
	Description     string
	RoleArn         string
}

CreateDeviceFleetOptions holds input fields for CreateDeviceFleet.

type CreateEdgeDeploymentPlanOptions

type CreateEdgeDeploymentPlanOptions struct {
	Tags                   map[string]string
	EdgeDeploymentPlanName string
	DeviceFleetName        string
	ModelConfigs           []EdgeDeploymentModelConfig
	Stages                 []EdgeDeploymentStageInput
}

CreateEdgeDeploymentPlanOptions holds input fields for CreateEdgeDeploymentPlan.

type CreateEdgePackagingJobOptions

type CreateEdgePackagingJobOptions struct {
	Tags                 map[string]string
	EdgePackagingJobName string
	ModelName            string
	ModelVersion         string
	RoleArn              string
	CompilationJobName   string
}

CreateEdgePackagingJobOptions holds input fields for CreateEdgePackagingJob.

type CreateInferenceComponentOptions

type CreateInferenceComponentOptions struct {
	Tags                   map[string]string
	InferenceComponentName string
	EndpointName           string
	VariantName            string
	CopyCount              int
}

CreateInferenceComponentOptions holds input fields for CreateInferenceComponent.

type CreateInferenceRecommendationsJobOptions

type CreateInferenceRecommendationsJobOptions struct {
	Tags           map[string]string
	JobName        string
	JobType        string
	JobDescription string
	RoleArn        string
}

CreateInferenceRecommendationsJobOptions holds input fields.

type CreateLabelingJobOptions

type CreateLabelingJobOptions struct {
	StoppingConditions          *LabelingJobStoppingConditions
	LabelingJobAlgorithmsConfig *LabelingJobAlgorithmsConfig
	Tags                        map[string]string
	LabelingJobName             string
	LabelAttributeName          string
	RoleArn                     string
	LabelCategoryConfigS3Uri    string
	InputConfig                 LabelingJobInputConfig
	OutputConfig                LabelingJobOutputConfig
	HumanTaskConfig             HumanTaskConfig
}

CreateLabelingJobOptions holds the parameters for creating a labeling job.

type CreateMlflowAppOptions

type CreateMlflowAppOptions struct {
	Tags                  map[string]string
	Name                  string
	ArtifactStoreURI      string
	RoleArn               string
	AccountDefaultStatus  string
	ModelRegistrationMode string
	DefaultDomainIDList   []string
}

CreateMlflowAppOptions holds the fields accepted by CreateMlflowApp.

type CreatePartnerAppOptions

type CreatePartnerAppOptions struct {
	Tags              map[string]string
	Name              string
	Type              string
	ExecutionRoleArn  string
	AuthType          string
	Tier              string
	ApplicationConfig json.RawMessage
}

CreatePartnerAppOptions holds the fields accepted by CreatePartnerApp.

type CreatePipelineOptions

type CreatePipelineOptions struct {
	Tags                     map[string]string
	ParallelismConfiguration *ParallelismConfiguration
	PipelineName             string
	PipelineDefinition       string
	PipelineDisplayName      string
	PipelineDescription      string
	RoleArn                  string
}

CreatePipelineOptions holds full input for CreatePipeline.

type CreateWorkforceOptions

type CreateWorkforceOptions struct {
	CognitoConfig      *CognitoConfig
	OidcConfig         *OidcConfig
	SourceIPConfig     *SourceIPConfig
	WorkforceVpcConfig *WorkforceVpcConfig
	Tags               map[string]string
	Name               string
}

CreateWorkforceOptions holds the parameters for creating a workforce.

type CreateWorkteamOptions

type CreateWorkteamOptions struct {
	Tags              map[string]string
	Name              string
	Description       string
	WorkforceName     string
	MemberDefinitions []MemberDefinition
}

CreateWorkteamOptions holds the parameters for creating a workteam.

type DataCaptureConfig

type DataCaptureConfig struct {
	DestinationS3Uri          string `json:"DestinationS3Uri"`
	CaptureMode               string `json:"CaptureMode,omitempty"`
	KmsKeyID                  string `json:"KmsKeyId,omitempty"`
	InitialSamplingPercentage int32  `json:"InitialSamplingPercentage,omitempty"`
	EnableCapture             bool   `json:"EnableCapture,omitempty"`
}

DataCaptureConfig specifies real-time data capture for an endpoint config.

type DatasetDefinition

type DatasetDefinition struct {
	DataDistributionType string `json:"DataDistributionType,omitempty"`
	InputMode            string `json:"InputMode,omitempty"`
}

DatasetDefinition is an alternative to S3Input for Athena/Redshift.

type DesiredWeightAndCapacity

type DesiredWeightAndCapacity struct {
	DesiredWeight        *float64 `json:"DesiredWeight,omitempty"`
	DesiredInstanceCount *int32   `json:"DesiredInstanceCount,omitempty"`
	VariantName          string   `json:"VariantName"`
}

DesiredWeightAndCapacity is one entry in UpdateEndpointWeightsAndCapacities.

type DetachedVolume

type DetachedVolume struct {
	AttachTime time.Time
	ClusterArn string
	NodeID     string
	VolumeID   string
	DeviceName string
	Status     string
}

DetachedVolume describes the result of detaching an EBS volume from a cluster node.

type Device

type Device struct {
	RegistrationTime time.Time         `json:"RegistrationTime"`
	LastModifiedTime time.Time         `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	DeviceName       string            `json:"DeviceName"`
	DeviceFleetName  string            `json:"DeviceFleetName"`
	DeviceArn        string            `json:"DeviceArn"`
	Description      string            `json:"Description,omitempty"`
	IotThingName     string            `json:"IotThingName,omitempty"`
}

Device represents a SageMaker edge device registered in a fleet.

type DeviceFleet

type DeviceFleet struct {
	CreationTime     time.Time                `json:"CreationTime"`
	LastModifiedTime time.Time                `json:"LastModifiedTime"`
	Tags             map[string]string        `json:"Tags,omitempty"`
	OutputConfig     *DeviceFleetOutputConfig `json:"OutputConfig,omitempty"`
	DeviceFleetName  string                   `json:"DeviceFleetName"`
	DeviceFleetArn   string                   `json:"DeviceFleetArn"`
	Description      string                   `json:"Description,omitempty"`
	RoleArn          string                   `json:"RoleArn,omitempty"`
}

DeviceFleet represents a SageMaker device fleet.

type DeviceFleetOutputConfig

type DeviceFleetOutputConfig struct {
	S3OutputLocation string `json:"S3OutputLocation"`
	KmsKeyID         string `json:"KmsKeyId,omitempty"`
}

DeviceFleetOutputConfig holds the S3 output location for a device fleet's sampled data, as configured on CreateDeviceFleet/UpdateDeviceFleet.

type Domain

type Domain struct {
	CreationTime     time.Time         `json:"CreationTime"`
	LastModifiedTime time.Time         `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	DomainID         string            `json:"DomainId"`
	DomainArn        string            `json:"DomainArn"`
	DomainName       string            `json:"DomainName"`
	Status           string            `json:"Status"`
	URL              string            `json:"Url,omitempty"`
	AuthMode         string            `json:"AuthMode,omitempty"`
}

Domain represents a SageMaker Studio domain.

type Edge

type Edge struct {
	SourceArn       string `json:"SourceArn"`
	DestinationArn  string `json:"DestinationArn"`
	AssociationType string `json:"AssociationType,omitempty"`
}

Edge represents a directed association traversed by QueryLineage.

type EdgeDeploymentModelConfig

type EdgeDeploymentModelConfig struct {
	ModelHandle          string `json:"ModelHandle"`
	EdgePackagingJobName string `json:"EdgePackagingJobName"`
}

EdgeDeploymentModelConfig describes one model packaged for edge deployment.

type EdgeDeploymentPlan

type EdgeDeploymentPlan struct {
	CreationTime           time.Time                   `json:"CreationTime"`
	LastModifiedTime       time.Time                   `json:"LastModifiedTime"`
	Tags                   map[string]string           `json:"Tags,omitempty"`
	EdgeDeploymentPlanName string                      `json:"EdgeDeploymentPlanName"`
	EdgeDeploymentPlanArn  string                      `json:"EdgeDeploymentPlanArn"`
	DeviceFleetName        string                      `json:"DeviceFleetName"`
	ModelConfigs           []EdgeDeploymentModelConfig `json:"ModelConfigs,omitempty"`
	Stages                 []*EdgeDeploymentStage      `json:"Stages,omitempty"`
}

EdgeDeploymentPlan represents a SageMaker edge deployment plan.

type EdgeDeploymentStage

type EdgeDeploymentStage struct {
	StageName             string          `json:"StageName"`
	DeploymentStatus      string          `json:"DeploymentStatus"`
	DeviceSelectionConfig json.RawMessage `json:"DeviceSelectionConfig,omitempty"`
	DeploymentConfig      json.RawMessage `json:"DeploymentConfig,omitempty"`
}

EdgeDeploymentStage represents one stage of an edge deployment plan. The device selection and deployment configs are stored opaquely (as submitted) since this emulator does not act on them beyond round-tripping.

type EdgeDeploymentStageInput

type EdgeDeploymentStageInput struct {
	StageName             string
	DeviceSelectionConfig json.RawMessage
	DeploymentConfig      json.RawMessage
}

EdgeDeploymentStageInput is a single stage supplied to CreateEdgeDeploymentPlan or CreateEdgeDeploymentStage.

type EdgePackagingJob

type EdgePackagingJob struct {
	CreationTime           time.Time         `json:"CreationTime"`
	LastModifiedTime       time.Time         `json:"LastModifiedTime"`
	Tags                   map[string]string `json:"Tags,omitempty"`
	EdgePackagingJobName   string            `json:"EdgePackagingJobName"`
	EdgePackagingJobArn    string            `json:"EdgePackagingJobArn"`
	EdgePackagingJobStatus string            `json:"EdgePackagingJobStatus"`
	ModelName              string            `json:"ModelName,omitempty"`
	ModelVersion           string            `json:"ModelVersion,omitempty"`
	RoleArn                string            `json:"RoleArn,omitempty"`
	CompilationJobName     string            `json:"CompilationJobName,omitempty"`
	FailureReason          string            `json:"FailureReason,omitempty"`
}

EdgePackagingJob represents a SageMaker edge packaging job.

type Endpoint

type Endpoint struct {
	CreationTime       time.Time                  `json:"CreationTime"`
	LastModifiedTime   time.Time                  `json:"LastModifiedTime"`
	Tags               map[string]string          `json:"Tags,omitempty"`
	EndpointName       string                     `json:"EndpointName"`
	EndpointArn        string                     `json:"EndpointArn"`
	EndpointConfigName string                     `json:"EndpointConfigName"`
	EndpointStatus     string                     `json:"EndpointStatus"`
	FailureReason      string                     `json:"FailureReason,omitempty"`
	ProductionVariants []ProductionVariantSummary `json:"ProductionVariants,omitempty"`
}

type EndpointConfig

type EndpointConfig struct {
	CreationTime             time.Time             `json:"CreationTime"`
	Tags                     map[string]string     `json:"Tags,omitempty"`
	VpcConfig                *VpcConfig            `json:"VpcConfig,omitempty"`
	DataCaptureConfig        *DataCaptureConfig    `json:"DataCaptureConfig,omitempty"`
	AsyncInferenceConfig     *AsyncInferenceConfig `json:"AsyncInferenceConfig,omitempty"`
	EndpointConfigName       string                `json:"EndpointConfigName"`
	EndpointConfigARN        string                `json:"EndpointConfigARN"`
	ExecutionRoleArn         string                `json:"ExecutionRoleArn,omitempty"`
	KmsKeyID                 string                `json:"KmsKeyId,omitempty"`
	ProductionVariants       []ProductionVariant   `json:"ProductionVariants,omitempty"`
	ShadowProductionVariants []ProductionVariant   `json:"ShadowProductionVariants,omitempty"`
	EnableNetworkIsolation   bool                  `json:"EnableNetworkIsolation,omitempty"`
}

EndpointConfig represents a SageMaker endpoint configuration.

type Experiment

type Experiment struct {
	CreationTime     time.Time         `json:"CreationTime"`
	LastModifiedTime time.Time         `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	ExperimentName   string            `json:"ExperimentName"`
	ExperimentArn    string            `json:"ExperimentArn"`
	DisplayName      string            `json:"DisplayName,omitempty"`
	Description      string            `json:"Description,omitempty"`
}

Experiment represents a SageMaker Experiment.

type FeatureDefinition

type FeatureDefinition struct {
	FeatureName string `json:"FeatureName"`
	FeatureType string `json:"FeatureType,omitempty"`
}

FeatureDefinition holds the definition of a single feature.

type FeatureGroup

type FeatureGroup struct {
	CreationTime                time.Time           `json:"CreationTime"`
	Tags                        map[string]string   `json:"Tags,omitempty"`
	FeatureGroupName            string              `json:"FeatureGroupName"`
	FeatureGroupArn             string              `json:"FeatureGroupArn"`
	RecordIdentifierFeatureName string              `json:"RecordIdentifierFeatureName,omitempty"`
	EventTimeFeatureName        string              `json:"EventTimeFeatureName,omitempty"`
	FeatureGroupStatus          string              `json:"FeatureGroupStatus"`
	FeatureDefinitions          []FeatureDefinition `json:"FeatureDefinitions,omitempty"`
}

FeatureGroup represents a SageMaker Feature Store feature group.

type FeatureMetadata

type FeatureMetadata struct {
	Description string            `json:"Description,omitempty"`
	Parameters  map[string]string `json:"Parameters,omitempty"`
	FeatureName string            `json:"FeatureName"`
	// GroupName is the owning feature group's name, carried internally so the
	// store.Table's keyFn can derive featureMetaKey(GroupName, FeatureName) and
	// Restore can rebuild it after a JSON round-trip. Exported (with a json tag)
	// solely so it survives persistence — handler.go never marshals
	// FeatureMetadata directly to API callers, so this has no effect on the AWS
	// wire shape.
	GroupName   string `json:"groupName"`
	FeatureType string `json:"FeatureType,omitempty"`
}

FeatureMetadata stores metadata (description + parameters) for a feature in a group.

type FeatureRecord

type FeatureRecord struct {
	// Record maps feature name → feature value
	Record map[string]string `json:"Record"`
	// Key is the internal store.Table primary key (featureRecordKey(featureGroupName,
	// recordIDValue)), carried on the value itself so the Table's keyFn can derive it
	// and Restore can rebuild it after a JSON round-trip. Exported (with a json tag)
	// solely so it survives persistence — handler.go never marshals FeatureRecord
	// directly to API callers, so this has no effect on the AWS wire shape.
	Key string `json:"key"`
}

FeatureRecord represents a stored feature record.

type FlowDefinition

type FlowDefinition struct {
	CreationTime         time.Time         `json:"CreationTime"`
	Tags                 map[string]string `json:"Tags,omitempty"`
	FlowDefinitionName   string            `json:"FlowDefinitionName"`
	FlowDefinitionArn    string            `json:"FlowDefinitionArn"`
	FlowDefinitionStatus string            `json:"FlowDefinitionStatus"`
	RoleArn              string            `json:"RoleArn,omitempty"`
}

FlowDefinition represents a SageMaker Augmented AI flow definition.

type Handler

type Handler struct {
	Backend   *InMemoryBackend
	AccountID string
	Region    string
}

Handler is the HTTP handler for the AWS SageMaker JSON API.

func NewHandler

func NewHandler(backend *InMemoryBackend) *Handler

NewHandler creates a new SageMaker handler.

func (*Handler) ChaosOperations

func (h *Handler) ChaosOperations() []string

ChaosOperations returns all operations that can be fault-injected.

func (*Handler) ChaosRegions

func (h *Handler) ChaosRegions() []string

ChaosRegions returns all regions this handler handles.

func (*Handler) ChaosServiceName

func (h *Handler) ChaosServiceName() string

ChaosServiceName returns the lowercase AWS service name for fault rule matching.

func (*Handler) ExtractOperation

func (h *Handler) ExtractOperation(c *echo.Context) string

ExtractOperation extracts the operation name from the X-Amz-Target header.

func (*Handler) ExtractResource

func (h *Handler) ExtractResource(c *echo.Context) string

ExtractResource extracts the resource identifier from the request.

func (*Handler) GetSupportedOperations

func (h *Handler) GetSupportedOperations() []string

GetSupportedOperations returns the list of supported SageMaker operations.

func (*Handler) Handler

func (h *Handler) Handler() echo.HandlerFunc

Handler returns the Echo handler function for SageMaker requests.

func (*Handler) MatchPriority

func (h *Handler) MatchPriority() int

MatchPriority returns the routing priority.

func (*Handler) Name

func (h *Handler) Name() string

Name returns the service name.

func (*Handler) Reset

func (h *Handler) Reset()

Reset clears all resources from the backend.

func (*Handler) Restore

func (h *Handler) Restore(ctx context.Context, data []byte) error

Restore implements persistence.Persistable by delegating to the backend.

func (*Handler) RouteMatcher

func (h *Handler) RouteMatcher() service.Matcher

RouteMatcher returns a function that matches SageMaker API requests. SageMaker requests carry an X-Amz-Target header beginning with "SageMaker.".

func (*Handler) Shutdown

func (h *Handler) Shutdown(ctx context.Context)

Shutdown implements service.Shutdowner. It cancels pending lifecycle-transition goroutines (training/processing/transform jobs, endpoints, notebooks, pipeline executions advancing through statuses) and waits for in-flight ones to drain, bounded by ctx, so no goroutines leak on server shutdown.

func (*Handler) Snapshot

func (h *Handler) Snapshot(ctx context.Context) []byte

Snapshot implements persistence.Persistable by delegating to the backend.

type Hub

type Hub struct {
	CreationTime      time.Time         `json:"CreationTime"`
	LastModifiedTime  time.Time         `json:"LastModifiedTime"`
	Tags              map[string]string `json:"Tags,omitempty"`
	HubName           string            `json:"HubName"`
	HubArn            string            `json:"HubArn"`
	HubDisplayName    string            `json:"HubDisplayName,omitempty"`
	HubDescription    string            `json:"HubDescription,omitempty"`
	S3OutputPath      string            `json:"S3OutputPath,omitempty"`
	HubStatus         string            `json:"HubStatus"`
	FailureReason     string            `json:"FailureReason,omitempty"`
	HubSearchKeywords []string          `json:"HubSearchKeywords,omitempty"`
}

Hub represents a SageMaker private model hub.

type HubContent

type HubContent struct {
	CreationTime                 time.Time              `json:"CreationTime"`
	LastModifiedTime             time.Time              `json:"LastModifiedTime"`
	Tags                         map[string]string      `json:"Tags,omitempty"`
	HubContentType               string                 `json:"HubContentType"`
	HubContentDisplayName        string                 `json:"HubContentDisplayName,omitempty"`
	HubName                      string                 `json:"HubName"`
	HubArn                       string                 `json:"HubArn"`
	HubContentName               string                 `json:"HubContentName"`
	HubContentArn                string                 `json:"HubContentArn"`
	HubContentVersion            string                 `json:"HubContentVersion"`
	FailureReason                string                 `json:"FailureReason,omitempty"`
	DocumentSchemaVersion        string                 `json:"DocumentSchemaVersion"`
	HubContentStatus             string                 `json:"HubContentStatus"`
	HubContentDescription        string                 `json:"HubContentDescription,omitempty"`
	HubContentMarkdown           string                 `json:"HubContentMarkdown,omitempty"`
	HubContentDocument           string                 `json:"HubContentDocument"`
	SageMakerPublicHubContentArn string                 `json:"SageMakerPublicHubContentArn,omitempty"`
	ReferenceMinVersion          string                 `json:"ReferenceMinVersion,omitempty"`
	SupportStatus                string                 `json:"SupportStatus,omitempty"`
	HubContentDependencies       []HubContentDependency `json:"HubContentDependencies,omitempty"`
	HubContentSearchKeywords     []string               `json:"HubContentSearchKeywords,omitempty"`
}

HubContent represents a single versioned resource (model, notebook, or model reference) imported into a Hub.

type HubContentDependency

type HubContentDependency struct {
	DependencyOriginPath string `json:"DependencyOriginPath,omitempty"`
	DependencyCopyPath   string `json:"DependencyCopyPath,omitempty"`
}

HubContentDependency describes a single dependency copied alongside hub content.

type HubContentPresignedURL

type HubContentPresignedURL struct {
	URL       string
	LocalPath string
}

HubContentPresignedURL is a single presigned URL / local-path pair.

type HumanTaskConfig

type HumanTaskConfig struct {
	UIConfig                          UIConfigInfo `json:"UiConfig"`
	WorkteamArn                       string       `json:"WorkteamArn"`
	PreHumanTaskLambdaArn             string       `json:"PreHumanTaskLambdaArn,omitempty"`
	TaskTitle                         string       `json:"TaskTitle"`
	TaskDescription                   string       `json:"TaskDescription"`
	AnnotationConsolidationLambdaArn  string       `json:"AnnotationConsolidationLambdaArn,omitempty"`
	TaskKeywords                      []string     `json:"TaskKeywords,omitempty"`
	NumberOfHumanWorkersPerDataObject int32        `json:"NumberOfHumanWorkersPerDataObject"`
	TaskTimeLimitInSeconds            int32        `json:"TaskTimeLimitInSeconds"`
	TaskAvailabilityLifetimeInSeconds int32        `json:"TaskAvailabilityLifetimeInSeconds,omitempty"`
	MaxConcurrentTaskCount            int32        `json:"MaxConcurrentTaskCount,omitempty"`
}

HumanTaskConfig configures how a labeling task is presented to human workers.

type HumanTaskUI

type HumanTaskUI struct {
	CreationTime      time.Time         `json:"CreationTime"`
	Tags              map[string]string `json:"Tags,omitempty"`
	HumanTaskUIName   string            `json:"HumanTaskUiName"`
	HumanTaskUIArn    string            `json:"HumanTaskUiArn"`
	HumanTaskUIStatus string            `json:"HumanTaskUiStatus"`
}

HumanTaskUI represents a SageMaker human task UI.

type HyperParameterTuningJob

type HyperParameterTuningJob struct {
	CreationTime                  time.Time         `json:"CreationTime"`
	LastModifiedTime              time.Time         `json:"LastModifiedTime"`
	Tags                          map[string]string `json:"Tags,omitempty"`
	HyperParameterTuningJobName   string            `json:"HyperParameterTuningJobName"`
	HyperParameterTuningJobArn    string            `json:"HyperParameterTuningJobArn"`
	HyperParameterTuningJobStatus string            `json:"HyperParameterTuningJobStatus"`
	Strategy                      string            `json:"Strategy,omitempty"`
}

type ImageConfig

type ImageConfig struct {
	RepositoryAccessMode string `json:"RepositoryAccessMode,omitempty"`
}

ImageConfig specifies where SageMaker should pull the container image from.

type ImageVersion

type ImageVersion struct {
	CreationTime       time.Time `json:"CreationTime"`
	LastModifiedTime   time.Time `json:"LastModifiedTime"`
	JobType            string    `json:"JobType,omitempty"`
	ImageArn           string    `json:"ImageArn"`
	ImageVersionArn    string    `json:"ImageVersionArn"`
	ImageVersionStatus string    `json:"ImageVersionStatus"`
	MLFramework        string    `json:"MLFramework,omitempty"`
	Processor          string    `json:"Processor,omitempty"`
	ProgrammingLang    string    `json:"ProgrammingLang,omitempty"`
	ReleaseNotes       string    `json:"ReleaseNotes,omitempty"`
	VendorGuidance     string    `json:"VendorGuidance,omitempty"`
	Aliases            []string  `json:"Aliases,omitempty"`
	Version            int       `json:"Version"`
	Horovod            bool      `json:"Horovod,omitempty"`
}

ImageVersion represents a version of a SageMaker image.

type ImportHubContentInput

type ImportHubContentInput struct {
	Tags                     map[string]string
	HubName                  string
	HubContentName           string
	HubContentVersion        string
	HubContentType           string
	DocumentSchemaVersion    string
	HubContentDisplayName    string
	HubContentDescription    string
	HubContentMarkdown       string
	HubContentDocument       string
	SupportStatus            string
	HubContentSearchKeywords []string
}

ImportHubContentInput carries the fields accepted by ImportHubContent.

type InMemoryBackend

type InMemoryBackend struct {
	// contains filtered or unexported fields
}

InMemoryBackend is an in-memory store for SageMaker resources.

All resource maps are nested by region (outer key = region) so that same-named resources are isolated across regions. The per-region inner maps are created lazily via the *Store helpers. Callers must hold b.mu while accessing the inner maps.

func NewInMemoryBackend

func NewInMemoryBackend(accountID, region string) *InMemoryBackend

NewInMemoryBackend creates a new in-memory SageMaker backend.

func NewInMemoryBackendWithContext

func NewInMemoryBackendWithContext(
	svcCtx context.Context,
	accountID, region string,
) *InMemoryBackend

NewInMemoryBackendWithContext creates a new in-memory SageMaker backend whose lifecycle goroutines (status-transition simulators) are children of svcCtx, so they are cancelled when the service shuts down rather than leaking. If svcCtx is nil, context.Background is used.

func (*InMemoryBackend) AccountID

func (b *InMemoryBackend) AccountID() string

AccountID returns the AWS account ID this backend is configured for.

func (*InMemoryBackend) AddActionInternal

func (b *InMemoryBackend) AddActionInternal(ctx context.Context, name, actionType string) *Action

AddActionInternal adds an action directly for seeding tests.

func (*InMemoryBackend) AddAlgorithmInternal

func (b *InMemoryBackend) AddAlgorithmInternal(ctx context.Context, name string) *Algorithm

AddAlgorithmInternal adds an algorithm directly for seeding tests.

func (*InMemoryBackend) AddAssociation

func (b *InMemoryBackend) AddAssociation(
	ctx context.Context,
	sourceArn, destinationArn, associationType string,
	tags map[string]string,
) (*Association, error)

AddAssociation creates an association between a source and destination entity in the ML lineage graph.

func (*InMemoryBackend) AddClusterInternal

func (b *InMemoryBackend) AddClusterInternal(ctx context.Context, clusterName string) *Cluster

AddClusterInternal adds a cluster directly for seeding tests.

func (*InMemoryBackend) AddModelPackageInternal

func (b *InMemoryBackend) AddModelPackageInternal(ctx context.Context, mp *ModelPackage)

AddModelPackageInternal adds a model package directly for testing.

func (*InMemoryBackend) AddTags

func (b *InMemoryBackend) AddTags(ctx context.Context, resourceARN string, tags map[string]string) error

AddTags adds or updates tags on a resource identified by ARN.

func (*InMemoryBackend) AssociateTrialComponent

func (b *InMemoryBackend) AssociateTrialComponent(
	ctx context.Context,
	trialName, trialComponentName string,
) (*TrialComponentAssociation, error)

AssociateTrialComponent associates a trial component with a trial.

func (*InMemoryBackend) AttachClusterNodeVolume

func (b *InMemoryBackend) AttachClusterNodeVolume(
	ctx context.Context,
	clusterName, nodeID string,
	volume ClusterNodeVolume,
) (string, string, error)

AttachClusterNodeVolume attaches a volume to a cluster node.

func (*InMemoryBackend) BatchAddClusterNodes

func (b *InMemoryBackend) BatchAddClusterNodes(
	ctx context.Context,
	clusterName string,
	nodeConfigs []ClusterNode,
) (string, []string, error)

BatchAddClusterNodes adds multiple nodes to a cluster. Returns clusterArn and a slice of nodeIDs that failed to add.

func (*InMemoryBackend) BatchDeleteClusterNodes

func (b *InMemoryBackend) BatchDeleteClusterNodes(
	ctx context.Context,
	clusterName string,
	nodeIDs []string,
) (string, []string, []string, error)

BatchDeleteClusterNodes removes multiple nodes from a cluster. Returns clusterArn, a slice of nodeIDs with errors, and a slice of successfully deleted nodeIDs.

func (*InMemoryBackend) BatchDescribeModelPackage

func (b *InMemoryBackend) BatchDescribeModelPackage(
	ctx context.Context,
	modelPackageArns []string,
) map[string]ModelPackageBatchResult

BatchDescribeModelPackage returns descriptions of multiple model packages by ARN.

func (*InMemoryBackend) BatchGetRecord

func (b *InMemoryBackend) BatchGetRecord(
	ctx context.Context,
	identifiers []struct {
		FeatureGroupName              string
		RecordIdentifierValueAsString string
		FeatureNames                  []string
	},
) []BatchGetRecordResult

BatchGetRecord retrieves multiple feature records in a single call.

func (*InMemoryBackend) BatchRebootClusterNodes

func (b *InMemoryBackend) BatchRebootClusterNodes(
	ctx context.Context,
	clusterName string,
	nodeIDs []string,
) (string, []string, []string, error)

BatchRebootClusterNodes reboots multiple nodes in a cluster. Returns clusterArn, a slice of failed nodeIDs, and successful nodeIDs.

func (*InMemoryBackend) BatchReplaceClusterNodes

func (b *InMemoryBackend) BatchReplaceClusterNodes(
	ctx context.Context,
	clusterName string,
	nodes []ClusterNode,
) (string, []string, error)

BatchReplaceClusterNodes replaces multiple nodes in a cluster. Returns clusterArn and a slice of nodeIDs that failed to replace.

func (*InMemoryBackend) CreateAction

func (b *InMemoryBackend) CreateAction(
	ctx context.Context,
	name, actionType, description, status string,
	source ActionSource,
	properties map[string]string,
	tags map[string]string,
) (*Action, error)

CreateAction creates a SageMaker ML lineage action.

func (*InMemoryBackend) CreateAlgorithm

func (b *InMemoryBackend) CreateAlgorithm(ctx context.Context, opts CreateAlgorithmOptions) (*Algorithm, error)

CreateAlgorithm creates a SageMaker algorithm specification.

func (*InMemoryBackend) CreateApp

func (b *InMemoryBackend) CreateApp(
	ctx context.Context,
	domainID, userProfile, appType, appName string,
	tags map[string]string,
) (*App, error)

CreateApp creates a new SageMaker Studio app.

func (*InMemoryBackend) CreateAppImageConfig

func (b *InMemoryBackend) CreateAppImageConfig(
	ctx context.Context,
	name string,
	tags map[string]string,
) (*AppImageConfig, error)

CreateAppImageConfig creates an app image config.

func (*InMemoryBackend) CreateArtifact

func (b *InMemoryBackend) CreateArtifact(
	ctx context.Context,
	name, artifactType string,
	source ArtifactSource,
	properties map[string]string,
	tags map[string]string,
) (*Artifact, error)

CreateArtifact creates a new ML lineage artifact.

func (*InMemoryBackend) CreateAutoMLJob

func (b *InMemoryBackend) CreateAutoMLJob(
	ctx context.Context,
	name, roleArn string,
	tags map[string]string,
) (*AutoMLJob, error)

CreateAutoMLJob creates an AutoML job.

func (*InMemoryBackend) CreateCluster

func (b *InMemoryBackend) CreateCluster(
	ctx context.Context,
	name string,
	instanceGroups []ClusterInstanceGroup,
	nodeRecovery string,
	tags map[string]string,
) (*Cluster, error)

CreateCluster creates a new SageMaker HyperPod cluster and auto-provisions InstanceCount running nodes for each requested instance group.

func (*InMemoryBackend) CreateClusterSchedulerConfig

func (b *InMemoryBackend) CreateClusterSchedulerConfig(
	ctx context.Context,
	opts CreateClusterSchedulerConfigOptions,
) (*ClusterSchedulerConfig, error)

CreateClusterSchedulerConfig creates a SageMaker cluster scheduler configuration.

func (*InMemoryBackend) CreateCodeRepository

func (b *InMemoryBackend) CreateCodeRepository(
	ctx context.Context,
	name string,
	gitConfig map[string]string,
	tags map[string]string,
) (*CodeRepository, error)

CreateCodeRepository creates a code repository.

func (*InMemoryBackend) CreateCompilationJob

func (b *InMemoryBackend) CreateCompilationJob(
	ctx context.Context,
	name, roleArn string,
	tags map[string]string,
) (*CompilationJob, error)

CreateCompilationJob creates a compilation job.

func (*InMemoryBackend) CreateComputeQuota

func (b *InMemoryBackend) CreateComputeQuota(
	ctx context.Context,
	opts CreateComputeQuotaOptions,
) (*ComputeQuota, error)

CreateComputeQuota creates a SageMaker compute quota.

func (*InMemoryBackend) CreateContext

func (b *InMemoryBackend) CreateContext(
	ctx context.Context,
	name, contextType, description string,
	source ContextSource,
	properties map[string]string,
	tags map[string]string,
) (*Context, error)

CreateContext creates a new ML lineage context.

func (*InMemoryBackend) CreateDataQualityJobDefinition

func (b *InMemoryBackend) CreateDataQualityJobDefinition(
	ctx context.Context,
	name, roleArn, endpointName string,
	config map[string]json.RawMessage,
	tags map[string]string,
) (*JobDefinition, error)

CreateDataQualityJobDefinition creates a data quality job definition.

func (*InMemoryBackend) CreateDeviceFleet

func (b *InMemoryBackend) CreateDeviceFleet(ctx context.Context, opts CreateDeviceFleetOptions) (*DeviceFleet, error)

CreateDeviceFleet creates a SageMaker device fleet.

func (*InMemoryBackend) CreateDomain

func (b *InMemoryBackend) CreateDomain(
	ctx context.Context,
	name, authMode string,
	tags map[string]string,
) (*Domain, error)

CreateDomain creates a new SageMaker Studio domain.

func (*InMemoryBackend) CreateEdgeDeploymentPlan

func (b *InMemoryBackend) CreateEdgeDeploymentPlan(
	ctx context.Context,
	opts CreateEdgeDeploymentPlanOptions,
) (*EdgeDeploymentPlan, error)

CreateEdgeDeploymentPlan creates a SageMaker edge deployment plan.

func (*InMemoryBackend) CreateEdgeDeploymentStage

func (b *InMemoryBackend) CreateEdgeDeploymentStage(
	ctx context.Context,
	planName string,
	stages []EdgeDeploymentStageInput,
) error

CreateEdgeDeploymentStage appends new stages to an existing edge deployment plan.

func (*InMemoryBackend) CreateEdgePackagingJob

func (b *InMemoryBackend) CreateEdgePackagingJob(
	ctx context.Context,
	opts CreateEdgePackagingJobOptions,
) (*EdgePackagingJob, error)

CreateEdgePackagingJob creates a SageMaker edge packaging job.

func (*InMemoryBackend) CreateEndpoint

func (b *InMemoryBackend) CreateEndpoint(
	ctx context.Context,
	name, endpointConfigName string,
	tags map[string]string,
) (*Endpoint, error)

CreateEndpoint creates a new SageMaker endpoint.

func (*InMemoryBackend) CreateEndpointConfig

func (b *InMemoryBackend) CreateEndpointConfig(
	ctx context.Context,
	name string,
	productionVariants []ProductionVariant,
	tags map[string]string,
) (*EndpointConfig, error)

CreateEndpointConfig creates a new SageMaker endpoint configuration.

func (*InMemoryBackend) CreateEndpointFSM

func (b *InMemoryBackend) CreateEndpointFSM(
	ctx context.Context,
	name, endpointConfigName string,
	tags map[string]string,
) (*Endpoint, error)

CreateEndpointFSM creates an endpoint and schedules Creating → InService.

func (*InMemoryBackend) CreateExperiment

func (b *InMemoryBackend) CreateExperiment(
	ctx context.Context,
	name string,
	tags map[string]string,
) (*Experiment, error)

CreateExperiment creates a new experiment.

func (*InMemoryBackend) CreateFeatureGroup

func (b *InMemoryBackend) CreateFeatureGroup(
	ctx context.Context,
	name, recordID, eventTimeFeature string,
	defs []FeatureDefinition,
	tags map[string]string,
) (*FeatureGroup, error)

CreateFeatureGroup creates a new feature group.

func (*InMemoryBackend) CreateFlowDefinition

func (b *InMemoryBackend) CreateFlowDefinition(
	ctx context.Context,
	name, roleArn string,
	tags map[string]string,
) (*FlowDefinition, error)

CreateFlowDefinition creates a flow definition.

func (*InMemoryBackend) CreateHub

func (b *InMemoryBackend) CreateHub(
	ctx context.Context,
	name, description, displayName, s3OutputPath string,
	searchKeywords []string,
	tags map[string]string,
) (*Hub, error)

CreateHub creates a new private model hub.

func (*InMemoryBackend) CreateHubContentPresignedURLs

func (b *InMemoryBackend) CreateHubContentPresignedURLs(
	ctx context.Context,
	hubName, contentType, contentName, version string,
) ([]HubContentPresignedURL, error)

CreateHubContentPresignedURLs returns presigned download URLs for the files backing a hub content resource. If version is empty, the latest version is used.

func (*InMemoryBackend) CreateHubContentReference

func (b *InMemoryBackend) CreateHubContentReference(
	ctx context.Context,
	hubName, publicHubContentArn, contentName, minVersion string,
	tags map[string]string,
) (*HubContent, error)

CreateHubContentReference creates a ModelReference hub content resource that points at a public hub's content.

func (*InMemoryBackend) CreateHumanTaskUI

func (b *InMemoryBackend) CreateHumanTaskUI(
	ctx context.Context,
	name string,
	tags map[string]string,
) (*HumanTaskUI, error)

CreateHumanTaskUI creates a human task UI.

func (*InMemoryBackend) CreateHyperParameterTuningJob

func (b *InMemoryBackend) CreateHyperParameterTuningJob(
	ctx context.Context,
	name, strategy string,
	tags map[string]string,
) (*HyperParameterTuningJob, error)

CreateHyperParameterTuningJob creates a new HPO job.

func (*InMemoryBackend) CreateImage

func (b *InMemoryBackend) CreateImage(
	ctx context.Context,
	name, description, roleArn string,
	tags map[string]string,
) (*SMImage, error)

CreateImage creates a SageMaker image.

func (*InMemoryBackend) CreateImageVersion

func (b *InMemoryBackend) CreateImageVersion(ctx context.Context, imageName string) (*ImageVersion, error)

CreateImageVersion creates a new version for an image.

func (*InMemoryBackend) CreateInferenceComponent

func (b *InMemoryBackend) CreateInferenceComponent(
	ctx context.Context,
	opts CreateInferenceComponentOptions,
) (*InferenceComponent, error)

CreateInferenceComponent creates a SageMaker inference component.

func (*InMemoryBackend) CreateInferenceExperiment

func (b *InMemoryBackend) CreateInferenceExperiment(
	ctx context.Context,
	name, expType, roleArn string,
	tags map[string]string,
) (*InferenceExperiment, error)

CreateInferenceExperiment creates an inference experiment.

func (*InMemoryBackend) CreateInferenceRecommendationsJob

func (b *InMemoryBackend) CreateInferenceRecommendationsJob(
	ctx context.Context,
	opts CreateInferenceRecommendationsJobOptions,
) (*InferenceRecommendationsJob, error)

CreateInferenceRecommendationsJob creates an inference recommendations job.

func (*InMemoryBackend) CreateLabelingJob

func (b *InMemoryBackend) CreateLabelingJob(
	ctx context.Context,
	opts CreateLabelingJobOptions,
) (*LabelingJob, error)

CreateLabelingJob creates and schedules a Ground Truth labeling job.

func (*InMemoryBackend) CreateMlflowApp

func (b *InMemoryBackend) CreateMlflowApp(ctx context.Context, opts CreateMlflowAppOptions) (*MlflowApp, error)

CreateMlflowApp creates an MLflow App. Stores by ARN; Name is used only to build the ARN.

func (*InMemoryBackend) CreateMlflowTrackingServer

func (b *InMemoryBackend) CreateMlflowTrackingServer(
	ctx context.Context,
	name, roleArn, mlflowVersion string,
	tags map[string]string,
) (*MlflowTrackingServer, error)

CreateMlflowTrackingServer creates an MLflow tracking server.

func (*InMemoryBackend) CreateModel

func (b *InMemoryBackend) CreateModel(
	ctx context.Context,
	name string,
	executionRoleARN string,
	primaryContainer *ContainerDefinition,
	containers []ContainerDefinition,
	tags map[string]string,
) (*Model, error)

CreateModel creates a new SageMaker model.

func (*InMemoryBackend) CreateModelBiasJobDefinition

func (b *InMemoryBackend) CreateModelBiasJobDefinition(
	ctx context.Context,
	name, roleArn, endpointName string,
	config map[string]json.RawMessage,
	tags map[string]string,
) (*JobDefinition, error)

CreateModelBiasJobDefinition creates a model bias job definition.

func (*InMemoryBackend) CreateModelCard

func (b *InMemoryBackend) CreateModelCard(
	ctx context.Context,
	name, content string,
	tags map[string]string,
) (*ModelCard, error)

CreateModelCard creates a model card.

func (*InMemoryBackend) CreateModelCardExportJob

func (b *InMemoryBackend) CreateModelCardExportJob(
	ctx context.Context,
	jobName, modelCardName string,
	modelCardVersion int,
	s3OutputPath string,
) (*ModelCardExportJob, error)

CreateModelCardExportJob creates a model card export job for an existing model card. The job completes synchronously (status Completed) since there is no real S3 export to perform in-memory.

func (*InMemoryBackend) CreateModelExplainabilityJobDefinition

func (b *InMemoryBackend) CreateModelExplainabilityJobDefinition(
	ctx context.Context,
	name, roleArn, endpointName string,
	config map[string]json.RawMessage,
	tags map[string]string,
) (*JobDefinition, error)

CreateModelExplainabilityJobDefinition creates a model explainability job definition.

func (*InMemoryBackend) CreateModelPackage

func (b *InMemoryBackend) CreateModelPackage(
	ctx context.Context,
	name, groupName, description string,
	tags map[string]string,
) (*ModelPackage, error)

CreateModelPackage creates a model package.

func (*InMemoryBackend) CreateModelPackageGroup

func (b *InMemoryBackend) CreateModelPackageGroup(
	ctx context.Context,
	name, description string,
	tags map[string]string,
) (*ModelPackageGroup, error)

CreateModelPackageGroup creates a new model package group.

func (*InMemoryBackend) CreateModelQualityJobDefinition

func (b *InMemoryBackend) CreateModelQualityJobDefinition(
	ctx context.Context,
	name, roleArn, endpointName string,
	config map[string]json.RawMessage,
	tags map[string]string,
) (*JobDefinition, error)

CreateModelQualityJobDefinition creates a model quality job definition.

func (*InMemoryBackend) CreateMonitoringSchedule

func (b *InMemoryBackend) CreateMonitoringSchedule(
	ctx context.Context,
	name string,
	tags map[string]string,
) (*MonitoringSchedule, error)

CreateMonitoringSchedule creates a monitoring schedule.

func (*InMemoryBackend) CreateNotebookInstance

func (b *InMemoryBackend) CreateNotebookInstance(
	ctx context.Context,
	name, instanceType, roleArn string,
	tags map[string]string,
) (*NotebookInstance, error)

CreateNotebookInstance creates a new notebook instance.

func (*InMemoryBackend) CreateNotebookInstanceFSM

func (b *InMemoryBackend) CreateNotebookInstanceFSM(
	ctx context.Context,
	opts NotebookInstanceOptions,
) (*NotebookInstance, error)

CreateNotebookInstanceFSM creates a notebook and immediately schedules Pending → InService.

func (*InMemoryBackend) CreateNotebookInstanceFull

func (b *InMemoryBackend) CreateNotebookInstanceFull(
	ctx context.Context,
	opts NotebookInstanceOptions,
) (*NotebookInstance, error)

CreateNotebookInstanceFull persists all NotebookInstanceOptions fields.

func (*InMemoryBackend) CreateNotebookInstanceLifecycleConfig

func (b *InMemoryBackend) CreateNotebookInstanceLifecycleConfig(
	ctx context.Context,
	name string,
	onCreate, onStart []NotebookLifecycleHook,
) (*NotebookInstanceLifecycleConfig, error)

CreateNotebookInstanceLifecycleConfig creates a new lifecycle config.

func (*InMemoryBackend) CreateOptimizationJob

func (b *InMemoryBackend) CreateOptimizationJob(
	ctx context.Context,
	name, roleArn string,
	tags map[string]string,
) (*OptimizationJob, error)

CreateOptimizationJob creates an optimization job.

func (*InMemoryBackend) CreatePartnerApp

func (b *InMemoryBackend) CreatePartnerApp(ctx context.Context, opts CreatePartnerAppOptions) (*PartnerApp, error)

CreatePartnerApp creates a partner app. Stores by ARN; returns both name and ARN.

func (*InMemoryBackend) CreatePartnerAppPresignedURL

func (b *InMemoryBackend) CreatePartnerAppPresignedURL(ctx context.Context, arnStr string) (string, error)

CreatePartnerAppPresignedURL returns a one-time presigned URL for accessing an existing partner app.

func (*InMemoryBackend) CreatePipeline

func (b *InMemoryBackend) CreatePipeline(
	ctx context.Context,
	name, definition, roleArn string,
	tags map[string]string,
) (*Pipeline, error)

CreatePipeline creates a new pipeline.

func (*InMemoryBackend) CreatePipelineFull

func (b *InMemoryBackend) CreatePipelineFull(ctx context.Context, opts CreatePipelineOptions) (*Pipeline, error)

CreatePipelineFull creates a pipeline with full AWS input fields.

func (*InMemoryBackend) CreatePresignedDomainURL

func (b *InMemoryBackend) CreatePresignedDomainURL(
	ctx context.Context,
	domainID, userProfileName string,
) (string, error)

CreatePresignedDomainURL validates that domainID and userProfileName refer to existing resources and returns a synthetic (but stably-shaped) presigned authorization URL for the domain's user profile.

func (*InMemoryBackend) CreatePresignedMlflowAppURL

func (b *InMemoryBackend) CreatePresignedMlflowAppURL(ctx context.Context, arnStr string) (string, error)

CreatePresignedMlflowAppURL returns a one-time presigned URL for accessing the MLflow UI of an existing MLflow App.

func (*InMemoryBackend) CreatePresignedMlflowTrackingServerURL

func (b *InMemoryBackend) CreatePresignedMlflowTrackingServerURL(ctx context.Context, name string) (string, error)

CreatePresignedMlflowTrackingServerURL returns a one-time presigned URL for accessing the MLflow UI of an existing tracking server.

func (*InMemoryBackend) CreatePresignedNotebookInstanceURL

func (b *InMemoryBackend) CreatePresignedNotebookInstanceURL(ctx context.Context, name string) (string, error)

CreatePresignedNotebookInstanceURL returns a presigned URL for a notebook instance.

func (*InMemoryBackend) CreateProcessingJob

func (b *InMemoryBackend) CreateProcessingJob(ctx context.Context, opts ProcessingJob) (*ProcessingJob, error)

CreateProcessingJob creates and schedules a processing job.

func (*InMemoryBackend) CreateProject

func (b *InMemoryBackend) CreateProject(
	ctx context.Context,
	name, description string,
	tags map[string]string,
) (*Project, error)

CreateProject creates a SageMaker project.

func (*InMemoryBackend) CreateSpace

func (b *InMemoryBackend) CreateSpace(
	ctx context.Context,
	domainID, spaceName string,
	tags map[string]string,
) (*Space, error)

CreateSpace creates a SageMaker Studio space.

func (*InMemoryBackend) CreateStudioLifecycleConfig

func (b *InMemoryBackend) CreateStudioLifecycleConfig(
	ctx context.Context,
	name, appType string,
	tags map[string]string,
) (*StudioLifecycleConfig, error)

CreateStudioLifecycleConfig creates a Studio lifecycle configuration.

func (*InMemoryBackend) CreateTrainingJob

func (b *InMemoryBackend) CreateTrainingJob(
	ctx context.Context,
	name, roleArn string,
	algorithmSpec map[string]string,
	tags map[string]string,
) (*TrainingJob, error)

CreateTrainingJob creates a new training job (legacy signature, kept for compatibility).

func (*InMemoryBackend) CreateTrainingJobFull

func (b *InMemoryBackend) CreateTrainingJobFull(ctx context.Context, opts TrainingJobOptions) (*TrainingJob, error)

CreateTrainingJobFull creates a training job from a full options struct and schedules InProgress → Completed after a short delay.

func (*InMemoryBackend) CreateTrainingPlan

func (b *InMemoryBackend) CreateTrainingPlan(
	ctx context.Context,
	name, offeringID string,
	spareInstanceCountPerUltraServer int32,
	tags map[string]string,
) (*TrainingPlan, error)

CreateTrainingPlan creates a training plan. If offeringID matches a catalog entry from SearchTrainingPlanOfferings, the plan inherits its duration, pricing and target resources and a backing ReservedCapacity is provisioned; otherwise a minimal Active plan is created (offeringID == "").

func (*InMemoryBackend) CreateTransformJob

func (b *InMemoryBackend) CreateTransformJob(ctx context.Context, opts TransformJobOptions) (*TransformJob, error)

CreateTransformJob creates a new batch transform job.

func (*InMemoryBackend) CreateTrial

func (b *InMemoryBackend) CreateTrial(
	ctx context.Context,
	name, experimentName string,
	tags map[string]string,
) (*Trial, error)

CreateTrial creates a new trial.

func (*InMemoryBackend) CreateTrialComponent

func (b *InMemoryBackend) CreateTrialComponent(
	ctx context.Context,
	name string,
	tags map[string]string,
) (*TrialComponent, error)

CreateTrialComponent creates a new trial component.

func (*InMemoryBackend) CreateUserProfile

func (b *InMemoryBackend) CreateUserProfile(
	ctx context.Context,
	domainID, name string,
	tags map[string]string,
) (*UserProfile, error)

CreateUserProfile creates a new user profile in a domain.

func (*InMemoryBackend) CreateWorkforce

func (b *InMemoryBackend) CreateWorkforce(ctx context.Context, opts CreateWorkforceOptions) (*Workforce, error)

CreateWorkforce creates a workforce. AWS allows at most one workforce per account per region.

func (*InMemoryBackend) CreateWorkteam

func (b *InMemoryBackend) CreateWorkteam(ctx context.Context, opts CreateWorkteamOptions) (*Workteam, error)

CreateWorkteam creates a workteam.

func (*InMemoryBackend) DeleteAction

func (b *InMemoryBackend) DeleteAction(ctx context.Context, name string) (*Action, error)

DeleteAction deletes an action by name.

func (*InMemoryBackend) DeleteAlgorithm

func (b *InMemoryBackend) DeleteAlgorithm(ctx context.Context, name string) error

DeleteAlgorithm removes an algorithm by name.

func (*InMemoryBackend) DeleteApp

func (b *InMemoryBackend) DeleteApp(ctx context.Context, domainID, userProfile, appType, appName string) error

DeleteApp deletes an app (marks as Deleted).

func (*InMemoryBackend) DeleteAppImageConfig

func (b *InMemoryBackend) DeleteAppImageConfig(ctx context.Context, name string) error

DeleteAppImageConfig removes an app image config by name.

func (*InMemoryBackend) DeleteArtifact

func (b *InMemoryBackend) DeleteArtifact(ctx context.Context, artifactArn string) (*Artifact, error)

DeleteArtifact deletes an artifact by ARN.

func (*InMemoryBackend) DeleteAssociation

func (b *InMemoryBackend) DeleteAssociation(ctx context.Context, sourceArn, destinationArn string) error

DeleteAssociation removes an association between a source and destination entity.

func (*InMemoryBackend) DeleteCluster

func (b *InMemoryBackend) DeleteCluster(ctx context.Context, nameOrArn string) (string, error)

DeleteCluster removes a cluster by name or ARN, returning its ARN.

func (*InMemoryBackend) DeleteClusterSchedulerConfig

func (b *InMemoryBackend) DeleteClusterSchedulerConfig(ctx context.Context, name string) error

DeleteClusterSchedulerConfig deletes a cluster scheduler config by name.

func (*InMemoryBackend) DeleteCodeRepository

func (b *InMemoryBackend) DeleteCodeRepository(ctx context.Context, name string) error

DeleteCodeRepository removes a code repository by name.

func (*InMemoryBackend) DeleteCompilationJob

func (b *InMemoryBackend) DeleteCompilationJob(ctx context.Context, name string) error

DeleteCompilationJob removes a compilation job by name.

func (*InMemoryBackend) DeleteComputeQuota

func (b *InMemoryBackend) DeleteComputeQuota(ctx context.Context, name string) error

DeleteComputeQuota deletes a compute quota by name.

func (*InMemoryBackend) DeleteContext

func (b *InMemoryBackend) DeleteContext(ctx context.Context, name string) (*Context, error)

DeleteContext deletes a context by name.

func (*InMemoryBackend) DeleteDataQualityJobDefinition

func (b *InMemoryBackend) DeleteDataQualityJobDefinition(ctx context.Context, name string) error

DeleteDataQualityJobDefinition removes a data quality job definition by name.

func (*InMemoryBackend) DeleteDeviceFleet

func (b *InMemoryBackend) DeleteDeviceFleet(ctx context.Context, name string) error

DeleteDeviceFleet deletes a device fleet by name.

func (*InMemoryBackend) DeleteDomain

func (b *InMemoryBackend) DeleteDomain(ctx context.Context, idOrName string) error

DeleteDomain deletes a domain by ID or name.

func (*InMemoryBackend) DeleteEdgeDeploymentPlan

func (b *InMemoryBackend) DeleteEdgeDeploymentPlan(ctx context.Context, name string) error

DeleteEdgeDeploymentPlan deletes an edge deployment plan by name.

func (*InMemoryBackend) DeleteEdgeDeploymentStage

func (b *InMemoryBackend) DeleteEdgeDeploymentStage(ctx context.Context, planName, stageName string) error

DeleteEdgeDeploymentStage removes a stage from an edge deployment plan.

func (*InMemoryBackend) DeleteEndpoint

func (b *InMemoryBackend) DeleteEndpoint(ctx context.Context, name string) error

DeleteEndpoint deletes an endpoint by name.

func (*InMemoryBackend) DeleteEndpointConfig

func (b *InMemoryBackend) DeleteEndpointConfig(ctx context.Context, name string) error

DeleteEndpointConfig deletes an endpoint configuration by name.

func (*InMemoryBackend) DeleteExperiment

func (b *InMemoryBackend) DeleteExperiment(ctx context.Context, name string) (*Experiment, error)

DeleteExperiment deletes an experiment.

func (*InMemoryBackend) DeleteFeatureGroup

func (b *InMemoryBackend) DeleteFeatureGroup(ctx context.Context, name string) error

DeleteFeatureGroup deletes a feature group.

func (*InMemoryBackend) DeleteFlowDefinition

func (b *InMemoryBackend) DeleteFlowDefinition(ctx context.Context, name string) error

DeleteFlowDefinition removes a flow definition by name.

func (*InMemoryBackend) DeleteHub

func (b *InMemoryBackend) DeleteHub(ctx context.Context, idOrArn string) error

DeleteHub deletes a hub. AWS rejects deletion when hub content still exists.

func (*InMemoryBackend) DeleteHubContent

func (b *InMemoryBackend) DeleteHubContent(
	ctx context.Context,
	hubName, contentType, contentName, version string,
) error

DeleteHubContent deletes a single version of a hub content resource.

func (*InMemoryBackend) DeleteHubContentReference

func (b *InMemoryBackend) DeleteHubContentReference(
	ctx context.Context,
	hubName, contentType, contentName string,
) error

DeleteHubContentReference deletes all versions of a ModelReference hub content resource.

func (*InMemoryBackend) DeleteHumanTaskUI

func (b *InMemoryBackend) DeleteHumanTaskUI(ctx context.Context, name string) error

DeleteHumanTaskUI removes a human task UI by name.

func (*InMemoryBackend) DeleteHyperParameterTuningJob

func (b *InMemoryBackend) DeleteHyperParameterTuningJob(ctx context.Context, name string) error

DeleteHyperParameterTuningJob removes an HP tuning job from the backend.

func (*InMemoryBackend) DeleteImage

func (b *InMemoryBackend) DeleteImage(ctx context.Context, name string) error

DeleteImage removes a SageMaker image by name.

func (*InMemoryBackend) DeleteImageVersion

func (b *InMemoryBackend) DeleteImageVersion(ctx context.Context, imageName string, version int) error

DeleteImageVersion removes an image version.

func (*InMemoryBackend) DeleteInferenceComponent

func (b *InMemoryBackend) DeleteInferenceComponent(ctx context.Context, name string) error

DeleteInferenceComponent deletes an inference component by name.

func (*InMemoryBackend) DeleteInferenceExperiment

func (b *InMemoryBackend) DeleteInferenceExperiment(ctx context.Context, name string) error

DeleteInferenceExperiment removes an inference experiment by name.

func (*InMemoryBackend) DeleteMlflowApp

func (b *InMemoryBackend) DeleteMlflowApp(ctx context.Context, arnStr string) error

DeleteMlflowApp removes an MLflow App by ARN.

func (*InMemoryBackend) DeleteMlflowTrackingServer

func (b *InMemoryBackend) DeleteMlflowTrackingServer(ctx context.Context, name string) error

DeleteMlflowTrackingServer removes an MLflow tracking server by name.

func (*InMemoryBackend) DeleteModel

func (b *InMemoryBackend) DeleteModel(ctx context.Context, name string) error

DeleteModel deletes a model by name.

func (*InMemoryBackend) DeleteModelBiasJobDefinition

func (b *InMemoryBackend) DeleteModelBiasJobDefinition(ctx context.Context, name string) error

DeleteModelBiasJobDefinition removes a model bias job definition by name.

func (*InMemoryBackend) DeleteModelCard

func (b *InMemoryBackend) DeleteModelCard(ctx context.Context, name string) error

DeleteModelCard removes a model card by name.

func (*InMemoryBackend) DeleteModelExplainabilityJobDefinition

func (b *InMemoryBackend) DeleteModelExplainabilityJobDefinition(ctx context.Context, name string) error

DeleteModelExplainabilityJobDefinition removes a model explainability job definition by name.

func (*InMemoryBackend) DeleteModelPackage

func (b *InMemoryBackend) DeleteModelPackage(ctx context.Context, nameOrArn string) error

DeleteModelPackage removes a model package by name or ARN.

func (*InMemoryBackend) DeleteModelPackageGroup

func (b *InMemoryBackend) DeleteModelPackageGroup(ctx context.Context, name string) error

DeleteModelPackageGroup removes a model package group by name.

func (*InMemoryBackend) DeleteModelPackageGroupPolicy

func (b *InMemoryBackend) DeleteModelPackageGroupPolicy(ctx context.Context, name string) error

DeleteModelPackageGroupPolicy removes the resource policy from a model package group.

func (*InMemoryBackend) DeleteModelQualityJobDefinition

func (b *InMemoryBackend) DeleteModelQualityJobDefinition(ctx context.Context, name string) error

DeleteModelQualityJobDefinition removes a model quality job definition by name.

func (*InMemoryBackend) DeleteMonitoringSchedule

func (b *InMemoryBackend) DeleteMonitoringSchedule(ctx context.Context, name string) error

DeleteMonitoringSchedule removes a monitoring schedule.

func (*InMemoryBackend) DeleteNotebookInstance

func (b *InMemoryBackend) DeleteNotebookInstance(ctx context.Context, name string) error

DeleteNotebookInstance removes a notebook instance from the backend.

func (*InMemoryBackend) DeleteNotebookInstanceLifecycleConfig

func (b *InMemoryBackend) DeleteNotebookInstanceLifecycleConfig(ctx context.Context, name string) error

DeleteNotebookInstanceLifecycleConfig removes a lifecycle config.

func (*InMemoryBackend) DeleteOptimizationJob

func (b *InMemoryBackend) DeleteOptimizationJob(ctx context.Context, name string) error

DeleteOptimizationJob removes an optimization job by name.

func (*InMemoryBackend) DeletePartnerApp

func (b *InMemoryBackend) DeletePartnerApp(ctx context.Context, arnStr string) error

DeletePartnerApp removes a partner app by ARN.

func (*InMemoryBackend) DeletePipeline

func (b *InMemoryBackend) DeletePipeline(ctx context.Context, name string) (*Pipeline, error)

DeletePipeline deletes a pipeline.

func (*InMemoryBackend) DeleteProcessingJob

func (b *InMemoryBackend) DeleteProcessingJob(ctx context.Context, name string) error

DeleteProcessingJob removes a processing job's record. Only terminal (non-InProgress, non-Stopping) jobs may be deleted.

func (*InMemoryBackend) DeleteProject

func (b *InMemoryBackend) DeleteProject(ctx context.Context, name string) error

DeleteProject removes a project by name.

func (*InMemoryBackend) DeleteRecord

func (b *InMemoryBackend) DeleteRecord(ctx context.Context, featureGroupName, recordIDValue string) error

DeleteRecord deletes a feature record from a feature group.

func (*InMemoryBackend) DeleteSpace

func (b *InMemoryBackend) DeleteSpace(ctx context.Context, domainID, spaceName string) error

DeleteSpace removes a space.

func (*InMemoryBackend) DeleteStudioLifecycleConfig

func (b *InMemoryBackend) DeleteStudioLifecycleConfig(ctx context.Context, name string) error

DeleteStudioLifecycleConfig removes a Studio lifecycle configuration by name.

func (*InMemoryBackend) DeleteTags

func (b *InMemoryBackend) DeleteTags(ctx context.Context, resourceARN string, tagKeys []string) error

DeleteTags removes tag keys from a resource identified by ARN.

func (*InMemoryBackend) DeleteTrainingJob

func (b *InMemoryBackend) DeleteTrainingJob(ctx context.Context, name string) error

DeleteTrainingJob removes a training job from the backend.

func (*InMemoryBackend) DeleteTrial

func (b *InMemoryBackend) DeleteTrial(ctx context.Context, name string) (*Trial, error)

DeleteTrial deletes a trial.

func (*InMemoryBackend) DeleteTrialComponent

func (b *InMemoryBackend) DeleteTrialComponent(ctx context.Context, name string) (*TrialComponent, error)

DeleteTrialComponent deletes a trial component.

func (*InMemoryBackend) DeleteUserProfile

func (b *InMemoryBackend) DeleteUserProfile(ctx context.Context, domainID, name string) error

DeleteUserProfile deletes a user profile.

func (*InMemoryBackend) DeleteWorkforce

func (b *InMemoryBackend) DeleteWorkforce(ctx context.Context, name string) error

DeleteWorkforce removes a workforce. Fails with ResourceInUse if the workforce still has one or more work teams (AWS requires DeleteWorkteam first, per the DeleteWorkforce API contract).

func (*InMemoryBackend) DeleteWorkteam

func (b *InMemoryBackend) DeleteWorkteam(ctx context.Context, name string) error

DeleteWorkteam removes a workteam.

func (*InMemoryBackend) DeregisterDevices

func (b *InMemoryBackend) DeregisterDevices(ctx context.Context, fleetName string, deviceNames []string) error

DeregisterDevices removes devices from a device fleet.

func (*InMemoryBackend) DescribeAction

func (b *InMemoryBackend) DescribeAction(ctx context.Context, name string) (*Action, error)

DescribeAction returns an action by name.

func (*InMemoryBackend) DescribeAlgorithm

func (b *InMemoryBackend) DescribeAlgorithm(ctx context.Context, name string) (*Algorithm, error)

DescribeAlgorithm returns an algorithm by name.

func (*InMemoryBackend) DescribeApp

func (b *InMemoryBackend) DescribeApp(
	ctx context.Context,
	domainID, userProfile, appType, appName string,
) (*App, error)

DescribeApp returns an app.

func (*InMemoryBackend) DescribeAppImageConfig

func (b *InMemoryBackend) DescribeAppImageConfig(ctx context.Context, name string) (*AppImageConfig, error)

DescribeAppImageConfig returns an app image config by name.

func (*InMemoryBackend) DescribeArtifact

func (b *InMemoryBackend) DescribeArtifact(ctx context.Context, artifactArn string) (*Artifact, error)

DescribeArtifact returns an artifact by ARN.

func (*InMemoryBackend) DescribeAutoMLJob

func (b *InMemoryBackend) DescribeAutoMLJob(ctx context.Context, name string) (*AutoMLJob, error)

DescribeAutoMLJob returns an AutoML job by name.

func (*InMemoryBackend) DescribeCluster

func (b *InMemoryBackend) DescribeCluster(ctx context.Context, nameOrArn string) (*Cluster, error)

DescribeCluster returns a cluster by name or ARN.

func (*InMemoryBackend) DescribeClusterEvent

func (b *InMemoryBackend) DescribeClusterEvent(ctx context.Context, clusterNameOrArn, eventID string) error

DescribeClusterEvent looks up a single cluster event by ID. This emulator never generates cluster events (they require the Continuous provisioning mode with an EKS/Slurm orchestrator), so any lookup on an existing cluster correctly reports that the event does not exist.

func (*InMemoryBackend) DescribeClusterNode

func (b *InMemoryBackend) DescribeClusterNode(
	ctx context.Context,
	clusterNameOrArn, nodeID string,
) (*ClusterNode, error)

DescribeClusterNode returns a single node of a cluster by NodeId.

func (*InMemoryBackend) DescribeClusterSchedulerConfig

func (b *InMemoryBackend) DescribeClusterSchedulerConfig(
	ctx context.Context,
	name string,
) (*ClusterSchedulerConfig, error)

DescribeClusterSchedulerConfig returns a cluster scheduler config by name.

func (*InMemoryBackend) DescribeCodeRepository

func (b *InMemoryBackend) DescribeCodeRepository(ctx context.Context, name string) (*CodeRepository, error)

DescribeCodeRepository returns a code repository by name.

func (*InMemoryBackend) DescribeCompilationJob

func (b *InMemoryBackend) DescribeCompilationJob(ctx context.Context, name string) (*CompilationJob, error)

DescribeCompilationJob returns a compilation job by name.

func (*InMemoryBackend) DescribeComputeQuota

func (b *InMemoryBackend) DescribeComputeQuota(ctx context.Context, name string) (*ComputeQuota, error)

DescribeComputeQuota returns a compute quota by name.

func (*InMemoryBackend) DescribeContext

func (b *InMemoryBackend) DescribeContext(ctx context.Context, name string) (*Context, error)

DescribeContext returns a context by name.

func (*InMemoryBackend) DescribeDataQualityJobDefinition

func (b *InMemoryBackend) DescribeDataQualityJobDefinition(ctx context.Context, name string) (*JobDefinition, error)

DescribeDataQualityJobDefinition returns a data quality job definition by name.

func (*InMemoryBackend) DescribeDevice

func (b *InMemoryBackend) DescribeDevice(ctx context.Context, fleetName, deviceName string) (*Device, error)

DescribeDevice returns a device by fleet and device name.

func (*InMemoryBackend) DescribeDeviceFleet

func (b *InMemoryBackend) DescribeDeviceFleet(ctx context.Context, name string) (*DeviceFleet, error)

DescribeDeviceFleet returns a device fleet by name.

func (*InMemoryBackend) DescribeDomain

func (b *InMemoryBackend) DescribeDomain(ctx context.Context, idOrName string) (*Domain, error)

DescribeDomain returns a domain by ID or name.

func (*InMemoryBackend) DescribeEdgeDeploymentPlan

func (b *InMemoryBackend) DescribeEdgeDeploymentPlan(ctx context.Context, name string) (*EdgeDeploymentPlan, error)

DescribeEdgeDeploymentPlan returns an edge deployment plan by name.

func (*InMemoryBackend) DescribeEdgePackagingJob

func (b *InMemoryBackend) DescribeEdgePackagingJob(ctx context.Context, name string) (*EdgePackagingJob, error)

DescribeEdgePackagingJob returns an edge packaging job by name.

func (*InMemoryBackend) DescribeEndpoint

func (b *InMemoryBackend) DescribeEndpoint(ctx context.Context, name string) (*Endpoint, error)

DescribeEndpoint returns an endpoint by name.

func (*InMemoryBackend) DescribeEndpointConfig

func (b *InMemoryBackend) DescribeEndpointConfig(ctx context.Context, name string) (*EndpointConfig, error)

DescribeEndpointConfig returns an endpoint config by name.

func (*InMemoryBackend) DescribeExperiment

func (b *InMemoryBackend) DescribeExperiment(ctx context.Context, name string) (*Experiment, error)

DescribeExperiment returns an experiment by name.

func (*InMemoryBackend) DescribeFeatureGroup

func (b *InMemoryBackend) DescribeFeatureGroup(ctx context.Context, name string) (*FeatureGroup, error)

DescribeFeatureGroup returns a feature group by name.

func (*InMemoryBackend) DescribeFlowDefinition

func (b *InMemoryBackend) DescribeFlowDefinition(ctx context.Context, name string) (*FlowDefinition, error)

DescribeFlowDefinition returns a flow definition by name.

func (*InMemoryBackend) DescribeHub

func (b *InMemoryBackend) DescribeHub(ctx context.Context, idOrArn string) (*Hub, error)

DescribeHub returns a hub by name or ARN.

func (*InMemoryBackend) DescribeHubContent

func (b *InMemoryBackend) DescribeHubContent(
	ctx context.Context,
	hubName, contentType, contentName, version string,
) (*HubContent, error)

DescribeHubContent returns a hub content resource. If version is empty, the most recently imported version is returned.

func (*InMemoryBackend) DescribeHumanTaskUI

func (b *InMemoryBackend) DescribeHumanTaskUI(ctx context.Context, name string) (*HumanTaskUI, error)

DescribeHumanTaskUI returns a human task UI by name.

func (*InMemoryBackend) DescribeHyperParameterTuningJob

func (b *InMemoryBackend) DescribeHyperParameterTuningJob(
	ctx context.Context,
	name string,
) (*HyperParameterTuningJob, error)

DescribeHyperParameterTuningJob returns an HP tuning job by name.

func (*InMemoryBackend) DescribeImage

func (b *InMemoryBackend) DescribeImage(ctx context.Context, name string) (*SMImage, error)

DescribeImage returns a SageMaker image by name.

func (*InMemoryBackend) DescribeImageVersion

func (b *InMemoryBackend) DescribeImageVersion(
	ctx context.Context,
	imageName string,
	version int,
) (*ImageVersion, error)

DescribeImageVersion returns an image version by image name and version number.

func (*InMemoryBackend) DescribeInferenceComponent

func (b *InMemoryBackend) DescribeInferenceComponent(ctx context.Context, name string) (*InferenceComponent, error)

DescribeInferenceComponent returns an inference component by name.

func (*InMemoryBackend) DescribeInferenceExperiment

func (b *InMemoryBackend) DescribeInferenceExperiment(ctx context.Context, name string) (*InferenceExperiment, error)

DescribeInferenceExperiment returns an inference experiment by name.

func (*InMemoryBackend) DescribeInferenceRecommendationsJob

func (b *InMemoryBackend) DescribeInferenceRecommendationsJob(
	ctx context.Context,
	name string,
) (*InferenceRecommendationsJob, error)

DescribeInferenceRecommendationsJob returns an inference recommendations job by name.

func (*InMemoryBackend) DescribeLabelingJob

func (b *InMemoryBackend) DescribeLabelingJob(ctx context.Context, name string) (*LabelingJob, error)

DescribeLabelingJob returns a labeling job by name.

func (*InMemoryBackend) DescribeLineageGroup

func (b *InMemoryBackend) DescribeLineageGroup(ctx context.Context, name string) (string, time.Time, error)

DescribeLineageGroup returns the default lineage group if name matches it.

func (*InMemoryBackend) DescribeMlflowApp

func (b *InMemoryBackend) DescribeMlflowApp(ctx context.Context, arnStr string) (*MlflowApp, error)

DescribeMlflowApp returns an MLflow App by ARN.

func (*InMemoryBackend) DescribeMlflowTrackingServer

func (b *InMemoryBackend) DescribeMlflowTrackingServer(
	ctx context.Context,
	name string,
) (*MlflowTrackingServer, error)

DescribeMlflowTrackingServer returns an MLflow tracking server by name.

func (*InMemoryBackend) DescribeModel

func (b *InMemoryBackend) DescribeModel(ctx context.Context, name string) (*Model, error)

DescribeModel returns a model by name.

func (*InMemoryBackend) DescribeModelBiasJobDefinition

func (b *InMemoryBackend) DescribeModelBiasJobDefinition(ctx context.Context, name string) (*JobDefinition, error)

DescribeModelBiasJobDefinition returns a model bias job definition by name.

func (*InMemoryBackend) DescribeModelCard

func (b *InMemoryBackend) DescribeModelCard(ctx context.Context, name string) (*ModelCard, error)

DescribeModelCard returns a model card by name.

func (*InMemoryBackend) DescribeModelCardExportJob

func (b *InMemoryBackend) DescribeModelCardExportJob(
	ctx context.Context,
	jobArn string,
) (*ModelCardExportJob, error)

DescribeModelCardExportJob returns a model card export job by ARN.

func (*InMemoryBackend) DescribeModelExplainabilityJobDefinition

func (b *InMemoryBackend) DescribeModelExplainabilityJobDefinition(
	ctx context.Context,
	name string,
) (*JobDefinition, error)

DescribeModelExplainabilityJobDefinition returns a model explainability job definition by name.

func (*InMemoryBackend) DescribeModelPackage

func (b *InMemoryBackend) DescribeModelPackage(ctx context.Context, nameOrArn string) (*ModelPackage, error)

DescribeModelPackage returns a model package by name or ARN.

func (*InMemoryBackend) DescribeModelPackageGroup

func (b *InMemoryBackend) DescribeModelPackageGroup(ctx context.Context, name string) (*ModelPackageGroup, error)

DescribeModelPackageGroup returns a model package group by name.

func (*InMemoryBackend) DescribeModelQualityJobDefinition

func (b *InMemoryBackend) DescribeModelQualityJobDefinition(ctx context.Context, name string) (*JobDefinition, error)

DescribeModelQualityJobDefinition returns a model quality job definition by name.

func (*InMemoryBackend) DescribeMonitoringSchedule

func (b *InMemoryBackend) DescribeMonitoringSchedule(ctx context.Context, name string) (*MonitoringSchedule, error)

DescribeMonitoringSchedule returns a monitoring schedule by name.

func (*InMemoryBackend) DescribeNotebookInstance

func (b *InMemoryBackend) DescribeNotebookInstance(ctx context.Context, name string) (*NotebookInstance, error)

DescribeNotebookInstance returns a notebook instance by name.

func (*InMemoryBackend) DescribeNotebookInstanceLifecycleConfig

func (b *InMemoryBackend) DescribeNotebookInstanceLifecycleConfig(
	ctx context.Context,
	name string,
) (*NotebookInstanceLifecycleConfig, error)

DescribeNotebookInstanceLifecycleConfig returns a lifecycle config by name.

func (*InMemoryBackend) DescribeOptimizationJob

func (b *InMemoryBackend) DescribeOptimizationJob(ctx context.Context, name string) (*OptimizationJob, error)

DescribeOptimizationJob returns an optimization job by name.

func (*InMemoryBackend) DescribePartnerApp

func (b *InMemoryBackend) DescribePartnerApp(ctx context.Context, arnStr string) (*PartnerApp, error)

DescribePartnerApp returns a partner app by ARN.

func (*InMemoryBackend) DescribePipeline

func (b *InMemoryBackend) DescribePipeline(ctx context.Context, name string) (*Pipeline, error)

DescribePipeline returns a pipeline by name.

func (*InMemoryBackend) DescribePipelineDefinitionForExecution

func (b *InMemoryBackend) DescribePipelineDefinitionForExecution(
	ctx context.Context,
	execArn string,
) (string, time.Time, error)

DescribePipelineDefinitionForExecution returns the pipeline definition JSON that was in effect when the given execution started.

func (*InMemoryBackend) DescribePipelineExecution

func (b *InMemoryBackend) DescribePipelineExecution(ctx context.Context, execArn string) (*PipelineExecution, error)

DescribePipelineExecution returns a pipeline execution.

func (*InMemoryBackend) DescribeProcessingJob

func (b *InMemoryBackend) DescribeProcessingJob(ctx context.Context, name string) (*ProcessingJob, error)

DescribeProcessingJob returns a processing job by name.

func (*InMemoryBackend) DescribeProject

func (b *InMemoryBackend) DescribeProject(ctx context.Context, name string) (*Project, error)

DescribeProject returns a project by name.

func (*InMemoryBackend) DescribeReservedCapacity

func (b *InMemoryBackend) DescribeReservedCapacity(
	ctx context.Context,
	reservedCapacityArn string,
) (*ReservedCapacity, error)

DescribeReservedCapacity returns a reserved capacity by ARN.

func (*InMemoryBackend) DescribeSpace

func (b *InMemoryBackend) DescribeSpace(ctx context.Context, domainID, spaceName string) (*Space, error)

DescribeSpace returns a space by domain ID and space name.

func (*InMemoryBackend) DescribeStudioLifecycleConfig

func (b *InMemoryBackend) DescribeStudioLifecycleConfig(
	ctx context.Context,
	name string,
) (*StudioLifecycleConfig, error)

DescribeStudioLifecycleConfig returns a Studio lifecycle configuration by name.

func (*InMemoryBackend) DescribeTrainingJob

func (b *InMemoryBackend) DescribeTrainingJob(ctx context.Context, name string) (*TrainingJob, error)

DescribeTrainingJob returns a training job by name.

func (*InMemoryBackend) DescribeTrainingPlan

func (b *InMemoryBackend) DescribeTrainingPlan(ctx context.Context, name string) (*TrainingPlan, error)

DescribeTrainingPlan returns a training plan by name.

func (*InMemoryBackend) DescribeTrainingPlanExtensionHistory

func (b *InMemoryBackend) DescribeTrainingPlanExtensionHistory(
	ctx context.Context,
	trainingPlanArn, nextToken string,
	maxResults int32,
) ([]*TrainingPlanExtension, string, error)

DescribeTrainingPlanExtensionHistory returns the extension history for a training plan.

func (*InMemoryBackend) DescribeTransformJob

func (b *InMemoryBackend) DescribeTransformJob(ctx context.Context, name string) (*TransformJob, error)

DescribeTransformJob returns a transform job by name.

func (*InMemoryBackend) DescribeTrial

func (b *InMemoryBackend) DescribeTrial(ctx context.Context, name string) (*Trial, error)

DescribeTrial returns a trial by name.

func (*InMemoryBackend) DescribeTrialComponent

func (b *InMemoryBackend) DescribeTrialComponent(ctx context.Context, name string) (*TrialComponent, error)

DescribeTrialComponent returns a trial component by name.

func (*InMemoryBackend) DescribeUserProfile

func (b *InMemoryBackend) DescribeUserProfile(ctx context.Context, domainID, name string) (*UserProfile, error)

DescribeUserProfile returns a user profile.

func (*InMemoryBackend) DescribeWorkforce

func (b *InMemoryBackend) DescribeWorkforce(ctx context.Context, name string) (*Workforce, error)

DescribeWorkforce returns a workforce by name.

func (*InMemoryBackend) DescribeWorkteam

func (b *InMemoryBackend) DescribeWorkteam(ctx context.Context, name string) (*Workteam, error)

DescribeWorkteam returns a workteam by name.

func (*InMemoryBackend) DetachClusterNodeVolume

func (b *InMemoryBackend) DetachClusterNodeVolume(
	ctx context.Context,
	clusterArn, nodeID, volumeID string,
) (*DetachedVolume, error)

DetachClusterNodeVolume detaches an EBS volume from a cluster node. Volumes are matched by the VolumeName supplied to AttachClusterNodeVolume, since this emulator does not mint a separate immutable VolumeId at attach time.

func (*InMemoryBackend) DisableSagemakerServicecatalogPortfolio

func (b *InMemoryBackend) DisableSagemakerServicecatalogPortfolio(ctx context.Context)

DisableSagemakerServicecatalogPortfolio marks the Service Catalog portfolio disabled.

func (*InMemoryBackend) DisassociateTrialComponent

func (b *InMemoryBackend) DisassociateTrialComponent(
	ctx context.Context,
	trialName, trialComponentName string,
) (string, string, error)

DisassociateTrialComponent removes the association between a trial and a trial component, if one exists. It is idempotent: disassociating a component that was never associated succeeds and simply returns the resources' ARNs (mirroring AssociateTrialComponent's non-strict existence checks).

func (*InMemoryBackend) EnableSagemakerServicecatalogPortfolio

func (b *InMemoryBackend) EnableSagemakerServicecatalogPortfolio(ctx context.Context)

EnableSagemakerServicecatalogPortfolio marks the Service Catalog portfolio enabled.

func (*InMemoryBackend) ExtendTrainingPlan

func (b *InMemoryBackend) ExtendTrainingPlan(
	ctx context.Context,
	extensionOfferingID string,
) ([]*TrainingPlanExtension, error)

ExtendTrainingPlan consumes a pending extension offering (returned earlier by SearchTrainingPlanOfferings) and extends the associated plan's duration.

func (*InMemoryBackend) GetDeviceFleetReport

func (b *InMemoryBackend) GetDeviceFleetReport(ctx context.Context, fleetName string) (*DeviceFleet, int, error)

GetDeviceFleetReport returns the device fleet along with its current registered device count.

func (*InMemoryBackend) GetFeatureMetadata

func (b *InMemoryBackend) GetFeatureMetadata(
	ctx context.Context,
	featureGroupName, featureName string,
) (*FeatureMetadata, error)

GetFeatureMetadata returns metadata for a feature in a feature group.

func (*InMemoryBackend) GetLineageGroupPolicy

func (b *InMemoryBackend) GetLineageGroupPolicy(ctx context.Context, nameOrArn string) (string, error)

GetLineageGroupPolicy returns the resource policy attached to a lineage group. nameOrArn may be either the lineage group's name or its ARN. No policy-attachment operation exists in this batch, so a lineage group never has a policy attached and this always reports not-found for a valid group.

func (*InMemoryBackend) GetModelPackageGroupPolicy

func (b *InMemoryBackend) GetModelPackageGroupPolicy(ctx context.Context, name string) (string, error)

GetModelPackageGroupPolicy returns the resource policy attached to a model package group.

func (*InMemoryBackend) GetRecord

func (b *InMemoryBackend) GetRecord(
	ctx context.Context,
	featureGroupName, recordIDValue string,
	featureNames []string,
) (*FeatureRecord, error)

GetRecord retrieves a feature record from a feature group.

func (*InMemoryBackend) GetSagemakerServicecatalogPortfolioStatus

func (b *InMemoryBackend) GetSagemakerServicecatalogPortfolioStatus(ctx context.Context) string

GetSagemakerServicecatalogPortfolioStatus returns "Enabled" or "Disabled".

func (*InMemoryBackend) GetScalingConfigurationRecommendation

func (b *InMemoryBackend) GetScalingConfigurationRecommendation(
	ctx context.Context,
	jobName string,
	targetCPUUtilizationPerCore int32,
) (*ScalingConfigurationRecommendation, error)

GetScalingConfigurationRecommendation validates that the named inference recommendations job exists and returns a deterministic scaling recommendation derived from the requested target CPU utilization.

func (*InMemoryBackend) GetSearchSuggestions

func (b *InMemoryBackend) GetSearchSuggestions(resource, propertyNameHint string) ([]string, error)

GetSearchSuggestions returns candidate property names for resource whose name starts with propertyNameHint (case-insensitive), mirroring the suggestion behaviour of real AWS's Search property-name autocomplete.

func (*InMemoryBackend) HumanTaskUIExistsByARN

func (b *InMemoryBackend) HumanTaskUIExistsByARN(ctx context.Context, humanTaskUIArn string) bool

HumanTaskUIExistsByARN reports whether a human task UI with the given ARN exists.

func (*InMemoryBackend) ImportHubContent

func (b *InMemoryBackend) ImportHubContent(ctx context.Context, in ImportHubContentInput) (*HubContent, error)

ImportHubContent imports a new (or new-version) content resource into a hub.

func (*InMemoryBackend) LineageEntityInfo

func (b *InMemoryBackend) LineageEntityInfo(
	ctx context.Context, entityArn string,
) (string, string, string, bool)

LineageEntityInfo resolves an ARN to its lineage entity name, type and LineageType, for use by handlers enriching association/lineage responses.

func (*InMemoryBackend) ListActions

func (b *InMemoryBackend) ListActions(
	ctx context.Context,
	actionType, sourceURI, nextToken string,
) ([]*Action, string)

ListActions returns actions, optionally filtered by type or source URI.

func (*InMemoryBackend) ListAlgorithms

func (b *InMemoryBackend) ListAlgorithms(ctx context.Context, nextToken string) ([]*Algorithm, string)

ListAlgorithms returns a page of algorithms, ordered by name.

func (*InMemoryBackend) ListAppImageConfigs

func (b *InMemoryBackend) ListAppImageConfigs(ctx context.Context, nextToken string) ([]*AppImageConfig, string)

ListAppImageConfigs returns all App image configs.

func (*InMemoryBackend) ListApps

func (b *InMemoryBackend) ListApps(ctx context.Context, domainID, nextToken string) ([]*App, string)

ListApps returns all apps, optionally filtered by domain.

func (*InMemoryBackend) ListArtifacts

func (b *InMemoryBackend) ListArtifacts(
	ctx context.Context,
	artifactType, sourceURI, nextToken string,
) ([]*Artifact, string)

ListArtifacts returns artifacts, optionally filtered by type or source URI.

func (*InMemoryBackend) ListAssociations

func (b *InMemoryBackend) ListAssociations(
	ctx context.Context,
	sourceArn, destinationArn, associationType, nextToken string,
) ([]*Association, string)

ListAssociations returns associations, optionally filtered by source/destination ARN or type.

func (*InMemoryBackend) ListAutoMLJobs

func (b *InMemoryBackend) ListAutoMLJobs(ctx context.Context, nextToken string) ([]*AutoMLJob, string)

ListAutoMLJobs returns all AutoML jobs sorted by name.

func (*InMemoryBackend) ListCandidatesForAutoMLJob

func (b *InMemoryBackend) ListCandidatesForAutoMLJob(
	ctx context.Context,
	jobName string,
	params ListCandidatesForAutoMLJobParams,
) ([]*AutoMLCandidate, string, error)

ListCandidatesForAutoMLJob returns the (deterministically derived) candidates for a stored AutoML job.

func (*InMemoryBackend) ListClusterEvents

func (b *InMemoryBackend) ListClusterEvents(ctx context.Context, clusterNameOrArn string) error

ListClusterEvents validates the cluster exists and returns an empty event list (see DescribeClusterEvent for why events are never populated).

func (*InMemoryBackend) ListClusterNodes

func (b *InMemoryBackend) ListClusterNodes(
	ctx context.Context,
	clusterNameOrArn, nextToken string,
) ([]*ClusterNode, string, error)

ListClusterNodes returns a paginated list of nodes belonging to a cluster.

func (*InMemoryBackend) ListClusterSchedulerConfigs

func (b *InMemoryBackend) ListClusterSchedulerConfigs(
	ctx context.Context,
	nextToken string,
) ([]*ClusterSchedulerConfig, string)

ListClusterSchedulerConfigs returns all cluster scheduler configs with pagination.

func (*InMemoryBackend) ListClusters

func (b *InMemoryBackend) ListClusters(
	ctx context.Context,
	nextToken, nameContains string,
) ([]*Cluster, string)

ListClusters returns all clusters, optionally filtered by a NameContains substring.

func (*InMemoryBackend) ListCodeRepositories

func (b *InMemoryBackend) ListCodeRepositories(ctx context.Context, nextToken string) ([]*CodeRepository, string)

ListCodeRepositories returns all code repositories sorted by name.

func (*InMemoryBackend) ListCompilationJobs

func (b *InMemoryBackend) ListCompilationJobs(ctx context.Context, nextToken string) ([]*CompilationJob, string)

ListCompilationJobs returns all compilation jobs sorted by name.

func (*InMemoryBackend) ListComputeQuotas

func (b *InMemoryBackend) ListComputeQuotas(ctx context.Context, nextToken string) ([]*ComputeQuota, string)

ListComputeQuotas returns all compute quotas with pagination.

func (*InMemoryBackend) ListContexts

func (b *InMemoryBackend) ListContexts(
	ctx context.Context,
	contextType, sourceURI, nextToken string,
) ([]*Context, string)

ListContexts returns contexts, optionally filtered by type or source URI.

func (*InMemoryBackend) ListDataQualityJobDefinitions

func (b *InMemoryBackend) ListDataQualityJobDefinitions(
	ctx context.Context, nextToken string, f JobDefinitionFilter,
) ([]*JobDefinition, string)

ListDataQualityJobDefinitions returns data quality job definitions matching f.

func (*InMemoryBackend) ListDeviceFleets

func (b *InMemoryBackend) ListDeviceFleets(ctx context.Context, nextToken string) ([]*DeviceFleet, string)

ListDeviceFleets returns all device fleets with pagination.

func (*InMemoryBackend) ListDevices

func (b *InMemoryBackend) ListDevices(ctx context.Context, fleetFilter, nextToken string) ([]*Device, string)

ListDevices returns devices, optionally filtered by fleet name.

func (*InMemoryBackend) ListDomains

func (b *InMemoryBackend) ListDomains(ctx context.Context, nextToken string) ([]*Domain, string)

ListDomains returns all domains sorted by name.

func (*InMemoryBackend) ListEdgeDeploymentPlans

func (b *InMemoryBackend) ListEdgeDeploymentPlans(
	ctx context.Context,
	nextToken string,
) ([]*EdgeDeploymentPlan, string)

ListEdgeDeploymentPlans returns all edge deployment plans with pagination.

func (*InMemoryBackend) ListEdgePackagingJobs

func (b *InMemoryBackend) ListEdgePackagingJobs(
	ctx context.Context,
	nextToken string,
	filter ListEdgePackagingJobsFilter,
) ([]*EdgePackagingJob, string)

ListEdgePackagingJobs returns edge packaging jobs with optional filters.

func (*InMemoryBackend) ListEndpointConfigs

func (b *InMemoryBackend) ListEndpointConfigs(ctx context.Context, nextToken string) ([]*EndpointConfig, string)

ListEndpointConfigs returns endpoint configurations sorted by name, with optional pagination.

func (*InMemoryBackend) ListEndpoints

func (b *InMemoryBackend) ListEndpoints(ctx context.Context, nextToken string) ([]*Endpoint, string)

ListEndpoints returns endpoints sorted by name with optional pagination.

func (*InMemoryBackend) ListExperiments

func (b *InMemoryBackend) ListExperiments(ctx context.Context, nextToken string) ([]*Experiment, string)

ListExperiments returns all experiments.

func (*InMemoryBackend) ListFeatureGroups

func (b *InMemoryBackend) ListFeatureGroups(ctx context.Context, nextToken string) ([]*FeatureGroup, string)

ListFeatureGroups returns all feature groups.

func (*InMemoryBackend) ListFlowDefinitions

func (b *InMemoryBackend) ListFlowDefinitions(ctx context.Context, nextToken string) ([]*FlowDefinition, string)

ListFlowDefinitions returns all flow definitions.

func (*InMemoryBackend) ListHubContentVersions

func (b *InMemoryBackend) ListHubContentVersions(
	ctx context.Context,
	hubName, contentType, contentName, nextToken string,
) ([]*HubContent, string)

ListHubContentVersions returns every version of a named content resource, sorted by version string.

func (*InMemoryBackend) ListHubContents

func (b *InMemoryBackend) ListHubContents(
	ctx context.Context,
	hubName, contentType, nameContains, nextToken string,
) ([]*HubContent, string)

ListHubContents returns the latest version of every distinct content name of the given type within a hub, sorted by name.

func (*InMemoryBackend) ListHubs

func (b *InMemoryBackend) ListHubs(ctx context.Context, nameContains, nextToken string) ([]*Hub, string)

ListHubs returns hubs whose name contains nameContains, sorted by name.

func (*InMemoryBackend) ListHumanTaskUIs

func (b *InMemoryBackend) ListHumanTaskUIs(ctx context.Context, nextToken string) ([]*HumanTaskUI, string)

ListHumanTaskUIs returns all human task UIs.

func (*InMemoryBackend) ListHyperParameterTuningJobs

func (b *InMemoryBackend) ListHyperParameterTuningJobs(
	ctx context.Context,
	nextToken string,
) ([]*HyperParameterTuningJob, string)

ListHyperParameterTuningJobs returns HP tuning jobs sorted by name.

func (*InMemoryBackend) ListImageAliases

func (b *InMemoryBackend) ListImageAliases(
	ctx context.Context,
	imageName string,
	version int32,
	nextToken string,
) ([]string, string, error)

ListImageAliases returns the aliases attached to an image. If version is positive, only that version's aliases are considered; otherwise, aliases from every version of the image are aggregated.

func (*InMemoryBackend) ListImageVersions

func (b *InMemoryBackend) ListImageVersions(
	ctx context.Context,
	imageName, nextToken string,
) ([]*ImageVersion, string)

ListImageVersions returns all versions for an image sorted by version number.

func (*InMemoryBackend) ListImages

func (b *InMemoryBackend) ListImages(ctx context.Context, nextToken string) ([]*SMImage, string)

ListImages returns all images sorted by name.

func (*InMemoryBackend) ListInferenceComponents

func (b *InMemoryBackend) ListInferenceComponents(
	ctx context.Context,
	endpointFilter, nextToken string,
) ([]*InferenceComponent, string)

ListInferenceComponents returns all inference components with pagination.

func (*InMemoryBackend) ListInferenceExperiments

func (b *InMemoryBackend) ListInferenceExperiments(
	ctx context.Context,
	nextToken string,
) ([]*InferenceExperiment, string)

ListInferenceExperiments returns all inference experiments.

func (*InMemoryBackend) ListInferenceRecommendationsJobs

func (b *InMemoryBackend) ListInferenceRecommendationsJobs(
	ctx context.Context,
	nextToken string,
) ([]*InferenceRecommendationsJob, string)

ListInferenceRecommendationsJobs returns inference recommendations jobs.

func (*InMemoryBackend) ListLabelingJobs

func (b *InMemoryBackend) ListLabelingJobs(
	ctx context.Context,
	nextToken string,
	filter ListLabelingJobsFilter,
) ([]*LabelingJob, string)

ListLabelingJobs returns labeling jobs sorted by creation time.

func (*InMemoryBackend) ListLabelingJobsForWorkteam

func (b *InMemoryBackend) ListLabelingJobsForWorkteam(
	ctx context.Context,
	workteamArn, nextToken string,
	maxResults int32,
) ([]*LabelingJob, string)

ListLabelingJobsForWorkteam returns labeling jobs assigned to a workteam.

func (*InMemoryBackend) ListLineageGroups

func (b *InMemoryBackend) ListLineageGroups(ctx context.Context) (string, time.Time)

ListLineageGroups returns the account's single auto-provisioned lineage group.

func (*InMemoryBackend) ListMlflowApps

func (b *InMemoryBackend) ListMlflowApps(ctx context.Context, nextToken string) ([]*MlflowApp, string)

ListMlflowApps returns a page of MLflow Apps.

func (*InMemoryBackend) ListMlflowTrackingServers

func (b *InMemoryBackend) ListMlflowTrackingServers(
	ctx context.Context,
	nextToken string,
) ([]*MlflowTrackingServer, string)

ListMlflowTrackingServers returns all MLflow tracking servers.

func (*InMemoryBackend) ListModelBiasJobDefinitions

func (b *InMemoryBackend) ListModelBiasJobDefinitions(
	ctx context.Context, nextToken string, f JobDefinitionFilter,
) ([]*JobDefinition, string)

ListModelBiasJobDefinitions returns model bias job definitions matching f.

func (*InMemoryBackend) ListModelCardExportJobs

func (b *InMemoryBackend) ListModelCardExportJobs(
	ctx context.Context,
	modelCardName, nameContains, statusEquals, nextToken string,
	maxResults int32,
) ([]*ModelCardExportJob, string)

ListModelCardExportJobs lists export jobs for a model card, optionally filtered by name-contains and status, sorted by creation time.

func (*InMemoryBackend) ListModelCards

func (b *InMemoryBackend) ListModelCards(ctx context.Context, nextToken string) ([]*ModelCard, string)

ListModelCards returns all model cards.

func (*InMemoryBackend) ListModelExplainabilityJobDefinitions

func (b *InMemoryBackend) ListModelExplainabilityJobDefinitions(
	ctx context.Context, nextToken string, f JobDefinitionFilter,
) ([]*JobDefinition, string)

ListModelExplainabilityJobDefinitions returns model explainability job definitions matching f.

func (*InMemoryBackend) ListModelMetadata

func (b *InMemoryBackend) ListModelMetadata(
	filters []ModelMetadataFilter,
	nextToken string,
	maxResults int32,
) ([]ModelMetadataEntry, string)

ListModelMetadata lists curated model metadata, optionally filtered by Domain, Framework, FrameworkVersion or Task.

func (*InMemoryBackend) ListModelPackageGroups

func (b *InMemoryBackend) ListModelPackageGroups(ctx context.Context, nextToken string) ([]*ModelPackageGroup, string)

ListModelPackageGroups returns all model package groups, sorted by name.

func (*InMemoryBackend) ListModelPackages

func (b *InMemoryBackend) ListModelPackages(
	ctx context.Context,
	groupName, nextToken string,
) ([]*ModelPackage, string)

ListModelPackages returns model packages, optionally filtered by group name.

func (*InMemoryBackend) ListModelQualityJobDefinitions

func (b *InMemoryBackend) ListModelQualityJobDefinitions(
	ctx context.Context, nextToken string, f JobDefinitionFilter,
) ([]*JobDefinition, string)

ListModelQualityJobDefinitions returns model quality job definitions matching f.

func (*InMemoryBackend) ListModels

func (b *InMemoryBackend) ListModels(ctx context.Context, nextToken string) ([]*Model, string)

ListModels returns models sorted by name, with optional pagination.

func (*InMemoryBackend) ListMonitoringAlertHistory

func (b *InMemoryBackend) ListMonitoringAlertHistory(
	ctx context.Context,
	nextToken string,
	f MonitoringAlertHistoryFilter,
) ([]*MonitoringAlertHistoryEntry, string)

ListMonitoringAlertHistory returns alert status history entries, optionally filtered by schedule/alert name, status, and creation-time window. AWS provides no API to record a transition directly — entries only appear here if seeded (e.g. via the test helper SeedMonitoringAlertHistory), matching real AWS accounts where a schedule with no completed monitoring runs has an empty history.

func (*InMemoryBackend) ListMonitoringAlerts

func (b *InMemoryBackend) ListMonitoringAlerts(
	ctx context.Context,
	scheduleName, nextToken string,
) ([]*MonitoringAlert, string, error)

ListMonitoringAlerts returns the alerts configured for a monitoring schedule.

func (*InMemoryBackend) ListMonitoringExecutions

func (b *InMemoryBackend) ListMonitoringExecutions(
	ctx context.Context,
	nextToken string,
	f MonitoringExecutionFilter,
) ([]*MonitoringExecution, string)

ListMonitoringExecutions returns monitoring schedule execution runs. AWS creates these automatically when a schedule's periodic run completes; this emulator has no scheduler driving that, so entries only appear here if seeded (e.g. via the test helper SeedMonitoringExecution).

func (*InMemoryBackend) ListMonitoringSchedules

func (b *InMemoryBackend) ListMonitoringSchedules(
	ctx context.Context,
	nextToken string,
) ([]*MonitoringSchedule, string)

ListMonitoringSchedules returns all monitoring schedules sorted by name.

func (*InMemoryBackend) ListNotebookInstanceLifecycleConfigs

func (b *InMemoryBackend) ListNotebookInstanceLifecycleConfigs(
	ctx context.Context,
	nextToken string,
) ([]*NotebookInstanceLifecycleConfig, string)

ListNotebookInstanceLifecycleConfigs returns lifecycle configs sorted by name.

func (*InMemoryBackend) ListNotebookInstances

func (b *InMemoryBackend) ListNotebookInstances(
	ctx context.Context,
	nextToken string,
	filter ListNotebookInstancesFilter,
) ([]*NotebookInstance, string)

ListNotebookInstances returns notebook instances sorted by name with optional pagination and AWS-style filters: StatusEquals (exact, case-insensitive) and NameContains (substring, case-insensitive).

func (*InMemoryBackend) ListOptimizationJobs

func (b *InMemoryBackend) ListOptimizationJobs(ctx context.Context, nextToken string) ([]*OptimizationJob, string)

ListOptimizationJobs returns all optimization jobs.

func (*InMemoryBackend) ListPartnerApps

func (b *InMemoryBackend) ListPartnerApps(ctx context.Context, nextToken string) ([]*PartnerApp, string)

ListPartnerApps returns a page of partner apps.

func (*InMemoryBackend) ListPipelineExecutionSteps

func (b *InMemoryBackend) ListPipelineExecutionSteps(
	ctx context.Context, execArn, nextToken string,
) ([]*PipelineExecutionStep, string)

ListPipelineExecutionSteps lists the steps for a pipeline execution.

func (*InMemoryBackend) ListPipelineExecutions

func (b *InMemoryBackend) ListPipelineExecutions(
	ctx context.Context,
	pipelineName, nextToken string,
) ([]*PipelineExecution, string)

ListPipelineExecutions returns executions for a pipeline.

func (*InMemoryBackend) ListPipelineVersions

func (b *InMemoryBackend) ListPipelineVersions(
	ctx context.Context,
	pipelineName, nextToken string,
	maxResults int32,
) ([]*PipelineVersion, string, error)

ListPipelineVersions returns the version history for a pipeline, newest first.

func (*InMemoryBackend) ListPipelines

func (b *InMemoryBackend) ListPipelines(ctx context.Context, nextToken string) ([]*Pipeline, string)

ListPipelines returns all pipelines.

func (*InMemoryBackend) ListProcessingJobs

func (b *InMemoryBackend) ListProcessingJobs(
	ctx context.Context,
	nextToken, statusEquals string,
	maxResults int32,
) ([]*ProcessingJob, string)

ListProcessingJobs returns processing jobs sorted by name.

func (*InMemoryBackend) ListProjects

func (b *InMemoryBackend) ListProjects(ctx context.Context, nextToken string) ([]*Project, string)

ListProjects returns all projects sorted by name.

func (*InMemoryBackend) ListResourceCatalogs

func (b *InMemoryBackend) ListResourceCatalogs() []string

ListResourceCatalogs always returns an empty catalog list: there is no CreateResourceCatalog operation, so this backend never has any to report.

func (*InMemoryBackend) ListSpaces

func (b *InMemoryBackend) ListSpaces(ctx context.Context, domainID, nextToken string) ([]*Space, string)

ListSpaces returns all spaces optionally filtered by domain ID.

func (*InMemoryBackend) ListStageDevices

func (b *InMemoryBackend) ListStageDevices(
	ctx context.Context,
	planName, stageName, nextToken string,
) (*EdgeDeploymentPlan, []*Device, string, string, error)

ListStageDevices returns the edge deployment plan, the devices in its device fleet, and the named stage's current deployment status, paginated.

func (*InMemoryBackend) ListStudioLifecycleConfigs

func (b *InMemoryBackend) ListStudioLifecycleConfigs(
	ctx context.Context,
	nextToken string,
) ([]*StudioLifecycleConfig, string)

ListStudioLifecycleConfigs returns all Studio lifecycle configs.

func (*InMemoryBackend) ListTags

func (b *InMemoryBackend) ListTags(ctx context.Context, resourceARN string) (map[string]string, error)

ListTags returns tags for a resource identified by ARN.

func (*InMemoryBackend) ListTrainingJobs

func (b *InMemoryBackend) ListTrainingJobs(ctx context.Context, nextToken string) ([]*TrainingJob, string)

ListTrainingJobs returns training jobs sorted by name with optional pagination.

func (*InMemoryBackend) ListTrainingJobsFiltered

func (b *InMemoryBackend) ListTrainingJobsFiltered(
	ctx context.Context,
	nextToken string,
	f ListTrainingJobsFilter,
) ([]*TrainingJob, string)

ListTrainingJobsFiltered returns training jobs matching filter.

func (*InMemoryBackend) ListTrainingJobsForHyperParameterTuningJob

func (b *InMemoryBackend) ListTrainingJobsForHyperParameterTuningJob(
	ctx context.Context,
	jobName, _ string,
) ([]*TrainingJob, string, error)

ListTrainingJobsForHyperParameterTuningJob returns training jobs for an HP tuning job. Since this emulator does not launch training jobs automatically, it always returns empty.

func (*InMemoryBackend) ListTrainingPlans

func (b *InMemoryBackend) ListTrainingPlans(
	ctx context.Context,
	params ListTrainingPlansParams,
) ([]*TrainingPlan, string)

ListTrainingPlans lists training plans, optionally filtered by status and sorted.

func (*InMemoryBackend) ListTransformJobs

func (b *InMemoryBackend) ListTransformJobs(
	ctx context.Context,
	nextToken string,
	filter ListTransformJobsFilter,
) ([]*TransformJob, string)

ListTransformJobs returns transform jobs sorted by name with optional pagination.

func (*InMemoryBackend) ListTrialComponents

func (b *InMemoryBackend) ListTrialComponents(
	ctx context.Context,
	experimentName, trialName, nextToken string,
) ([]*TrialComponent, string)

ListTrialComponents returns trial components, optionally filtered by the trial they're associated with or the experiment their trial belongs to.

func (*InMemoryBackend) ListTrials

func (b *InMemoryBackend) ListTrials(ctx context.Context, nextToken string) ([]*Trial, string)

ListTrials returns all trials.

func (*InMemoryBackend) ListUltraServersByReservedCapacity

func (b *InMemoryBackend) ListUltraServersByReservedCapacity(
	ctx context.Context,
	reservedCapacityArn, nextToken string,
	maxResults int32,
) ([]*UltraServer, string, error)

ListUltraServersByReservedCapacity lists the UltraServers backing a reserved capacity.

func (*InMemoryBackend) ListUserProfiles

func (b *InMemoryBackend) ListUserProfiles(ctx context.Context, domainID, nextToken string) ([]*UserProfile, string)

ListUserProfiles returns user profiles for a domain sorted by name.

func (*InMemoryBackend) ListWorkforces

func (b *InMemoryBackend) ListWorkforces(ctx context.Context, nextToken string) ([]*Workforce, string)

ListWorkforces returns all workforces sorted by name. AWS supports at most one workforce per account per region, so this list contains at most one item.

func (*InMemoryBackend) ListWorkteams

func (b *InMemoryBackend) ListWorkteams(ctx context.Context, nextToken string) ([]*Workteam, string)

ListWorkteams returns all workteams sorted by name.

func (*InMemoryBackend) PutModelPackageGroupPolicy

func (b *InMemoryBackend) PutModelPackageGroupPolicy(
	ctx context.Context,
	name, policy string,
) (*ModelPackageGroup, error)

PutModelPackageGroupPolicy attaches (or replaces) the resource policy for a model package group.

func (*InMemoryBackend) PutRecord

func (b *InMemoryBackend) PutRecord(
	ctx context.Context,
	featureGroupName string,
	record map[string]string,
) error

PutRecord stores a feature record in a feature group.

func (*InMemoryBackend) QueryLineage

func (b *InMemoryBackend) QueryLineage(
	ctx context.Context,
	startArns []string,
	direction string,
	maxDepth int,
	includeEdges bool,
) ([]Vertex, []Edge, error)

QueryLineage traverses the association graph starting from startArns, following edges in the given direction up to maxDepth hops, and returns the reached vertices plus (if includeEdges) the edges traversed.

func (*InMemoryBackend) Region

func (b *InMemoryBackend) Region() string

Region returns the AWS region this backend is configured for.

func (*InMemoryBackend) RegisterDevices

func (b *InMemoryBackend) RegisterDevices(ctx context.Context, fleetName string, devices []RegisterDeviceInput) error

RegisterDevices registers devices to a device fleet.

func (*InMemoryBackend) Reset

func (b *InMemoryBackend) Reset()

Reset reinitialises all maps to empty, clearing all stored resources.

func (*InMemoryBackend) Restore

func (b *InMemoryBackend) Restore(ctx context.Context, data []byte) error

Restore loads backend state from a JSON snapshot. It implements persistence.Persistable.

func (*InMemoryBackend) RetryPipelineExecution

func (b *InMemoryBackend) RetryPipelineExecution(ctx context.Context, execArn string) (*PipelineExecution, error)

RetryPipelineExecution creates a new execution from a failed pipeline execution.

func (*InMemoryBackend) Search

func (b *InMemoryBackend) Search(ctx context.Context, params SearchParams) ([]map[string]any, string, error)

Search evaluates a SearchExpression's top-level Filters against stored resources of the given type.

func (*InMemoryBackend) SearchTrainingPlanOfferings

SearchTrainingPlanOfferings searches the static offering catalog and, when a TrainingPlanArn is provided, generates extension offerings for that plan.

func (*InMemoryBackend) SendPipelineExecutionStepFailure

func (b *InMemoryBackend) SendPipelineExecutionStepFailure(
	ctx context.Context, execArn, stepName, failureReason string,
) error

SendPipelineExecutionStepFailure records a step failure for a callback step.

func (*InMemoryBackend) SendPipelineExecutionStepSuccess

func (b *InMemoryBackend) SendPipelineExecutionStepSuccess(ctx context.Context, execArn, stepName string) error

SendPipelineExecutionStepSuccess records a step success for a callback step.

func (*InMemoryBackend) SetAutoMLJobExtras

func (b *InMemoryBackend) SetAutoMLJobExtras(
	ctx context.Context,
	name string,
	outputDataConfig *AutoMLOutputDataConfig,
	objective *AutoMLJobObjective,
) error

SetAutoMLJobExtras sets optional configuration fields on an existing AutoML job that were not included in the original CreateAutoMLJob signature.

func (*InMemoryBackend) SetCompilationJobExtras

func (b *InMemoryBackend) SetCompilationJobExtras(
	ctx context.Context,
	name string,
	inputConfig *CompilationInputConfig,
	outputConfig *CompilationOutputConfig,
	stoppingCondition *StoppingCondition,
) error

SetCompilationJobExtras sets optional configuration fields on an existing compilation job that were not included in the original CreateCompilationJob signature.

func (*InMemoryBackend) SetEndpointConfigExtras

func (b *InMemoryBackend) SetEndpointConfigExtras(
	ctx context.Context,
	name string,
	dataCaptureConfig *DataCaptureConfig,
	asyncInferenceConfig *AsyncInferenceConfig,
	vpcConfig *VpcConfig,
	executionRoleArn string,
	kmsKeyID string,
	shadowProductionVariants []ProductionVariant,
	enableNetworkIsolation bool,
) error

SetEndpointConfigExtras sets optional fields on an existing endpoint config that were not included in the original CreateEndpointConfig signature.

func (*InMemoryBackend) SetModelExtras

func (b *InMemoryBackend) SetModelExtras(
	ctx context.Context,
	name string,
	vpcConfig *VpcConfig,
	enableNetworkIsolation bool,
	inferenceExecConfig *InferenceExecutionConfig,
) error

SetModelExtras sets optional fields on an existing model that were not included in the original CreateModel signature (VpcConfig, EnableNetworkIsolation, InferenceExecutionConfig).

func (*InMemoryBackend) Shutdown

func (b *InMemoryBackend) Shutdown(ctx context.Context)

Shutdown cancels all pending lifecycle-transition goroutines and waits for the in-flight ones to finish, bounded by ctx. It implements the shutdown half of the service.Shutdowner contract (wired through the Handler).

func (*InMemoryBackend) Snapshot

func (b *InMemoryBackend) Snapshot(ctx context.Context) []byte

Snapshot serialises the backend state to JSON. It implements persistence.Persistable.

func (*InMemoryBackend) StartEdgeDeploymentStage

func (b *InMemoryBackend) StartEdgeDeploymentStage(ctx context.Context, planName, stageName string) error

StartEdgeDeploymentStage starts a deployment stage.

func (*InMemoryBackend) StartInferenceExperiment

func (b *InMemoryBackend) StartInferenceExperiment(ctx context.Context, name string) (*InferenceExperiment, error)

StartInferenceExperiment transitions an inference experiment to "Running".

func (*InMemoryBackend) StartMlflowTrackingServer

func (b *InMemoryBackend) StartMlflowTrackingServer(ctx context.Context, name string) error

StartMlflowTrackingServer sets an MLflow tracking server status to "Running".

func (*InMemoryBackend) StartMonitoringSchedule

func (b *InMemoryBackend) StartMonitoringSchedule(ctx context.Context, name string) error

StartMonitoringSchedule sets a monitoring schedule status to "Scheduled".

func (*InMemoryBackend) StartNotebookInstance

func (b *InMemoryBackend) StartNotebookInstance(ctx context.Context, name string) error

StartNotebookInstance transitions a notebook instance to InService.

func (*InMemoryBackend) StartNotebookInstanceFSM

func (b *InMemoryBackend) StartNotebookInstanceFSM(ctx context.Context, name string) error

StartNotebookInstanceFSM transitions: Stopped → Pending, then Pending → InService.

func (*InMemoryBackend) StartPipelineExecution

func (b *InMemoryBackend) StartPipelineExecution(ctx context.Context, pipelineName string) (*PipelineExecution, error)

StartPipelineExecution creates a pipeline execution.

func (*InMemoryBackend) StartPipelineExecutionFull

func (b *InMemoryBackend) StartPipelineExecutionFull(
	ctx context.Context,
	opts StartPipelineExecutionOptions,
) (*PipelineExecution, error)

StartPipelineExecutionFull creates an execution with full AWS input fields.

func (*InMemoryBackend) StartSession

func (b *InMemoryBackend) StartSession(_ context.Context, resourceIdentifier string) (*StartSessionResult, error)

StartSession validates resourceIdentifier is non-empty and returns a fresh synthetic session.

func (*InMemoryBackend) StopAutoMLJob

func (b *InMemoryBackend) StopAutoMLJob(ctx context.Context, name string) error

StopAutoMLJob sets an AutoML job status to "Stopped".

func (*InMemoryBackend) StopCompilationJob

func (b *InMemoryBackend) StopCompilationJob(ctx context.Context, name string) error

StopCompilationJob sets a compilation job status to "STOPPED".

func (*InMemoryBackend) StopEdgeDeploymentStage

func (b *InMemoryBackend) StopEdgeDeploymentStage(ctx context.Context, planName, stageName string) error

StopEdgeDeploymentStage stops a deployment stage.

func (*InMemoryBackend) StopEdgePackagingJob

func (b *InMemoryBackend) StopEdgePackagingJob(ctx context.Context, name string) error

StopEdgePackagingJob stops an edge packaging job.

func (*InMemoryBackend) StopHyperParameterTuningJob

func (b *InMemoryBackend) StopHyperParameterTuningJob(ctx context.Context, name string) error

StopHyperParameterTuningJob marks an HP tuning job as Stopping.

func (*InMemoryBackend) StopInferenceExperiment

func (b *InMemoryBackend) StopInferenceExperiment(ctx context.Context, name string) error

StopInferenceExperiment sets an inference experiment status to "Cancelled".

func (*InMemoryBackend) StopInferenceRecommendationsJob

func (b *InMemoryBackend) StopInferenceRecommendationsJob(ctx context.Context, name string) error

StopInferenceRecommendationsJob stops an inference recommendations job.

func (*InMemoryBackend) StopLabelingJob

func (b *InMemoryBackend) StopLabelingJob(ctx context.Context, name string) error

StopLabelingJob transitions a labeling job to Stopping then Stopped.

func (*InMemoryBackend) StopMlflowTrackingServer

func (b *InMemoryBackend) StopMlflowTrackingServer(ctx context.Context, name string) error

StopMlflowTrackingServer sets an MLflow tracking server status to "Stopped".

func (*InMemoryBackend) StopMonitoringSchedule

func (b *InMemoryBackend) StopMonitoringSchedule(ctx context.Context, name string) error

StopMonitoringSchedule sets a monitoring schedule status to "Stopped".

func (*InMemoryBackend) StopNotebookInstance

func (b *InMemoryBackend) StopNotebookInstance(ctx context.Context, name string) error

StopNotebookInstance transitions a notebook instance to Stopped.

func (*InMemoryBackend) StopNotebookInstanceFSM

func (b *InMemoryBackend) StopNotebookInstanceFSM(ctx context.Context, name string) error

StopNotebookInstanceFSM transitions: InService → Stopping, then Stopping → Stopped.

func (*InMemoryBackend) StopOptimizationJob

func (b *InMemoryBackend) StopOptimizationJob(ctx context.Context, name string) error

StopOptimizationJob sets an optimization job status to "STOPPED".

func (*InMemoryBackend) StopPipelineExecution

func (b *InMemoryBackend) StopPipelineExecution(ctx context.Context, execArn string) (*PipelineExecution, error)

StopPipelineExecution stops a running pipeline execution.

func (*InMemoryBackend) StopProcessingJob

func (b *InMemoryBackend) StopProcessingJob(ctx context.Context, name string) error

StopProcessingJob transitions a processing job to Stopping then Stopped.

func (*InMemoryBackend) StopTrainingJob

func (b *InMemoryBackend) StopTrainingJob(ctx context.Context, name string) error

StopTrainingJob marks a training job as Stopping.

func (*InMemoryBackend) StopTrainingJobFSM

func (b *InMemoryBackend) StopTrainingJobFSM(ctx context.Context, name string) error

StopTrainingJobFSM transitions InProgress → Stopping → Stopped.

func (*InMemoryBackend) StopTransformJob

func (b *InMemoryBackend) StopTransformJob(ctx context.Context, name string) error

StopTransformJob transitions a transform job to Stopping then Stopped.

func (*InMemoryBackend) UpdateAction

func (b *InMemoryBackend) UpdateAction(
	ctx context.Context,
	name, description, status string,
	properties map[string]string,
	propertiesToRemove []string,
) (*Action, error)

UpdateAction updates an action's description, status and properties.

func (*InMemoryBackend) UpdateAppImageConfig

func (b *InMemoryBackend) UpdateAppImageConfig(ctx context.Context, name string) (*AppImageConfig, error)

UpdateAppImageConfig updates an app image config (marks it modified).

func (*InMemoryBackend) UpdateArtifact

func (b *InMemoryBackend) UpdateArtifact(
	ctx context.Context,
	artifactArn, name string,
	properties map[string]string,
	propertiesToRemove []string,
) (*Artifact, error)

UpdateArtifact updates an artifact's name and properties.

func (*InMemoryBackend) UpdateCluster

func (b *InMemoryBackend) UpdateCluster(
	ctx context.Context,
	nameOrArn string,
	instanceGroups []ClusterInstanceGroup,
	instanceGroupsToDelete []string,
	nodeRecovery string,
) (*Cluster, error)

UpdateCluster updates instance groups (adding, resizing, or removing them) and the node-recovery mode of an existing cluster.

func (*InMemoryBackend) UpdateClusterSchedulerConfig

func (b *InMemoryBackend) UpdateClusterSchedulerConfig(ctx context.Context, name, clusterArn string) error

UpdateClusterSchedulerConfig updates a cluster scheduler config's cluster ARN.

func (*InMemoryBackend) UpdateClusterSoftware

func (b *InMemoryBackend) UpdateClusterSoftware(ctx context.Context, nameOrArn string) (string, error)

UpdateClusterSoftware validates the cluster exists and returns its ARN. Real AWS asynchronously patches node AMIs; this emulator applies the request immediately with no observable software-version state to update.

func (*InMemoryBackend) UpdateCodeRepository

func (b *InMemoryBackend) UpdateCodeRepository(
	ctx context.Context,
	name string,
	gitConfig map[string]string,
) (*CodeRepository, error)

UpdateCodeRepository updates the git config of a code repository.

func (*InMemoryBackend) UpdateComputeQuota

func (b *InMemoryBackend) UpdateComputeQuota(ctx context.Context, name, clusterArn string) error

UpdateComputeQuota updates a compute quota's cluster ARN.

func (*InMemoryBackend) UpdateContext

func (b *InMemoryBackend) UpdateContext(
	ctx context.Context,
	name, description string,
	properties map[string]string,
	propertiesToRemove []string,
) (*Context, error)

UpdateContext updates a context's description and properties.

func (*InMemoryBackend) UpdateDeviceFleet

func (b *InMemoryBackend) UpdateDeviceFleet(ctx context.Context, name, description, roleArn string) error

UpdateDeviceFleet updates a device fleet's description or role ARN.

func (*InMemoryBackend) UpdateDevices

func (b *InMemoryBackend) UpdateDevices(ctx context.Context, fleetName string, devices []UpdateDeviceInput) error

UpdateDevices updates metadata (description, IoT thing name) for devices already registered in a fleet. Devices that are not registered are skipped, mirroring the lenient behavior of DeregisterDevices.

func (*InMemoryBackend) UpdateDomain

func (b *InMemoryBackend) UpdateDomain(ctx context.Context, idOrName string) (*Domain, error)

UpdateDomain updates a domain's status.

func (*InMemoryBackend) UpdateEndpoint

func (b *InMemoryBackend) UpdateEndpoint(ctx context.Context, name, endpointConfigName string) (*Endpoint, error)

UpdateEndpoint updates the endpoint config for an existing endpoint.

func (*InMemoryBackend) UpdateEndpointFSM

func (b *InMemoryBackend) UpdateEndpointFSM(ctx context.Context, name, endpointConfigName string) (*Endpoint, error)

UpdateEndpointFSM updates config and drives InService → Updating → InService.

func (*InMemoryBackend) UpdateEndpointWeightsAndCapacitiesFull

func (b *InMemoryBackend) UpdateEndpointWeightsAndCapacitiesFull(
	ctx context.Context,
	name string,
	changes []DesiredWeightAndCapacity,
) (*Endpoint, error)

UpdateEndpointWeightsAndCapacitiesFull applies weight/capacity changes and drives Updating → InService.

func (*InMemoryBackend) UpdateExperiment

func (b *InMemoryBackend) UpdateExperiment(
	ctx context.Context,
	name, displayName, description string,
) (*Experiment, error)

UpdateExperiment mutates DisplayName and Description on an experiment.

func (*InMemoryBackend) UpdateFeatureGroup

func (b *InMemoryBackend) UpdateFeatureGroup(
	ctx context.Context,
	name string,
	featureDefinitions []FeatureDefinition,
) (*FeatureGroup, error)

UpdateFeatureGroup mutates FeatureDefinitions on an existing feature group.

func (*InMemoryBackend) UpdateFeatureMetadata

func (b *InMemoryBackend) UpdateFeatureMetadata(
	ctx context.Context,
	featureGroupName, featureName, description string,
	parameters map[string]string,
) error

UpdateFeatureMetadata updates metadata for a feature in a feature group.

func (*InMemoryBackend) UpdateHub

func (b *InMemoryBackend) UpdateHub(ctx context.Context, idOrArn string, opts UpdateHubOptions) (*Hub, error)

UpdateHub updates the mutable fields of a hub.

func (*InMemoryBackend) UpdateHubContent

func (b *InMemoryBackend) UpdateHubContent(
	ctx context.Context,
	hubName, contentType, contentName, version string,
	opts UpdateHubContentOptions,
) (*HubContent, error)

UpdateHubContent updates the mutable metadata of a specific hub content version.

func (*InMemoryBackend) UpdateHubContentReference

func (b *InMemoryBackend) UpdateHubContentReference(
	ctx context.Context,
	hubName, contentType, contentName, minVersion string,
) (*HubContent, error)

UpdateHubContentReference updates the minimum referenced version of a ModelReference hub content resource (the most recently created version).

func (*InMemoryBackend) UpdateImage

func (b *InMemoryBackend) UpdateImage(
	ctx context.Context,
	name string,
	opts UpdateImageOptions,
) (*SMImage, error)

UpdateImage updates a SageMaker image's mutable metadata (Description, DisplayName, RoleArn), optionally clearing Description/DisplayName first via DeleteProperties.

func (*InMemoryBackend) UpdateImageVersion

func (b *InMemoryBackend) UpdateImageVersion(
	ctx context.Context,
	imageName string,
	version int,
	opts UpdateImageVersionOptions,
) (*ImageVersion, error)

UpdateImageVersion updates a SageMaker image version's mutable metadata.

func (*InMemoryBackend) UpdateInferenceComponent

func (b *InMemoryBackend) UpdateInferenceComponent(ctx context.Context, name, variantName string, copyCount int) error

UpdateInferenceComponent updates an inference component's variant or copy count.

func (*InMemoryBackend) UpdateInferenceComponentRuntimeConfig

func (b *InMemoryBackend) UpdateInferenceComponentRuntimeConfig(ctx context.Context, name string, copyCount int) error

UpdateInferenceComponentRuntimeConfig updates the copy count for an inference component.

func (*InMemoryBackend) UpdateInferenceExperiment

func (b *InMemoryBackend) UpdateInferenceExperiment(
	ctx context.Context,
	name, description string,
) (*InferenceExperiment, error)

UpdateInferenceExperiment updates an inference experiment's description.

func (*InMemoryBackend) UpdateMlflowApp

func (b *InMemoryBackend) UpdateMlflowApp(ctx context.Context, opts UpdateMlflowAppOptions) (*MlflowApp, error)

UpdateMlflowApp updates an MLflow App's mutable fields.

func (*InMemoryBackend) UpdateMlflowTrackingServer

func (b *InMemoryBackend) UpdateMlflowTrackingServer(
	ctx context.Context,
	name, mlflowVersion string,
) (*MlflowTrackingServer, error)

UpdateMlflowTrackingServer updates an MLflow tracking server.

func (*InMemoryBackend) UpdateModelCard

func (b *InMemoryBackend) UpdateModelCard(ctx context.Context, name, content string) (*ModelCard, error)

UpdateModelCard updates a model card content and increments its version.

func (*InMemoryBackend) UpdateModelPackage

func (b *InMemoryBackend) UpdateModelPackage(
	ctx context.Context,
	nameOrArn, approvalStatus string,
) (*ModelPackage, error)

UpdateModelPackage updates the approval status of a model package (by name or ARN).

func (*InMemoryBackend) UpdateMonitoringAlert

func (b *InMemoryBackend) UpdateMonitoringAlert(
	ctx context.Context,
	scheduleName, alertName string,
	datapointsToAlert, evaluationPeriod int32,
) (*MonitoringAlert, string, error)

UpdateMonitoringAlert updates the datapoints/evaluation-period configuration of a monitoring alert, creating the alert record on first use. It returns the alert's schedule's ARN alongside the updated alert.

func (*InMemoryBackend) UpdateMonitoringSchedule

func (b *InMemoryBackend) UpdateMonitoringSchedule(ctx context.Context, name string) (*MonitoringSchedule, error)

UpdateMonitoringSchedule updates a monitoring schedule (marks it modified).

func (*InMemoryBackend) UpdateNotebookInstance

func (b *InMemoryBackend) UpdateNotebookInstance(ctx context.Context, name, instanceType string) error

UpdateNotebookInstance updates a notebook instance's instance type.

func (*InMemoryBackend) UpdateNotebookInstanceFull

func (b *InMemoryBackend) UpdateNotebookInstanceFull(
	ctx context.Context,
	name string,
	opts NotebookUpdateOptions,
) error

UpdateNotebookInstanceFull updates all mutable fields on a notebook.

func (*InMemoryBackend) UpdateNotebookInstanceLifecycleConfig

func (b *InMemoryBackend) UpdateNotebookInstanceLifecycleConfig(
	ctx context.Context,
	name string,
	onCreate, onStart []NotebookLifecycleHook,
) (*NotebookInstanceLifecycleConfig, error)

UpdateNotebookInstanceLifecycleConfig replaces onCreate/onStart scripts.

func (*InMemoryBackend) UpdatePartnerApp

func (b *InMemoryBackend) UpdatePartnerApp(ctx context.Context, opts UpdatePartnerAppOptions) (*PartnerApp, error)

UpdatePartnerApp updates a partner app's mutable fields.

func (*InMemoryBackend) UpdatePipeline

func (b *InMemoryBackend) UpdatePipeline(ctx context.Context, name, definition string) (*Pipeline, error)

UpdatePipeline updates a pipeline definition.

func (*InMemoryBackend) UpdatePipelineExecution

func (b *InMemoryBackend) UpdatePipelineExecution(
	ctx context.Context,
	execArn, description, displayName string,
	parallelismConfig *ParallelismConfiguration,
) (*PipelineExecution, error)

UpdatePipelineExecution updates the description/display name/parallelism configuration of a pipeline execution.

func (*InMemoryBackend) UpdatePipelineFull

func (b *InMemoryBackend) UpdatePipelineFull(
	ctx context.Context,
	name, definition, displayName, description, roleArn string,
	parallelismConfig *ParallelismConfiguration,
) (*Pipeline, error)

UpdatePipelineFull updates a pipeline with full AWS input fields.

func (*InMemoryBackend) UpdatePipelineVersion

func (b *InMemoryBackend) UpdatePipelineVersion(
	ctx context.Context,
	pipelineArn string,
	versionID int64,
	description, displayName string,
) (*PipelineVersion, error)

UpdatePipelineVersion updates the description/display name of a specific pipeline version.

func (*InMemoryBackend) UpdateProject

func (b *InMemoryBackend) UpdateProject(
	ctx context.Context,
	name, description string,
	tags map[string]string,
) (*Project, error)

UpdateProject updates a project's description and merges in new tags.

func (*InMemoryBackend) UpdateSpace

func (b *InMemoryBackend) UpdateSpace(ctx context.Context, domainID, spaceName string) (*Space, error)

UpdateSpace updates a space in a domain. Returns the updated space.

func (*InMemoryBackend) UpdateTrial

func (b *InMemoryBackend) UpdateTrial(ctx context.Context, name, displayName string) (*Trial, error)

UpdateTrial mutates DisplayName on a trial.

func (*InMemoryBackend) UpdateTrialComponent

func (b *InMemoryBackend) UpdateTrialComponent(
	ctx context.Context,
	name string,
	opts UpdateTrialComponentOptions,
) (*TrialComponent, error)

UpdateTrialComponent mutates DisplayName, Parameters, and Artifacts on a trial component.

func (*InMemoryBackend) UpdateUserProfile

func (b *InMemoryBackend) UpdateUserProfile(
	ctx context.Context,
	domainID, userProfileName string,
) (*UserProfile, error)

UpdateUserProfile updates a user profile in a domain. Returns the updated profile.

func (*InMemoryBackend) UpdateWorkforce

func (b *InMemoryBackend) UpdateWorkforce(ctx context.Context, opts UpdateWorkforceOptions) (*Workforce, error)

UpdateWorkforce updates a workforce's IdP, IP allow-list, or VPC configuration.

func (*InMemoryBackend) UpdateWorkteam

func (b *InMemoryBackend) UpdateWorkteam(ctx context.Context, opts UpdateWorkteamOptions) (*Workteam, error)

UpdateWorkteam updates a workteam's description and/or member definitions.

type InferenceComponent

type InferenceComponent struct {
	CreationTime             time.Time         `json:"CreationTime"`
	LastModifiedTime         time.Time         `json:"LastModifiedTime"`
	Tags                     map[string]string `json:"Tags,omitempty"`
	InferenceComponentName   string            `json:"InferenceComponentName"`
	InferenceComponentArn    string            `json:"InferenceComponentArn"`
	EndpointName             string            `json:"EndpointName"`
	VariantName              string            `json:"VariantName,omitempty"`
	InferenceComponentStatus string            `json:"InferenceComponentStatus"`
	CopyCount                int               `json:"CopyCount,omitempty"`
	CurrentCopyCount         int               `json:"CurrentCopyCount,omitempty"`
}

InferenceComponent represents a SageMaker inference component.

type InferenceExecutionConfig

type InferenceExecutionConfig struct {
	Mode string `json:"Mode,omitempty"` // Serial or Direct
}

InferenceExecutionConfig controls serial vs. direct routing in multi-container models.

type InferenceExperiment

type InferenceExperiment struct {
	CreationTime     time.Time         `json:"CreationTime"`
	LastModifiedTime time.Time         `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	Name             string            `json:"Name"`
	Arn              string            `json:"Arn"`
	Status           string            `json:"Status"`
	Type             string            `json:"Type,omitempty"`
	RoleArn          string            `json:"RoleArn,omitempty"`
	Description      string            `json:"Description,omitempty"`
}

InferenceExperiment represents a SageMaker inference experiment.

type InferenceRecommendationsJob

type InferenceRecommendationsJob struct {
	CreationTime     time.Time         `json:"CreationTime"`
	LastModifiedTime time.Time         `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	JobName          string            `json:"JobName"`
	JobArn           string            `json:"JobArn"`
	JobType          string            `json:"JobType,omitempty"`
	JobDescription   string            `json:"JobDescription,omitempty"`
	Status           string            `json:"Status"`
	RoleArn          string            `json:"RoleArn,omitempty"`
}

InferenceRecommendationsJob represents a SageMaker inference recommendations job.

type InstanceGroup

type InstanceGroup struct {
	InstanceGroupName string `json:"InstanceGroupName"`
	InstanceType      string `json:"InstanceType"`
	InstanceCount     int32  `json:"InstanceCount"`
}

InstanceGroup is a heterogeneous instance group in a training job.

type JobDefinition

type JobDefinition struct {
	CreationTime      time.Time                  `json:"CreationTime"`
	Tags              map[string]string          `json:"Tags,omitempty"`
	Config            map[string]json.RawMessage `json:"Config,omitempty"`
	JobDefinitionName string                     `json:"JobDefinitionName"`
	JobDefinitionArn  string                     `json:"JobDefinitionArn"`
	JobDefinitionType string                     `json:"JobDefinitionType"`
	RoleArn           string                     `json:"RoleArn,omitempty"`
	EndpointName      string                     `json:"EndpointName,omitempty"`
}

JobDefinition is the shared backend representation for the four SageMaker Model Monitor job definition types (DataQuality, ModelBias, ModelQuality, ModelExplainability). Each type sends its AppSpecification/JobInput/ JobOutputConfig blocks under differently-named wire fields (e.g. "DataQualityAppSpecification" vs "ModelBiasAppSpecification"); Config captures those verbatim, plus the shared JobResources/NetworkConfig/ StoppingCondition/BaselineConfig blocks, so Describe echoes back exactly what Create received.

type JobDefinitionFilter

type JobDefinitionFilter struct {
	CreationTimeAfter  *time.Time
	CreationTimeBefore *time.Time
	EndpointName       string
	NameContains       string
	SortBy             string // "Name" | "CreationTime" (default)
	SortOrder          string // "Ascending" | "Descending" (default)
	MaxResults         int32
}

JobDefinitionFilter narrows the four List*JobDefinitions operations.

type LabelCounters

type LabelCounters struct {
	TotalLabeled            int32 `json:"TotalLabeled"`
	HumanLabeled            int32 `json:"HumanLabeled"`
	MachineLabeled          int32 `json:"MachineLabeled"`
	FailedNonRetryableError int32 `json:"FailedNonRetryableError"`
	Unlabeled               int32 `json:"Unlabeled"`
}

LabelCounters gives a breakdown of a labeling job's progress.

type LabelCountersForWorkteam

type LabelCountersForWorkteam struct {
	HumanLabeled int32 `json:"HumanLabeled"`
	PendingHuman int32 `json:"PendingHuman"`
	Total        int32 `json:"Total"`
}

LabelCountersForWorkteam gives a breakdown of human-labeled tasks for a workteam.

type LabelingJob

type LabelingJob struct {
	CreationTime                time.Time                      `json:"CreationTime"`
	LastModifiedTime            time.Time                      `json:"LastModifiedTime"`
	InputConfig                 LabelingJobInputConfig         `json:"InputConfig"`
	LabelingJobOutput           *LabelingJobOutput             `json:"LabelingJobOutput,omitempty"`
	StoppingConditions          *LabelingJobStoppingConditions `json:"StoppingConditions,omitempty"`
	LabelingJobAlgorithmsConfig *LabelingJobAlgorithmsConfig   `json:"LabelingJobAlgorithmsConfig,omitempty"`
	Tags                        map[string]string              `json:"-"`
	OutputConfig                LabelingJobOutputConfig        `json:"OutputConfig"`
	LabelingJobName             string                         `json:"LabelingJobName"`
	LabelingJobArn              string                         `json:"LabelingJobArn"`
	LabelingJobStatus           string                         `json:"LabelingJobStatus"`
	JobReferenceCode            string                         `json:"JobReferenceCode"`
	RoleArn                     string                         `json:"RoleArn"`
	LabelAttributeName          string                         `json:"LabelAttributeName,omitempty"`
	LabelCategoryConfigS3Uri    string                         `json:"LabelCategoryConfigS3Uri,omitempty"`
	FailureReason               string                         `json:"FailureReason,omitempty"`
	HumanTaskConfig             HumanTaskConfig                `json:"HumanTaskConfig"`
	LabelCounters               LabelCounters                  `json:"LabelCounters"`
}

LabelingJob represents a SageMaker Ground Truth labeling job.

type LabelingJobAlgorithmsConfig

type LabelingJobAlgorithmsConfig struct {
	LabelingJobResourceConfig            *LabelingJobResourceConfig `json:"LabelingJobResourceConfig,omitempty"`
	LabelingJobAlgorithmSpecificationArn string                     `json:"LabelingJobAlgorithmSpecificationArn"`
	InitialActiveLearningModelArn        string                     `json:"InitialActiveLearningModelArn,omitempty"`
}

LabelingJobAlgorithmsConfig configures automated data labeling.

type LabelingJobDataAttributes

type LabelingJobDataAttributes struct {
	ContentClassifiers []string `json:"ContentClassifiers,omitempty"`
}

LabelingJobDataAttributes describes customer-declared properties of the input data.

type LabelingJobDataSource

type LabelingJobDataSource struct {
	S3DataSource  *LabelingJobS3DataSource  `json:"S3DataSource,omitempty"`
	SnsDataSource *LabelingJobSnsDataSource `json:"SnsDataSource,omitempty"`
}

LabelingJobDataSource locates a labeling job's input data objects.

type LabelingJobInputConfig

type LabelingJobInputConfig struct {
	DataSource     LabelingJobDataSource      `json:"DataSource"`
	DataAttributes *LabelingJobDataAttributes `json:"DataAttributes,omitempty"`
}

LabelingJobInputConfig is the input configuration for a labeling job.

type LabelingJobOutput

type LabelingJobOutput struct {
	OutputDatasetS3Uri          string `json:"OutputDatasetS3Uri"`
	FinalActiveLearningModelArn string `json:"FinalActiveLearningModelArn,omitempty"`
}

LabelingJobOutput locates the output produced by a labeling job.

type LabelingJobOutputConfig

type LabelingJobOutputConfig struct {
	S3OutputPath string `json:"S3OutputPath"`
	KmsKeyID     string `json:"KmsKeyId,omitempty"`
	SnsTopicArn  string `json:"SnsTopicArn,omitempty"`
}

LabelingJobOutputConfig is the output configuration for a labeling job.

type LabelingJobResourceConfig

type LabelingJobResourceConfig struct {
	VpcConfig      *VpcConfig `json:"VpcConfig,omitempty"`
	VolumeKmsKeyID string     `json:"VolumeKmsKeyId,omitempty"`
}

LabelingJobResourceConfig configures encryption of automated data labeling storage.

type LabelingJobS3DataSource

type LabelingJobS3DataSource struct {
	ManifestS3Uri string `json:"ManifestS3Uri"`
}

LabelingJobS3DataSource locates the input manifest file in Amazon S3.

type LabelingJobSnsDataSource

type LabelingJobSnsDataSource struct {
	SnsTopicArn string `json:"SnsTopicArn"`
}

LabelingJobSnsDataSource is an SNS topic used for streaming labeling jobs.

type LabelingJobStoppingConditions

type LabelingJobStoppingConditions struct {
	MaxHumanLabeledObjectCount         int32 `json:"MaxHumanLabeledObjectCount,omitempty"`
	MaxPercentageOfInputDatasetLabeled int32 `json:"MaxPercentageOfInputDatasetLabeled,omitempty"`
}

LabelingJobStoppingConditions bound the cost of a labeling job.

type ListCandidatesForAutoMLJobParams

type ListCandidatesForAutoMLJobParams struct {
	CandidateNameEquals string
	StatusEquals        string
	NextToken           string
	MaxResults          int32
}

ListCandidatesForAutoMLJobParams bundles the filter/sort/page criteria.

type ListEdgePackagingJobsFilter

type ListEdgePackagingJobsFilter struct {
	StatusEquals string
	NameContains string
}

ListEdgePackagingJobsFilter holds optional filters for ListEdgePackagingJobs.

type ListLabelingJobsFilter

type ListLabelingJobsFilter struct {
	NameContains string
	StatusEquals string
	MaxResults   int32
}

ListLabelingJobsFilter narrows the results of ListLabelingJobs.

type ListNotebookInstancesFilter

type ListNotebookInstancesFilter struct {
	StatusEquals string
	NameContains string
}

ListNotebookInstancesFilter narrows ListNotebookInstances results. Empty fields are treated as wildcards.

type ListTrainingJobsFilter

type ListTrainingJobsFilter struct {
	CreationTimeAfter  *time.Time
	CreationTimeBefore *time.Time
	StatusEquals       string
	NameContains       string
	MaxResults         int32
}

ListTrainingJobsFilter narrows ListTrainingJobs results.

type ListTrainingPlansParams

type ListTrainingPlansParams struct {
	StatusEquals string
	SortBy       string
	SortOrder    string
	NextToken    string
	MaxResults   int32
}

ListTrainingPlansParams bundles the filter/sort criteria for ListTrainingPlans.

type ListTransformJobsFilter

type ListTransformJobsFilter struct {
	StatusEquals string
	NameContains string
}

ListTransformJobsFilter narrows ListTransformJobs results.

type MemberDefinition

type MemberDefinition struct {
	CognitoMemberDefinition *CognitoMemberDefinition `json:"CognitoMemberDefinition,omitempty"`
	OidcMemberDefinition    *OidcMemberDefinition    `json:"OidcMemberDefinition,omitempty"`
}

MemberDefinition identifies workers that make up a work team, using either an Amazon Cognito user group or an OIDC IdP user group.

type MetricDefinition

type MetricDefinition struct {
	Name  string `json:"Name"`
	Regex string `json:"Regex,omitempty"`
}

MetricDefinition maps a metric name to a regex.

type MlflowApp

type MlflowApp struct {
	CreationTime          time.Time         `json:"CreationTime"`
	LastModifiedTime      time.Time         `json:"LastModifiedTime"`
	Tags                  map[string]string `json:"Tags,omitempty"`
	Name                  string            `json:"Name"`
	Arn                   string            `json:"Arn"`
	Status                string            `json:"Status"`
	ArtifactStoreURI      string            `json:"ArtifactStoreUri,omitempty"`
	RoleArn               string            `json:"RoleArn,omitempty"`
	MlflowVersion         string            `json:"MlflowVersion,omitempty"`
	AccountDefaultStatus  string            `json:"AccountDefaultStatus,omitempty"`
	ModelRegistrationMode string            `json:"ModelRegistrationMode,omitempty"`
	DefaultDomainIDList   []string          `json:"DefaultDomainIdList,omitempty"`
}

MlflowApp represents a SageMaker MLflow App.

type MlflowTrackingServer

type MlflowTrackingServer struct {
	CreationTime         time.Time         `json:"CreationTime"`
	LastModifiedTime     time.Time         `json:"LastModifiedTime"`
	Tags                 map[string]string `json:"Tags,omitempty"`
	TrackingServerName   string            `json:"TrackingServerName"`
	TrackingServerArn    string            `json:"TrackingServerArn"`
	TrackingServerStatus string            `json:"TrackingServerStatus"`
	RoleArn              string            `json:"RoleArn,omitempty"`
	MlflowVersion        string            `json:"MlflowVersion,omitempty"`
}

MlflowTrackingServer represents a SageMaker MLflow tracking server.

type Model

type Model struct {
	CreationTime             time.Time                 `json:"CreationTime"`
	Tags                     map[string]string         `json:"Tags,omitempty"`
	VpcConfig                *VpcConfig                `json:"VpcConfig,omitempty"`
	InferenceExecutionConfig *InferenceExecutionConfig `json:"InferenceExecutionConfig,omitempty"`
	ModelName                string                    `json:"ModelName"`
	ModelARN                 string                    `json:"ModelARN"`
	ExecutionRoleARN         string                    `json:"ExecutionRoleARN"`
	PrimaryContainer         *ContainerDefinition      `json:"PrimaryContainer,omitempty"`
	Containers               []ContainerDefinition     `json:"Containers,omitempty"`
	EnableNetworkIsolation   bool                      `json:"EnableNetworkIsolation,omitempty"`
}

Model represents a SageMaker model.

type ModelArtifacts

type ModelArtifacts struct {
	S3ModelArtifacts string `json:"S3ModelArtifacts"`
}

ModelArtifacts references the S3 model output of a training job.

type ModelCard

type ModelCard struct {
	CreationTime     time.Time         `json:"CreationTime"`
	LastModifiedTime time.Time         `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	ModelCardName    string            `json:"ModelCardName"`
	ModelCardArn     string            `json:"ModelCardArn"`
	ModelCardStatus  string            `json:"ModelCardStatus"`
	Content          string            `json:"Content,omitempty"`
	ModelCardVersion int               `json:"ModelCardVersion"`
}

ModelCard represents a SageMaker model card.

type ModelCardExportJob

type ModelCardExportJob struct {
	CreatedAt              time.Time `json:"-"`
	LastModifiedAt         time.Time `json:"-"`
	ModelCardExportJobArn  string    `json:"ModelCardExportJobArn"`
	ModelCardExportJobName string    `json:"ModelCardExportJobName"`
	ModelCardName          string    `json:"ModelCardName"`
	Status                 string    `json:"Status"`
	S3OutputPath           string    `json:"-"`
	S3ExportArtifacts      string    `json:"-"`
	ModelCardVersion       int       `json:"ModelCardVersion"`
}

ModelCardExportJob represents an export of a model card to S3.

type ModelMetadataEntry

type ModelMetadataEntry struct {
	Domain           string
	Framework        string
	FrameworkVersion string
	Model            string
	Task             string
}

ModelMetadataEntry mirrors types.ModelMetadataSummary.

type ModelMetadataFilter

type ModelMetadataFilter struct {
	Name  string `json:"Name"`
	Value string `json:"Value"`
}

ModelMetadataFilter mirrors types.ModelMetadataFilter.

type ModelPackage

type ModelPackage struct {
	CreationTime            time.Time         `json:"CreationTime"`
	Tags                    map[string]string `json:"Tags,omitempty"`
	ModelPackageName        string            `json:"ModelPackageName"`
	ModelPackageArn         string            `json:"ModelPackageArn"`
	ModelPackageGroupName   string            `json:"ModelPackageGroupName,omitempty"`
	ModelPackageStatus      string            `json:"ModelPackageStatus"`
	ModelApprovalStatus     string            `json:"ModelApprovalStatus,omitempty"`
	ModelPackageDescription string            `json:"ModelPackageDescription,omitempty"`
}

ModelPackage represents a SageMaker model package.

type ModelPackageBatchResult

type ModelPackageBatchResult struct {
	ModelPackage *ModelPackage
	ErrorCode    string
	ErrorMessage string
}

ModelPackageBatchResult holds the result of describing a single model package in a batch.

type ModelPackageGroup

type ModelPackageGroup struct {
	CreationTime                 time.Time         `json:"CreationTime"`
	Tags                         map[string]string `json:"Tags,omitempty"`
	ModelPackageGroupName        string            `json:"ModelPackageGroupName"`
	ModelPackageGroupArn         string            `json:"ModelPackageGroupArn"`
	ModelPackageGroupDescription string            `json:"ModelPackageGroupDescription,omitempty"`
	ModelPackageGroupStatus      string            `json:"ModelPackageGroupStatus"`
	// ResourcePolicy is the resource policy JSON document attached via
	// PutModelPackageGroupPolicy, if any.
	ResourcePolicy string `json:"ResourcePolicy,omitempty"`
}

ModelPackageGroup represents a SageMaker model package group.

type MonitoringAlert

type MonitoringAlert struct {
	CreationTime              time.Time `json:"CreationTime"`
	LastModifiedTime          time.Time `json:"LastModifiedTime"`
	MonitoringScheduleName    string    `json:"MonitoringScheduleName"`
	MonitoringAlertName       string    `json:"MonitoringAlertName"`
	AlertStatus               string    `json:"AlertStatus"`
	DatapointsToAlert         int32     `json:"DatapointsToAlert"`
	EvaluationPeriod          int32     `json:"EvaluationPeriod"`
	DashboardIndicatorEnabled bool      `json:"DashboardIndicatorEnabled"`
}

MonitoringAlert is the read/update state of a model monitor alert tied to a monitoring schedule. AWS has no CreateMonitoringAlert API — alert records are provisioned from a schedule's monitoring statistics/constraints config, so UpdateMonitoringAlert creates the record on first use and updates it thereafter.

type MonitoringAlertHistoryEntry

type MonitoringAlertHistoryEntry struct {
	CreationTime           time.Time `json:"CreationTime"`
	MonitoringScheduleName string    `json:"MonitoringScheduleName"`
	MonitoringAlertName    string    `json:"MonitoringAlertName"`
	AlertStatus            string    `json:"AlertStatus"`
}

MonitoringAlertHistoryEntry records a single point-in-time alert status observation for a monitoring schedule's alert.

type MonitoringAlertHistoryFilter

type MonitoringAlertHistoryFilter struct {
	CreationTimeAfter      *time.Time
	CreationTimeBefore     *time.Time
	MonitoringScheduleName string
	MonitoringAlertName    string
	StatusEquals           string
	SortOrder              string // "Ascending" | "Descending" (default); sort key is always CreationTime
	MaxResults             int32
}

MonitoringAlertHistoryFilter narrows ListMonitoringAlertHistory results.

type MonitoringExecution

type MonitoringExecution struct {
	CreationTime                time.Time `json:"CreationTime"`
	LastModifiedTime            time.Time `json:"LastModifiedTime"`
	ScheduledTime               time.Time `json:"ScheduledTime"`
	MonitoringScheduleName      string    `json:"MonitoringScheduleName"`
	MonitoringExecutionStatus   string    `json:"MonitoringExecutionStatus"`
	EndpointName                string    `json:"EndpointName,omitempty"`
	MonitoringJobDefinitionName string    `json:"MonitoringJobDefinitionName,omitempty"`
	MonitoringType              string    `json:"MonitoringType,omitempty"`
	ProcessingJobArn            string    `json:"ProcessingJobArn,omitempty"`
	FailureReason               string    `json:"FailureReason,omitempty"`
}

MonitoringExecution represents a single run of a monitoring schedule.

type MonitoringExecutionFilter

type MonitoringExecutionFilter struct {
	CreationTimeAfter           *time.Time
	CreationTimeBefore          *time.Time
	LastModifiedTimeAfter       *time.Time
	LastModifiedTimeBefore      *time.Time
	ScheduledTimeAfter          *time.Time
	ScheduledTimeBefore         *time.Time
	MonitoringScheduleName      string
	MonitoringJobDefinitionName string
	EndpointName                string
	MonitoringTypeEquals        string
	StatusEquals                string
	SortBy                      string // "CreationTime" (default) | "ScheduledTime" | "Status"
	SortOrder                   string
	MaxResults                  int32
}

MonitoringExecutionFilter narrows ListMonitoringExecutions results.

type MonitoringSchedule

type MonitoringSchedule struct {
	CreationTime             time.Time         `json:"CreationTime"`
	LastModifiedTime         time.Time         `json:"LastModifiedTime"`
	Tags                     map[string]string `json:"Tags,omitempty"`
	MonitoringScheduleName   string            `json:"MonitoringScheduleName"`
	MonitoringScheduleArn    string            `json:"MonitoringScheduleArn"`
	MonitoringScheduleStatus string            `json:"MonitoringScheduleStatus"`
}

MonitoringSchedule represents a SageMaker monitoring schedule.

type MultiModelConfig

type MultiModelConfig struct {
	ModelCacheSetting string `json:"ModelCacheSetting,omitempty"`
}

MultiModelConfig specifies the multi-model serving mode.

type NotebookInstance

type NotebookInstance struct {
	CreationTime               time.Time         `json:"CreationTime"`
	LastModifiedTime           time.Time         `json:"LastModifiedTime"`
	Tags                       map[string]string `json:"Tags,omitempty"`
	RootAccess                 string            `json:"RootAccess,omitempty"`
	KmsKeyID                   string            `json:"KmsKeyId,omitempty"`
	URL                        string            `json:"Url,omitempty"`
	NotebookInstanceName       string            `json:"NotebookInstanceName"`
	NotebookInstanceArn        string            `json:"NotebookInstanceArn"`
	NotebookInstanceStatus     string            `json:"NotebookInstanceStatus"`
	InstanceType               string            `json:"InstanceType,omitempty"`
	RoleArn                    string            `json:"RoleArn,omitempty"`
	SubnetID                   string            `json:"SubnetId,omitempty"`
	PlatformIdentifier         string            `json:"PlatformIdentifier,omitempty"`
	LifecycleConfigName        string            `json:"NotebookInstanceLifecycleConfigName,omitempty"`
	DirectInternetAccess       string            `json:"DirectInternetAccess,omitempty"`
	DefaultCodeRepository      string            `json:"DefaultCodeRepository,omitempty"`
	SecurityGroupIDs           []string          `json:"SecurityGroupIds,omitempty"`
	AcceleratorTypes           []string          `json:"AcceleratorTypes,omitempty"`
	AdditionalCodeRepositories []string          `json:"AdditionalCodeRepositories,omitempty"`
	VolumeSizeInGB             int32             `json:"VolumeSizeInGB,omitempty"`
}

type NotebookInstanceLifecycleConfig

type NotebookInstanceLifecycleConfig struct {
	CreationTime     time.Time               `json:"CreationTime"`
	LastModifiedTime time.Time               `json:"LastModifiedTime"`
	Name             string                  `json:"NotebookInstanceLifecycleConfigName"`
	ARN              string                  `json:"NotebookInstanceLifecycleConfigArn"`
	OnCreate         []NotebookLifecycleHook `json:"OnCreate,omitempty"`
	OnStart          []NotebookLifecycleHook `json:"OnStart,omitempty"`
}

NotebookInstanceLifecycleConfig stores Create/Start lifecycle scripts.

type NotebookInstanceOptions

type NotebookInstanceOptions struct {
	Tags                       map[string]string `json:"Tags,omitempty"`
	SubnetID                   string            `json:"SubnetId,omitempty"`
	LifecycleConfigName        string            `json:"LifecycleConfigName,omitempty"`
	Name                       string            `json:"NotebookInstanceName"`
	InstanceType               string            `json:"InstanceType"`
	RoleArn                    string            `json:"RoleArn"`
	RootAccess                 string            `json:"RootAccess,omitempty"`
	KmsKeyID                   string            `json:"KmsKeyId,omitempty"`
	DirectInternetAccess       string            `json:"DirectInternetAccess,omitempty"`
	DefaultCodeRepository      string            `json:"DefaultCodeRepository,omitempty"`
	PlatformIdentifier         string            `json:"PlatformIdentifier,omitempty"`
	AcceleratorTypes           []string          `json:"AcceleratorTypes,omitempty"`
	AdditionalCodeRepositories []string          `json:"AdditionalCodeRepositories,omitempty"`
	SecurityGroupIDs           []string          `json:"SecurityGroupIds,omitempty"`
	VolumeSizeInGB             int32             `json:"VolumeSizeInGB,omitempty"`
}

NotebookInstanceOptions holds all CreateNotebookInstance request fields.

type NotebookLifecycleHook

type NotebookLifecycleHook struct {
	Content string `json:"Content,omitempty"` // base64-encoded shell script
}

NotebookLifecycleHook is a single lifecycle script entry.

type NotebookUpdateOptions

type NotebookUpdateOptions struct {
	InstanceType                           string
	RoleArn                                string
	LifecycleConfigName                    string
	DefaultCodeRepository                  string
	AdditionalCodeRepositories             []string
	VolumeSizeInGB                         int32
	DisassociateLifecycleConfig            bool
	DisassociateDefaultCodeRepository      bool
	DisassociateAdditionalCodeRepositories bool
}

NotebookUpdateOptions holds mutable fields for UpdateNotebookInstance.

type OidcConfig

type OidcConfig struct {
	AuthenticationRequestExtraParams map[string]string `json:"AuthenticationRequestExtraParams,omitempty"`
	ClientID                         string            `json:"ClientId"`
	ClientSecret                     string            `json:"-"`
	Issuer                           string            `json:"Issuer"`
	AuthorizationEndpoint            string            `json:"AuthorizationEndpoint"`
	TokenEndpoint                    string            `json:"TokenEndpoint"`
	UserInfoEndpoint                 string            `json:"UserInfoEndpoint"`
	LogoutEndpoint                   string            `json:"LogoutEndpoint"`
	JwksURI                          string            `json:"JwksUri"`
	Scope                            string            `json:"Scope,omitempty"`
}

OidcConfig configures a private workforce using a customer-owned OIDC IdP. ClientSecret is stored but never echoed back in responses, matching the real OidcConfigForResponse shape.

type OidcMemberDefinition

type OidcMemberDefinition struct {
	Groups []string `json:"Groups,omitempty"`
}

OidcMemberDefinition identifies a list of OIDC IdP user groups.

type OptimizationJob

type OptimizationJob struct {
	CreationTime          time.Time         `json:"CreationTime"`
	LastModifiedTime      time.Time         `json:"LastModifiedTime"`
	Tags                  map[string]string `json:"Tags,omitempty"`
	OptimizationJobName   string            `json:"OptimizationJobName"`
	OptimizationJobArn    string            `json:"OptimizationJobArn"`
	OptimizationJobStatus string            `json:"OptimizationJobStatus"`
	RoleArn               string            `json:"RoleArn,omitempty"`
}

OptimizationJob represents a SageMaker optimization job.

type OutputDataConfig

type OutputDataConfig struct {
	S3OutputPath    string `json:"S3OutputPath"`
	KmsKeyID        string `json:"KmsKeyId,omitempty"`
	CompressionType string `json:"CompressionType,omitempty"`
}

OutputDataConfig specifies where training output is stored.

type ParallelismConfiguration

type ParallelismConfiguration struct {
	MaxParallelExecutionSteps int32 `json:"MaxParallelExecutionSteps,omitempty"`
}

ParallelismConfiguration limits concurrent steps in a pipeline execution.

type PartnerApp

type PartnerApp struct {
	CreationTime      time.Time         `json:"CreationTime"`
	LastModifiedTime  time.Time         `json:"LastModifiedTime"`
	Tags              map[string]string `json:"Tags,omitempty"`
	Name              string            `json:"Name"`
	Arn               string            `json:"Arn"`
	Status            string            `json:"Status"`
	Type              string            `json:"Type,omitempty"`
	ExecutionRoleArn  string            `json:"ExecutionRoleArn,omitempty"`
	AuthType          string            `json:"AuthType,omitempty"`
	Tier              string            `json:"Tier,omitempty"`
	ApplicationConfig json.RawMessage   `json:"ApplicationConfig,omitempty"`
}

PartnerApp represents a SageMaker partner app.

type Pipeline

type Pipeline struct {
	CreationTime             time.Time                 `json:"CreationTime"`
	LastModifiedTime         time.Time                 `json:"LastModifiedTime"`
	Tags                     map[string]string         `json:"Tags,omitempty"`
	ParallelismConfiguration *ParallelismConfiguration `json:"ParallelismConfiguration,omitempty"`
	PipelineName             string                    `json:"PipelineName"`
	PipelineArn              string                    `json:"PipelineArn"`
	PipelineStatus           string                    `json:"PipelineStatus"`
	PipelineDefinition       string                    `json:"PipelineDefinition,omitempty"`
	PipelineDisplayName      string                    `json:"PipelineDisplayName,omitempty"`
	PipelineDescription      string                    `json:"PipelineDescription,omitempty"`
	RoleArn                  string                    `json:"RoleArn,omitempty"`
}

Pipeline represents a SageMaker Pipeline.

type PipelineExecution

type PipelineExecution struct {
	StartTime                    time.Time                 `json:"StartTime"`
	ParallelismConfiguration     *ParallelismConfiguration `json:"ParallelismConfiguration,omitempty"`
	PipelineArn                  string                    `json:"PipelineArn"`
	PipelineExecutionArn         string                    `json:"PipelineExecutionArn"`
	PipelineExecutionStatus      string                    `json:"PipelineExecutionStatus"`
	PipelineExecutionDisplayName string                    `json:"PipelineExecutionDisplayName,omitempty"`
	PipelineExecutionDescription string                    `json:"PipelineExecutionDescription,omitempty"`
	FailureReason                string                    `json:"FailureReason,omitempty"`
	// PipelineDefinition is the JSON pipeline definition snapshot captured from
	// the parent pipeline when this execution started, returned verbatim by
	// DescribePipelineDefinitionForExecution.
	PipelineDefinition string              `json:"PipelineDefinition,omitempty"`
	PipelineParameters []PipelineParameter `json:"PipelineParameters,omitempty"`
}

PipelineExecution represents a single execution of a SageMaker Pipeline.

type PipelineExecutionStep

type PipelineExecutionStep struct {
	StartTime     time.Time `json:"StartTime"`
	EndTime       time.Time `json:"EndTime"`
	StepName      string    `json:"StepName"`
	StepType      string    `json:"StepType"`
	StepStatus    string    `json:"StepStatus"`
	FailureReason string    `json:"FailureReason,omitempty"`
	// ExecutionArn is the owning pipeline execution's ARN, carried internally so
	// the store.Table's keyFn can derive pipelineExecutionStepsKey(ExecutionArn,
	// StepName) and Restore can rebuild it after a JSON round-trip. Exported
	// (with a json tag) solely so it survives persistence — handler.go never
	// marshals PipelineExecutionStep directly to API callers, so this has no
	// effect on the AWS wire shape.
	ExecutionArn string `json:"executionArn"`
}

PipelineExecutionStep represents a step within a pipeline execution.

type PipelineParameter

type PipelineParameter struct {
	Name  string `json:"Name"`
	Value string `json:"Value"`
}

PipelineParameter is a name/value pair passed to StartPipelineExecution.

type PipelineVersion

type PipelineVersion struct {
	CreationTime                      time.Time `json:"CreationTime"`
	PipelineArn                       string    `json:"PipelineArn"`
	PipelineVersionDisplayName        string    `json:"PipelineVersionDisplayName,omitempty"`
	PipelineVersionDescription        string    `json:"PipelineVersionDescription,omitempty"`
	PipelineDefinition                string    `json:"PipelineDefinition,omitempty"`
	LastExecutionPipelineExecutionArn string    `json:"LastExecutionPipelineExecutionArn,omitempty"`
	PipelineVersionID                 int64     `json:"PipelineVersionId"`
}

PipelineVersion is a single versioned snapshot of a pipeline's definition.

type ProcessingAppSpec

type ProcessingAppSpec struct {
	ImageURI            string   `json:"ImageUri"`
	ContainerArguments  []string `json:"ContainerArguments,omitempty"`
	ContainerEntrypoint []string `json:"ContainerEntrypoint,omitempty"`
}

ProcessingAppSpec identifies the container image for a processing job.

type ProcessingClusterConfig

type ProcessingClusterConfig struct {
	InstanceType   string `json:"InstanceType"`
	VolumeKmsKeyID string `json:"VolumeKmsKeyId,omitempty"`
	InstanceCount  int32  `json:"InstanceCount"`
	VolumeSizeInGB int32  `json:"VolumeSizeInGB"`
}

ProcessingClusterConfig is the compute config for a processing job.

type ProcessingInput

type ProcessingInput struct {
	S3Input           *ProcessingS3Input `json:"S3Input,omitempty"`
	DatasetDefinition *DatasetDefinition `json:"DatasetDefinition,omitempty"`
	InputName         string             `json:"InputName"`
	AppManaged        bool               `json:"AppManaged,omitempty"`
}

ProcessingInput specifies input data for a processing job.

type ProcessingJob

type ProcessingJob struct {
	CreationTime           time.Time              `json:"CreationTime"`
	LastModifiedTime       time.Time              `json:"LastModifiedTime"`
	ProcessingStartTime    *time.Time             `json:"ProcessingStartTime,omitempty"`
	ProcessingEndTime      *time.Time             `json:"ProcessingEndTime,omitempty"`
	Tags                   map[string]string      `json:"Tags,omitempty"`
	Environment            map[string]string      `json:"Environment,omitempty"`
	VpcConfig              *VpcConfig             `json:"VpcConfig,omitempty"`
	ProcessingResources    ProcessingResources    `json:"ProcessingResources"`
	ProcessingOutputConfig ProcessingOutputConfig `json:"ProcessingOutputConfig"`
	ProcessingJobName      string                 `json:"ProcessingJobName"`
	ProcessingJobArn       string                 `json:"ProcessingJobArn"`
	ProcessingJobStatus    string                 `json:"ProcessingJobStatus"`
	RoleArn                string                 `json:"RoleArn,omitempty"`
	FailureReason          string                 `json:"FailureReason,omitempty"`
	AppSpecification       ProcessingAppSpec      `json:"AppSpecification"`
	ProcessingInputs       []ProcessingInput      `json:"ProcessingInputs,omitempty"`
}

ProcessingJob represents a SageMaker processing job.

type ProcessingOutput

type ProcessingOutput struct {
	S3Output   *ProcessingS3Output `json:"S3Output,omitempty"`
	OutputName string              `json:"OutputName"`
	AppManaged bool                `json:"AppManaged,omitempty"`
}

ProcessingOutput specifies output data for a processing job.

type ProcessingOutputConfig

type ProcessingOutputConfig struct {
	KmsKeyID string             `json:"KmsKeyId,omitempty"`
	Outputs  []ProcessingOutput `json:"Outputs,omitempty"`
}

ProcessingOutputConfig wraps outputs plus optional KMS key.

type ProcessingResources

type ProcessingResources struct {
	ClusterConfig ProcessingClusterConfig `json:"ClusterConfig"`
}

ProcessingResources specifies compute for a processing job.

type ProcessingS3Input

type ProcessingS3Input struct {
	S3Uri                  string `json:"S3Uri"`
	LocalPath              string `json:"LocalPath"`
	S3DataType             string `json:"S3DataType,omitempty"`
	S3InputMode            string `json:"S3InputMode,omitempty"`
	S3DataDistributionType string `json:"S3DataDistributionType,omitempty"`
	S3CompressionType      string `json:"S3CompressionType,omitempty"`
}

ProcessingS3Input references S3 input data.

type ProcessingS3Output

type ProcessingS3Output struct {
	S3Uri        string `json:"S3Uri"`
	LocalPath    string `json:"LocalPath"`
	S3UploadMode string `json:"S3UploadMode,omitempty"`
}

ProcessingS3Output specifies S3 output for a processing step.

type ProductionVariant

type ProductionVariant struct {
	ServerlessConfig                            *ServerlessConfig `json:"ServerlessConfig,omitempty"`
	CoreDumpConfig                              *CoreDumpConfig   `json:"CoreDumpConfig,omitempty"`
	VariantName                                 string            `json:"VariantName"`
	ModelName                                   string            `json:"ModelName"`
	AcceleratorType                             string            `json:"AcceleratorType,omitempty"`
	InstanceType                                string            `json:"InstanceType,omitempty"`
	InferenceAmiVersion                         string            `json:"InferenceAmiVersion,omitempty"`
	InitialVariantWeight                        float64           `json:"InitialVariantWeight,omitempty"`
	InitialInstanceCount                        int32             `json:"InitialInstanceCount,omitempty"`
	VolumeSizeInGB                              int32             `json:"VolumeSizeInGB,omitempty"`
	ModelDataDownloadTimeoutInSeconds           int32             `json:"ModelDataDownloadTimeoutInSeconds,omitempty"`
	ContainerStartupHealthCheckTimeoutInSeconds int32             `json:"ContainerStartupHealthCheckTimeoutInSeconds,omitempty"` //nolint:lll // AWS API field name exceeds 120 chars; cannot be shortened
	EnableSSMAccess                             bool              `json:"EnableSSMAccess,omitempty"`
}

ProductionVariant holds configuration for a production variant in an endpoint config.

type ProductionVariantStatus

type ProductionVariantStatus struct {
	Status        string `json:"Status"`
	StatusMessage string `json:"StatusMessage,omitempty"`
}

ProductionVariantStatus describes the current deployment stage of a production variant on a deployed endpoint.

type ProductionVariantSummary

type ProductionVariantSummary struct {
	CurrentWeight        *float64                  `json:"CurrentWeight,omitempty"`
	DesiredWeight        *float64                  `json:"DesiredWeight,omitempty"`
	CurrentInstanceCount *int32                    `json:"CurrentInstanceCount,omitempty"`
	DesiredInstanceCount *int32                    `json:"DesiredInstanceCount,omitempty"`
	VariantName          string                    `json:"VariantName"`
	VariantStatus        []ProductionVariantStatus `json:"VariantStatus,omitempty"`
}

ProductionVariantSummary describes a production variant as deployed on a live endpoint (the shape returned by DescribeEndpoint). This is distinct from ProductionVariant, which is the EndpointConfig-time configuration: AWS renames Initial* to Desired* and adds Current* fields that reflect deployed state once the endpoint has finished (re)deploying.

type Project

type Project struct {
	CreationTime       time.Time         `json:"CreationTime"`
	Tags               map[string]string `json:"Tags,omitempty"`
	ProjectName        string            `json:"ProjectName"`
	ProjectArn         string            `json:"ProjectArn"`
	ProjectID          string            `json:"ProjectId"`
	ProjectStatus      string            `json:"ProjectStatus"`
	ProjectDescription string            `json:"ProjectDescription,omitempty"`
}

Project represents a SageMaker project.

type Provider

type Provider struct{}

Provider implements service.Provider for AWS SageMaker.

func (*Provider) Init

Init initializes the SageMaker service backend and handler.

func (*Provider) Name

func (p *Provider) Name() string

Name returns the provider name.

type RegisterDeviceInput

type RegisterDeviceInput struct {
	Tags         map[string]string
	DeviceName   string
	Description  string
	IotThingName string
}

RegisterDeviceInput is a single device to register.

type ReservedCapacity

type ReservedCapacity struct {
	StartTime              time.Time      `json:"StartTime"`
	EndTime                time.Time      `json:"EndTime"`
	Status                 string         `json:"Status"`
	ReservedCapacityArn    string         `json:"ReservedCapacityArn"`
	InstanceType           string         `json:"InstanceType"`
	AvailabilityZone       string         `json:"AvailabilityZone,omitempty"`
	ReservedCapacityType   string         `json:"ReservedCapacityType,omitempty"`
	TrainingPlanArn        string         `json:"-"`
	UltraServers           []*UltraServer `json:"-"`
	DurationHours          int64          `json:"DurationHours,omitempty"`
	DurationMinutes        int64          `json:"DurationMinutes,omitempty"`
	TotalInstanceCount     int32          `json:"TotalInstanceCount"`
	AvailableInstanceCount int32          `json:"AvailableInstanceCount,omitempty"`
	InUseInstanceCount     int32          `json:"InUseInstanceCount,omitempty"`
}

ReservedCapacity represents provisioned compute capacity backing a training plan.

type ReservedCapacityOffering

type ReservedCapacityOffering struct {
	InstanceType     string
	AvailabilityZone string
	UltraServerType  string
	DurationHours    int64
	DurationMinutes  int64
	InstanceCount    int32
	IsUltraServer    bool
}

ReservedCapacityOffering describes one block of compute within a catalog TrainingPlanOffering, mirroring types.ReservedCapacityOffering.

type ReservedCapacitySummary

type ReservedCapacitySummary struct {
	EndTime              *time.Time `json:"EndTime,omitempty"`
	StartTime            *time.Time `json:"StartTime,omitempty"`
	InstanceType         string     `json:"InstanceType"`
	ReservedCapacityArn  string     `json:"ReservedCapacityArn"`
	Status               string     `json:"Status"`
	AvailabilityZone     string     `json:"AvailabilityZone,omitempty"`
	ReservedCapacityType string     `json:"ReservedCapacityType,omitempty"`
	TotalInstanceCount   int32      `json:"TotalInstanceCount"`
	DurationHours        int64      `json:"DurationHours,omitempty"`
	DurationMinutes      int64      `json:"DurationMinutes,omitempty"`
}

ReservedCapacitySummary is the wire shape nested inside a TrainingPlan for each Reserved Capacity backing it.

type ResourceConfig

type ResourceConfig struct {
	InstanceType             string          `json:"InstanceType"`
	VolumeKmsKeyID           string          `json:"VolumeKmsKeyId,omitempty"`
	InstanceGroups           []InstanceGroup `json:"InstanceGroups,omitempty"`
	InstanceCount            int32           `json:"InstanceCount"`
	VolumeSizeInGB           int32           `json:"VolumeSizeInGB"`
	KeepAlivePeriodInSeconds int32           `json:"KeepAlivePeriodInSeconds,omitempty"`
}

ResourceConfig specifies compute resources for a training job.

type S3DataSource

type S3DataSource struct {
	S3Uri                  string `json:"S3Uri"`
	S3DataType             string `json:"S3DataType,omitempty"`
	S3DataDistributionType string `json:"S3DataDistributionType,omitempty"`
}

S3DataSource references an S3 location for training data.

type SMImage

type SMImage struct {
	CreationTime     time.Time         `json:"CreationTime"`
	LastModifiedTime time.Time         `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	ImageName        string            `json:"ImageName"`
	ImageArn         string            `json:"ImageArn"`
	ImageStatus      string            `json:"ImageStatus"`
	Description      string            `json:"Description,omitempty"`
	DisplayName      string            `json:"DisplayName,omitempty"`
	RoleArn          string            `json:"RoleArn,omitempty"`
}

SMImage represents a SageMaker image.

type ScalingConfigurationRecommendation

type ScalingConfigurationRecommendation struct {
	MinCapacity                 int32
	MaxCapacity                 int32
	ScaleInCooldown             int32
	ScaleOutCooldown            int32
	TargetCPUUtilizationPerCore int32
}

ScalingConfigurationRecommendation mirrors the relevant parts of GetScalingConfigurationRecommendationOutput.

type SearchFilter

type SearchFilter struct {
	Name     string `json:"Name"`
	Operator string `json:"Operator"`
	Value    string `json:"Value"`
}

SearchFilter mirrors types.Filter (a single property comparison).

type SearchParams

type SearchParams struct {
	Resource        string
	BooleanOperator string
	NextToken       string
	Filters         []SearchFilter
	MaxResults      int32
}

SearchParams bundles the filter/sort/page criteria for Search.

type SearchTrainingPlanOfferingsParams

type SearchTrainingPlanOfferingsParams struct {
	InstanceType     string
	UltraServerType  string
	TrainingPlanArn  string
	TargetResources  []string
	DurationHours    int64
	InstanceCount    int32
	UltraServerCount int32
}

SearchTrainingPlanOfferingsParams bundles the filter criteria accepted by SearchTrainingPlanOfferings.

type SecondaryStatusTransition

type SecondaryStatusTransition struct {
	StartTime     time.Time  `json:"StartTime"`
	EndTime       *time.Time `json:"EndTime,omitempty"`
	Status        string     `json:"Status"`
	StatusMessage string     `json:"StatusMessage,omitempty"`
}

SecondaryStatusTransition records a FSM step in a training job.

type ServerlessConfig

type ServerlessConfig struct {
	MemorySizeInMB         int32 `json:"MemorySizeInMB,omitempty"`
	MaxConcurrency         int32 `json:"MaxConcurrency,omitempty"`
	ProvisionedConcurrency int32 `json:"ProvisionedConcurrency,omitempty"`
}

ServerlessConfig configures serverless inference for a variant.

type SourceIPConfig

type SourceIPConfig struct {
	Cidrs []string `json:"Cidrs"`
}

SourceIPConfig is a CIDR allow list restricting worker access to a workforce.

type Space

type Space struct {
	CreationTime     time.Time         `json:"CreationTime"`
	LastModifiedTime time.Time         `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	SpaceName        string            `json:"SpaceName"`
	SpaceArn         string            `json:"SpaceArn"`
	DomainID         string            `json:"DomainId"`
	SpaceStatus      string            `json:"SpaceStatus"`
}

Space represents a SageMaker Studio space.

type StartPipelineExecutionOptions

type StartPipelineExecutionOptions struct {
	ParallelismConfiguration     *ParallelismConfiguration
	PipelineName                 string
	PipelineExecutionDisplayName string
	PipelineExecutionDescription string
	PipelineParameters           []PipelineParameter
}

StartPipelineExecutionOptions holds full input for StartPipelineExecution.

type StartSessionResult

type StartSessionResult struct {
	SessionID  string
	StreamURL  string
	TokenValue string
}

StartSessionResult holds the synthetic session identifiers returned by StartSession.

type StoppingCondition

type StoppingCondition struct {
	MaxRuntimeInSeconds     int32 `json:"MaxRuntimeInSeconds,omitempty"`
	MaxWaitTimeInSeconds    int32 `json:"MaxWaitTimeInSeconds,omitempty"`
	MaxPendingTimeInSeconds int32 `json:"MaxPendingTimeInSeconds,omitempty"`
}

StoppingCondition defines the maximum run time for a training job.

type StorageBackend

type StorageBackend interface {
	CreateModel(
		ctx context.Context,
		name, executionRoleARN string,
		primaryContainer *ContainerDefinition,
		containers []ContainerDefinition,
		tags map[string]string,
	) (*Model, error)
	DescribeModel(ctx context.Context, name string) (*Model, error)
	ListModels(ctx context.Context, nextToken string) ([]*Model, string)
	DeleteModel(ctx context.Context, name string) error
	SetModelExtras(
		ctx context.Context,
		name string,
		vpcConfig *VpcConfig,
		enableNetworkIsolation bool,
		inferenceExecConfig *InferenceExecutionConfig,
	) error

	CreateEndpointConfig(
		ctx context.Context,
		name string,
		productionVariants []ProductionVariant,
		tags map[string]string,
	) (*EndpointConfig, error)
	DescribeEndpointConfig(ctx context.Context, name string) (*EndpointConfig, error)
	ListEndpointConfigs(ctx context.Context, nextToken string) ([]*EndpointConfig, string)
	DeleteEndpointConfig(ctx context.Context, name string) error
	SetEndpointConfigExtras(
		ctx context.Context,
		name string,
		dataCaptureConfig *DataCaptureConfig,
		asyncInferenceConfig *AsyncInferenceConfig,
		vpcConfig *VpcConfig,
		executionRoleArn string,
		kmsKeyID string,
		shadowProductionVariants []ProductionVariant,
		enableNetworkIsolation bool,
	) error

	AddTags(ctx context.Context, resourceARN string, tags map[string]string) error
	ListTags(ctx context.Context, resourceARN string) (map[string]string, error)
	DeleteTags(ctx context.Context, resourceARN string, tagKeys []string) error

	AddAssociation(
		ctx context.Context,
		sourceArn, destinationArn, associationType string,
		tags map[string]string,
	) (*Association, error)
	AssociateTrialComponent(
		ctx context.Context,
		trialName, trialComponentName string,
	) (*TrialComponentAssociation, error)

	AttachClusterNodeVolume(
		ctx context.Context,
		clusterName, nodeID string,
		volume ClusterNodeVolume,
	) (string, string, error)
	BatchAddClusterNodes(ctx context.Context, clusterName string, nodeConfigs []ClusterNode) (string, []string, error)
	BatchDeleteClusterNodes(
		ctx context.Context,
		clusterName string,
		nodeIDs []string,
	) (string, []string, []string, error)
	BatchDescribeModelPackage(ctx context.Context, modelPackageArns []string) map[string]ModelPackageBatchResult
	BatchRebootClusterNodes(
		ctx context.Context,
		clusterName string,
		nodeIDs []string,
	) (string, []string, []string, error)
	BatchReplaceClusterNodes(ctx context.Context, clusterName string, nodes []ClusterNode) (string, []string, error)

	CreateAction(
		ctx context.Context,
		name, actionType, description, status string,
		source ActionSource,
		properties map[string]string,
		tags map[string]string,
	) (*Action, error)
	CreateAlgorithm(ctx context.Context, opts CreateAlgorithmOptions) (*Algorithm, error)

	CreateEndpoint(ctx context.Context, name, endpointConfigName string, tags map[string]string) (*Endpoint, error)
	DescribeEndpoint(ctx context.Context, name string) (*Endpoint, error)
	ListEndpoints(ctx context.Context, nextToken string) ([]*Endpoint, string)
	DeleteEndpoint(ctx context.Context, name string) error
	UpdateEndpoint(ctx context.Context, name, endpointConfigName string) (*Endpoint, error)

	CreateTrainingJob(
		ctx context.Context,
		name, roleArn string,
		algorithmSpec map[string]string,
		tags map[string]string,
	) (*TrainingJob, error)
	DescribeTrainingJob(ctx context.Context, name string) (*TrainingJob, error)
	ListTrainingJobs(ctx context.Context, nextToken string) ([]*TrainingJob, string)
	StopTrainingJob(ctx context.Context, name string) error
	DeleteTrainingJob(ctx context.Context, name string) error

	CreateNotebookInstance(
		ctx context.Context,
		name, instanceType, roleArn string,
		tags map[string]string,
	) (*NotebookInstance, error)
	DescribeNotebookInstance(ctx context.Context, name string) (*NotebookInstance, error)
	ListNotebookInstances(
		ctx context.Context,
		nextToken string,
		filter ListNotebookInstancesFilter,
	) ([]*NotebookInstance, string)
	DeleteNotebookInstance(ctx context.Context, name string) error
	StartNotebookInstance(ctx context.Context, name string) error
	StopNotebookInstance(ctx context.Context, name string) error
	UpdateNotebookInstance(ctx context.Context, name, instanceType string) error
	CreatePresignedNotebookInstanceURL(ctx context.Context, name string) (string, error)

	CreateHyperParameterTuningJob(
		ctx context.Context,
		name, strategy string,
		tags map[string]string,
	) (*HyperParameterTuningJob, error)
	DescribeHyperParameterTuningJob(ctx context.Context, name string) (*HyperParameterTuningJob, error)
	ListHyperParameterTuningJobs(ctx context.Context, nextToken string) ([]*HyperParameterTuningJob, string)
	StopHyperParameterTuningJob(ctx context.Context, name string) error
	DeleteHyperParameterTuningJob(ctx context.Context, name string) error

	Reset()
	Region() string
	AccountID() string
	Snapshot(ctx context.Context) []byte
	Restore(ctx context.Context, data []byte) error
}

StorageBackend defines the interface for SageMaker backend implementations. All mutating methods must be safe for concurrent use.

type StudioLifecycleConfig

type StudioLifecycleConfig struct {
	CreationTime                 time.Time         `json:"CreationTime"`
	LastModifiedTime             time.Time         `json:"LastModifiedTime"`
	Tags                         map[string]string `json:"Tags,omitempty"`
	StudioLifecycleConfigName    string            `json:"StudioLifecycleConfigName"`
	StudioLifecycleConfigArn     string            `json:"StudioLifecycleConfigArn"`
	StudioLifecycleConfigAppType string            `json:"StudioLifecycleConfigAppType,omitempty"`
}

StudioLifecycleConfig represents a SageMaker Studio lifecycle configuration.

type TrainingJob

type TrainingJob struct {
	LastModifiedTime                      time.Time                   `json:"LastModifiedTime"`
	CreationTime                          time.Time                   `json:"CreationTime"`
	VpcConfig                             *VpcConfig                  `json:"VpcConfig,omitempty"`
	TrainingStartTime                     *time.Time                  `json:"TrainingStartTime,omitempty"`
	TrainingEndTime                       *time.Time                  `json:"TrainingEndTime,omitempty"`
	Tags                                  map[string]string           `json:"Tags,omitempty"`
	HyperParameters                       map[string]string           `json:"HyperParameters,omitempty"`
	Environment                           map[string]string           `json:"Environment,omitempty"`
	ModelArtifacts                        *ModelArtifacts             `json:"ModelArtifacts,omitempty"`
	CheckpointConfig                      *CheckpointConfig           `json:"CheckpointConfig,omitempty"`
	OutputDataConfig                      OutputDataConfig            `json:"OutputDataConfig"`
	SecondaryStatus                       string                      `json:"SecondaryStatus,omitempty"`
	FailureReason                         string                      `json:"FailureReason,omitempty"`
	TrainingJobName                       string                      `json:"TrainingJobName"`
	TrainingJobArn                        string                      `json:"TrainingJobArn"`
	RoleArn                               string                      `json:"RoleArn,omitempty"`
	TrainingJobStatus                     string                      `json:"TrainingJobStatus"`
	InputDataConfig                       []Channel                   `json:"InputDataConfig,omitempty"`
	SecondaryStatusTransitions            []SecondaryStatusTransition `json:"SecondaryStatusTransitions,omitempty"`
	AlgorithmSpecification                AlgorithmSpecification      `json:"AlgorithmSpecification"`
	ResourceConfig                        ResourceConfig              `json:"ResourceConfig"`
	StoppingCondition                     StoppingCondition           `json:"StoppingCondition"`
	BillableTimeInSeconds                 int32                       `json:"BillableTimeInSeconds,omitempty"`
	TrainingTimeInSeconds                 int32                       `json:"TrainingTimeInSeconds,omitempty"`
	EnableNetworkIsolation                bool                        `json:"EnableNetworkIsolation,omitempty"`
	EnableManagedSpotTraining             bool                        `json:"EnableManagedSpotTraining,omitempty"`
	EnableInterContainerTrafficEncryption bool                        `json:"EnableInterContainerTrafficEncryption,omitempty"` //nolint:lll // AWS API field name exceeds 120 chars; cannot be shortened
}

type TrainingJobOptions

type TrainingJobOptions struct {
	Tags                                  map[string]string      `json:"Tags,omitempty"`
	Environment                           map[string]string      `json:"Environment,omitempty"`
	HyperParameters                       map[string]string      `json:"HyperParameters,omitempty"`
	CheckpointConfig                      *CheckpointConfig      `json:"CheckpointConfig,omitempty"`
	VpcConfig                             *VpcConfig             `json:"VpcConfig,omitempty"`
	OutputDataConfig                      OutputDataConfig       `json:"OutputDataConfig"`
	TrainingJobName                       string                 `json:"TrainingJobName"`
	RoleArn                               string                 `json:"RoleArn"`
	InputDataConfig                       []Channel              `json:"InputDataConfig,omitempty"`
	AlgorithmSpecification                AlgorithmSpecification `json:"AlgorithmSpecification"`
	ResourceConfig                        ResourceConfig         `json:"ResourceConfig"`
	StoppingCondition                     StoppingCondition      `json:"StoppingCondition"`
	EnableNetworkIsolation                bool                   `json:"EnableNetworkIsolation,omitempty"`
	EnableManagedSpotTraining             bool                   `json:"EnableManagedSpotTraining,omitempty"`
	EnableInterContainerTrafficEncryption bool                   `json:"EnableInterContainerTrafficEncryption,omitempty"`
}

TrainingJobOptions holds all fields for CreateTrainingJob.

type TrainingPlan

type TrainingPlan struct {
	CreationTime              time.Time                  `json:"CreationTime"`
	StartTime                 *time.Time                 `json:"StartTime,omitempty"`
	EndTime                   *time.Time                 `json:"EndTime,omitempty"`
	Tags                      map[string]string          `json:"Tags,omitempty"`
	UpfrontFee                string                     `json:"-"`
	CurrencyCode              string                     `json:"CurrencyCode,omitempty"`
	StatusMessage             string                     `json:"StatusMessage,omitempty"`
	TrainingPlanName          string                     `json:"TrainingPlanName"`
	TrainingPlanArn           string                     `json:"TrainingPlanArn"`
	Status                    string                     `json:"Status"`
	Extensions                []*TrainingPlanExtension   `json:"-"`
	ReservedCapacitySummaries []*ReservedCapacitySummary `json:"ReservedCapacitySummaries,omitempty"`
	TargetResources           []string                   `json:"-"`
	DurationHours             int64                      `json:"DurationHours,omitempty"`
	DurationMinutes           int64                      `json:"DurationMinutes,omitempty"`
	TotalInstanceCount        int32                      `json:"-"`
	AvailableInstanceCount    int32                      `json:"AvailableInstanceCount,omitempty"`
	InUseInstanceCount        int32                      `json:"InUseInstanceCount,omitempty"`
}

TrainingPlan represents a SageMaker training plan.

type TrainingPlanExtension

type TrainingPlanExtension struct {
	ExtendedAt                      time.Time `json:"ExtendedAt"`
	StartDate                       time.Time `json:"StartDate"`
	EndDate                         time.Time `json:"EndDate"`
	TrainingPlanExtensionOfferingID string    `json:"TrainingPlanExtensionOfferingId"`
	CurrencyCode                    string    `json:"CurrencyCode,omitempty"`
	PaymentStatus                   string    `json:"PaymentStatus,omitempty"`
	DurationHours                   int32     `json:"DurationHours"`
}

TrainingPlanExtension records one purchased extension of a training plan's duration, mirroring types.TrainingPlanExtension.

type TrainingPlanExtensionOffering

type TrainingPlanExtensionOffering struct {
	StartDate                       time.Time `json:"StartDate"`
	EndDate                         time.Time `json:"EndDate"`
	TrainingPlanExtensionOfferingID string    `json:"TrainingPlanExtensionOfferingId"`
	CurrencyCode                    string    `json:"CurrencyCode,omitempty"`
	AvailabilityZone                string    `json:"AvailabilityZone,omitempty"`
	DurationHours                   int32     `json:"DurationHours"`
}

TrainingPlanExtensionOffering is a purchasable extension for an existing training plan, returned by SearchTrainingPlanOfferings when TrainingPlanArn is specified.

type TrainingPlanOffering

type TrainingPlanOffering struct {
	TrainingPlanOfferingID    string
	CurrencyCode              string
	UpfrontFee                string
	TargetResources           []string
	ReservedCapacityOfferings []ReservedCapacityOffering
	DurationHours             int64
	DurationMinutes           int64
}

TrainingPlanOffering is a catalog entry returned by SearchTrainingPlanOfferings.

type TransformDataSource

type TransformDataSource struct {
	S3DataSource TransformS3DataSource `json:"S3DataSource"`
}

TransformDataSource specifies the S3 input location for a transform job.

type TransformInput

type TransformInput struct {
	DataSource      TransformDataSource `json:"DataSource"`
	ContentType     string              `json:"ContentType,omitempty"`
	CompressionType string              `json:"CompressionType,omitempty"`
	SplitType       string              `json:"SplitType,omitempty"`
}

TransformInput specifies the input data location and format for a transform job.

type TransformJob

type TransformJob struct {
	CreationTime            time.Time          `json:"CreationTime"`
	LastModifiedTime        time.Time          `json:"LastModifiedTime"`
	TransformStartTime      *time.Time         `json:"TransformStartTime,omitempty"`
	TransformEndTime        *time.Time         `json:"TransformEndTime,omitempty"`
	Tags                    map[string]string  `json:"Tags,omitempty"`
	Environment             map[string]string  `json:"Environment,omitempty"`
	TransformInput          TransformInput     `json:"TransformInput"`
	TransformOutput         TransformOutput    `json:"TransformOutput"`
	ModelName               string             `json:"ModelName,omitempty"`
	TransformJobName        string             `json:"TransformJobName"`
	TransformJobArn         string             `json:"TransformJobArn"`
	TransformJobStatus      string             `json:"TransformJobStatus"`
	RoleArn                 string             `json:"RoleArn,omitempty"`
	BatchStrategy           string             `json:"BatchStrategy,omitempty"`
	FailureReason           string             `json:"FailureReason,omitempty"`
	TransformResources      TransformResources `json:"TransformResources"`
	MaxConcurrentTransforms int32              `json:"MaxConcurrentTransforms,omitempty"`
	MaxPayloadInMB          int32              `json:"MaxPayloadInMB,omitempty"`
}

TransformJob represents a SageMaker batch transform job.

type TransformJobOptions

type TransformJobOptions struct {
	Tags                    map[string]string
	Environment             map[string]string
	TransformInput          TransformInput
	TransformOutput         TransformOutput
	TransformJobName        string
	ModelName               string
	RoleArn                 string
	BatchStrategy           string
	TransformResources      TransformResources
	MaxConcurrentTransforms int32
	MaxPayloadInMB          int32
}

TransformJobOptions holds all input fields for CreateTransformJob.

type TransformOutput

type TransformOutput struct {
	S3OutputPath string `json:"S3OutputPath"`
	Accept       string `json:"Accept,omitempty"`
	KmsKeyID     string `json:"KmsKeyId,omitempty"`
	AssembleWith string `json:"AssembleWith,omitempty"`
}

TransformOutput specifies where to store transform results.

type TransformResources

type TransformResources struct {
	InstanceType   string `json:"InstanceType"`
	VolumeKmsKeyID string `json:"VolumeKmsKeyId,omitempty"`
	InstanceCount  int32  `json:"InstanceCount"`
}

TransformResources specifies compute resources for a transform job.

type TransformS3DataSource

type TransformS3DataSource struct {
	S3Uri             string `json:"S3Uri"`
	S3DataType        string `json:"S3DataType,omitempty"`
	S3CompressionType string `json:"S3CompressionType,omitempty"`
}

TransformS3DataSource is the S3-specific input for a batch transform job.

type Trial

type Trial struct {
	CreationTime     time.Time         `json:"CreationTime"`
	LastModifiedTime time.Time         `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	TrialName        string            `json:"TrialName"`
	TrialArn         string            `json:"TrialArn"`
	ExperimentName   string            `json:"ExperimentName"`
	DisplayName      string            `json:"DisplayName,omitempty"`
}

Trial represents a SageMaker Trial.

type TrialComponent

type TrialComponent struct {
	CreationTime       time.Time                         `json:"CreationTime"`
	LastModifiedTime   time.Time                         `json:"LastModifiedTime"`
	StartTime          *time.Time                        `json:"StartTime,omitempty"`
	EndTime            *time.Time                        `json:"EndTime,omitempty"`
	Tags               map[string]string                 `json:"Tags,omitempty"`
	Parameters         map[string]TrialComponentValue    `json:"Parameters,omitempty"`
	InputArtifacts     map[string]TrialComponentArtifact `json:"InputArtifacts,omitempty"`
	OutputArtifacts    map[string]TrialComponentArtifact `json:"OutputArtifacts,omitempty"`
	TrialComponentName string                            `json:"TrialComponentName"`
	TrialComponentArn  string                            `json:"TrialComponentArn"`
	DisplayName        string                            `json:"DisplayName,omitempty"`
	Status             string                            `json:"Status,omitempty"`
}

TrialComponent represents a SageMaker Trial Component.

type TrialComponentArtifact

type TrialComponentArtifact struct {
	Value     string `json:"Value"`
	MediaType string `json:"MediaType,omitempty"`
}

TrialComponentArtifact is a URI/media-type artifact reference.

type TrialComponentAssociation

type TrialComponentAssociation struct {
	CreationTime       time.Time `json:"CreationTime"`
	TrialName          string    `json:"TrialName"`
	TrialComponentName string    `json:"TrialComponentName"`
	TrialArn           string    `json:"TrialArn"`
	TrialComponentArn  string    `json:"TrialComponentArn"`
}

TrialComponentAssociation tracks which trial components are associated with a trial.

type TrialComponentValue

type TrialComponentValue struct {
	NumberValue *float64 `json:"NumberValue,omitempty"`
	StringValue string   `json:"StringValue,omitempty"`
}

TrialComponentValue is a number or string parameter value.

type UIConfigInfo

type UIConfigInfo struct {
	UITemplateS3Uri string `json:"UiTemplateS3Uri,omitempty"`
	HumanTaskUIArn  string `json:"HumanTaskUiArn,omitempty"`
}

UIConfigInfo describes the worker UI used to render labeling tasks.

type UltraServer

type UltraServer struct {
	AvailabilityZone             string `json:"AvailabilityZone"`
	InstanceType                 string `json:"InstanceType"`
	UltraServerID                string `json:"UltraServerId"`
	UltraServerType              string `json:"UltraServerType"`
	HealthStatus                 string `json:"HealthStatus,omitempty"`
	TotalInstanceCount           int32  `json:"TotalInstanceCount"`
	AvailableInstanceCount       int32  `json:"AvailableInstanceCount,omitempty"`
	AvailableSpareInstanceCount  int32  `json:"AvailableSpareInstanceCount,omitempty"`
	ConfiguredSpareInstanceCount int32  `json:"ConfiguredSpareInstanceCount,omitempty"`
	InUseInstanceCount           int32  `json:"InUseInstanceCount,omitempty"`
}

UltraServer represents a single UltraServer node group within a Reserved Capacity, mirroring types.UltraServer.

type UpdateDeviceInput

type UpdateDeviceInput struct {
	DeviceName   string
	Description  string
	IotThingName string
}

UpdateDeviceInput is a single device update entry for UpdateDevices.

type UpdateHubContentOptions

type UpdateHubContentOptions struct {
	HubContentDescription    string
	HubContentDisplayName    string
	HubContentMarkdown       string
	SupportStatus            string
	HubContentSearchKeywords []string
}

UpdateHubContentOptions bundles the mutable fields accepted by UpdateHubContent.

type UpdateHubOptions

type UpdateHubOptions struct {
	HubDescription    *string
	HubDisplayName    *string
	HubSearchKeywords []string
	HasSearchKeywords bool
}

UpdateHubOptions carries the optional fields accepted by UpdateHub. Nil pointers / HasSearchKeywords == false mean "field not present in request".

type UpdateImageOptions

type UpdateImageOptions struct {
	Description      *string
	DisplayName      *string
	RoleArn          *string
	DeleteProperties []string
}

UpdateImageOptions bundles the mutable fields accepted by UpdateImage. Nil pointer fields are left unchanged.

type UpdateImageVersionOptions

type UpdateImageVersionOptions struct {
	Horovod         *bool
	JobType         string
	MLFramework     string
	Processor       string
	ProgrammingLang string
	ReleaseNotes    string
	VendorGuidance  string
	AliasesToAdd    []string
	AliasesToDelete []string
}

UpdateImageVersionOptions bundles the mutable fields accepted by UpdateImageVersion. Nil/empty fields are left unchanged.

type UpdateMlflowAppOptions

type UpdateMlflowAppOptions struct {
	Arn                   string
	ArtifactStoreURI      string
	AccountDefaultStatus  string
	ModelRegistrationMode string
	DefaultDomainIDList   []string
}

UpdateMlflowAppOptions holds the mutable fields accepted by UpdateMlflowApp.

type UpdatePartnerAppOptions

type UpdatePartnerAppOptions struct {
	Arn               string
	Tier              string
	ApplicationConfig json.RawMessage
}

UpdatePartnerAppOptions holds the mutable fields accepted by UpdatePartnerApp.

type UpdateTrialComponentOptions

type UpdateTrialComponentOptions struct {
	Parameters      map[string]TrialComponentValue    `json:"Parameters,omitempty"`
	InputArtifacts  map[string]TrialComponentArtifact `json:"InputArtifacts,omitempty"`
	OutputArtifacts map[string]TrialComponentArtifact `json:"OutputArtifacts,omitempty"`
	DisplayName     string                            `json:"DisplayName,omitempty"`
	Status          string                            `json:"Status,omitempty"`
}

UpdateTrialComponentOptions holds optional fields for UpdateTrialComponent.

type UpdateWorkforceOptions

type UpdateWorkforceOptions struct {
	OidcConfig         *OidcConfig
	SourceIPConfig     *SourceIPConfig
	WorkforceVpcConfig *WorkforceVpcConfig
	Name               string
}

UpdateWorkforceOptions holds the parameters for updating a workforce.

type UpdateWorkteamOptions

type UpdateWorkteamOptions struct {
	Name              string
	Description       string
	MemberDefinitions []MemberDefinition
}

UpdateWorkteamOptions holds the parameters for updating a workteam.

type UserProfile

type UserProfile struct {
	CreationTime     time.Time         `json:"CreationTime"`
	LastModifiedTime time.Time         `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	DomainID         string            `json:"DomainId"`
	UserProfileName  string            `json:"UserProfileName"`
	UserProfileArn   string            `json:"UserProfileArn"`
	Status           string            `json:"Status"`
}

UserProfile represents a SageMaker Studio user profile.

type Vertex

type Vertex struct {
	Arn         string `json:"Arn"`
	Type        string `json:"Type,omitempty"`
	LineageType string `json:"LineageType,omitempty"`
}

Vertex represents a lineage entity reached by a QueryLineage traversal.

type VpcConfig

type VpcConfig struct {
	SecurityGroupIDs []string `json:"SecurityGroupIds,omitempty"`
	Subnets          []string `json:"Subnets,omitempty"`
}

VpcConfig specifies the VPC subnets and security groups.

type Workforce

type Workforce struct {
	CreateDate         time.Time           `json:"CreateDate"`
	LastUpdatedDate    time.Time           `json:"LastUpdatedDate"`
	Tags               map[string]string   `json:"-"`
	CognitoConfig      *CognitoConfig      `json:"CognitoConfig,omitempty"`
	OidcConfig         *OidcConfig         `json:"OidcConfig,omitempty"`
	SourceIPConfig     *SourceIPConfig     `json:"SourceIpConfig,omitempty"`
	WorkforceVpcConfig *WorkforceVpcConfig `json:"WorkforceVpcConfig,omitempty"`
	WorkforceName      string              `json:"WorkforceName"`
	WorkforceArn       string              `json:"WorkforceArn"`
	Status             string              `json:"Status"`
	SubDomain          string              `json:"SubDomain,omitempty"`
}

Workforce represents a SageMaker workforce.

type WorkforceVpcConfig

type WorkforceVpcConfig struct {
	VpcID            string   `json:"VpcId"`
	VpcEndpointID    string   `json:"VpcEndpointId,omitempty"`
	SecurityGroupIDs []string `json:"SecurityGroupIds,omitempty"`
	Subnets          []string `json:"Subnets,omitempty"`
}

WorkforceVpcConfig describes the VPC a workforce connects through.

type Workteam

type Workteam struct {
	CreateDate        time.Time          `json:"CreateDate"`
	LastUpdatedDate   time.Time          `json:"LastUpdatedDate"`
	Tags              map[string]string  `json:"-"`
	WorkteamName      string             `json:"WorkteamName"`
	WorkteamArn       string             `json:"WorkteamArn"`
	WorkforceArn      string             `json:"WorkforceArn,omitempty"`
	Description       string             `json:"Description,omitempty"`
	SubDomain         string             `json:"SubDomain,omitempty"`
	MemberDefinitions []MemberDefinition `json:"MemberDefinitions,omitempty"`
}

Workteam represents a SageMaker Ground Truth workteam.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL