SageMaker module#
Index > SageMaker
Auto-generated documentation for SageMaker type annotations stubs module mypy-boto3-sagemaker.
How to install#
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and SageMaker
.
From PyPI with pip#
Install boto3-stubs
for SageMaker
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[sagemaker]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[sagemaker]'
# standalone installation
python -m pip install mypy-boto3-sagemaker
How to uninstall#
python -m pip uninstall -y mypy-boto3-sagemaker
Usage#
Code samples can be found in Examples.
SageMakerClient#
Type annotations and code completion for boto3.client("sagemaker")
as SageMakerClient
boto3 documentation
# SageMakerClient usage example
from boto3.session import Session
from mypy_boto3_sagemaker.client import SageMakerClient
def get_client() -> SageMakerClient:
return Session().client("sagemaker")
Paginators#
Type annotations and code completion for paginators
from boto3.client("sagemaker").get_paginator("...")
.
# ListActionsPaginator usage example
from boto3.session import Session
from mypy_boto3_sagemaker.paginator import ListActionsPaginator
def get_list_actions_paginator() -> ListActionsPaginator:
return Session().client("sagemaker").get_paginator("list_actions"))
- ListActionsPaginator
- ListAlgorithmsPaginator
- ListAliasesPaginator
- ListAppImageConfigsPaginator
- ListAppsPaginator
- ListArtifactsPaginator
- ListAssociationsPaginator
- ListAutoMLJobsPaginator
- ListCandidatesForAutoMLJobPaginator
- ListClusterNodesPaginator
- ListClustersPaginator
- ListCodeRepositoriesPaginator
- ListCompilationJobsPaginator
- ListContextsPaginator
- ListDataQualityJobDefinitionsPaginator
- ListDeviceFleetsPaginator
- ListDevicesPaginator
- ListDomainsPaginator
- ListEdgeDeploymentPlansPaginator
- ListEdgePackagingJobsPaginator
- ListEndpointConfigsPaginator
- ListEndpointsPaginator
- ListExperimentsPaginator
- ListFeatureGroupsPaginator
- ListFlowDefinitionsPaginator
- ListHumanTaskUisPaginator
- ListHyperParameterTuningJobsPaginator
- ListImageVersionsPaginator
- ListImagesPaginator
- ListInferenceComponentsPaginator
- ListInferenceExperimentsPaginator
- ListInferenceRecommendationsJobStepsPaginator
- ListInferenceRecommendationsJobsPaginator
- ListLabelingJobsPaginator
- ListLabelingJobsForWorkteamPaginator
- ListLineageGroupsPaginator
- ListMlflowTrackingServersPaginator
- ListModelBiasJobDefinitionsPaginator
- ListModelCardExportJobsPaginator
- ListModelCardVersionsPaginator
- ListModelCardsPaginator
- ListModelExplainabilityJobDefinitionsPaginator
- ListModelMetadataPaginator
- ListModelPackageGroupsPaginator
- ListModelPackagesPaginator
- ListModelQualityJobDefinitionsPaginator
- ListModelsPaginator
- ListMonitoringAlertHistoryPaginator
- ListMonitoringAlertsPaginator
- ListMonitoringExecutionsPaginator
- ListMonitoringSchedulesPaginator
- ListNotebookInstanceLifecycleConfigsPaginator
- ListNotebookInstancesPaginator
- ListOptimizationJobsPaginator
- ListPipelineExecutionStepsPaginator
- ListPipelineExecutionsPaginator
- ListPipelineParametersForExecutionPaginator
- ListPipelinesPaginator
- ListProcessingJobsPaginator
- ListResourceCatalogsPaginator
- ListSpacesPaginator
- ListStageDevicesPaginator
- ListStudioLifecycleConfigsPaginator
- ListSubscribedWorkteamsPaginator
- ListTagsPaginator
- ListTrainingJobsPaginator
- ListTrainingJobsForHyperParameterTuningJobPaginator
- ListTransformJobsPaginator
- ListTrialComponentsPaginator
- ListTrialsPaginator
- ListUserProfilesPaginator
- ListWorkforcesPaginator
- ListWorkteamsPaginator
- SearchPaginator
Waiters#
Type annotations and code completion for waiters
from boto3.client("sagemaker").get_waiter("...")
.
# EndpointDeletedWaiter usage example
from boto3.session import Session
from mypy_boto3_sagemaker.waiter import EndpointDeletedWaiter
def get_endpoint_deleted_waiter() -> EndpointDeletedWaiter:
return Session().client("sagemaker").get_waiter("endpoint_deleted")
- EndpointDeletedWaiter
- EndpointInServiceWaiter
- ImageCreatedWaiter
- ImageDeletedWaiter
- ImageUpdatedWaiter
- ImageVersionCreatedWaiter
- ImageVersionDeletedWaiter
- NotebookInstanceDeletedWaiter
- NotebookInstanceInServiceWaiter
- NotebookInstanceStoppedWaiter
- ProcessingJobCompletedOrStoppedWaiter
- TrainingJobCompletedOrStoppedWaiter
- TransformJobCompletedOrStoppedWaiter
Literals#
Type annotations for literals used in methods and schema.
# ActionStatusType usage example
from mypy_boto3_sagemaker.literals import ActionStatusType
def get_value() -> ActionStatusType:
return "Completed"
- ActionStatusType
- AdditionalS3DataSourceDataTypeType
- AggregationTransformationValueType
- AlgorithmSortByType
- AlgorithmStatusType
- AppImageConfigSortKeyType
- AppInstanceTypeType
- AppNetworkAccessTypeType
- AppSecurityGroupManagementType
- AppSortKeyType
- AppStatusType
- AppTypeType
- ArtifactSourceIdTypeType
- AssemblyTypeType
- AssociationEdgeTypeType
- AsyncNotificationTopicTypesType
- AthenaResultCompressionTypeType
- AthenaResultFormatType
- AuthModeType
- AutoMLAlgorithmType
- AutoMLChannelTypeType
- AutoMLJobObjectiveTypeType
- AutoMLJobSecondaryStatusType
- AutoMLJobStatusType
- AutoMLMetricEnumType
- AutoMLMetricExtendedEnumType
- AutoMLModeType
- AutoMLProblemTypeConfigNameType
- AutoMLProcessingUnitType
- AutoMLS3DataTypeType
- AutoMLSortByType
- AutoMLSortOrderType
- AutoMountHomeEFSType
- AutotuneModeType
- AwsManagedHumanLoopRequestSourceType
- BatchStrategyType
- BooleanOperatorType
- CandidateSortByType
- CandidateStatusType
- CandidateStepTypeType
- CapacitySizeTypeType
- CaptureModeType
- CaptureStatusType
- ClarifyFeatureTypeType
- ClarifyTextGranularityType
- ClarifyTextLanguageType
- ClusterInstanceStatusType
- ClusterInstanceTypeType
- ClusterNodeRecoveryType
- ClusterSortByType
- ClusterStatusType
- CodeRepositorySortByType
- CodeRepositorySortOrderType
- CollectionTypeType
- CompilationJobStatusType
- CompleteOnConvergenceType
- CompressionTypeType
- ConditionOutcomeType
- ContainerModeType
- ContentClassifierType
- CrossAccountFilterOptionType
- DataDistributionTypeType
- DataSourceNameType
- DeepHealthCheckTypeType
- DetailedAlgorithmStatusType
- DetailedModelPackageStatusType
- DeviceDeploymentStatusType
- DeviceSubsetTypeType
- DirectInternetAccessType
- DirectionType
- DomainStatusType
- EdgePackagingJobStatusType
- EdgePresetDeploymentStatusType
- EdgePresetDeploymentTypeType
- EnabledOrDisabledType
- EndpointConfigSortKeyType
- EndpointDeletedWaiterName
- EndpointInServiceWaiterName
- EndpointSortKeyType
- EndpointStatusType
- ExecutionRoleIdentityConfigType
- ExecutionStatusType
- FailureHandlingPolicyType
- FeatureGroupSortByType
- FeatureGroupSortOrderType
- FeatureGroupStatusType
- FeatureStatusType
- FeatureTypeType
- FileSystemAccessModeType
- FileSystemTypeType
- FillingTypeType
- FlatInvocationsType
- FlowDefinitionStatusType
- FrameworkType
- HubContentSortByType
- HubContentStatusType
- HubContentSupportStatusType
- HubContentTypeType
- HubSortByType
- HubStatusType
- HumanTaskUiStatusType
- HyperParameterScalingTypeType
- HyperParameterTuningAllocationStrategyType
- HyperParameterTuningJobObjectiveTypeType
- HyperParameterTuningJobSortByOptionsType
- HyperParameterTuningJobStatusType
- HyperParameterTuningJobStrategyTypeType
- HyperParameterTuningJobWarmStartTypeType
- ImageCreatedWaiterName
- ImageDeletedWaiterName
- ImageSortByType
- ImageSortOrderType
- ImageStatusType
- ImageUpdatedWaiterName
- ImageVersionCreatedWaiterName
- ImageVersionDeletedWaiterName
- ImageVersionSortByType
- ImageVersionSortOrderType
- ImageVersionStatusType
- InferenceComponentSortKeyType
- InferenceComponentStatusType
- InferenceExecutionModeType
- InferenceExperimentStatusType
- InferenceExperimentStopDesiredStateType
- InferenceExperimentTypeType
- InputModeType
- InstanceTypeType
- IsTrackingServerActiveType
- JobTypeType
- JoinSourceType
- LabelingJobStatusType
- LastUpdateStatusValueType
- LifecycleManagementType
- LineageTypeType
- ListActionsPaginatorName
- ListAlgorithmsPaginatorName
- ListAliasesPaginatorName
- ListAppImageConfigsPaginatorName
- ListAppsPaginatorName
- ListArtifactsPaginatorName
- ListAssociationsPaginatorName
- ListAutoMLJobsPaginatorName
- ListCandidatesForAutoMLJobPaginatorName
- ListClusterNodesPaginatorName
- ListClustersPaginatorName
- ListCodeRepositoriesPaginatorName
- ListCompilationJobsPaginatorName
- ListCompilationJobsSortByType
- ListContextsPaginatorName
- ListDataQualityJobDefinitionsPaginatorName
- ListDeviceFleetsPaginatorName
- ListDeviceFleetsSortByType
- ListDevicesPaginatorName
- ListDomainsPaginatorName
- ListEdgeDeploymentPlansPaginatorName
- ListEdgeDeploymentPlansSortByType
- ListEdgePackagingJobsPaginatorName
- ListEdgePackagingJobsSortByType
- ListEndpointConfigsPaginatorName
- ListEndpointsPaginatorName
- ListExperimentsPaginatorName
- ListFeatureGroupsPaginatorName
- ListFlowDefinitionsPaginatorName
- ListHumanTaskUisPaginatorName
- ListHyperParameterTuningJobsPaginatorName
- ListImageVersionsPaginatorName
- ListImagesPaginatorName
- ListInferenceComponentsPaginatorName
- ListInferenceExperimentsPaginatorName
- ListInferenceRecommendationsJobStepsPaginatorName
- ListInferenceRecommendationsJobsPaginatorName
- ListInferenceRecommendationsJobsSortByType
- ListLabelingJobsForWorkteamPaginatorName
- ListLabelingJobsForWorkteamSortByOptionsType
- ListLabelingJobsPaginatorName
- ListLineageGroupsPaginatorName
- ListMlflowTrackingServersPaginatorName
- ListModelBiasJobDefinitionsPaginatorName
- ListModelCardExportJobsPaginatorName
- ListModelCardVersionsPaginatorName
- ListModelCardsPaginatorName
- ListModelExplainabilityJobDefinitionsPaginatorName
- ListModelMetadataPaginatorName
- ListModelPackageGroupsPaginatorName
- ListModelPackagesPaginatorName
- ListModelQualityJobDefinitionsPaginatorName
- ListModelsPaginatorName
- ListMonitoringAlertHistoryPaginatorName
- ListMonitoringAlertsPaginatorName
- ListMonitoringExecutionsPaginatorName
- ListMonitoringSchedulesPaginatorName
- ListNotebookInstanceLifecycleConfigsPaginatorName
- ListNotebookInstancesPaginatorName
- ListOptimizationJobsPaginatorName
- ListOptimizationJobsSortByType
- ListPipelineExecutionStepsPaginatorName
- ListPipelineExecutionsPaginatorName
- ListPipelineParametersForExecutionPaginatorName
- ListPipelinesPaginatorName
- ListProcessingJobsPaginatorName
- ListResourceCatalogsPaginatorName
- ListSpacesPaginatorName
- ListStageDevicesPaginatorName
- ListStudioLifecycleConfigsPaginatorName
- ListSubscribedWorkteamsPaginatorName
- ListTagsPaginatorName
- ListTrainingJobsForHyperParameterTuningJobPaginatorName
- ListTrainingJobsPaginatorName
- ListTransformJobsPaginatorName
- ListTrialComponentsPaginatorName
- ListTrialsPaginatorName
- ListUserProfilesPaginatorName
- ListWorkforcesPaginatorName
- ListWorkforcesSortByOptionsType
- ListWorkteamsPaginatorName
- ListWorkteamsSortByOptionsType
- ManagedInstanceScalingStatusType
- MetricSetSourceType
- MlToolsType
- ModelApprovalStatusType
- ModelCacheSettingType
- ModelCardExportJobSortByType
- ModelCardExportJobSortOrderType
- ModelCardExportJobStatusType
- ModelCardProcessingStatusType
- ModelCardSortByType
- ModelCardSortOrderType
- ModelCardStatusType
- ModelCardVersionSortByType
- ModelCompressionTypeType
- ModelInfrastructureTypeType
- ModelMetadataFilterTypeType
- ModelPackageGroupSortByType
- ModelPackageGroupStatusType
- ModelPackageSortByType
- ModelPackageStatusType
- ModelPackageTypeType
- ModelSortKeyType
- ModelVariantActionType
- ModelVariantStatusType
- MonitoringAlertHistorySortKeyType
- MonitoringAlertStatusType
- MonitoringExecutionSortKeyType
- MonitoringJobDefinitionSortKeyType
- MonitoringProblemTypeType
- MonitoringScheduleSortKeyType
- MonitoringTypeType
- NotebookInstanceAcceleratorTypeType
- NotebookInstanceDeletedWaiterName
- NotebookInstanceInServiceWaiterName
- NotebookInstanceLifecycleConfigSortKeyType
- NotebookInstanceLifecycleConfigSortOrderType
- NotebookInstanceSortKeyType
- NotebookInstanceSortOrderType
- NotebookInstanceStatusType
- NotebookInstanceStoppedWaiterName
- NotebookOutputOptionType
- ObjectiveStatusType
- OfflineStoreStatusValueType
- OperatorType
- OptimizationJobDeploymentInstanceTypeType
- OptimizationJobStatusType
- OrderKeyType
- OutputCompressionTypeType
- ParameterTypeType
- PipelineExecutionStatusType
- PipelineStatusType
- ProblemTypeType
- ProcessingInstanceTypeType
- ProcessingJobCompletedOrStoppedWaiterName
- ProcessingJobStatusType
- ProcessingS3CompressionTypeType
- ProcessingS3DataDistributionTypeType
- ProcessingS3DataTypeType
- ProcessingS3InputModeType
- ProcessingS3UploadModeType
- ProcessorType
- ProductionVariantAcceleratorTypeType
- ProductionVariantInferenceAmiVersionType
- ProductionVariantInstanceTypeType
- ProfilingStatusType
- ProjectSortByType
- ProjectSortOrderType
- ProjectStatusType
- RStudioServerProAccessStatusType
- RStudioServerProUserGroupType
- RecommendationJobStatusType
- RecommendationJobSupportedEndpointTypeType
- RecommendationJobTypeType
- RecommendationStatusType
- RecommendationStepTypeType
- RecordWrapperType
- RedshiftResultCompressionTypeType
- RedshiftResultFormatType
- RepositoryAccessModeType
- ResourceCatalogSortByType
- ResourceCatalogSortOrderType
- ResourceTypeType
- RetentionTypeType
- RootAccessType
- RoutingStrategyType
- RuleEvaluationStatusType
- S3DataDistributionType
- S3DataTypeType
- S3ModelDataTypeType
- SagemakerServicecatalogStatusType
- ScheduleStatusType
- SearchPaginatorName
- SearchSortOrderType
- SecondaryStatusType
- SharingTypeType
- SkipModelValidationType
- SortActionsByType
- SortArtifactsByType
- SortAssociationsByType
- SortByType
- SortContextsByType
- SortExperimentsByType
- SortInferenceExperimentsByType
- SortLineageGroupsByType
- SortOrderType
- SortPipelineExecutionsByType
- SortPipelinesByType
- SortTrackingServerByType
- SortTrialComponentsByType
- SortTrialsByType
- SpaceSortKeyType
- SpaceStatusType
- SplitTypeType
- StageStatusType
- StatisticType
- StepStatusType
- StorageTypeType
- StudioLifecycleConfigAppTypeType
- StudioLifecycleConfigSortKeyType
- StudioWebPortalType
- TableFormatType
- TargetDeviceType
- TargetPlatformAcceleratorType
- TargetPlatformArchType
- TargetPlatformOsType
- ThroughputModeType
- TrackingServerSizeType
- TrackingServerStatusType
- TrafficRoutingConfigTypeType
- TrafficTypeType
- TrainingInputModeType
- TrainingInstanceTypeType
- TrainingJobCompletedOrStoppedWaiterName
- TrainingJobEarlyStoppingTypeType
- TrainingJobSortByOptionsType
- TrainingJobStatusType
- TrainingRepositoryAccessModeType
- TransformInstanceTypeType
- TransformJobCompletedOrStoppedWaiterName
- TransformJobStatusType
- TrialComponentPrimaryStatusType
- TtlDurationUnitType
- UserProfileSortKeyType
- UserProfileStatusType
- VariantPropertyTypeType
- VariantStatusType
- VendorGuidanceType
- WarmPoolResourceStatusType
- WorkforceStatusType
- SageMakerServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- WaiterName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- ActionSourceTypeDef
- AddAssociationRequestRequestTypeDef
- ResponseMetadataTypeDef
- TagTypeDef
- AdditionalS3DataSourceTypeDef
- AgentVersionTypeDef
- AlarmTypeDef
- MetricDefinitionTypeDef
- AlgorithmStatusItemTypeDef
- AlgorithmSummaryTypeDef
- AmazonQSettingsTypeDef
- AnnotationConsolidationConfigTypeDef
- ResourceSpecTypeDef
- IdleSettingsTypeDef
- AppSpecificationExtraOutputTypeDef
- AppSpecificationOutputTypeDef
- AppSpecificationTypeDef
- ArtifactSourceTypeTypeDef
- AssociateTrialComponentRequestRequestTypeDef
- AsyncInferenceClientConfigTypeDef
- AsyncInferenceNotificationConfigOutputTypeDef
- AsyncInferenceNotificationConfigTypeDef
- AthenaDatasetDefinitionTypeDef
- AutoMLAlgorithmConfigOutputTypeDef
- AutoMLAlgorithmConfigTypeDef
- AutoMLCandidateStepTypeDef
- AutoMLContainerDefinitionTypeDef
- FinalAutoMLJobObjectiveMetricTypeDef
- EmrServerlessComputeConfigTypeDef
- AutoMLS3DataSourceTypeDef
- AutoMLDataSplitConfigTypeDef
- AutoMLJobArtifactsTypeDef
- AutoMLJobCompletionCriteriaTypeDef
- AutoMLJobObjectiveTypeDef
- AutoMLJobStepMetadataTypeDef
- AutoMLPartialFailureReasonTypeDef
- AutoMLOutputDataConfigTypeDef
- TabularResolvedAttributesTypeDef
- TextGenerationResolvedAttributesTypeDef
- VpcConfigOutputTypeDef
- VpcConfigTypeDef
- AutoParameterTypeDef
- AutotuneTypeDef
- BatchDataCaptureConfigTypeDef
- BatchDescribeModelPackageErrorTypeDef
- BatchDescribeModelPackageInputRequestTypeDef
- BestObjectiveNotImprovingTypeDef
- MetricsSourceTypeDef
- CacheHitResultTypeDef
- OutputParameterTypeDef
- CandidateArtifactLocationsTypeDef
- MetricDatumTypeDef
- DirectDeploySettingsTypeDef
- EmrServerlessSettingsTypeDef
- GenerativeAiSettingsTypeDef
- IdentityProviderOAuthSettingTypeDef
- KendraSettingsTypeDef
- ModelRegisterSettingsTypeDef
- TimeSeriesForecastingSettingsTypeDef
- WorkspaceSettingsTypeDef
- CapacitySizeTypeDef
- CaptureContentTypeHeaderOutputTypeDef
- CaptureContentTypeHeaderTypeDef
- CaptureOptionTypeDef
- CategoricalParameterOutputTypeDef
- CategoricalParameterRangeExtraOutputTypeDef
- CategoricalParameterRangeOutputTypeDef
- CategoricalParameterRangeSpecificationOutputTypeDef
- CategoricalParameterRangeSpecificationTypeDef