@aws-sdk/client-sagemaker 3.1095.0 → 3.1097.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.
Files changed (42) hide show
  1. package/dist-cjs/index.js +76 -21
  2. package/dist-es/models/enums.js +13 -0
  3. package/dist-es/schemas/schemas_0.js +59 -20
  4. package/dist-types/commands/CreateAIRecommendationJobCommand.d.ts +14 -0
  5. package/dist-types/commands/CreateNotebookInstanceCommand.d.ts +3 -2
  6. package/dist-types/commands/CreateNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateOptimizationJobCommand.d.ts +4 -1
  8. package/dist-types/commands/DescribeAIRecommendationJobCommand.d.ts +29 -0
  9. package/dist-types/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
  10. package/dist-types/commands/DescribeOptimizationJobCommand.d.ts +4 -1
  11. package/dist-types/commands/ListImageVersionsCommand.d.ts +1 -1
  12. package/dist-types/commands/ListImagesCommand.d.ts +1 -1
  13. package/dist-types/commands/ListNotebookInstancesCommand.d.ts +1 -1
  14. package/dist-types/commands/ListOptimizationJobsCommand.d.ts +1 -1
  15. package/dist-types/commands/UpdateMlflowTrackingServerCommand.d.ts +2 -1
  16. package/dist-types/commands/UpdateModelCardCommand.d.ts +1 -1
  17. package/dist-types/commands/UpdateModelPackageCommand.d.ts +1 -2
  18. package/dist-types/commands/UpdateNotebookInstanceCommand.d.ts +1 -1
  19. package/dist-types/models/enums.d.ts +13 -0
  20. package/dist-types/models/models_0.d.ts +103 -81
  21. package/dist-types/models/models_1.d.ts +87 -57
  22. package/dist-types/models/models_2.d.ts +69 -132
  23. package/dist-types/models/models_3.d.ts +138 -134
  24. package/dist-types/models/models_4.d.ts +133 -108
  25. package/dist-types/models/models_5.d.ts +109 -4
  26. package/dist-types/schemas/schemas_0.d.ts +4 -0
  27. package/dist-types/ts3.4/commands/CreateNotebookInstanceCommand.d.ts +2 -1
  28. package/dist-types/ts3.4/commands/CreateNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/ListImageVersionsCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/UpdateMlflowTrackingServerCommand.d.ts +2 -4
  32. package/dist-types/ts3.4/commands/UpdateModelCardCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/UpdateModelPackageCommand.d.ts +1 -2
  34. package/dist-types/ts3.4/models/enums.d.ts +13 -0
  35. package/dist-types/ts3.4/models/models_0.d.ts +40 -29
  36. package/dist-types/ts3.4/models/models_1.d.ts +31 -16
  37. package/dist-types/ts3.4/models/models_2.d.ts +20 -35
  38. package/dist-types/ts3.4/models/models_3.d.ts +36 -40
  39. package/dist-types/ts3.4/models/models_4.d.ts +37 -26
  40. package/dist-types/ts3.4/models/models_5.d.ts +37 -2
  41. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  42. package/package.json +3 -3
@@ -1,6 +1,87 @@
1
1
  import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
2
2
  import type { _InstanceType, AccountDefaultStatus, ActionStatus, ActivationState, AppInstanceType, AppNetworkAccessType, AppSecurityGroupManagement, AppType, AuthMode, AutoMountHomeEFS, AvailabilityZoneBalanceEnforcementMode, AwsManagedHumanLoopRequestSource, CapacityReservationPreference, ClusterNodeProvisioningMode, ClusterNodeRecovery, CollectionType, CompilationJobStatus, CompleteOnConvergence, ConditionOutcome, ContainerMode, ContentClassifier, DeviceSubsetType, DirectInternetAccess, EdgePresetDeploymentType, ExecutionRoleIdentityConfig, ExecutionRoleSessionNameMode, FailureHandlingPolicy, FairShare, FeatureStatus, FeatureType, FlatInvocations, Framework, HomeEfsFileSystemCreation, HubContentType, HyperParameterScalingType, HyperParameterTuningAllocationStrategy, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartType, IdleResourceSharing, InferenceComponentPlacementStrategy, InferenceExecutionMode, InferenceExperimentType, IPAddressType, JobCategory, JobType, ManagedInstanceScalingScaleInStrategy, ManagedInstanceScalingStatus, ManagedStorageType, MetricPublishFrequencyInSeconds, MlTools, ModelApprovalStatus, ModelCacheSetting, ModelCardStatus, ModelInfrastructureType, ModelPackageRegistrationType, ModelRegistrationMode, MonitoringProblemType, MonitoringType, NotebookInstanceAcceleratorType, NotebookOutputOption, ParameterType, PreemptTeamTasks, ProblemType, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, Processor, ProductionVariantAcceleratorType, ProductionVariantInferenceAmiVersion, ProductionVariantInstanceType, RecommendationJobSupportedEndpointType, RecommendationJobType, RepositoryAccessMode, ResourceSharingStrategy, RootAccess, RoutingStrategy, RStudioServerProAccessStatus, RStudioServerProUserGroup, SageMakerImageName, SchedulerResourceStatus, SkipModelValidation, StorageType, StudioWebPortal, TableFormat, TagPropagation, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, ThroughputMode, TrackingServerSize, TrafficType, TrainingInputMode, TrainingInstanceType, TrainingJobEarlyStoppingType, TtlDurationUnit, VendorGuidance } from "./enums";
3
- import type { ActionSource, AdditionalInferenceSpecificationDefinition, AdditionalModelDataSource, AdditionalS3DataSource, AIBenchmarkNetworkConfig, AIBenchmarkOutputConfig, AIBenchmarkTarget, AIDatasetConfig, AIModelSource, AIRecommendationComputeSpec, AIRecommendationInferenceSpecification, AIRecommendationOutputConfig, AIRecommendationPerformanceTarget, AIWorkloadConfigs, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppLifecycleManagement, ArtifactSource, AsyncInferenceConfig, AuthorizedUrl, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoParameter, AutoRollbackConfig, Autotune, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterAutoScalingConfig, ClusterInstanceGroupSpecification, ClusterOrchestrator, ClusterRestrictedInstanceGroupsConfig, ClusterRestrictedInstanceGroupSpecification, ClusterTieredStorageConfig, CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, CollectionConfig, ComputeQuotaResourceConfig, CustomImage, GitConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricDefinition, MetricsSource, ModelDataSource, OutputDataConfig, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TransformJobDefinition, VpcConfig } from "./models_0";
3
+ import type { ActionSource, AdditionalInferenceSpecificationDefinition, AdditionalModelDataSource, AdditionalS3DataSource, AIAdapterSource, AIBenchmarkNetworkConfig, AIBenchmarkOutputConfig, AIBenchmarkTarget, AIDatasetConfig, AIModelSource, AIRecommendationComputeSpec, AIRecommendationInferenceSpecification, AIRecommendationOutputConfig, AIRecommendationPerformanceTarget, AIWorkloadConfigs, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppLifecycleManagement, ArtifactSource, AsyncInferenceConfig, AuthorizedUrl, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoParameter, AutoRollbackConfig, Autotune, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterAutoScalingConfig, ClusterInstanceGroupSpecification, ClusterOrchestrator, ClusterRestrictedInstanceGroupsConfig, ClusterRestrictedInstanceGroupSpecification, ClusterTieredStorageConfig, CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, ComputeQuotaResourceConfig, CustomImage, GitConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricDefinition, MetricsSource, ModelDataSource, OutputDataConfig, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TransformJobDefinition, VpcConfig } from "./models_0";
4
+ /**
5
+ * <p>Use this parameter to configure your Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html"> Amazon Cognito user pool</a>.</p>
6
+ * @public
7
+ */
8
+ export interface CognitoConfig {
9
+ /**
10
+ * <p>A <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html"> user pool</a> is a user directory in Amazon Cognito. With a user pool, your users can sign in to your web or mobile app through Amazon Cognito. Your users can also sign in through social identity providers like Google, Facebook, Amazon, or Apple, and through SAML identity providers.</p>
11
+ * @public
12
+ */
13
+ UserPool: string | undefined;
14
+ /**
15
+ * <p>The client ID for your Amazon Cognito user pool.</p>
16
+ * @public
17
+ */
18
+ ClientId: string | undefined;
19
+ }
20
+ /**
21
+ * <p>Identifies a Amazon Cognito user group. A user group can be used in on or more work teams.</p>
22
+ * @public
23
+ */
24
+ export interface CognitoMemberDefinition {
25
+ /**
26
+ * <p>An identifier for a user pool. The user pool must be in the same region as the service that you are calling.</p>
27
+ * @public
28
+ */
29
+ UserPool: string | undefined;
30
+ /**
31
+ * <p>An identifier for a user group.</p>
32
+ * @public
33
+ */
34
+ UserGroup: string | undefined;
35
+ /**
36
+ * <p>An identifier for an application client. You must create the app client ID using Amazon Cognito.</p>
37
+ * @public
38
+ */
39
+ ClientId: string | undefined;
40
+ }
41
+ /**
42
+ * <p>Configuration for your vector collection type.</p>
43
+ * @public
44
+ */
45
+ export interface VectorConfig {
46
+ /**
47
+ * <p>The number of elements in your vector.</p>
48
+ * @public
49
+ */
50
+ Dimension: number | undefined;
51
+ }
52
+ /**
53
+ * <p>Configuration for your collection.</p>
54
+ * @public
55
+ */
56
+ export type CollectionConfig = CollectionConfig.VectorConfigMember | CollectionConfig.$UnknownMember;
57
+ /**
58
+ * @public
59
+ */
60
+ export declare namespace CollectionConfig {
61
+ /**
62
+ * <p>Configuration for your vector collection type.</p> <ul> <li> <p> <code>Dimension</code>: The number of elements in your vector.</p> </li> </ul>
63
+ * @public
64
+ */
65
+ interface VectorConfigMember {
66
+ VectorConfig: VectorConfig;
67
+ $unknown?: never;
68
+ }
69
+ /**
70
+ * @public
71
+ */
72
+ interface $UnknownMember {
73
+ VectorConfig?: never;
74
+ $unknown: [string, any];
75
+ }
76
+ /**
77
+ * @deprecated unused in schema-serde mode.
78
+ *
79
+ */
80
+ interface Visitor<T> {
81
+ VectorConfig: (value: VectorConfig) => T;
82
+ _: (name: string, value: any) => T;
83
+ }
84
+ }
4
85
  /**
5
86
  * <p>Configuration information for the Amazon SageMaker Debugger output tensor collections.</p>
6
87
  * @public
@@ -629,6 +710,11 @@ export interface CreateAIRecommendationJobRequest {
629
710
  * @public
630
711
  */
631
712
  ComputeSpec?: AIRecommendationComputeSpec | undefined;
713
+ /**
714
+ * <p>The LoRA adapter source for the recommendation job. Specify either a list of model package ARNs or Amazon S3 URIs for your LoRA adapters. When this parameter is absent, the recommendation job runs without LoRA adapter support.</p>
715
+ * @public
716
+ */
717
+ AdapterSource?: AIAdapterSource | undefined;
632
718
  /**
633
719
  * <p>The metadata that you apply to Amazon Web Services resources to help you categorize and organize them.</p>
634
720
  * @public
@@ -7199,59 +7285,3 @@ export interface CreateNotebookInstanceInput {
7199
7285
  */
7200
7286
  InstanceMetadataServiceConfiguration?: InstanceMetadataServiceConfiguration | undefined;
7201
7287
  }
7202
- /**
7203
- * @public
7204
- */
7205
- export interface CreateNotebookInstanceOutput {
7206
- /**
7207
- * <p>The Amazon Resource Name (ARN) of the notebook instance. </p>
7208
- * @public
7209
- */
7210
- NotebookInstanceArn?: string | undefined;
7211
- }
7212
- /**
7213
- * <p>Contains the notebook instance lifecycle configuration script.</p> <p>Each lifecycle configuration script has a limit of 16384 characters.</p> <p>The value of the <code>$PATH</code> environment variable that is available to both scripts is <code>/sbin:bin:/usr/sbin:/usr/bin</code>.</p> <p>View Amazon CloudWatch Logs for notebook instance lifecycle configurations in log group <code>/aws/sagemaker/NotebookInstances</code> in log stream <code>[notebook-instance-name]/[LifecycleConfigHook]</code>.</p> <p>Lifecycle configuration scripts cannot run for longer than 5 minutes. If a script runs for longer than 5 minutes, it fails and the notebook instance is not created or started.</p> <p>For information about notebook instance lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional) Customize a Notebook Instance</a>.</p>
7214
- * @public
7215
- */
7216
- export interface NotebookInstanceLifecycleHook {
7217
- /**
7218
- * <p>A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.</p>
7219
- * @public
7220
- */
7221
- Content?: string | undefined;
7222
- }
7223
- /**
7224
- * @public
7225
- */
7226
- export interface CreateNotebookInstanceLifecycleConfigInput {
7227
- /**
7228
- * <p>The name of the lifecycle configuration.</p>
7229
- * @public
7230
- */
7231
- NotebookInstanceLifecycleConfigName: string | undefined;
7232
- /**
7233
- * <p>A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.</p>
7234
- * @public
7235
- */
7236
- OnCreate?: NotebookInstanceLifecycleHook[] | undefined;
7237
- /**
7238
- * <p>A shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string.</p>
7239
- * @public
7240
- */
7241
- OnStart?: NotebookInstanceLifecycleHook[] | undefined;
7242
- /**
7243
- * <p>An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html">Tagging Amazon Web Services Resources</a>.</p>
7244
- * @public
7245
- */
7246
- Tags?: Tag[] | undefined;
7247
- }
7248
- /**
7249
- * @public
7250
- */
7251
- export interface CreateNotebookInstanceLifecycleConfigOutput {
7252
- /**
7253
- * <p>The Amazon Resource Name (ARN) of the lifecycle configuration.</p>
7254
- * @public
7255
- */
7256
- NotebookInstanceLifecycleConfigArn?: string | undefined;
7257
- }
@@ -1,6 +1,62 @@
1
- import type { ActionStatus, ActivationState, AIBenchmarkJobStatus, AIRecommendationJobStatus, AlgorithmStatus, AppNetworkAccessType, AppSecurityGroupManagement, AppStatus, AppType, AuthMode, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLProblemTypeConfigName, BatchStrategy, CapacityReservationPreference, CaptureStatus, ClusterNodeProvisioningMode, ClusterNodeRecovery, ClusterStatus, CompilationJobStatus, CustomizationTechnique, DataDistributionType, DeepHealthCheckType, DomainStatus, EdgePackagingJobStatus, EdgePresetDeploymentStatus, EdgePresetDeploymentType, EnabledOrDisabled, EndpointStatus, EvaluationType, FeatureGroupStatus, FeatureStatus, FeatureType, FlowDefinitionStatus, HomeEfsFileSystemCreation, HubContentStatus, HubContentSupportStatus, HubContentType, HubStatus, HumanTaskUiStatus, HyperParameterTuningJobObjectiveType, InputMode, JobCategory, JoinSource, LastUpdateStatusValue, ModelSpeculativeDecodingS3DataType, ModelSpeculativeDecodingTechnique, ObjectiveStatus, OfflineStoreStatusValue, OptimizationJobDeploymentInstanceType, PartnerAppAuthType, PartnerAppType, Peft, ProblemType, ProcessingInstanceType, ProcessingS3CompressionType, ProcessingS3DataDistributionType, ProcessingS3DataType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariantAcceleratorType, ProductionVariantInstanceType, RecommendationStatus, RedshiftResultCompressionType, RedshiftResultFormat, RetentionType, RuleEvaluationStatus, SchedulerConfigComponent, SchedulerResourceStatus, ServerlessJobType, SharingType, StageStatus, Statistic, StudioLifecycleConfigAppType, TagPropagation, ThroughputMode, TrainingJobStatus, TrialComponentPrimaryStatus, VariantStatus, WorkforceIpAddressType } from "./enums";
2
- import type { ActionSource, AIBenchmarkNetworkConfig, AIBenchmarkOutputResult, AIBenchmarkTarget, AIDatasetConfig, AIModelSource, AIRecommendation, AIRecommendationComputeSpec, AIRecommendationInferenceSpecification, AIRecommendationOutputResult, AIRecommendationPerformanceTarget, AIWorkloadConfigs, AlgorithmSpecification, AlgorithmStatusDetails, AlgorithmValidationSpecification, AppSpecification, ArtifactSource, AsyncInferenceConfig, AthenaDatasetDefinition, AutoMLCandidate, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobArtifacts, AutoMLJobChannel, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLPartialFailureReason, AutoMLProblemTypeConfig, AutoMLResolvedAttributes, AutoMLSecurityConfig, BatchDataCaptureConfig, CfnCreateTemplateProvider, Channel, CheckpointConfig, ClusterAutoScalingConfigOutput, ClusterEventDetail, ClusterInstanceGroupDetails, ClusterNodeDetails, ClusterOrchestrator, ClusterRestrictedInstanceGroupDetails, ClusterRestrictedInstanceGroupsConfigOutput, ClusterTieredStorageConfig, CodeEditorAppImageConfig, CodeRepository, CognitoConfig, CognitoMemberDefinition, GitConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, OutputDataConfig, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
3
- import type { CollectionConfiguration, ComputeQuotaConfig, ComputeQuotaTarget, ContextSource, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, DeploymentConfig, DeviceSelectionConfig, DomainSettings, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, ExplainerConfig, FeatureDefinition, FlowDefinitionOutputConfig, HubS3StorageConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, InputConfig, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, MetricsConfig, ModelDeployConfig, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStoppingCondition, NeoVpcConfig, NetworkConfig, OfflineStoreConfig, OnlineStoreConfig, OutputConfig, ProductionVariant, ProductionVariantManagedInstanceScaling, ProductionVariantRoutingConfig, ProductionVariantServerlessConfig, RetryStrategy, SchedulerConfig, TrainingSpecification, UserSettings } from "./models_1";
1
+ import type { ActionStatus, ActivationState, AIBenchmarkJobStatus, AIRecommendationJobStatus, AlgorithmStatus, AppNetworkAccessType, AppSecurityGroupManagement, AppStatus, AppType, AuthMode, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLProblemTypeConfigName, BatchStrategy, CapacityReservationPreference, CaptureStatus, ClusterNodeProvisioningMode, ClusterNodeRecovery, ClusterStatus, CompilationJobStatus, CustomizationTechnique, DataDistributionType, DeepHealthCheckType, DomainStatus, EdgePackagingJobStatus, EdgePresetDeploymentStatus, EdgePresetDeploymentType, EnabledOrDisabled, EndpointStatus, EvaluationType, FeatureGroupStatus, FeatureStatus, FeatureType, FlowDefinitionStatus, HomeEfsFileSystemCreation, HubContentStatus, HubContentSupportStatus, HubContentType, HubStatus, HumanTaskUiStatus, HyperParameterTuningJobObjectiveType, InputMode, JobCategory, JoinSource, LastUpdateStatusValue, ModelSpeculativeDecodingS3DataType, ModelSpeculativeDecodingTechnique, OfflineStoreStatusValue, OptimizationJobDeploymentInstanceType, PartnerAppAuthType, PartnerAppType, Peft, ProblemType, ProcessingInstanceType, ProcessingS3CompressionType, ProcessingS3DataDistributionType, ProcessingS3DataType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariantAcceleratorType, ProductionVariantInstanceType, RecommendationStatus, RedshiftResultCompressionType, RedshiftResultFormat, RetentionType, RuleEvaluationStatus, SchedulerConfigComponent, SchedulerResourceStatus, ServerlessJobType, SharingType, StageStatus, Statistic, StudioLifecycleConfigAppType, TagPropagation, ThroughputMode, TrialComponentPrimaryStatus, VariantStatus, WorkforceIpAddressType } from "./enums";
2
+ import type { ActionSource, AIAdapterSource, AIBenchmarkNetworkConfig, AIBenchmarkOutputResult, AIBenchmarkTarget, AIDatasetConfig, AIModelSource, AIRecommendation, AIRecommendationComputeSpec, AIRecommendationInferenceSpecification, AIRecommendationOutputResult, AIRecommendationPerformanceTarget, AIWorkloadConfigs, AlgorithmSpecification, AlgorithmStatusDetails, AlgorithmValidationSpecification, AppSpecification, ArtifactSource, AsyncInferenceConfig, AthenaDatasetDefinition, AutoMLCandidate, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobArtifacts, AutoMLJobChannel, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLPartialFailureReason, AutoMLProblemTypeConfig, AutoMLResolvedAttributes, AutoMLSecurityConfig, BatchDataCaptureConfig, CfnCreateTemplateProvider, Channel, CheckpointConfig, ClusterAutoScalingConfigOutput, ClusterEventDetail, ClusterInstanceGroupDetails, ClusterNodeDetails, ClusterOrchestrator, ClusterRestrictedInstanceGroupDetails, ClusterRestrictedInstanceGroupsConfigOutput, ClusterTieredStorageConfig, CodeEditorAppImageConfig, CodeRepository, GitConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, OutputDataConfig, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
3
+ import type { CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, ComputeQuotaConfig, ComputeQuotaTarget, ContextSource, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, DeploymentConfig, DeviceSelectionConfig, DomainSettings, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, ExplainerConfig, FeatureDefinition, FlowDefinitionOutputConfig, HubS3StorageConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, InputConfig, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, MetricsConfig, ModelDeployConfig, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStoppingCondition, NeoVpcConfig, NetworkConfig, OfflineStoreConfig, OnlineStoreConfig, OutputConfig, ProductionVariant, ProductionVariantManagedInstanceScaling, ProductionVariantRoutingConfig, ProductionVariantServerlessConfig, RetryStrategy, SchedulerConfig, TrainingSpecification, UserSettings } from "./models_1";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface CreateNotebookInstanceOutput {
8
+ /**
9
+ * <p>The Amazon Resource Name (ARN) of the notebook instance. </p>
10
+ * @public
11
+ */
12
+ NotebookInstanceArn?: string | undefined;
13
+ }
14
+ /**
15
+ * <p>Contains the notebook instance lifecycle configuration script.</p> <p>Each lifecycle configuration script has a limit of 16384 characters.</p> <p>The value of the <code>$PATH</code> environment variable that is available to both scripts is <code>/sbin:bin:/usr/sbin:/usr/bin</code>.</p> <p>View Amazon CloudWatch Logs for notebook instance lifecycle configurations in log group <code>/aws/sagemaker/NotebookInstances</code> in log stream <code>[notebook-instance-name]/[LifecycleConfigHook]</code>.</p> <p>Lifecycle configuration scripts cannot run for longer than 5 minutes. If a script runs for longer than 5 minutes, it fails and the notebook instance is not created or started.</p> <p>For information about notebook instance lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional) Customize a Notebook Instance</a>.</p>
16
+ * @public
17
+ */
18
+ export interface NotebookInstanceLifecycleHook {
19
+ /**
20
+ * <p>A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.</p>
21
+ * @public
22
+ */
23
+ Content?: string | undefined;
24
+ }
25
+ /**
26
+ * @public
27
+ */
28
+ export interface CreateNotebookInstanceLifecycleConfigInput {
29
+ /**
30
+ * <p>The name of the lifecycle configuration.</p>
31
+ * @public
32
+ */
33
+ NotebookInstanceLifecycleConfigName: string | undefined;
34
+ /**
35
+ * <p>A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.</p>
36
+ * @public
37
+ */
38
+ OnCreate?: NotebookInstanceLifecycleHook[] | undefined;
39
+ /**
40
+ * <p>A shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string.</p>
41
+ * @public
42
+ */
43
+ OnStart?: NotebookInstanceLifecycleHook[] | undefined;
44
+ /**
45
+ * <p>An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html">Tagging Amazon Web Services Resources</a>.</p>
46
+ * @public
47
+ */
48
+ Tags?: Tag[] | undefined;
49
+ }
50
+ /**
51
+ * @public
52
+ */
53
+ export interface CreateNotebookInstanceLifecycleConfigOutput {
54
+ /**
55
+ * <p>The Amazon Resource Name (ARN) of the lifecycle configuration.</p>
56
+ * @public
57
+ */
58
+ NotebookInstanceLifecycleConfigArn?: string | undefined;
59
+ }
4
60
  /**
5
61
  * <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>
6
62
  * @public
@@ -306,6 +362,11 @@ export interface CreateOptimizationJobRequest {
306
362
  * @public
307
363
  */
308
364
  VpcConfig?: OptimizationVpcConfig | undefined;
365
+ /**
366
+ * <p>The Amazon Resource Name (ARN) of the training plan to use for this optimization job.</p> <p>When you use reserved capacity from a training plan, the optimization job runs on that reserved capacity instead of on-demand capacity. If you omit this field, the job uses on-demand capacity. Currently, you can specify at most one training plan.</p> <p>For more information about how to reserve GPU capacity for your optimization jobs using Amazon SageMaker Training Plans, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/reserve-capacity-with-training-plans.html">Reserve capacity with training plans</a>.</p>
367
+ * @public
368
+ */
369
+ TrainingPlanArns?: string[] | undefined;
309
370
  }
310
371
  /**
311
372
  * @public
@@ -3987,6 +4048,11 @@ export interface DescribeAIRecommendationJobResponse {
3987
4048
  * @public
3988
4049
  */
3989
4050
  ComputeSpec?: AIRecommendationComputeSpec | undefined;
4051
+ /**
4052
+ * <p>The LoRA adapter source that was specified when the recommendation job was created. This field is absent when the job was created without LoRA adapters.</p>
4053
+ * @public
4054
+ */
4055
+ AdapterSource?: AIAdapterSource | undefined;
3990
4056
  /**
3991
4057
  * <p>A timestamp that indicates when the recommendation job was created.</p>
3992
4058
  * @public
@@ -6886,132 +6952,3 @@ export interface FinalHyperParameterTuningJobObjectiveMetric {
6886
6952
  */
6887
6953
  Value: number | undefined;
6888
6954
  }
6889
- /**
6890
- * <p>The container for the summary information about a training job.</p>
6891
- * @public
6892
- */
6893
- export interface HyperParameterTrainingJobSummary {
6894
- /**
6895
- * <p>The training job definition name.</p>
6896
- * @public
6897
- */
6898
- TrainingJobDefinitionName?: string | undefined;
6899
- /**
6900
- * <p>The name of the training job.</p>
6901
- * @public
6902
- */
6903
- TrainingJobName: string | undefined;
6904
- /**
6905
- * <p>The Amazon Resource Name (ARN) of the training job.</p>
6906
- * @public
6907
- */
6908
- TrainingJobArn: string | undefined;
6909
- /**
6910
- * <p>The HyperParameter tuning job that launched the training job.</p>
6911
- * @public
6912
- */
6913
- TuningJobName?: string | undefined;
6914
- /**
6915
- * <p>The date and time that the training job was created.</p>
6916
- * @public
6917
- */
6918
- CreationTime: Date | undefined;
6919
- /**
6920
- * <p>The date and time that the training job started.</p>
6921
- * @public
6922
- */
6923
- TrainingStartTime?: Date | undefined;
6924
- /**
6925
- * <p>Specifies the time when the training job ends on training instances. You are billed for the time interval between the value of <code>TrainingStartTime</code> and this time. For successful jobs and stopped jobs, this is the time after model artifacts are uploaded. For failed jobs, this is the time when SageMaker detects a job failure.</p>
6926
- * @public
6927
- */
6928
- TrainingEndTime?: Date | undefined;
6929
- /**
6930
- * <p>The status of the training job.</p>
6931
- * @public
6932
- */
6933
- TrainingJobStatus: TrainingJobStatus | undefined;
6934
- /**
6935
- * <p>A list of the hyperparameters for which you specified ranges to search.</p>
6936
- * @public
6937
- */
6938
- TunedHyperParameters: Record<string, string> | undefined;
6939
- /**
6940
- * <p>The reason that the training job failed. </p>
6941
- * @public
6942
- */
6943
- FailureReason?: string | undefined;
6944
- /**
6945
- * <p>The <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_FinalHyperParameterTuningJobObjectiveMetric.html">FinalHyperParameterTuningJobObjectiveMetric</a> object that specifies the value of the objective metric of the tuning job that launched this training job.</p>
6946
- * @public
6947
- */
6948
- FinalHyperParameterTuningJobObjectiveMetric?: FinalHyperParameterTuningJobObjectiveMetric | undefined;
6949
- /**
6950
- * <p>The status of the objective metric for the training job:</p> <ul> <li> <p>Succeeded: The final objective metric for the training job was evaluated by the hyperparameter tuning job and used in the hyperparameter tuning process.</p> </li> </ul> <ul> <li> <p>Pending: The training job is in progress and evaluation of its final objective metric is pending.</p> </li> </ul> <ul> <li> <p>Failed: The final objective metric for the training job was not evaluated, and was not used in the hyperparameter tuning process. This typically occurs when the training job failed or did not emit an objective metric.</p> </li> </ul>
6951
- * @public
6952
- */
6953
- ObjectiveStatus?: ObjectiveStatus | undefined;
6954
- }
6955
- /**
6956
- * <p>The total resources consumed by your hyperparameter tuning job.</p>
6957
- * @public
6958
- */
6959
- export interface HyperParameterTuningJobConsumedResources {
6960
- /**
6961
- * <p>The wall clock runtime in seconds used by your hyperparameter tuning job.</p>
6962
- * @public
6963
- */
6964
- RuntimeInSeconds?: number | undefined;
6965
- }
6966
- /**
6967
- * <p>Specifies the number of training jobs that this hyperparameter tuning job launched, categorized by the status of their objective metric. The objective metric status shows whether the final objective metric for the training job has been evaluated by the tuning job and used in the hyperparameter tuning process.</p>
6968
- * @public
6969
- */
6970
- export interface ObjectiveStatusCounters {
6971
- /**
6972
- * <p>The number of training jobs whose final objective metric was evaluated by the hyperparameter tuning job and used in the hyperparameter tuning process.</p>
6973
- * @public
6974
- */
6975
- Succeeded?: number | undefined;
6976
- /**
6977
- * <p>The number of training jobs that are in progress and pending evaluation of their final objective metric.</p>
6978
- * @public
6979
- */
6980
- Pending?: number | undefined;
6981
- /**
6982
- * <p>The number of training jobs whose final objective metric was not evaluated and used in the hyperparameter tuning process. This typically occurs when the training job failed or did not emit an objective metric.</p>
6983
- * @public
6984
- */
6985
- Failed?: number | undefined;
6986
- }
6987
- /**
6988
- * <p>The numbers of training jobs launched by a hyperparameter tuning job, categorized by status.</p>
6989
- * @public
6990
- */
6991
- export interface TrainingJobStatusCounters {
6992
- /**
6993
- * <p>The number of completed training jobs launched by the hyperparameter tuning job.</p>
6994
- * @public
6995
- */
6996
- Completed?: number | undefined;
6997
- /**
6998
- * <p>The number of in-progress training jobs launched by a hyperparameter tuning job.</p>
6999
- * @public
7000
- */
7001
- InProgress?: number | undefined;
7002
- /**
7003
- * <p>The number of training jobs that failed, but can be retried. A failed training job can be retried only if it failed because an internal service error occurred.</p>
7004
- * @public
7005
- */
7006
- RetryableError?: number | undefined;
7007
- /**
7008
- * <p>The number of training jobs that failed and can't be retried. A failed training job can't be retried if it failed because a client error occurred.</p>
7009
- * @public
7010
- */
7011
- NonRetryableError?: number | undefined;
7012
- /**
7013
- * <p>The number of training jobs launched by a hyperparameter tuning job that were manually stopped.</p>
7014
- * @public
7015
- */
7016
- Stopped?: number | undefined;
7017
- }