@aws-sdk/client-sagemaker 3.699.0 → 3.709.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 +1585 -206
- 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 +40 -10
- package/dist-es/models/models_1.js +21 -56
- package/dist-es/models/models_2.js +67 -56
- package/dist-es/models/models_3.js +101 -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 +909 -26
- package/dist-types/SageMaker.d.ts +144 -0
- package/dist-types/SageMakerClient.d.ts +22 -2
- package/dist-types/commands/CreateActionCommand.d.ts +1 -1
- package/dist-types/commands/CreateAlgorithmCommand.d.ts +4 -3
- package/dist-types/commands/CreateClusterCommand.d.ts +2 -1
- 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/CreateHyperParameterTuningJobCommand.d.ts +10 -8
- package/dist-types/commands/CreateNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CreateNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- 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 +4 -3
- package/dist-types/commands/DescribeClusterCommand.d.ts +4 -1
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -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/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 +1 -1
- package/dist-types/commands/DescribeInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +1 -2
- 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 +1 -1
- 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 -2
- 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 +10 -8
- 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 +3 -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 +1 -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 +1 -1
- 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 -2
- 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 +361 -285
- package/dist-types/models/models_1.d.ts +495 -487
- package/dist-types/models/models_2.d.ts +4294 -4703
- package/dist-types/models/models_3.d.ts +5930 -5721
- package/dist-types/models/models_4.d.ts +5296 -4824
- package/dist-types/models/models_5.d.ts +1786 -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/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 +4 -2
- 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 +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +20 -0
- package/dist-types/ts3.4/models/models_0.d.ts +96 -76
- package/dist-types/ts3.4/models/models_1.d.ts +146 -162
- package/dist-types/ts3.4/models/models_2.d.ts +280 -318
- package/dist-types/ts3.4/models/models_3.d.ts +471 -420
- package/dist-types/ts3.4/models/models_4.d.ts +546 -394
- package/dist-types/ts3.4/models/models_5.d.ts +458 -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 +36 -36
|
@@ -1,6 +1,291 @@
|
|
|
1
|
-
import {
|
|
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,
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion, ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
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";
|
|
@@ -4335,7 +4813,7 @@ export interface HumanLoopActivationConditionsConfig {
|
|
|
4335
4813
|
* in the <i>Amazon SageMaker Developer Guide</i>.</p>
|
|
4336
4814
|
* @public
|
|
4337
4815
|
*/
|
|
4338
|
-
HumanLoopActivationConditions:
|
|
4816
|
+
HumanLoopActivationConditions: __AutomaticJsonStringConversion | string | undefined;
|
|
4339
4817
|
}
|
|
4340
4818
|
/**
|
|
4341
4819
|
* <p>Provides information about how and under what conditions SageMaker creates a human loop. If <code>HumanLoopActivationConfig</code> is not given, then all requests go to humans.</p>
|
|
@@ -11405,476 +11883,6 @@ export interface CreateMonitoringScheduleResponse {
|
|
|
11405
11883
|
*/
|
|
11406
11884
|
MonitoringScheduleArn: string | undefined;
|
|
11407
11885
|
}
|
|
11408
|
-
/**
|
|
11409
|
-
* @public
|
|
11410
|
-
* @enum
|
|
11411
|
-
*/
|
|
11412
|
-
export declare const NotebookInstanceAcceleratorType: {
|
|
11413
|
-
readonly ML_EIA1_LARGE: "ml.eia1.large";
|
|
11414
|
-
readonly ML_EIA1_MEDIUM: "ml.eia1.medium";
|
|
11415
|
-
readonly ML_EIA1_XLARGE: "ml.eia1.xlarge";
|
|
11416
|
-
readonly ML_EIA2_LARGE: "ml.eia2.large";
|
|
11417
|
-
readonly ML_EIA2_MEDIUM: "ml.eia2.medium";
|
|
11418
|
-
readonly ML_EIA2_XLARGE: "ml.eia2.xlarge";
|
|
11419
|
-
};
|
|
11420
|
-
/**
|
|
11421
|
-
* @public
|
|
11422
|
-
*/
|
|
11423
|
-
export type NotebookInstanceAcceleratorType = (typeof NotebookInstanceAcceleratorType)[keyof typeof NotebookInstanceAcceleratorType];
|
|
11424
|
-
/**
|
|
11425
|
-
* @public
|
|
11426
|
-
* @enum
|
|
11427
|
-
*/
|
|
11428
|
-
export declare const DirectInternetAccess: {
|
|
11429
|
-
readonly DISABLED: "Disabled";
|
|
11430
|
-
readonly ENABLED: "Enabled";
|
|
11431
|
-
};
|
|
11432
|
-
/**
|
|
11433
|
-
* @public
|
|
11434
|
-
*/
|
|
11435
|
-
export type DirectInternetAccess = (typeof DirectInternetAccess)[keyof typeof DirectInternetAccess];
|
|
11436
|
-
/**
|
|
11437
|
-
* <p>Information on the IMDS configuration of the notebook instance</p>
|
|
11438
|
-
* @public
|
|
11439
|
-
*/
|
|
11440
|
-
export interface InstanceMetadataServiceConfiguration {
|
|
11441
|
-
/**
|
|
11442
|
-
* <p>Indicates the minimum IMDS version that the notebook instance supports. When passed as
|
|
11443
|
-
* part of <code>CreateNotebookInstance</code>, if no value is selected, then it defaults
|
|
11444
|
-
* to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of
|
|
11445
|
-
* <code>UpdateNotebookInstance</code>, there is no default.</p>
|
|
11446
|
-
* @public
|
|
11447
|
-
*/
|
|
11448
|
-
MinimumInstanceMetadataServiceVersion: string | undefined;
|
|
11449
|
-
}
|
|
11450
|
-
/**
|
|
11451
|
-
* @public
|
|
11452
|
-
* @enum
|
|
11453
|
-
*/
|
|
11454
|
-
export declare const RootAccess: {
|
|
11455
|
-
readonly DISABLED: "Disabled";
|
|
11456
|
-
readonly ENABLED: "Enabled";
|
|
11457
|
-
};
|
|
11458
|
-
/**
|
|
11459
|
-
* @public
|
|
11460
|
-
*/
|
|
11461
|
-
export type RootAccess = (typeof RootAccess)[keyof typeof RootAccess];
|
|
11462
|
-
/**
|
|
11463
|
-
* @public
|
|
11464
|
-
*/
|
|
11465
|
-
export interface CreateNotebookInstanceInput {
|
|
11466
|
-
/**
|
|
11467
|
-
* <p>The name of the new notebook instance.</p>
|
|
11468
|
-
* @public
|
|
11469
|
-
*/
|
|
11470
|
-
NotebookInstanceName: string | undefined;
|
|
11471
|
-
/**
|
|
11472
|
-
* <p>The type of ML compute instance to launch for the notebook instance.</p>
|
|
11473
|
-
* @public
|
|
11474
|
-
*/
|
|
11475
|
-
InstanceType: _InstanceType | undefined;
|
|
11476
|
-
/**
|
|
11477
|
-
* <p>The ID of the subnet in a VPC to which you would like to have a connectivity from
|
|
11478
|
-
* your ML compute instance. </p>
|
|
11479
|
-
* @public
|
|
11480
|
-
*/
|
|
11481
|
-
SubnetId?: string | undefined;
|
|
11482
|
-
/**
|
|
11483
|
-
* <p>The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be
|
|
11484
|
-
* for the same VPC as specified in the subnet. </p>
|
|
11485
|
-
* @public
|
|
11486
|
-
*/
|
|
11487
|
-
SecurityGroupIds?: string[] | undefined;
|
|
11488
|
-
/**
|
|
11489
|
-
* <p> When you send any requests to Amazon Web Services resources from the notebook
|
|
11490
|
-
* instance, SageMaker assumes this role to perform tasks on your behalf. You must
|
|
11491
|
-
* grant this role necessary permissions so SageMaker can perform these tasks. The
|
|
11492
|
-
* policy must allow the SageMaker service principal (sagemaker.amazonaws.com)
|
|
11493
|
-
* 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>
|
|
11494
|
-
* <note>
|
|
11495
|
-
* <p>To be able to pass this role to SageMaker, the caller of this API must
|
|
11496
|
-
* have the <code>iam:PassRole</code> permission.</p>
|
|
11497
|
-
* </note>
|
|
11498
|
-
* @public
|
|
11499
|
-
*/
|
|
11500
|
-
RoleArn: string | undefined;
|
|
11501
|
-
/**
|
|
11502
|
-
* <p>The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that
|
|
11503
|
-
* SageMaker uses to encrypt data on the storage volume attached to your
|
|
11504
|
-
* 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
|
|
11505
|
-
* Disabling Keys</a> in the <i>Amazon Web Services Key Management Service
|
|
11506
|
-
* Developer Guide</i>.</p>
|
|
11507
|
-
* @public
|
|
11508
|
-
*/
|
|
11509
|
-
KmsKeyId?: string | undefined;
|
|
11510
|
-
/**
|
|
11511
|
-
* <p>An array of key-value pairs. You can use tags to categorize your Amazon Web Services
|
|
11512
|
-
* resources in different ways, for example, by purpose, owner, or environment. For more
|
|
11513
|
-
* information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a>.</p>
|
|
11514
|
-
* @public
|
|
11515
|
-
*/
|
|
11516
|
-
Tags?: Tag[] | undefined;
|
|
11517
|
-
/**
|
|
11518
|
-
* <p>The name of a lifecycle configuration to associate with the notebook instance. For
|
|
11519
|
-
* information about lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional)
|
|
11520
|
-
* Customize a Notebook Instance</a>.</p>
|
|
11521
|
-
* @public
|
|
11522
|
-
*/
|
|
11523
|
-
LifecycleConfigName?: string | undefined;
|
|
11524
|
-
/**
|
|
11525
|
-
* <p>Sets whether SageMaker provides internet access to the notebook instance. If
|
|
11526
|
-
* you set this to <code>Disabled</code> this notebook instance is able to access resources
|
|
11527
|
-
* only in your VPC, and is not be able to connect to SageMaker training and
|
|
11528
|
-
* endpoint services unless you configure a NAT Gateway in your VPC.</p>
|
|
11529
|
-
* <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
|
|
11530
|
-
* of this parameter to <code>Disabled</code> only if you set a value for the
|
|
11531
|
-
* <code>SubnetId</code> parameter.</p>
|
|
11532
|
-
* @public
|
|
11533
|
-
*/
|
|
11534
|
-
DirectInternetAccess?: DirectInternetAccess | undefined;
|
|
11535
|
-
/**
|
|
11536
|
-
* <p>The size, in GB, of the ML storage volume to attach to the notebook instance. The
|
|
11537
|
-
* default value is 5 GB.</p>
|
|
11538
|
-
* @public
|
|
11539
|
-
*/
|
|
11540
|
-
VolumeSizeInGB?: number | undefined;
|
|
11541
|
-
/**
|
|
11542
|
-
* <p>This parameter is no longer supported. Elastic Inference (EI) is no longer
|
|
11543
|
-
* available.</p>
|
|
11544
|
-
* <p>This parameter was used to specify a list of EI instance types to associate with this
|
|
11545
|
-
* notebook instance.</p>
|
|
11546
|
-
* @public
|
|
11547
|
-
*/
|
|
11548
|
-
AcceleratorTypes?: NotebookInstanceAcceleratorType[] | undefined;
|
|
11549
|
-
/**
|
|
11550
|
-
* <p>A Git repository to associate with the notebook instance as its default code
|
|
11551
|
-
* repository. This can be either the name of a Git repository stored as a resource in your
|
|
11552
|
-
* 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>
|
|
11553
|
-
* or in any other Git repository. When you open a notebook instance, it opens in the
|
|
11554
|
-
* 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
|
|
11555
|
-
* Repositories with SageMaker Notebook Instances</a>.</p>
|
|
11556
|
-
* @public
|
|
11557
|
-
*/
|
|
11558
|
-
DefaultCodeRepository?: string | undefined;
|
|
11559
|
-
/**
|
|
11560
|
-
* <p>An array of up to three Git repositories to associate with the notebook instance.
|
|
11561
|
-
* These can be either the names of Git repositories stored as resources in your account,
|
|
11562
|
-
* or the URL of Git repositories in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">Amazon Web Services CodeCommit</a>
|
|
11563
|
-
* or in any other Git repository. These repositories are cloned at the same level as the
|
|
11564
|
-
* 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
|
|
11565
|
-
* Repositories with SageMaker Notebook Instances</a>.</p>
|
|
11566
|
-
* @public
|
|
11567
|
-
*/
|
|
11568
|
-
AdditionalCodeRepositories?: string[] | undefined;
|
|
11569
|
-
/**
|
|
11570
|
-
* <p>Whether root access is enabled or disabled for users of the notebook instance. The
|
|
11571
|
-
* default value is <code>Enabled</code>.</p>
|
|
11572
|
-
* <note>
|
|
11573
|
-
* <p>Lifecycle configurations need root access to be able to set up a notebook
|
|
11574
|
-
* instance. Because of this, lifecycle configurations associated with a notebook
|
|
11575
|
-
* instance always run with root access even if you disable root access for
|
|
11576
|
-
* users.</p>
|
|
11577
|
-
* </note>
|
|
11578
|
-
* @public
|
|
11579
|
-
*/
|
|
11580
|
-
RootAccess?: RootAccess | undefined;
|
|
11581
|
-
/**
|
|
11582
|
-
* <p>The platform identifier of the notebook instance runtime environment.</p>
|
|
11583
|
-
* @public
|
|
11584
|
-
*/
|
|
11585
|
-
PlatformIdentifier?: string | undefined;
|
|
11586
|
-
/**
|
|
11587
|
-
* <p>Information on the IMDS configuration of the notebook instance</p>
|
|
11588
|
-
* @public
|
|
11589
|
-
*/
|
|
11590
|
-
InstanceMetadataServiceConfiguration?: InstanceMetadataServiceConfiguration | undefined;
|
|
11591
|
-
}
|
|
11592
|
-
/**
|
|
11593
|
-
* @public
|
|
11594
|
-
*/
|
|
11595
|
-
export interface CreateNotebookInstanceOutput {
|
|
11596
|
-
/**
|
|
11597
|
-
* <p>The Amazon Resource Name (ARN) of the notebook instance. </p>
|
|
11598
|
-
* @public
|
|
11599
|
-
*/
|
|
11600
|
-
NotebookInstanceArn?: string | undefined;
|
|
11601
|
-
}
|
|
11602
|
-
/**
|
|
11603
|
-
* <p>Contains the notebook instance lifecycle configuration script.</p>
|
|
11604
|
-
* <p>Each lifecycle configuration script has a limit of 16384 characters.</p>
|
|
11605
|
-
* <p>The value of the <code>$PATH</code> environment variable that is available to both
|
|
11606
|
-
* scripts is <code>/sbin:bin:/usr/sbin:/usr/bin</code>.</p>
|
|
11607
|
-
* <p>View Amazon CloudWatch Logs for notebook instance lifecycle configurations in log
|
|
11608
|
-
* group <code>/aws/sagemaker/NotebookInstances</code> in log stream
|
|
11609
|
-
* <code>[notebook-instance-name]/[LifecycleConfigHook]</code>.</p>
|
|
11610
|
-
* <p>Lifecycle configuration scripts cannot run for longer than 5 minutes. If a script runs
|
|
11611
|
-
* for longer than 5 minutes, it fails and the notebook instance is not created or
|
|
11612
|
-
* started.</p>
|
|
11613
|
-
* <p>For information about notebook instance lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step
|
|
11614
|
-
* 2.1: (Optional) Customize a Notebook Instance</a>.</p>
|
|
11615
|
-
* @public
|
|
11616
|
-
*/
|
|
11617
|
-
export interface NotebookInstanceLifecycleHook {
|
|
11618
|
-
/**
|
|
11619
|
-
* <p>A base64-encoded string that contains a shell script for a notebook instance lifecycle
|
|
11620
|
-
* configuration.</p>
|
|
11621
|
-
* @public
|
|
11622
|
-
*/
|
|
11623
|
-
Content?: string | undefined;
|
|
11624
|
-
}
|
|
11625
|
-
/**
|
|
11626
|
-
* @public
|
|
11627
|
-
*/
|
|
11628
|
-
export interface CreateNotebookInstanceLifecycleConfigInput {
|
|
11629
|
-
/**
|
|
11630
|
-
* <p>The name of the lifecycle configuration.</p>
|
|
11631
|
-
* @public
|
|
11632
|
-
*/
|
|
11633
|
-
NotebookInstanceLifecycleConfigName: string | undefined;
|
|
11634
|
-
/**
|
|
11635
|
-
* <p>A shell script that runs only once, when you create a notebook instance. The shell
|
|
11636
|
-
* script must be a base64-encoded string.</p>
|
|
11637
|
-
* @public
|
|
11638
|
-
*/
|
|
11639
|
-
OnCreate?: NotebookInstanceLifecycleHook[] | undefined;
|
|
11640
|
-
/**
|
|
11641
|
-
* <p>A shell script that runs every time you start a notebook instance, including when you
|
|
11642
|
-
* create the notebook instance. The shell script must be a base64-encoded string.</p>
|
|
11643
|
-
* @public
|
|
11644
|
-
*/
|
|
11645
|
-
OnStart?: NotebookInstanceLifecycleHook[] | undefined;
|
|
11646
|
-
}
|
|
11647
|
-
/**
|
|
11648
|
-
* @public
|
|
11649
|
-
*/
|
|
11650
|
-
export interface CreateNotebookInstanceLifecycleConfigOutput {
|
|
11651
|
-
/**
|
|
11652
|
-
* <p>The Amazon Resource Name (ARN) of the lifecycle configuration.</p>
|
|
11653
|
-
* @public
|
|
11654
|
-
*/
|
|
11655
|
-
NotebookInstanceLifecycleConfigArn?: string | undefined;
|
|
11656
|
-
}
|
|
11657
|
-
/**
|
|
11658
|
-
* @public
|
|
11659
|
-
* @enum
|
|
11660
|
-
*/
|
|
11661
|
-
export declare const OptimizationJobDeploymentInstanceType: {
|
|
11662
|
-
readonly ML_G5_12XLARGE: "ml.g5.12xlarge";
|
|
11663
|
-
readonly ML_G5_16XLARGE: "ml.g5.16xlarge";
|
|
11664
|
-
readonly ML_G5_24XLARGE: "ml.g5.24xlarge";
|
|
11665
|
-
readonly ML_G5_2XLARGE: "ml.g5.2xlarge";
|
|
11666
|
-
readonly ML_G5_48XLARGE: "ml.g5.48xlarge";
|
|
11667
|
-
readonly ML_G5_4XLARGE: "ml.g5.4xlarge";
|
|
11668
|
-
readonly ML_G5_8XLARGE: "ml.g5.8xlarge";
|
|
11669
|
-
readonly ML_G5_XLARGE: "ml.g5.xlarge";
|
|
11670
|
-
readonly ML_G6_12XLARGE: "ml.g6.12xlarge";
|
|
11671
|
-
readonly ML_G6_16XLARGE: "ml.g6.16xlarge";
|
|
11672
|
-
readonly ML_G6_24XLARGE: "ml.g6.24xlarge";
|
|
11673
|
-
readonly ML_G6_2XLARGE: "ml.g6.2xlarge";
|
|
11674
|
-
readonly ML_G6_48XLARGE: "ml.g6.48xlarge";
|
|
11675
|
-
readonly ML_G6_4XLARGE: "ml.g6.4xlarge";
|
|
11676
|
-
readonly ML_G6_8XLARGE: "ml.g6.8xlarge";
|
|
11677
|
-
readonly ML_G6_XLARGE: "ml.g6.xlarge";
|
|
11678
|
-
readonly ML_INF2_24XLARGE: "ml.inf2.24xlarge";
|
|
11679
|
-
readonly ML_INF2_48XLARGE: "ml.inf2.48xlarge";
|
|
11680
|
-
readonly ML_INF2_8XLARGE: "ml.inf2.8xlarge";
|
|
11681
|
-
readonly ML_INF2_XLARGE: "ml.inf2.xlarge";
|
|
11682
|
-
readonly ML_P4DE_24XLARGE: "ml.p4de.24xlarge";
|
|
11683
|
-
readonly ML_P4D_24XLARGE: "ml.p4d.24xlarge";
|
|
11684
|
-
readonly ML_P5_48XLARGE: "ml.p5.48xlarge";
|
|
11685
|
-
readonly ML_TRN1N_32XLARGE: "ml.trn1n.32xlarge";
|
|
11686
|
-
readonly ML_TRN1_2XLARGE: "ml.trn1.2xlarge";
|
|
11687
|
-
readonly ML_TRN1_32XLARGE: "ml.trn1.32xlarge";
|
|
11688
|
-
};
|
|
11689
|
-
/**
|
|
11690
|
-
* @public
|
|
11691
|
-
*/
|
|
11692
|
-
export type OptimizationJobDeploymentInstanceType = (typeof OptimizationJobDeploymentInstanceType)[keyof typeof OptimizationJobDeploymentInstanceType];
|
|
11693
|
-
/**
|
|
11694
|
-
* <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>
|
|
11695
|
-
* @public
|
|
11696
|
-
*/
|
|
11697
|
-
export interface OptimizationModelAccessConfig {
|
|
11698
|
-
/**
|
|
11699
|
-
* <p>Specifies agreement to the model end-user license agreement (EULA). The
|
|
11700
|
-
* <code>AcceptEula</code> value must be explicitly defined as <code>True</code> in order
|
|
11701
|
-
* to accept the EULA that this model requires. You are responsible for reviewing and
|
|
11702
|
-
* complying with any applicable license terms and making sure they are acceptable for your
|
|
11703
|
-
* use case before downloading or using a model.</p>
|
|
11704
|
-
* @public
|
|
11705
|
-
*/
|
|
11706
|
-
AcceptEula: boolean | undefined;
|
|
11707
|
-
}
|
|
11708
|
-
/**
|
|
11709
|
-
* <p>The Amazon S3 location of a source model to optimize with an optimization job.</p>
|
|
11710
|
-
* @public
|
|
11711
|
-
*/
|
|
11712
|
-
export interface OptimizationJobModelSourceS3 {
|
|
11713
|
-
/**
|
|
11714
|
-
* <p>An Amazon S3 URI that locates a source model to optimize with an optimization job.</p>
|
|
11715
|
-
* @public
|
|
11716
|
-
*/
|
|
11717
|
-
S3Uri?: string | undefined;
|
|
11718
|
-
/**
|
|
11719
|
-
* <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>
|
|
11720
|
-
* @public
|
|
11721
|
-
*/
|
|
11722
|
-
ModelAccessConfig?: OptimizationModelAccessConfig | undefined;
|
|
11723
|
-
}
|
|
11724
|
-
/**
|
|
11725
|
-
* <p>The location of the source model to optimize with an optimization job.</p>
|
|
11726
|
-
* @public
|
|
11727
|
-
*/
|
|
11728
|
-
export interface OptimizationJobModelSource {
|
|
11729
|
-
/**
|
|
11730
|
-
* <p>The Amazon S3 location of a source model to optimize with an optimization job.</p>
|
|
11731
|
-
* @public
|
|
11732
|
-
*/
|
|
11733
|
-
S3?: OptimizationJobModelSourceS3 | undefined;
|
|
11734
|
-
}
|
|
11735
|
-
/**
|
|
11736
|
-
* <p>Settings for the model compilation technique that's applied by a model optimization job.</p>
|
|
11737
|
-
* @public
|
|
11738
|
-
*/
|
|
11739
|
-
export interface ModelCompilationConfig {
|
|
11740
|
-
/**
|
|
11741
|
-
* <p>The URI of an LMI DLC in Amazon ECR. SageMaker uses this image to run the optimization.</p>
|
|
11742
|
-
* @public
|
|
11743
|
-
*/
|
|
11744
|
-
Image?: string | undefined;
|
|
11745
|
-
/**
|
|
11746
|
-
* <p>Environment variables that override the default ones in the model container.</p>
|
|
11747
|
-
* @public
|
|
11748
|
-
*/
|
|
11749
|
-
OverrideEnvironment?: Record<string, string> | undefined;
|
|
11750
|
-
}
|
|
11751
|
-
/**
|
|
11752
|
-
* <p>Settings for the model quantization technique that's applied by a model optimization job.</p>
|
|
11753
|
-
* @public
|
|
11754
|
-
*/
|
|
11755
|
-
export interface ModelQuantizationConfig {
|
|
11756
|
-
/**
|
|
11757
|
-
* <p>The URI of an LMI DLC in Amazon ECR. SageMaker uses this image to run the optimization.</p>
|
|
11758
|
-
* @public
|
|
11759
|
-
*/
|
|
11760
|
-
Image?: string | undefined;
|
|
11761
|
-
/**
|
|
11762
|
-
* <p>Environment variables that override the default ones in the model container.</p>
|
|
11763
|
-
* @public
|
|
11764
|
-
*/
|
|
11765
|
-
OverrideEnvironment?: Record<string, string> | undefined;
|
|
11766
|
-
}
|
|
11767
|
-
/**
|
|
11768
|
-
* <p>Settings for the model sharding technique that's applied by a model optimization job.</p>
|
|
11769
|
-
* @public
|
|
11770
|
-
*/
|
|
11771
|
-
export interface ModelShardingConfig {
|
|
11772
|
-
/**
|
|
11773
|
-
* <p>The URI of an LMI DLC in Amazon ECR. SageMaker uses this image to run the optimization.</p>
|
|
11774
|
-
* @public
|
|
11775
|
-
*/
|
|
11776
|
-
Image?: string | undefined;
|
|
11777
|
-
/**
|
|
11778
|
-
* <p>Environment variables that override the default ones in the model container.</p>
|
|
11779
|
-
* @public
|
|
11780
|
-
*/
|
|
11781
|
-
OverrideEnvironment?: Record<string, string> | undefined;
|
|
11782
|
-
}
|
|
11783
|
-
/**
|
|
11784
|
-
* <p>Settings for an optimization technique that you apply with a model optimization
|
|
11785
|
-
* job.</p>
|
|
11786
|
-
* @public
|
|
11787
|
-
*/
|
|
11788
|
-
export type OptimizationConfig = OptimizationConfig.ModelCompilationConfigMember | OptimizationConfig.ModelQuantizationConfigMember | OptimizationConfig.ModelShardingConfigMember | OptimizationConfig.$UnknownMember;
|
|
11789
|
-
/**
|
|
11790
|
-
* @public
|
|
11791
|
-
*/
|
|
11792
|
-
export declare namespace OptimizationConfig {
|
|
11793
|
-
/**
|
|
11794
|
-
* <p>Settings for the model quantization technique that's applied by a model optimization job.</p>
|
|
11795
|
-
* @public
|
|
11796
|
-
*/
|
|
11797
|
-
interface ModelQuantizationConfigMember {
|
|
11798
|
-
ModelQuantizationConfig: ModelQuantizationConfig;
|
|
11799
|
-
ModelCompilationConfig?: never;
|
|
11800
|
-
ModelShardingConfig?: never;
|
|
11801
|
-
$unknown?: never;
|
|
11802
|
-
}
|
|
11803
|
-
/**
|
|
11804
|
-
* <p>Settings for the model compilation technique that's applied by a model optimization job.</p>
|
|
11805
|
-
* @public
|
|
11806
|
-
*/
|
|
11807
|
-
interface ModelCompilationConfigMember {
|
|
11808
|
-
ModelQuantizationConfig?: never;
|
|
11809
|
-
ModelCompilationConfig: ModelCompilationConfig;
|
|
11810
|
-
ModelShardingConfig?: never;
|
|
11811
|
-
$unknown?: never;
|
|
11812
|
-
}
|
|
11813
|
-
/**
|
|
11814
|
-
* <p>Settings for the model sharding technique that's applied by a model optimization job.</p>
|
|
11815
|
-
* @public
|
|
11816
|
-
*/
|
|
11817
|
-
interface ModelShardingConfigMember {
|
|
11818
|
-
ModelQuantizationConfig?: never;
|
|
11819
|
-
ModelCompilationConfig?: never;
|
|
11820
|
-
ModelShardingConfig: ModelShardingConfig;
|
|
11821
|
-
$unknown?: never;
|
|
11822
|
-
}
|
|
11823
|
-
/**
|
|
11824
|
-
* @public
|
|
11825
|
-
*/
|
|
11826
|
-
interface $UnknownMember {
|
|
11827
|
-
ModelQuantizationConfig?: never;
|
|
11828
|
-
ModelCompilationConfig?: never;
|
|
11829
|
-
ModelShardingConfig?: never;
|
|
11830
|
-
$unknown: [string, any];
|
|
11831
|
-
}
|
|
11832
|
-
interface Visitor<T> {
|
|
11833
|
-
ModelQuantizationConfig: (value: ModelQuantizationConfig) => T;
|
|
11834
|
-
ModelCompilationConfig: (value: ModelCompilationConfig) => T;
|
|
11835
|
-
ModelShardingConfig: (value: ModelShardingConfig) => T;
|
|
11836
|
-
_: (name: string, value: any) => T;
|
|
11837
|
-
}
|
|
11838
|
-
const visit: <T>(value: OptimizationConfig, visitor: Visitor<T>) => T;
|
|
11839
|
-
}
|
|
11840
|
-
/**
|
|
11841
|
-
* <p>Details for where to store the optimized model that you create with the optimization job.</p>
|
|
11842
|
-
* @public
|
|
11843
|
-
*/
|
|
11844
|
-
export interface OptimizationJobOutputConfig {
|
|
11845
|
-
/**
|
|
11846
|
-
* <p>The Amazon Resource Name (ARN) of a key in Amazon Web Services KMS. SageMaker uses they key to encrypt the artifacts of the
|
|
11847
|
-
* optimized model when SageMaker uploads the model to Amazon S3.</p>
|
|
11848
|
-
* @public
|
|
11849
|
-
*/
|
|
11850
|
-
KmsKeyId?: string | undefined;
|
|
11851
|
-
/**
|
|
11852
|
-
* <p>The Amazon S3 URI for where to store the optimized model that you create with an optimization
|
|
11853
|
-
* job.</p>
|
|
11854
|
-
* @public
|
|
11855
|
-
*/
|
|
11856
|
-
S3OutputLocation: string | undefined;
|
|
11857
|
-
}
|
|
11858
|
-
/**
|
|
11859
|
-
* <p>A VPC in Amazon VPC that's accessible to an optimized that you create with an optimization
|
|
11860
|
-
* job. You can control access to and from your resources by configuring a VPC. For more
|
|
11861
|
-
* 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>
|
|
11862
|
-
* @public
|
|
11863
|
-
*/
|
|
11864
|
-
export interface OptimizationVpcConfig {
|
|
11865
|
-
/**
|
|
11866
|
-
* <p>The VPC security group IDs, in the form <code>sg-xxxxxxxx</code>. Specify the security
|
|
11867
|
-
* groups for the VPC that is specified in the <code>Subnets</code> field.</p>
|
|
11868
|
-
* @public
|
|
11869
|
-
*/
|
|
11870
|
-
SecurityGroupIds: string[] | undefined;
|
|
11871
|
-
/**
|
|
11872
|
-
* <p>The ID of the subnets in the VPC to which you want to connect your optimized
|
|
11873
|
-
* model.</p>
|
|
11874
|
-
* @public
|
|
11875
|
-
*/
|
|
11876
|
-
Subnets: string[] | undefined;
|
|
11877
|
-
}
|
|
11878
11886
|
/**
|
|
11879
11887
|
* @internal
|
|
11880
11888
|
*/
|