@aws-sdk/client-sagemaker 3.696.0 → 3.706.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +160 -0
- package/dist-cjs/index.js +1603 -179
- package/dist-es/SageMaker.js +40 -0
- package/dist-es/commands/CreateClusterSchedulerConfigCommand.js +22 -0
- package/dist-es/commands/CreateComputeQuotaCommand.js +22 -0
- package/dist-es/commands/CreatePartnerAppCommand.js +22 -0
- package/dist-es/commands/CreatePartnerAppPresignedUrlCommand.js +22 -0
- package/dist-es/commands/CreateTrainingPlanCommand.js +22 -0
- package/dist-es/commands/DeleteClusterSchedulerConfigCommand.js +22 -0
- package/dist-es/commands/DeleteComputeQuotaCommand.js +22 -0
- package/dist-es/commands/DeletePartnerAppCommand.js +22 -0
- package/dist-es/commands/DescribeClusterSchedulerConfigCommand.js +22 -0
- package/dist-es/commands/DescribeComputeQuotaCommand.js +22 -0
- package/dist-es/commands/DescribePartnerAppCommand.js +22 -0
- package/dist-es/commands/DescribeTrainingPlanCommand.js +22 -0
- package/dist-es/commands/ListClusterSchedulerConfigsCommand.js +22 -0
- package/dist-es/commands/ListComputeQuotasCommand.js +22 -0
- package/dist-es/commands/ListPartnerAppsCommand.js +22 -0
- package/dist-es/commands/ListTrainingPlansCommand.js +22 -0
- package/dist-es/commands/SearchTrainingPlanOfferingsCommand.js +22 -0
- package/dist-es/commands/UpdateClusterSchedulerConfigCommand.js +22 -0
- package/dist-es/commands/UpdateComputeQuotaCommand.js +22 -0
- package/dist-es/commands/UpdateModelCardCommand.js +1 -1
- package/dist-es/commands/UpdateModelPackageCommand.js +1 -1
- package/dist-es/commands/UpdatePartnerAppCommand.js +22 -0
- package/dist-es/commands/index.js +20 -0
- package/dist-es/models/models_0.js +68 -10
- package/dist-es/models/models_1.js +21 -54
- package/dist-es/models/models_2.js +67 -66
- package/dist-es/models/models_3.js +111 -43
- package/dist-es/models/models_4.js +55 -13
- package/dist-es/models/models_5.js +15 -0
- package/dist-es/pagination/ListClusterSchedulerConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListComputeQuotasPaginator.js +4 -0
- package/dist-es/pagination/ListPartnerAppsPaginator.js +4 -0
- package/dist-es/pagination/ListTrainingPlansPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +912 -14
- package/dist-types/SageMaker.d.ts +144 -0
- package/dist-types/SageMakerClient.d.ts +22 -2
- package/dist-types/commands/BatchDescribeModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/CreateActionCommand.d.ts +1 -1
- package/dist-types/commands/CreateAlgorithmCommand.d.ts +5 -4
- package/dist-types/commands/CreateClusterCommand.d.ts +13 -4
- package/dist-types/commands/CreateClusterSchedulerConfigCommand.d.ts +99 -0
- package/dist-types/commands/CreateComputeQuotaCommand.d.ts +108 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +9 -1
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +2 -2
- package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +10 -8
- package/dist-types/commands/CreateInferenceComponentCommand.d.ts +2 -1
- package/dist-types/commands/CreateInferenceRecommendationsJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelPackageCommand.d.ts +2 -2
- package/dist-types/commands/CreateNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CreateNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateOptimizationJobCommand.d.ts +7 -2
- package/dist-types/commands/CreatePartnerAppCommand.d.ts +102 -0
- package/dist-types/commands/CreatePartnerAppPresignedUrlCommand.d.ts +76 -0
- package/dist-types/commands/CreateSpaceCommand.d.ts +3 -0
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +3 -2
- package/dist-types/commands/CreateTrainingPlanCommand.d.ts +148 -0
- package/dist-types/commands/CreateUserProfileCommand.d.ts +5 -1
- package/dist-types/commands/DeleteClusterSchedulerConfigCommand.d.ts +72 -0
- package/dist-types/commands/DeleteComputeQuotaCommand.d.ts +72 -0
- package/dist-types/commands/DeletePartnerAppCommand.d.ts +79 -0
- package/dist-types/commands/DescribeAlgorithmCommand.d.ts +5 -4
- package/dist-types/commands/DescribeClusterCommand.d.ts +15 -4
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +9 -1
- package/dist-types/commands/DescribeClusterSchedulerConfigCommand.d.ts +115 -0
- package/dist-types/commands/DescribeComputeQuotaCommand.d.ts +122 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +9 -1
- package/dist-types/commands/DescribeEndpointCommand.d.ts +2 -2
- package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +2 -2
- package/dist-types/commands/DescribeHumanTaskUiCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHyperParameterTuningJobCommand.d.ts +11 -9
- package/dist-types/commands/DescribeImageCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageVersionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInferenceComponentCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +3 -4
- package/dist-types/commands/DescribeModelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +2 -2
- package/dist-types/commands/DescribeOptimizationJobCommand.d.ts +6 -0
- package/dist-types/commands/DescribePartnerAppCommand.d.ts +99 -0
- package/dist-types/commands/DescribeSpaceCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +3 -2
- package/dist-types/commands/DescribeTrainingPlanCommand.d.ts +102 -0
- package/dist-types/commands/DescribeUserProfileCommand.d.ts +5 -1
- package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterSchedulerConfigsCommand.d.ts +91 -0
- package/dist-types/commands/ListClustersCommand.d.ts +4 -0
- package/dist-types/commands/ListComputeQuotasCommand.d.ts +109 -0
- package/dist-types/commands/ListDeviceFleetsCommand.d.ts +2 -1
- package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
- package/dist-types/commands/ListEdgeDeploymentPlansCommand.d.ts +1 -1
- package/dist-types/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListEndpointConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/ListExperimentsCommand.d.ts +1 -1
- package/dist-types/commands/ListFeatureGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListFlowDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListHubContentVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListHubContentsCommand.d.ts +1 -1
- package/dist-types/commands/ListHubsCommand.d.ts +1 -1
- package/dist-types/commands/ListHumanTaskUisCommand.d.ts +1 -1
- package/dist-types/commands/ListHyperParameterTuningJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListImageVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListImagesCommand.d.ts +1 -1
- package/dist-types/commands/ListInferenceComponentsCommand.d.ts +1 -1
- package/dist-types/commands/ListInferenceExperimentsCommand.d.ts +1 -1
- package/dist-types/commands/ListInferenceRecommendationsJobStepsCommand.d.ts +2 -2
- package/dist-types/commands/ListInferenceRecommendationsJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListLabelingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListLabelingJobsForWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/ListLineageGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListPartnerAppsCommand.d.ts +81 -0
- package/dist-types/commands/ListTrainingJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListTrainingPlansCommand.d.ts +115 -0
- package/dist-types/commands/SearchCommand.d.ts +13 -11
- package/dist-types/commands/SearchTrainingPlanOfferingsCommand.d.ts +120 -0
- package/dist-types/commands/UpdateActionCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateArtifactCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +11 -2
- package/dist-types/commands/UpdateClusterSchedulerConfigCommand.d.ts +94 -0
- package/dist-types/commands/UpdateClusterSoftwareCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCodeRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/UpdateComputeQuotaCommand.d.ts +103 -0
- package/dist-types/commands/UpdateContextCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDeviceFleetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDevicesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainCommand.d.ts +10 -2
- package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateExperimentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFeatureGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
- package/dist-types/commands/UpdateHubCommand.d.ts +1 -1
- package/dist-types/commands/UpdateImageCommand.d.ts +1 -1
- package/dist-types/commands/UpdateImageVersionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInferenceComponentCommand.d.ts +2 -1
- package/dist-types/commands/UpdateInferenceComponentRuntimeConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMlflowTrackingServerCommand.d.ts +1 -1
- package/dist-types/commands/UpdateModelCardCommand.d.ts +1 -1
- package/dist-types/commands/UpdateModelPackageCommand.d.ts +3 -3
- package/dist-types/commands/UpdateMonitoringAlertCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePartnerAppCommand.d.ts +98 -0
- package/dist-types/commands/UpdatePipelineCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProjectCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSpaceCommand.d.ts +4 -1
- package/dist-types/commands/UpdateTrainingJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTrialCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserProfileCommand.d.ts +5 -1
- package/dist-types/commands/index.d.ts +20 -0
- package/dist-types/models/models_0.d.ts +413 -285
- package/dist-types/models/models_1.d.ts +521 -553
- package/dist-types/models/models_2.d.ts +4313 -4644
- package/dist-types/models/models_3.d.ts +5924 -5713
- package/dist-types/models/models_4.d.ts +5364 -4886
- package/dist-types/models/models_5.d.ts +1796 -5
- package/dist-types/pagination/ListClusterSchedulerConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListComputeQuotasPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPartnerAppsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTrainingPlansPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +180 -0
- package/dist-types/ts3.4/SageMaker.d.ts +344 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +120 -0
- package/dist-types/ts3.4/commands/CreateActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateClusterSchedulerConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateComputeQuotaCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateOptimizationJobCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreatePartnerAppCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreatePartnerAppPresignedUrlCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTrainingPlanCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteClusterSchedulerConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteComputeQuotaCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeletePartnerAppCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeClusterSchedulerConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeComputeQuotaCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeHumanTaskUiCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeImageVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInferenceComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInferenceRecommendationsJobCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribePartnerAppCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeTrainingPlanCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListClusterSchedulerConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListComputeQuotasCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDeviceFleetsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEdgeDeploymentPlansCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEndpointConfigsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListExperimentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFeatureGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFlowDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListHubContentVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListHubContentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListHubsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListHumanTaskUisCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListHyperParameterTuningJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListImageVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInferenceComponentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInferenceExperimentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInferenceRecommendationsJobStepsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInferenceRecommendationsJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListLabelingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListLabelingJobsForWorkteamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListLineageGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPartnerAppsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListTrainingPlansCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SearchTrainingPlanOfferingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateActionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateArtifactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateClusterSchedulerConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateClusterSoftwareCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCodeRepositoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateComputeQuotaCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateContextCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDeviceFleetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateExperimentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFeatureGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateHubCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateImageVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInferenceComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInferenceComponentRuntimeConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateMlflowTrackingServerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateModelCardCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateModelPackageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateMonitoringAlertCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePartnerAppCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSpaceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTrainingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTrialCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +20 -0
- package/dist-types/ts3.4/models/models_0.d.ts +127 -76
- package/dist-types/ts3.4/models/models_1.d.ts +145 -160
- package/dist-types/ts3.4/models/models_2.d.ts +292 -324
- package/dist-types/ts3.4/models/models_3.d.ts +483 -425
- package/dist-types/ts3.4/models/models_4.d.ts +551 -397
- package/dist-types/ts3.4/models/models_5.d.ts +461 -3
- package/dist-types/ts3.4/pagination/ListClusterSchedulerConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListComputeQuotasPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPartnerAppsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTrainingPlansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +240 -0
- package/package.json +4 -4
|
@@ -1,6 +1,291 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@smithy/smithy-client";
|
|
2
|
-
import { AdditionalInferenceSpecificationDefinition, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppInstanceType, AppLifecycleManagement, AppNetworkAccessType, AppSecurityGroupManagement, AppType, ArtifactSource, AsyncInferenceConfig, AuthMode, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoMountHomeEFS, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, Channel, CheckpointConfig, ClarifyExplainerConfig, ClusterInstanceGroupSpecification, ClusterNodeRecovery, ClusterOrchestrator, CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, CollectionConfig, CollectionType, ContainerDefinition, ContentClassifier, ContextSource, ContinuousParameterRange,
|
|
2
|
+
import { ActionSource, ActionStatus, ActivationState, AdditionalInferenceSpecificationDefinition, AdditionalS3DataSource, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppInstanceType, AppLifecycleManagement, AppNetworkAccessType, AppSecurityGroupManagement, AppType, ArtifactSource, AsyncInferenceConfig, AuthMode, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoMountHomeEFS, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterInstanceGroupSpecification, ClusterNodeRecovery, ClusterOrchestrator, CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, CollectionConfig, CollectionType, CompleteOnConvergence, ComputeQuotaConfig, ComputeQuotaTarget, ContainerDefinition, ContentClassifier, ContextSource, ContinuousParameterRange, ContinuousParameterRangeSpecification, CustomImage, FeatureStatus, GitConfig, HyperParameterScalingType, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricDefinition, MetricsSource, ModelApprovalStatus, ModelDataSource, OutputDataConfig, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, TrainingInputMode, TrainingInstanceType, TransformJobDefinition, VpcConfig } from "./models_0";
|
|
3
3
|
import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p>A flag to indicating that automatic model tuning (AMT) has detected model convergence,
|
|
6
|
+
* defined as a lack of significant improvement (1% or less) against an objective
|
|
7
|
+
* metric.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface ConvergenceDetected {
|
|
11
|
+
/**
|
|
12
|
+
* <p>A flag to stop a tuning job once AMT has detected that the job has converged.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
CompleteOnConvergence?: CompleteOnConvergence | undefined;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>Metadata properties of the tracking entity, trial, or trial component.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export interface MetadataProperties {
|
|
22
|
+
/**
|
|
23
|
+
* <p>The commit ID.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
CommitId?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The repository.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
Repository?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The entity this entity was generated by.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
GeneratedBy?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* <p>The project ID.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
ProjectId?: string | undefined;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export interface CreateActionRequest {
|
|
47
|
+
/**
|
|
48
|
+
* <p>The name of the action. Must be unique to your account in an Amazon Web Services Region.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
ActionName: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* <p>The source type, ID, and URI.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
Source: ActionSource | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* <p>The action type.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
ActionType: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>The description of the action.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
Description?: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* <p>The status of the action.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
Status?: ActionStatus | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* <p>A list of properties to add to the action.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
Properties?: Record<string, string> | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* <p>Metadata properties of the tracking entity, trial, or trial component.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
MetadataProperties?: MetadataProperties | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* <p>A list of tags to apply to the action.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
Tags?: Tag[] | undefined;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export interface CreateActionResponse {
|
|
92
|
+
/**
|
|
93
|
+
* <p>The Amazon Resource Name (ARN) of the action.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
ActionArn?: string | undefined;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* <p>Defines the possible values for an integer hyperparameter.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export interface IntegerParameterRangeSpecification {
|
|
103
|
+
/**
|
|
104
|
+
* <p>The minimum integer value allowed.</p>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
MinValue: string | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* <p>The maximum integer value allowed.</p>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
MaxValue: string | undefined;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* <p>Defines the possible values for categorical, continuous, and integer hyperparameters
|
|
116
|
+
* to be used by an algorithm.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export interface ParameterRange {
|
|
120
|
+
/**
|
|
121
|
+
* <p>A <code>IntegerParameterRangeSpecification</code> object that defines the possible
|
|
122
|
+
* values for an integer hyperparameter.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
IntegerParameterRangeSpecification?: IntegerParameterRangeSpecification | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* <p>A <code>ContinuousParameterRangeSpecification</code> object that defines the possible
|
|
128
|
+
* values for a continuous hyperparameter.</p>
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
ContinuousParameterRangeSpecification?: ContinuousParameterRangeSpecification | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* <p>A <code>CategoricalParameterRangeSpecification</code> object that defines the possible
|
|
134
|
+
* values for a categorical hyperparameter.</p>
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
CategoricalParameterRangeSpecification?: CategoricalParameterRangeSpecification | undefined;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
* @enum
|
|
142
|
+
*/
|
|
143
|
+
export declare const ParameterType: {
|
|
144
|
+
readonly CATEGORICAL: "Categorical";
|
|
145
|
+
readonly CONTINUOUS: "Continuous";
|
|
146
|
+
readonly FREE_TEXT: "FreeText";
|
|
147
|
+
readonly INTEGER: "Integer";
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
export type ParameterType = (typeof ParameterType)[keyof typeof ParameterType];
|
|
153
|
+
/**
|
|
154
|
+
* <p>Defines a hyperparameter to be used by an algorithm.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export interface HyperParameterSpecification {
|
|
158
|
+
/**
|
|
159
|
+
* <p>The name of this hyperparameter. The name must be unique.</p>
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
Name: string | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* <p>A brief description of the hyperparameter.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
Description?: string | undefined;
|
|
168
|
+
/**
|
|
169
|
+
* <p>The type of this hyperparameter. The valid types are <code>Integer</code>,
|
|
170
|
+
* <code>Continuous</code>, <code>Categorical</code>, and <code>FreeText</code>.</p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
Type: ParameterType | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* <p>The allowed range for this hyperparameter.</p>
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
Range?: ParameterRange | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* <p>Indicates whether this hyperparameter is tunable in a hyperparameter tuning
|
|
181
|
+
* job.</p>
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
IsTunable?: boolean | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* <p>Indicates whether this hyperparameter is required.</p>
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
IsRequired?: boolean | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* <p>The default value for this hyperparameter. If a default value is specified, a
|
|
192
|
+
* hyperparameter cannot be required.</p>
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
DefaultValue?: string | undefined;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* @public
|
|
199
|
+
* @enum
|
|
200
|
+
*/
|
|
201
|
+
export declare const HyperParameterTuningJobObjectiveType: {
|
|
202
|
+
readonly MAXIMIZE: "Maximize";
|
|
203
|
+
readonly MINIMIZE: "Minimize";
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
export type HyperParameterTuningJobObjectiveType = (typeof HyperParameterTuningJobObjectiveType)[keyof typeof HyperParameterTuningJobObjectiveType];
|
|
209
|
+
/**
|
|
210
|
+
* <p>Defines the objective metric for a hyperparameter tuning job. Hyperparameter tuning
|
|
211
|
+
* uses the value of this metric to evaluate the training jobs it launches, and returns the
|
|
212
|
+
* training job that results in either the highest or lowest value for this metric,
|
|
213
|
+
* depending on the value you specify for the <code>Type</code> parameter. If you want to
|
|
214
|
+
* define a custom objective metric, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics-variables.html">Define metrics and environment variables</a>.</p>
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
export interface HyperParameterTuningJobObjective {
|
|
218
|
+
/**
|
|
219
|
+
* <p>Whether to minimize or maximize the objective metric.</p>
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
Type: HyperParameterTuningJobObjectiveType | undefined;
|
|
223
|
+
/**
|
|
224
|
+
* <p>The
|
|
225
|
+
* name of the metric to use for the objective metric.</p>
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
MetricName: string | undefined;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* <p>Defines how the algorithm is used for a training job.</p>
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
export interface TrainingSpecification {
|
|
235
|
+
/**
|
|
236
|
+
* <p>The Amazon ECR registry path of the Docker image that contains the training
|
|
237
|
+
* algorithm.</p>
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
TrainingImage: string | undefined;
|
|
241
|
+
/**
|
|
242
|
+
* <p>An MD5 hash of the training algorithm that identifies the Docker image used for
|
|
243
|
+
* training.</p>
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
TrainingImageDigest?: string | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* <p>A list of the <code>HyperParameterSpecification</code> objects, that define the
|
|
249
|
+
* supported hyperparameters. This is required if the algorithm supports automatic model
|
|
250
|
+
* tuning.></p>
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
SupportedHyperParameters?: HyperParameterSpecification[] | undefined;
|
|
254
|
+
/**
|
|
255
|
+
* <p>A list of the instance types that this algorithm can use for training.</p>
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
SupportedTrainingInstanceTypes: TrainingInstanceType[] | undefined;
|
|
259
|
+
/**
|
|
260
|
+
* <p>Indicates whether the algorithm supports distributed training. If set to false, buyers
|
|
261
|
+
* can't request more than one instance during training.</p>
|
|
262
|
+
* @public
|
|
263
|
+
*/
|
|
264
|
+
SupportsDistributedTraining?: boolean | undefined;
|
|
265
|
+
/**
|
|
266
|
+
* <p>A list of <code>MetricDefinition</code> objects, which are used for parsing metrics
|
|
267
|
+
* generated by the algorithm.</p>
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
MetricDefinitions?: MetricDefinition[] | undefined;
|
|
271
|
+
/**
|
|
272
|
+
* <p>A list of <code>ChannelSpecification</code> objects, which specify the input sources
|
|
273
|
+
* to be used by the algorithm.</p>
|
|
274
|
+
* @public
|
|
275
|
+
*/
|
|
276
|
+
TrainingChannels: ChannelSpecification[] | undefined;
|
|
277
|
+
/**
|
|
278
|
+
* <p>A list of the metrics that the algorithm emits that can be used as the objective
|
|
279
|
+
* metric in a hyperparameter tuning job.</p>
|
|
280
|
+
* @public
|
|
281
|
+
*/
|
|
282
|
+
SupportedTuningJobObjectiveMetrics?: HyperParameterTuningJobObjective[] | undefined;
|
|
283
|
+
/**
|
|
284
|
+
* <p>The additional data source used during the training job.</p>
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
AdditionalS3DataSource?: AdditionalS3DataSource | undefined;
|
|
288
|
+
}
|
|
4
289
|
/**
|
|
5
290
|
* @public
|
|
6
291
|
*/
|
|
@@ -555,6 +840,106 @@ export interface CreateClusterResponse {
|
|
|
555
840
|
*/
|
|
556
841
|
ClusterArn: string | undefined;
|
|
557
842
|
}
|
|
843
|
+
/**
|
|
844
|
+
* @public
|
|
845
|
+
* @enum
|
|
846
|
+
*/
|
|
847
|
+
export declare const FairShare: {
|
|
848
|
+
readonly DISABLED: "Disabled";
|
|
849
|
+
readonly ENABLED: "Enabled";
|
|
850
|
+
};
|
|
851
|
+
/**
|
|
852
|
+
* @public
|
|
853
|
+
*/
|
|
854
|
+
export type FairShare = (typeof FairShare)[keyof typeof FairShare];
|
|
855
|
+
/**
|
|
856
|
+
* <p>Priority class configuration. When included in <code>PriorityClasses</code>, these class
|
|
857
|
+
* configurations define how tasks are queued.</p>
|
|
858
|
+
* @public
|
|
859
|
+
*/
|
|
860
|
+
export interface PriorityClass {
|
|
861
|
+
/**
|
|
862
|
+
* <p>Name of the priority class.</p>
|
|
863
|
+
* @public
|
|
864
|
+
*/
|
|
865
|
+
Name: string | undefined;
|
|
866
|
+
/**
|
|
867
|
+
* <p>Weight of the priority class. The value is within a range from 0 to 100, where 0 is the
|
|
868
|
+
* default.</p>
|
|
869
|
+
* <p>A weight of 0 is the lowest priority and 100 is the highest. Weight 0 is the
|
|
870
|
+
* default.</p>
|
|
871
|
+
* @public
|
|
872
|
+
*/
|
|
873
|
+
Weight: number | undefined;
|
|
874
|
+
}
|
|
875
|
+
/**
|
|
876
|
+
* <p>Cluster policy configuration. This policy is used for task prioritization and fair-share
|
|
877
|
+
* allocation. This helps prioritize critical workloads and distributes idle compute
|
|
878
|
+
* across entities.</p>
|
|
879
|
+
* @public
|
|
880
|
+
*/
|
|
881
|
+
export interface SchedulerConfig {
|
|
882
|
+
/**
|
|
883
|
+
* <p>List of the priority classes, <code>PriorityClass</code>, of the cluster policy. When
|
|
884
|
+
* specified, these class configurations define how tasks are queued.</p>
|
|
885
|
+
* @public
|
|
886
|
+
*/
|
|
887
|
+
PriorityClasses?: PriorityClass[] | undefined;
|
|
888
|
+
/**
|
|
889
|
+
* <p>When enabled, entities borrow idle compute based on their assigned
|
|
890
|
+
* <code>FairShareWeight</code>.</p>
|
|
891
|
+
* <p>When disabled, entities borrow idle compute based on a first-come first-serve
|
|
892
|
+
* basis.</p>
|
|
893
|
+
* <p>Default is <code>Enabled</code>.</p>
|
|
894
|
+
* @public
|
|
895
|
+
*/
|
|
896
|
+
FairShare?: FairShare | undefined;
|
|
897
|
+
}
|
|
898
|
+
/**
|
|
899
|
+
* @public
|
|
900
|
+
*/
|
|
901
|
+
export interface CreateClusterSchedulerConfigRequest {
|
|
902
|
+
/**
|
|
903
|
+
* <p>Name for the cluster policy.</p>
|
|
904
|
+
* @public
|
|
905
|
+
*/
|
|
906
|
+
Name: string | undefined;
|
|
907
|
+
/**
|
|
908
|
+
* <p>ARN of the cluster.</p>
|
|
909
|
+
* @public
|
|
910
|
+
*/
|
|
911
|
+
ClusterArn: string | undefined;
|
|
912
|
+
/**
|
|
913
|
+
* <p>Configuration about the monitoring schedule.</p>
|
|
914
|
+
* @public
|
|
915
|
+
*/
|
|
916
|
+
SchedulerConfig: SchedulerConfig | undefined;
|
|
917
|
+
/**
|
|
918
|
+
* <p>Description of the cluster policy.</p>
|
|
919
|
+
* @public
|
|
920
|
+
*/
|
|
921
|
+
Description?: string | undefined;
|
|
922
|
+
/**
|
|
923
|
+
* <p>Tags of the cluster policy.</p>
|
|
924
|
+
* @public
|
|
925
|
+
*/
|
|
926
|
+
Tags?: Tag[] | undefined;
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* @public
|
|
930
|
+
*/
|
|
931
|
+
export interface CreateClusterSchedulerConfigResponse {
|
|
932
|
+
/**
|
|
933
|
+
* <p>ARN of the cluster policy.</p>
|
|
934
|
+
* @public
|
|
935
|
+
*/
|
|
936
|
+
ClusterSchedulerConfigArn: string | undefined;
|
|
937
|
+
/**
|
|
938
|
+
* <p>ID of the cluster policy.</p>
|
|
939
|
+
* @public
|
|
940
|
+
*/
|
|
941
|
+
ClusterSchedulerConfigId: string | undefined;
|
|
942
|
+
}
|
|
558
943
|
/**
|
|
559
944
|
* @public
|
|
560
945
|
*/
|
|
@@ -1431,37 +1816,95 @@ export interface CreateCompilationJobResponse {
|
|
|
1431
1816
|
/**
|
|
1432
1817
|
* @public
|
|
1433
1818
|
*/
|
|
1434
|
-
export interface
|
|
1819
|
+
export interface CreateComputeQuotaRequest {
|
|
1435
1820
|
/**
|
|
1436
|
-
* <p>
|
|
1821
|
+
* <p>Name to the compute allocation definition.</p>
|
|
1437
1822
|
* @public
|
|
1438
1823
|
*/
|
|
1439
|
-
|
|
1824
|
+
Name: string | undefined;
|
|
1440
1825
|
/**
|
|
1441
|
-
* <p>
|
|
1826
|
+
* <p>Description of the compute allocation definition.</p>
|
|
1442
1827
|
* @public
|
|
1443
1828
|
*/
|
|
1444
|
-
|
|
1829
|
+
Description?: string | undefined;
|
|
1445
1830
|
/**
|
|
1446
|
-
* <p>
|
|
1831
|
+
* <p>ARN of the cluster.</p>
|
|
1447
1832
|
* @public
|
|
1448
1833
|
*/
|
|
1449
|
-
|
|
1834
|
+
ClusterArn: string | undefined;
|
|
1450
1835
|
/**
|
|
1451
|
-
* <p>
|
|
1836
|
+
* <p>Configuration of the compute allocation definition. This includes the resource sharing
|
|
1837
|
+
* option, and the setting to preempt low priority tasks.</p>
|
|
1452
1838
|
* @public
|
|
1453
1839
|
*/
|
|
1454
|
-
|
|
1840
|
+
ComputeQuotaConfig: ComputeQuotaConfig | undefined;
|
|
1455
1841
|
/**
|
|
1456
|
-
* <p>
|
|
1842
|
+
* <p>The target entity to allocate compute resources to.</p>
|
|
1457
1843
|
* @public
|
|
1458
1844
|
*/
|
|
1459
|
-
|
|
1845
|
+
ComputeQuotaTarget: ComputeQuotaTarget | undefined;
|
|
1460
1846
|
/**
|
|
1461
|
-
* <p>
|
|
1847
|
+
* <p>The state of the compute allocation being described. Use to enable or disable compute
|
|
1848
|
+
* allocation.</p>
|
|
1849
|
+
* <p>Default is <code>Enabled</code>.</p>
|
|
1462
1850
|
* @public
|
|
1463
1851
|
*/
|
|
1464
|
-
|
|
1852
|
+
ActivationState?: ActivationState | undefined;
|
|
1853
|
+
/**
|
|
1854
|
+
* <p>Tags of the compute allocation definition.</p>
|
|
1855
|
+
* @public
|
|
1856
|
+
*/
|
|
1857
|
+
Tags?: Tag[] | undefined;
|
|
1858
|
+
}
|
|
1859
|
+
/**
|
|
1860
|
+
* @public
|
|
1861
|
+
*/
|
|
1862
|
+
export interface CreateComputeQuotaResponse {
|
|
1863
|
+
/**
|
|
1864
|
+
* <p>ARN of the compute allocation definition.</p>
|
|
1865
|
+
* @public
|
|
1866
|
+
*/
|
|
1867
|
+
ComputeQuotaArn: string | undefined;
|
|
1868
|
+
/**
|
|
1869
|
+
* <p>ID of the compute allocation definition.</p>
|
|
1870
|
+
* @public
|
|
1871
|
+
*/
|
|
1872
|
+
ComputeQuotaId: string | undefined;
|
|
1873
|
+
}
|
|
1874
|
+
/**
|
|
1875
|
+
* @public
|
|
1876
|
+
*/
|
|
1877
|
+
export interface CreateContextRequest {
|
|
1878
|
+
/**
|
|
1879
|
+
* <p>The name of the context. Must be unique to your account in an Amazon Web Services Region.</p>
|
|
1880
|
+
* @public
|
|
1881
|
+
*/
|
|
1882
|
+
ContextName: string | undefined;
|
|
1883
|
+
/**
|
|
1884
|
+
* <p>The source type, ID, and URI.</p>
|
|
1885
|
+
* @public
|
|
1886
|
+
*/
|
|
1887
|
+
Source: ContextSource | undefined;
|
|
1888
|
+
/**
|
|
1889
|
+
* <p>The context type.</p>
|
|
1890
|
+
* @public
|
|
1891
|
+
*/
|
|
1892
|
+
ContextType: string | undefined;
|
|
1893
|
+
/**
|
|
1894
|
+
* <p>The description of the context.</p>
|
|
1895
|
+
* @public
|
|
1896
|
+
*/
|
|
1897
|
+
Description?: string | undefined;
|
|
1898
|
+
/**
|
|
1899
|
+
* <p>A list of properties to add to the context.</p>
|
|
1900
|
+
* @public
|
|
1901
|
+
*/
|
|
1902
|
+
Properties?: Record<string, string> | undefined;
|
|
1903
|
+
/**
|
|
1904
|
+
* <p>A list of tags to apply to the context.</p>
|
|
1905
|
+
* @public
|
|
1906
|
+
*/
|
|
1907
|
+
Tags?: Tag[] | undefined;
|
|
1465
1908
|
}
|
|
1466
1909
|
/**
|
|
1467
1910
|
* @public
|
|
@@ -2066,12 +2509,30 @@ export interface EFSFileSystemConfig {
|
|
|
2066
2509
|
*/
|
|
2067
2510
|
FileSystemPath?: string | undefined;
|
|
2068
2511
|
}
|
|
2512
|
+
/**
|
|
2513
|
+
* <p>The settings for assigning a custom Amazon FSx for Lustre file system to a user profile or space for an
|
|
2514
|
+
* Amazon SageMaker Domain.</p>
|
|
2515
|
+
* @public
|
|
2516
|
+
*/
|
|
2517
|
+
export interface FSxLustreFileSystemConfig {
|
|
2518
|
+
/**
|
|
2519
|
+
* <p>The globally unique, 17-digit, ID of the file system, assigned by Amazon FSx for Lustre.</p>
|
|
2520
|
+
* @public
|
|
2521
|
+
*/
|
|
2522
|
+
FileSystemId: string | undefined;
|
|
2523
|
+
/**
|
|
2524
|
+
* <p>The path to the file system directory that is accessible in Amazon SageMaker Studio. Permitted
|
|
2525
|
+
* users can access only this directory and below.</p>
|
|
2526
|
+
* @public
|
|
2527
|
+
*/
|
|
2528
|
+
FileSystemPath?: string | undefined;
|
|
2529
|
+
}
|
|
2069
2530
|
/**
|
|
2070
2531
|
* <p>The settings for assigning a custom file system to a user profile or space for an Amazon SageMaker Domain. Permitted users can access this file system in Amazon SageMaker
|
|
2071
2532
|
* Studio.</p>
|
|
2072
2533
|
* @public
|
|
2073
2534
|
*/
|
|
2074
|
-
export type CustomFileSystemConfig = CustomFileSystemConfig.EFSFileSystemConfigMember | CustomFileSystemConfig.$UnknownMember;
|
|
2535
|
+
export type CustomFileSystemConfig = CustomFileSystemConfig.EFSFileSystemConfigMember | CustomFileSystemConfig.FSxLustreFileSystemConfigMember | CustomFileSystemConfig.$UnknownMember;
|
|
2075
2536
|
/**
|
|
2076
2537
|
* @public
|
|
2077
2538
|
*/
|
|
@@ -2082,6 +2543,16 @@ export declare namespace CustomFileSystemConfig {
|
|
|
2082
2543
|
*/
|
|
2083
2544
|
interface EFSFileSystemConfigMember {
|
|
2084
2545
|
EFSFileSystemConfig: EFSFileSystemConfig;
|
|
2546
|
+
FSxLustreFileSystemConfig?: never;
|
|
2547
|
+
$unknown?: never;
|
|
2548
|
+
}
|
|
2549
|
+
/**
|
|
2550
|
+
* <p>The settings for a custom Amazon FSx for Lustre file system.</p>
|
|
2551
|
+
* @public
|
|
2552
|
+
*/
|
|
2553
|
+
interface FSxLustreFileSystemConfigMember {
|
|
2554
|
+
EFSFileSystemConfig?: never;
|
|
2555
|
+
FSxLustreFileSystemConfig: FSxLustreFileSystemConfig;
|
|
2085
2556
|
$unknown?: never;
|
|
2086
2557
|
}
|
|
2087
2558
|
/**
|
|
@@ -2089,10 +2560,12 @@ export declare namespace CustomFileSystemConfig {
|
|
|
2089
2560
|
*/
|
|
2090
2561
|
interface $UnknownMember {
|
|
2091
2562
|
EFSFileSystemConfig?: never;
|
|
2563
|
+
FSxLustreFileSystemConfig?: never;
|
|
2092
2564
|
$unknown: [string, any];
|
|
2093
2565
|
}
|
|
2094
2566
|
interface Visitor<T> {
|
|
2095
2567
|
EFSFileSystemConfig: (value: EFSFileSystemConfig) => T;
|
|
2568
|
+
FSxLustreFileSystemConfig: (value: FSxLustreFileSystemConfig) => T;
|
|
2096
2569
|
_: (name: string, value: any) => T;
|
|
2097
2570
|
}
|
|
2098
2571
|
const visit: <T>(value: CustomFileSystemConfig, visitor: Visitor<T>) => T;
|
|
@@ -2447,14 +2920,19 @@ export type StudioWebPortal = (typeof StudioWebPortal)[keyof typeof StudioWebPor
|
|
|
2447
2920
|
*/
|
|
2448
2921
|
export declare const MlTools: {
|
|
2449
2922
|
readonly AUTO_ML: "AutoMl";
|
|
2923
|
+
readonly COMET: "Comet";
|
|
2450
2924
|
readonly DATA_WRANGLER: "DataWrangler";
|
|
2925
|
+
readonly DEEPCHECKS_LLM_EVALUATION: "DeepchecksLLMEvaluation";
|
|
2451
2926
|
readonly EMR_CLUSTERS: "EmrClusters";
|
|
2452
2927
|
readonly ENDPOINTS: "Endpoints";
|
|
2453
2928
|
readonly EXPERIMENTS: "Experiments";
|
|
2454
2929
|
readonly FEATURE_STORE: "FeatureStore";
|
|
2930
|
+
readonly FIDDLER: "Fiddler";
|
|
2931
|
+
readonly HYPER_POD_CLUSTERS: "HyperPodClusters";
|
|
2455
2932
|
readonly INFERENCE_OPTIMIZATION: "InferenceOptimization";
|
|
2456
2933
|
readonly INFERENCE_RECOMMENDER: "InferenceRecommender";
|
|
2457
2934
|
readonly JUMP_START: "JumpStart";
|
|
2935
|
+
readonly LAKERA_GUARD: "LakeraGuard";
|
|
2458
2936
|
readonly MODELS: "Models";
|
|
2459
2937
|
readonly MODEL_EVALUATION: "ModelEvaluation";
|
|
2460
2938
|
readonly PERFORMANCE_EVALUATION: "PerformanceEvaluation";
|
|
@@ -6392,8 +6870,9 @@ export interface InferenceComponentRuntimeConfig {
|
|
|
6392
6870
|
CopyCount: number | undefined;
|
|
6393
6871
|
}
|
|
6394
6872
|
/**
|
|
6395
|
-
* <p>Defines the compute resources to allocate to run a model
|
|
6396
|
-
* component. These resources include CPU cores, accelerators, and
|
|
6873
|
+
* <p>Defines the compute resources to allocate to run a model, plus any adapter models, that
|
|
6874
|
+
* you assign to an inference component. These resources include CPU cores, accelerators, and
|
|
6875
|
+
* memory.</p>
|
|
6397
6876
|
* @public
|
|
6398
6877
|
*/
|
|
6399
6878
|
export interface InferenceComponentComputeResourceRequirements {
|
|
@@ -6491,11 +6970,31 @@ export interface InferenceComponentSpecification {
|
|
|
6491
6970
|
*/
|
|
6492
6971
|
StartupParameters?: InferenceComponentStartupParameters | undefined;
|
|
6493
6972
|
/**
|
|
6494
|
-
* <p>The compute resources allocated to run the model
|
|
6495
|
-
* to the inference component.</p>
|
|
6973
|
+
* <p>The compute resources allocated to run the model, plus any
|
|
6974
|
+
* adapter models, that you assign to the inference component.</p>
|
|
6975
|
+
* <p>Omit this parameter if your request is meant to create an adapter inference component.
|
|
6976
|
+
* An adapter inference component is loaded by a base inference component, and it uses the
|
|
6977
|
+
* compute resources of the base inference component.</p>
|
|
6978
|
+
* @public
|
|
6979
|
+
*/
|
|
6980
|
+
ComputeResourceRequirements?: InferenceComponentComputeResourceRequirements | undefined;
|
|
6981
|
+
/**
|
|
6982
|
+
* <p>The name of an existing inference component that is to contain the inference component
|
|
6983
|
+
* that you're creating with your request.</p>
|
|
6984
|
+
* <p>Specify this parameter only if your request is meant to create an adapter inference
|
|
6985
|
+
* component. An adapter inference component contains the path to an adapter model. The
|
|
6986
|
+
* purpose of the adapter model is to tailor the inference output of a base foundation model,
|
|
6987
|
+
* which is hosted by the base inference component. The adapter inference component uses the
|
|
6988
|
+
* compute resources that you assigned to the base inference component.</p>
|
|
6989
|
+
* <p>When you create an adapter inference component, use the <code>Container</code> parameter
|
|
6990
|
+
* to specify the location of the adapter artifacts. In the parameter value, use the
|
|
6991
|
+
* <code>ArtifactUrl</code> parameter of the
|
|
6992
|
+
* <code>InferenceComponentContainerSpecification</code> data type.</p>
|
|
6993
|
+
* <p>Before you can create an adapter inference component, you must have an existing
|
|
6994
|
+
* inference component that contains the foundation model that you want to adapt.</p>
|
|
6496
6995
|
* @public
|
|
6497
6996
|
*/
|
|
6498
|
-
|
|
6997
|
+
BaseInferenceComponentName?: string | undefined;
|
|
6499
6998
|
}
|
|
6500
6999
|
/**
|
|
6501
7000
|
* @public
|
|
@@ -6516,7 +7015,7 @@ export interface CreateInferenceComponentInput {
|
|
|
6516
7015
|
* component.</p>
|
|
6517
7016
|
* @public
|
|
6518
7017
|
*/
|
|
6519
|
-
VariantName
|
|
7018
|
+
VariantName?: string | undefined;
|
|
6520
7019
|
/**
|
|
6521
7020
|
* <p>Details about the resources to deploy with this inference component, including the
|
|
6522
7021
|
* model, container, and compute resources.</p>
|
|
@@ -6527,7 +7026,7 @@ export interface CreateInferenceComponentInput {
|
|
|
6527
7026
|
* <p>Runtime settings for a model that is deployed with an inference component.</p>
|
|
6528
7027
|
* @public
|
|
6529
7028
|
*/
|
|
6530
|
-
RuntimeConfig
|
|
7029
|
+
RuntimeConfig?: InferenceComponentRuntimeConfig | undefined;
|
|
6531
7030
|
/**
|
|
6532
7031
|
* <p>A list of key-value pairs associated with the model. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services
|
|
6533
7032
|
* resources</a> in the <i>Amazon Web Services General
|
|
@@ -11384,537 +11883,6 @@ export interface CreateMonitoringScheduleResponse {
|
|
|
11384
11883
|
*/
|
|
11385
11884
|
MonitoringScheduleArn: string | undefined;
|
|
11386
11885
|
}
|
|
11387
|
-
/**
|
|
11388
|
-
* @public
|
|
11389
|
-
* @enum
|
|
11390
|
-
*/
|
|
11391
|
-
export declare const NotebookInstanceAcceleratorType: {
|
|
11392
|
-
readonly ML_EIA1_LARGE: "ml.eia1.large";
|
|
11393
|
-
readonly ML_EIA1_MEDIUM: "ml.eia1.medium";
|
|
11394
|
-
readonly ML_EIA1_XLARGE: "ml.eia1.xlarge";
|
|
11395
|
-
readonly ML_EIA2_LARGE: "ml.eia2.large";
|
|
11396
|
-
readonly ML_EIA2_MEDIUM: "ml.eia2.medium";
|
|
11397
|
-
readonly ML_EIA2_XLARGE: "ml.eia2.xlarge";
|
|
11398
|
-
};
|
|
11399
|
-
/**
|
|
11400
|
-
* @public
|
|
11401
|
-
*/
|
|
11402
|
-
export type NotebookInstanceAcceleratorType = (typeof NotebookInstanceAcceleratorType)[keyof typeof NotebookInstanceAcceleratorType];
|
|
11403
|
-
/**
|
|
11404
|
-
* @public
|
|
11405
|
-
* @enum
|
|
11406
|
-
*/
|
|
11407
|
-
export declare const DirectInternetAccess: {
|
|
11408
|
-
readonly DISABLED: "Disabled";
|
|
11409
|
-
readonly ENABLED: "Enabled";
|
|
11410
|
-
};
|
|
11411
|
-
/**
|
|
11412
|
-
* @public
|
|
11413
|
-
*/
|
|
11414
|
-
export type DirectInternetAccess = (typeof DirectInternetAccess)[keyof typeof DirectInternetAccess];
|
|
11415
|
-
/**
|
|
11416
|
-
* <p>Information on the IMDS configuration of the notebook instance</p>
|
|
11417
|
-
* @public
|
|
11418
|
-
*/
|
|
11419
|
-
export interface InstanceMetadataServiceConfiguration {
|
|
11420
|
-
/**
|
|
11421
|
-
* <p>Indicates the minimum IMDS version that the notebook instance supports. When passed as
|
|
11422
|
-
* part of <code>CreateNotebookInstance</code>, if no value is selected, then it defaults
|
|
11423
|
-
* to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of
|
|
11424
|
-
* <code>UpdateNotebookInstance</code>, there is no default.</p>
|
|
11425
|
-
* @public
|
|
11426
|
-
*/
|
|
11427
|
-
MinimumInstanceMetadataServiceVersion: string | undefined;
|
|
11428
|
-
}
|
|
11429
|
-
/**
|
|
11430
|
-
* @public
|
|
11431
|
-
* @enum
|
|
11432
|
-
*/
|
|
11433
|
-
export declare const RootAccess: {
|
|
11434
|
-
readonly DISABLED: "Disabled";
|
|
11435
|
-
readonly ENABLED: "Enabled";
|
|
11436
|
-
};
|
|
11437
|
-
/**
|
|
11438
|
-
* @public
|
|
11439
|
-
*/
|
|
11440
|
-
export type RootAccess = (typeof RootAccess)[keyof typeof RootAccess];
|
|
11441
|
-
/**
|
|
11442
|
-
* @public
|
|
11443
|
-
*/
|
|
11444
|
-
export interface CreateNotebookInstanceInput {
|
|
11445
|
-
/**
|
|
11446
|
-
* <p>The name of the new notebook instance.</p>
|
|
11447
|
-
* @public
|
|
11448
|
-
*/
|
|
11449
|
-
NotebookInstanceName: string | undefined;
|
|
11450
|
-
/**
|
|
11451
|
-
* <p>The type of ML compute instance to launch for the notebook instance.</p>
|
|
11452
|
-
* @public
|
|
11453
|
-
*/
|
|
11454
|
-
InstanceType: _InstanceType | undefined;
|
|
11455
|
-
/**
|
|
11456
|
-
* <p>The ID of the subnet in a VPC to which you would like to have a connectivity from
|
|
11457
|
-
* your ML compute instance. </p>
|
|
11458
|
-
* @public
|
|
11459
|
-
*/
|
|
11460
|
-
SubnetId?: string | undefined;
|
|
11461
|
-
/**
|
|
11462
|
-
* <p>The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be
|
|
11463
|
-
* for the same VPC as specified in the subnet. </p>
|
|
11464
|
-
* @public
|
|
11465
|
-
*/
|
|
11466
|
-
SecurityGroupIds?: string[] | undefined;
|
|
11467
|
-
/**
|
|
11468
|
-
* <p> When you send any requests to Amazon Web Services resources from the notebook
|
|
11469
|
-
* instance, SageMaker assumes this role to perform tasks on your behalf. You must
|
|
11470
|
-
* grant this role necessary permissions so SageMaker can perform these tasks. The
|
|
11471
|
-
* policy must allow the SageMaker service principal (sagemaker.amazonaws.com)
|
|
11472
|
-
* permissions to assume this role. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">SageMaker Roles</a>. </p>
|
|
11473
|
-
* <note>
|
|
11474
|
-
* <p>To be able to pass this role to SageMaker, the caller of this API must
|
|
11475
|
-
* have the <code>iam:PassRole</code> permission.</p>
|
|
11476
|
-
* </note>
|
|
11477
|
-
* @public
|
|
11478
|
-
*/
|
|
11479
|
-
RoleArn: string | undefined;
|
|
11480
|
-
/**
|
|
11481
|
-
* <p>The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that
|
|
11482
|
-
* SageMaker uses to encrypt data on the storage volume attached to your
|
|
11483
|
-
* notebook instance. The KMS key you provide must be enabled. For information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html">Enabling and
|
|
11484
|
-
* Disabling Keys</a> in the <i>Amazon Web Services Key Management Service
|
|
11485
|
-
* Developer Guide</i>.</p>
|
|
11486
|
-
* @public
|
|
11487
|
-
*/
|
|
11488
|
-
KmsKeyId?: string | undefined;
|
|
11489
|
-
/**
|
|
11490
|
-
* <p>An array of key-value pairs. You can use tags to categorize your Amazon Web Services
|
|
11491
|
-
* resources in different ways, for example, by purpose, owner, or environment. For more
|
|
11492
|
-
* information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a>.</p>
|
|
11493
|
-
* @public
|
|
11494
|
-
*/
|
|
11495
|
-
Tags?: Tag[] | undefined;
|
|
11496
|
-
/**
|
|
11497
|
-
* <p>The name of a lifecycle configuration to associate with the notebook instance. For
|
|
11498
|
-
* information about lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional)
|
|
11499
|
-
* Customize a Notebook Instance</a>.</p>
|
|
11500
|
-
* @public
|
|
11501
|
-
*/
|
|
11502
|
-
LifecycleConfigName?: string | undefined;
|
|
11503
|
-
/**
|
|
11504
|
-
* <p>Sets whether SageMaker provides internet access to the notebook instance. If
|
|
11505
|
-
* you set this to <code>Disabled</code> this notebook instance is able to access resources
|
|
11506
|
-
* only in your VPC, and is not be able to connect to SageMaker training and
|
|
11507
|
-
* endpoint services unless you configure a NAT Gateway in your VPC.</p>
|
|
11508
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access">Notebook Instances Are Internet-Enabled by Default</a>. You can set the value
|
|
11509
|
-
* of this parameter to <code>Disabled</code> only if you set a value for the
|
|
11510
|
-
* <code>SubnetId</code> parameter.</p>
|
|
11511
|
-
* @public
|
|
11512
|
-
*/
|
|
11513
|
-
DirectInternetAccess?: DirectInternetAccess | undefined;
|
|
11514
|
-
/**
|
|
11515
|
-
* <p>The size, in GB, of the ML storage volume to attach to the notebook instance. The
|
|
11516
|
-
* default value is 5 GB.</p>
|
|
11517
|
-
* @public
|
|
11518
|
-
*/
|
|
11519
|
-
VolumeSizeInGB?: number | undefined;
|
|
11520
|
-
/**
|
|
11521
|
-
* <p>This parameter is no longer supported. Elastic Inference (EI) is no longer
|
|
11522
|
-
* available.</p>
|
|
11523
|
-
* <p>This parameter was used to specify a list of EI instance types to associate with this
|
|
11524
|
-
* notebook instance.</p>
|
|
11525
|
-
* @public
|
|
11526
|
-
*/
|
|
11527
|
-
AcceleratorTypes?: NotebookInstanceAcceleratorType[] | undefined;
|
|
11528
|
-
/**
|
|
11529
|
-
* <p>A Git repository to associate with the notebook instance as its default code
|
|
11530
|
-
* repository. This can be either the name of a Git repository stored as a resource in your
|
|
11531
|
-
* account, or the URL of a Git repository in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">Amazon Web Services CodeCommit</a>
|
|
11532
|
-
* or in any other Git repository. When you open a notebook instance, it opens in the
|
|
11533
|
-
* directory that contains this repository. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git
|
|
11534
|
-
* Repositories with SageMaker Notebook Instances</a>.</p>
|
|
11535
|
-
* @public
|
|
11536
|
-
*/
|
|
11537
|
-
DefaultCodeRepository?: string | undefined;
|
|
11538
|
-
/**
|
|
11539
|
-
* <p>An array of up to three Git repositories to associate with the notebook instance.
|
|
11540
|
-
* These can be either the names of Git repositories stored as resources in your account,
|
|
11541
|
-
* or the URL of Git repositories in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">Amazon Web Services CodeCommit</a>
|
|
11542
|
-
* or in any other Git repository. These repositories are cloned at the same level as the
|
|
11543
|
-
* default repository of your notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git
|
|
11544
|
-
* Repositories with SageMaker Notebook Instances</a>.</p>
|
|
11545
|
-
* @public
|
|
11546
|
-
*/
|
|
11547
|
-
AdditionalCodeRepositories?: string[] | undefined;
|
|
11548
|
-
/**
|
|
11549
|
-
* <p>Whether root access is enabled or disabled for users of the notebook instance. The
|
|
11550
|
-
* default value is <code>Enabled</code>.</p>
|
|
11551
|
-
* <note>
|
|
11552
|
-
* <p>Lifecycle configurations need root access to be able to set up a notebook
|
|
11553
|
-
* instance. Because of this, lifecycle configurations associated with a notebook
|
|
11554
|
-
* instance always run with root access even if you disable root access for
|
|
11555
|
-
* users.</p>
|
|
11556
|
-
* </note>
|
|
11557
|
-
* @public
|
|
11558
|
-
*/
|
|
11559
|
-
RootAccess?: RootAccess | undefined;
|
|
11560
|
-
/**
|
|
11561
|
-
* <p>The platform identifier of the notebook instance runtime environment.</p>
|
|
11562
|
-
* @public
|
|
11563
|
-
*/
|
|
11564
|
-
PlatformIdentifier?: string | undefined;
|
|
11565
|
-
/**
|
|
11566
|
-
* <p>Information on the IMDS configuration of the notebook instance</p>
|
|
11567
|
-
* @public
|
|
11568
|
-
*/
|
|
11569
|
-
InstanceMetadataServiceConfiguration?: InstanceMetadataServiceConfiguration | undefined;
|
|
11570
|
-
}
|
|
11571
|
-
/**
|
|
11572
|
-
* @public
|
|
11573
|
-
*/
|
|
11574
|
-
export interface CreateNotebookInstanceOutput {
|
|
11575
|
-
/**
|
|
11576
|
-
* <p>The Amazon Resource Name (ARN) of the notebook instance. </p>
|
|
11577
|
-
* @public
|
|
11578
|
-
*/
|
|
11579
|
-
NotebookInstanceArn?: string | undefined;
|
|
11580
|
-
}
|
|
11581
|
-
/**
|
|
11582
|
-
* <p>Contains the notebook instance lifecycle configuration script.</p>
|
|
11583
|
-
* <p>Each lifecycle configuration script has a limit of 16384 characters.</p>
|
|
11584
|
-
* <p>The value of the <code>$PATH</code> environment variable that is available to both
|
|
11585
|
-
* scripts is <code>/sbin:bin:/usr/sbin:/usr/bin</code>.</p>
|
|
11586
|
-
* <p>View Amazon CloudWatch Logs for notebook instance lifecycle configurations in log
|
|
11587
|
-
* group <code>/aws/sagemaker/NotebookInstances</code> in log stream
|
|
11588
|
-
* <code>[notebook-instance-name]/[LifecycleConfigHook]</code>.</p>
|
|
11589
|
-
* <p>Lifecycle configuration scripts cannot run for longer than 5 minutes. If a script runs
|
|
11590
|
-
* for longer than 5 minutes, it fails and the notebook instance is not created or
|
|
11591
|
-
* started.</p>
|
|
11592
|
-
* <p>For information about notebook instance lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step
|
|
11593
|
-
* 2.1: (Optional) Customize a Notebook Instance</a>.</p>
|
|
11594
|
-
* @public
|
|
11595
|
-
*/
|
|
11596
|
-
export interface NotebookInstanceLifecycleHook {
|
|
11597
|
-
/**
|
|
11598
|
-
* <p>A base64-encoded string that contains a shell script for a notebook instance lifecycle
|
|
11599
|
-
* configuration.</p>
|
|
11600
|
-
* @public
|
|
11601
|
-
*/
|
|
11602
|
-
Content?: string | undefined;
|
|
11603
|
-
}
|
|
11604
|
-
/**
|
|
11605
|
-
* @public
|
|
11606
|
-
*/
|
|
11607
|
-
export interface CreateNotebookInstanceLifecycleConfigInput {
|
|
11608
|
-
/**
|
|
11609
|
-
* <p>The name of the lifecycle configuration.</p>
|
|
11610
|
-
* @public
|
|
11611
|
-
*/
|
|
11612
|
-
NotebookInstanceLifecycleConfigName: string | undefined;
|
|
11613
|
-
/**
|
|
11614
|
-
* <p>A shell script that runs only once, when you create a notebook instance. The shell
|
|
11615
|
-
* script must be a base64-encoded string.</p>
|
|
11616
|
-
* @public
|
|
11617
|
-
*/
|
|
11618
|
-
OnCreate?: NotebookInstanceLifecycleHook[] | undefined;
|
|
11619
|
-
/**
|
|
11620
|
-
* <p>A shell script that runs every time you start a notebook instance, including when you
|
|
11621
|
-
* create the notebook instance. The shell script must be a base64-encoded string.</p>
|
|
11622
|
-
* @public
|
|
11623
|
-
*/
|
|
11624
|
-
OnStart?: NotebookInstanceLifecycleHook[] | undefined;
|
|
11625
|
-
}
|
|
11626
|
-
/**
|
|
11627
|
-
* @public
|
|
11628
|
-
*/
|
|
11629
|
-
export interface CreateNotebookInstanceLifecycleConfigOutput {
|
|
11630
|
-
/**
|
|
11631
|
-
* <p>The Amazon Resource Name (ARN) of the lifecycle configuration.</p>
|
|
11632
|
-
* @public
|
|
11633
|
-
*/
|
|
11634
|
-
NotebookInstanceLifecycleConfigArn?: string | undefined;
|
|
11635
|
-
}
|
|
11636
|
-
/**
|
|
11637
|
-
* @public
|
|
11638
|
-
* @enum
|
|
11639
|
-
*/
|
|
11640
|
-
export declare const OptimizationJobDeploymentInstanceType: {
|
|
11641
|
-
readonly ML_G5_12XLARGE: "ml.g5.12xlarge";
|
|
11642
|
-
readonly ML_G5_16XLARGE: "ml.g5.16xlarge";
|
|
11643
|
-
readonly ML_G5_24XLARGE: "ml.g5.24xlarge";
|
|
11644
|
-
readonly ML_G5_2XLARGE: "ml.g5.2xlarge";
|
|
11645
|
-
readonly ML_G5_48XLARGE: "ml.g5.48xlarge";
|
|
11646
|
-
readonly ML_G5_4XLARGE: "ml.g5.4xlarge";
|
|
11647
|
-
readonly ML_G5_8XLARGE: "ml.g5.8xlarge";
|
|
11648
|
-
readonly ML_G5_XLARGE: "ml.g5.xlarge";
|
|
11649
|
-
readonly ML_G6_12XLARGE: "ml.g6.12xlarge";
|
|
11650
|
-
readonly ML_G6_16XLARGE: "ml.g6.16xlarge";
|
|
11651
|
-
readonly ML_G6_24XLARGE: "ml.g6.24xlarge";
|
|
11652
|
-
readonly ML_G6_2XLARGE: "ml.g6.2xlarge";
|
|
11653
|
-
readonly ML_G6_48XLARGE: "ml.g6.48xlarge";
|
|
11654
|
-
readonly ML_G6_4XLARGE: "ml.g6.4xlarge";
|
|
11655
|
-
readonly ML_G6_8XLARGE: "ml.g6.8xlarge";
|
|
11656
|
-
readonly ML_G6_XLARGE: "ml.g6.xlarge";
|
|
11657
|
-
readonly ML_INF2_24XLARGE: "ml.inf2.24xlarge";
|
|
11658
|
-
readonly ML_INF2_48XLARGE: "ml.inf2.48xlarge";
|
|
11659
|
-
readonly ML_INF2_8XLARGE: "ml.inf2.8xlarge";
|
|
11660
|
-
readonly ML_INF2_XLARGE: "ml.inf2.xlarge";
|
|
11661
|
-
readonly ML_P4DE_24XLARGE: "ml.p4de.24xlarge";
|
|
11662
|
-
readonly ML_P4D_24XLARGE: "ml.p4d.24xlarge";
|
|
11663
|
-
readonly ML_P5_48XLARGE: "ml.p5.48xlarge";
|
|
11664
|
-
readonly ML_TRN1N_32XLARGE: "ml.trn1n.32xlarge";
|
|
11665
|
-
readonly ML_TRN1_2XLARGE: "ml.trn1.2xlarge";
|
|
11666
|
-
readonly ML_TRN1_32XLARGE: "ml.trn1.32xlarge";
|
|
11667
|
-
};
|
|
11668
|
-
/**
|
|
11669
|
-
* @public
|
|
11670
|
-
*/
|
|
11671
|
-
export type OptimizationJobDeploymentInstanceType = (typeof OptimizationJobDeploymentInstanceType)[keyof typeof OptimizationJobDeploymentInstanceType];
|
|
11672
|
-
/**
|
|
11673
|
-
* <p>The access configuration settings for the source ML model for an optimization job, where you can accept the model end-user license agreement (EULA).</p>
|
|
11674
|
-
* @public
|
|
11675
|
-
*/
|
|
11676
|
-
export interface OptimizationModelAccessConfig {
|
|
11677
|
-
/**
|
|
11678
|
-
* <p>Specifies agreement to the model end-user license agreement (EULA). The
|
|
11679
|
-
* <code>AcceptEula</code> value must be explicitly defined as <code>True</code> in order
|
|
11680
|
-
* to accept the EULA that this model requires. You are responsible for reviewing and
|
|
11681
|
-
* complying with any applicable license terms and making sure they are acceptable for your
|
|
11682
|
-
* use case before downloading or using a model.</p>
|
|
11683
|
-
* @public
|
|
11684
|
-
*/
|
|
11685
|
-
AcceptEula: boolean | undefined;
|
|
11686
|
-
}
|
|
11687
|
-
/**
|
|
11688
|
-
* <p>The Amazon S3 location of a source model to optimize with an optimization job.</p>
|
|
11689
|
-
* @public
|
|
11690
|
-
*/
|
|
11691
|
-
export interface OptimizationJobModelSourceS3 {
|
|
11692
|
-
/**
|
|
11693
|
-
* <p>An Amazon S3 URI that locates a source model to optimize with an optimization job.</p>
|
|
11694
|
-
* @public
|
|
11695
|
-
*/
|
|
11696
|
-
S3Uri?: string | undefined;
|
|
11697
|
-
/**
|
|
11698
|
-
* <p>The access configuration settings for the source ML model for an optimization job, where you can accept the model end-user license agreement (EULA).</p>
|
|
11699
|
-
* @public
|
|
11700
|
-
*/
|
|
11701
|
-
ModelAccessConfig?: OptimizationModelAccessConfig | undefined;
|
|
11702
|
-
}
|
|
11703
|
-
/**
|
|
11704
|
-
* <p>The location of the source model to optimize with an optimization job.</p>
|
|
11705
|
-
* @public
|
|
11706
|
-
*/
|
|
11707
|
-
export interface OptimizationJobModelSource {
|
|
11708
|
-
/**
|
|
11709
|
-
* <p>The Amazon S3 location of a source model to optimize with an optimization job.</p>
|
|
11710
|
-
* @public
|
|
11711
|
-
*/
|
|
11712
|
-
S3?: OptimizationJobModelSourceS3 | undefined;
|
|
11713
|
-
}
|
|
11714
|
-
/**
|
|
11715
|
-
* <p>Settings for the model compilation technique that's applied by a model optimization job.</p>
|
|
11716
|
-
* @public
|
|
11717
|
-
*/
|
|
11718
|
-
export interface ModelCompilationConfig {
|
|
11719
|
-
/**
|
|
11720
|
-
* <p>The URI of an LMI DLC in Amazon ECR. SageMaker uses this image to run the optimization.</p>
|
|
11721
|
-
* @public
|
|
11722
|
-
*/
|
|
11723
|
-
Image?: string | undefined;
|
|
11724
|
-
/**
|
|
11725
|
-
* <p>Environment variables that override the default ones in the model container.</p>
|
|
11726
|
-
* @public
|
|
11727
|
-
*/
|
|
11728
|
-
OverrideEnvironment?: Record<string, string> | undefined;
|
|
11729
|
-
}
|
|
11730
|
-
/**
|
|
11731
|
-
* <p>Settings for the model quantization technique that's applied by a model optimization job.</p>
|
|
11732
|
-
* @public
|
|
11733
|
-
*/
|
|
11734
|
-
export interface ModelQuantizationConfig {
|
|
11735
|
-
/**
|
|
11736
|
-
* <p>The URI of an LMI DLC in Amazon ECR. SageMaker uses this image to run the optimization.</p>
|
|
11737
|
-
* @public
|
|
11738
|
-
*/
|
|
11739
|
-
Image?: string | undefined;
|
|
11740
|
-
/**
|
|
11741
|
-
* <p>Environment variables that override the default ones in the model container.</p>
|
|
11742
|
-
* @public
|
|
11743
|
-
*/
|
|
11744
|
-
OverrideEnvironment?: Record<string, string> | undefined;
|
|
11745
|
-
}
|
|
11746
|
-
/**
|
|
11747
|
-
* <p>Settings for an optimization technique that you apply with a model optimization
|
|
11748
|
-
* job.</p>
|
|
11749
|
-
* @public
|
|
11750
|
-
*/
|
|
11751
|
-
export type OptimizationConfig = OptimizationConfig.ModelCompilationConfigMember | OptimizationConfig.ModelQuantizationConfigMember | OptimizationConfig.$UnknownMember;
|
|
11752
|
-
/**
|
|
11753
|
-
* @public
|
|
11754
|
-
*/
|
|
11755
|
-
export declare namespace OptimizationConfig {
|
|
11756
|
-
/**
|
|
11757
|
-
* <p>Settings for the model quantization technique that's applied by a model optimization job.</p>
|
|
11758
|
-
* @public
|
|
11759
|
-
*/
|
|
11760
|
-
interface ModelQuantizationConfigMember {
|
|
11761
|
-
ModelQuantizationConfig: ModelQuantizationConfig;
|
|
11762
|
-
ModelCompilationConfig?: never;
|
|
11763
|
-
$unknown?: never;
|
|
11764
|
-
}
|
|
11765
|
-
/**
|
|
11766
|
-
* <p>Settings for the model compilation technique that's applied by a model optimization job.</p>
|
|
11767
|
-
* @public
|
|
11768
|
-
*/
|
|
11769
|
-
interface ModelCompilationConfigMember {
|
|
11770
|
-
ModelQuantizationConfig?: never;
|
|
11771
|
-
ModelCompilationConfig: ModelCompilationConfig;
|
|
11772
|
-
$unknown?: never;
|
|
11773
|
-
}
|
|
11774
|
-
/**
|
|
11775
|
-
* @public
|
|
11776
|
-
*/
|
|
11777
|
-
interface $UnknownMember {
|
|
11778
|
-
ModelQuantizationConfig?: never;
|
|
11779
|
-
ModelCompilationConfig?: never;
|
|
11780
|
-
$unknown: [string, any];
|
|
11781
|
-
}
|
|
11782
|
-
interface Visitor<T> {
|
|
11783
|
-
ModelQuantizationConfig: (value: ModelQuantizationConfig) => T;
|
|
11784
|
-
ModelCompilationConfig: (value: ModelCompilationConfig) => T;
|
|
11785
|
-
_: (name: string, value: any) => T;
|
|
11786
|
-
}
|
|
11787
|
-
const visit: <T>(value: OptimizationConfig, visitor: Visitor<T>) => T;
|
|
11788
|
-
}
|
|
11789
|
-
/**
|
|
11790
|
-
* <p>Details for where to store the optimized model that you create with the optimization job.</p>
|
|
11791
|
-
* @public
|
|
11792
|
-
*/
|
|
11793
|
-
export interface OptimizationJobOutputConfig {
|
|
11794
|
-
/**
|
|
11795
|
-
* <p>The Amazon Resource Name (ARN) of a key in Amazon Web Services KMS. SageMaker uses they key to encrypt the artifacts of the
|
|
11796
|
-
* optimized model when SageMaker uploads the model to Amazon S3.</p>
|
|
11797
|
-
* @public
|
|
11798
|
-
*/
|
|
11799
|
-
KmsKeyId?: string | undefined;
|
|
11800
|
-
/**
|
|
11801
|
-
* <p>The Amazon S3 URI for where to store the optimized model that you create with an optimization
|
|
11802
|
-
* job.</p>
|
|
11803
|
-
* @public
|
|
11804
|
-
*/
|
|
11805
|
-
S3OutputLocation: string | undefined;
|
|
11806
|
-
}
|
|
11807
|
-
/**
|
|
11808
|
-
* <p>A VPC in Amazon VPC that's accessible to an optimized that you create with an optimization
|
|
11809
|
-
* job. You can control access to and from your resources by configuring a VPC. For more
|
|
11810
|
-
* information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html">Give SageMaker Access to Resources in your Amazon VPC</a>. </p>
|
|
11811
|
-
* @public
|
|
11812
|
-
*/
|
|
11813
|
-
export interface OptimizationVpcConfig {
|
|
11814
|
-
/**
|
|
11815
|
-
* <p>The VPC security group IDs, in the form <code>sg-xxxxxxxx</code>. Specify the security
|
|
11816
|
-
* groups for the VPC that is specified in the <code>Subnets</code> field.</p>
|
|
11817
|
-
* @public
|
|
11818
|
-
*/
|
|
11819
|
-
SecurityGroupIds: string[] | undefined;
|
|
11820
|
-
/**
|
|
11821
|
-
* <p>The ID of the subnets in the VPC to which you want to connect your optimized
|
|
11822
|
-
* model.</p>
|
|
11823
|
-
* @public
|
|
11824
|
-
*/
|
|
11825
|
-
Subnets: string[] | undefined;
|
|
11826
|
-
}
|
|
11827
|
-
/**
|
|
11828
|
-
* @public
|
|
11829
|
-
*/
|
|
11830
|
-
export interface CreateOptimizationJobRequest {
|
|
11831
|
-
/**
|
|
11832
|
-
* <p>A custom name for the new optimization job.</p>
|
|
11833
|
-
* @public
|
|
11834
|
-
*/
|
|
11835
|
-
OptimizationJobName: string | undefined;
|
|
11836
|
-
/**
|
|
11837
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. </p>
|
|
11838
|
-
* <p>During model optimization, Amazon SageMaker needs your permission to:</p>
|
|
11839
|
-
* <ul>
|
|
11840
|
-
* <li>
|
|
11841
|
-
* <p>Read input data from an S3 bucket</p>
|
|
11842
|
-
* </li>
|
|
11843
|
-
* <li>
|
|
11844
|
-
* <p>Write model artifacts to an S3 bucket</p>
|
|
11845
|
-
* </li>
|
|
11846
|
-
* <li>
|
|
11847
|
-
* <p>Write logs to Amazon CloudWatch Logs</p>
|
|
11848
|
-
* </li>
|
|
11849
|
-
* <li>
|
|
11850
|
-
* <p>Publish metrics to Amazon CloudWatch</p>
|
|
11851
|
-
* </li>
|
|
11852
|
-
* </ul>
|
|
11853
|
-
* <p>You grant permissions for all of these tasks to an IAM role. To pass this
|
|
11854
|
-
* role to Amazon SageMaker, the caller of this API must have the
|
|
11855
|
-
* <code>iam:PassRole</code> permission. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">Amazon SageMaker Roles.</a>
|
|
11856
|
-
* </p>
|
|
11857
|
-
* @public
|
|
11858
|
-
*/
|
|
11859
|
-
RoleArn: string | undefined;
|
|
11860
|
-
/**
|
|
11861
|
-
* <p>The location of the source model to optimize with an optimization job.</p>
|
|
11862
|
-
* @public
|
|
11863
|
-
*/
|
|
11864
|
-
ModelSource: OptimizationJobModelSource | undefined;
|
|
11865
|
-
/**
|
|
11866
|
-
* <p>The type of instance that hosts the optimized model that you create with the optimization job.</p>
|
|
11867
|
-
* @public
|
|
11868
|
-
*/
|
|
11869
|
-
DeploymentInstanceType: OptimizationJobDeploymentInstanceType | undefined;
|
|
11870
|
-
/**
|
|
11871
|
-
* <p>The environment variables to set in the model container.</p>
|
|
11872
|
-
* @public
|
|
11873
|
-
*/
|
|
11874
|
-
OptimizationEnvironment?: Record<string, string> | undefined;
|
|
11875
|
-
/**
|
|
11876
|
-
* <p>Settings for each of the optimization techniques that the job applies.</p>
|
|
11877
|
-
* @public
|
|
11878
|
-
*/
|
|
11879
|
-
OptimizationConfigs: OptimizationConfig[] | undefined;
|
|
11880
|
-
/**
|
|
11881
|
-
* <p>Details for where to store the optimized model that you create with the optimization job.</p>
|
|
11882
|
-
* @public
|
|
11883
|
-
*/
|
|
11884
|
-
OutputConfig: OptimizationJobOutputConfig | undefined;
|
|
11885
|
-
/**
|
|
11886
|
-
* <p>Specifies a limit to how long a job can run. When the job reaches the time limit, SageMaker
|
|
11887
|
-
* ends the job. Use this API to cap costs.</p>
|
|
11888
|
-
* <p>To stop a training job, SageMaker sends the algorithm the <code>SIGTERM</code> signal,
|
|
11889
|
-
* which delays job termination for 120 seconds. Algorithms can use this 120-second window
|
|
11890
|
-
* to save the model artifacts, so the results of training are not lost. </p>
|
|
11891
|
-
* <p>The training algorithms provided by SageMaker automatically save the intermediate results
|
|
11892
|
-
* of a model training job when possible. This attempt to save artifacts is only a best
|
|
11893
|
-
* effort case as model might not be in a state from which it can be saved. For example, if
|
|
11894
|
-
* training has just started, the model might not be ready to save. When saved, this
|
|
11895
|
-
* intermediate data is a valid model artifact. You can use it to create a model with
|
|
11896
|
-
* <code>CreateModel</code>.</p>
|
|
11897
|
-
* <note>
|
|
11898
|
-
* <p>The Neural Topic Model (NTM) currently does not support saving intermediate model
|
|
11899
|
-
* artifacts. When training NTMs, make sure that the maximum runtime is sufficient for
|
|
11900
|
-
* the training job to complete.</p>
|
|
11901
|
-
* </note>
|
|
11902
|
-
* @public
|
|
11903
|
-
*/
|
|
11904
|
-
StoppingCondition: StoppingCondition | undefined;
|
|
11905
|
-
/**
|
|
11906
|
-
* <p>A list of key-value pairs associated with the optimization job. For more information,
|
|
11907
|
-
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in the <i>Amazon Web Services General Reference
|
|
11908
|
-
* Guide</i>.</p>
|
|
11909
|
-
* @public
|
|
11910
|
-
*/
|
|
11911
|
-
Tags?: Tag[] | undefined;
|
|
11912
|
-
/**
|
|
11913
|
-
* <p>A VPC in Amazon VPC that your optimized model has access to.</p>
|
|
11914
|
-
* @public
|
|
11915
|
-
*/
|
|
11916
|
-
VpcConfig?: OptimizationVpcConfig | undefined;
|
|
11917
|
-
}
|
|
11918
11886
|
/**
|
|
11919
11887
|
* @internal
|
|
11920
11888
|
*/
|