@aws-sdk/client-sagemaker 3.1149.0 → 3.1151.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 (110) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +346 -57
  3. package/dist-es/SageMaker.js +12 -0
  4. package/dist-es/commands/CreateTrainingSessionCommand.js +4 -0
  5. package/dist-es/commands/DeleteTrainingSessionCommand.js +4 -0
  6. package/dist-es/commands/DescribeTrainingSessionCommand.js +4 -0
  7. package/dist-es/commands/ListTrainingSessionsCommand.js +4 -0
  8. package/dist-es/commands/StopTrainingSessionCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +22 -0
  11. package/dist-es/pagination/ListTrainingSessionsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +263 -56
  14. package/dist-types/SageMaker.d.ts +43 -0
  15. package/dist-types/SageMakerClient.d.ts +7 -2
  16. package/dist-types/commands/CreateTrainingSessionCommand.d.ts +110 -0
  17. package/dist-types/commands/DeleteTrainingSessionCommand.d.ts +72 -0
  18. package/dist-types/commands/DescribeExperimentCommand.d.ts +2 -1
  19. package/dist-types/commands/DescribeFeatureGroupCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeHubCommand.d.ts +1 -2
  23. package/dist-types/commands/DescribePipelineExecutionCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeTrainingSessionCommand.d.ts +118 -0
  25. package/dist-types/commands/ListDeviceFleetsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
  27. package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
  28. package/dist-types/commands/ListEdgeDeploymentPlansCommand.d.ts +1 -1
  29. package/dist-types/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListEndpointConfigsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListEndpointsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListExperimentsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListFeatureGroupsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListFlowDefinitionsCommand.d.ts +1 -2
  35. package/dist-types/commands/ListPipelineExecutionStepsCommand.d.ts +42 -0
  36. package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListTrainingSessionsCommand.d.ts +84 -0
  38. package/dist-types/commands/SearchCommand.d.ts +2 -2
  39. package/dist-types/commands/StopTrainingSessionCommand.d.ts +72 -0
  40. package/dist-types/commands/UpdateContextCommand.d.ts +2 -1
  41. package/dist-types/commands/UpdateDeviceFleetCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateDevicesCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateDomainCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateExperimentCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdateFeatureGroupCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateHubCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateHubContentCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateHubContentReferenceCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateImageCommand.d.ts +1 -1
  53. package/dist-types/commands/index.d.ts +5 -0
  54. package/dist-types/models/enums.d.ts +49 -0
  55. package/dist-types/models/models_0.d.ts +80 -155
  56. package/dist-types/models/models_1.d.ts +156 -91
  57. package/dist-types/models/models_2.d.ts +221 -367
  58. package/dist-types/models/models_3.d.ts +4456 -4437
  59. package/dist-types/models/models_4.d.ts +3991 -3817
  60. package/dist-types/models/models_5.d.ts +501 -4
  61. package/dist-types/pagination/ListTrainingSessionsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/index.d.ts +1 -0
  63. package/dist-types/schemas/schemas_0.d.ts +29 -0
  64. package/dist-types/ts3.4/SageMaker.d.ts +93 -0
  65. package/dist-types/ts3.4/SageMakerClient.d.ts +30 -0
  66. package/dist-types/ts3.4/commands/CreateTrainingSessionCommand.d.ts +39 -0
  67. package/dist-types/ts3.4/commands/DeleteTrainingSessionCommand.d.ts +39 -0
  68. package/dist-types/ts3.4/commands/DescribeExperimentCommand.d.ts +2 -1
  69. package/dist-types/ts3.4/commands/DescribeFeatureGroupCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +1 -2
  73. package/dist-types/ts3.4/commands/DescribeTrainingSessionCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/ListDeviceFleetsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ListEdgeDeploymentPlansCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/ListEndpointConfigsCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/ListExperimentsCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/ListFeatureGroupsCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/ListFlowDefinitionsCommand.d.ts +1 -2
  84. package/dist-types/ts3.4/commands/ListTrainingSessionsCommand.d.ts +39 -0
  85. package/dist-types/ts3.4/commands/StopTrainingSessionCommand.d.ts +39 -0
  86. package/dist-types/ts3.4/commands/UpdateContextCommand.d.ts +2 -1
  87. package/dist-types/ts3.4/commands/UpdateDeviceFleetCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/UpdateDevicesCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/UpdateExperimentCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/UpdateFeatureGroupCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/UpdateHubCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/UpdateHubContentCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/UpdateHubContentReferenceCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/UpdateImageCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  100. package/dist-types/ts3.4/models/enums.d.ts +27 -0
  101. package/dist-types/ts3.4/models/models_0.d.ts +20 -36
  102. package/dist-types/ts3.4/models/models_1.d.ts +41 -22
  103. package/dist-types/ts3.4/models/models_2.d.ts +57 -101
  104. package/dist-types/ts3.4/models/models_3.d.ts +147 -145
  105. package/dist-types/ts3.4/models/models_4.d.ts +185 -140
  106. package/dist-types/ts3.4/models/models_5.d.ts +146 -1
  107. package/dist-types/ts3.4/pagination/ListTrainingSessionsPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  109. package/dist-types/ts3.4/schemas/schemas_0.d.ts +29 -0
  110. package/package.json +3 -3
@@ -1,6 +1,95 @@
1
- import type { _InstanceType, ActionStatus, ActivationState, AIBenchmarkJobStatus, AIRecommendationJobStatus, AlgorithmStatus, AppNetworkAccessType, AppSecurityGroupManagement, AppStatus, AppType, AuthMode, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLProblemTypeConfigName, BatchStrategy, CapacityReservationPreference, CaptureStatus, ClusterNodeProvisioningMode, ClusterNodeRecovery, ClusterStatus, CompilationJobStatus, CustomizationTechnique, DataDistributionType, DeepHealthCheckType, DirectInternetAccess, DomainStatus, EdgePackagingJobStatus, EdgePresetDeploymentStatus, EdgePresetDeploymentType, EnabledOrDisabled, EndpointStatus, EvaluationType, FeatureGroupStatus, FeatureStatus, FeatureType, FlowDefinitionStatus, HomeEfsFileSystemCreation, HubContentType, InputMode, IPAddressType, JobCategory, JoinSource, LastUpdateStatusValue, ModelSpeculativeDecodingS3DataType, ModelSpeculativeDecodingTechnique, MonitoringType, NotebookInstanceAcceleratorType, OfflineStoreStatusValue, OptimizationJobDeploymentInstanceType, PartnerAppAuthType, PartnerAppType, Peft, ProblemType, ProcessingInstanceType, ProcessingS3CompressionType, ProcessingS3DataDistributionType, ProcessingS3DataType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariantAcceleratorType, ProductionVariantInstanceType, RecommendationStatus, RedshiftResultCompressionType, RedshiftResultFormat, RetentionType, RootAccess, 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, CodeEditorAppImageConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, OutputDataConfig, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
3
- import type { ClusterTieredStorageConfig, CodeRepository, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, ComputeQuotaConfig, ComputeQuotaTarget, ContextSource, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, DeploymentConfig, DeviceSelectionConfig, DomainSettings, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, ExplainerConfig, FeatureDefinition, FlowDefinitionOutputConfig, GitConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, InputConfig, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, MetricsConfig, ModelDeployConfig, MonitoringAppSpecification, MonitoringBaselineConfig, MonitoringInput, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStoppingCondition, NeoVpcConfig, NetworkConfig, OfflineStoreConfig, OnlineStoreConfig, OutputConfig, ProductionVariant, ProductionVariantManagedInstanceScaling, ProductionVariantRoutingConfig, ProductionVariantServerlessConfig, RetryStrategy, SchedulerConfig, TrainingSpecification, UserSettings } from "./models_1";
1
+ import type { _InstanceType, ActionStatus, ActivationState, AIBenchmarkJobStatus, AIRecommendationJobStatus, AlgorithmStatus, AppNetworkAccessType, AppSecurityGroupManagement, AppStatus, AppType, AuthMode, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLProblemTypeConfigName, BatchStrategy, CapacityReservationPreference, CaptureStatus, ClusterNodeProvisioningMode, ClusterNodeRecovery, ClusterStatus, CompilationJobStatus, CustomizationTechnique, DataDistributionType, DeepHealthCheckType, DirectInternetAccess, DomainStatus, EdgePackagingJobStatus, EdgePresetDeploymentStatus, EdgePresetDeploymentType, EnabledOrDisabled, EndpointStatus, EvaluationType, FeatureStatus, HomeEfsFileSystemCreation, HubContentType, InputMode, IPAddressType, JobCategory, JoinSource, ModelSpeculativeDecodingS3DataType, ModelSpeculativeDecodingTechnique, MonitoringType, NotebookInstanceAcceleratorType, OptimizationJobDeploymentInstanceType, PartnerAppAuthType, PartnerAppType, Peft, ProblemType, ProcessingInstanceType, ProcessingS3CompressionType, ProcessingS3DataDistributionType, ProcessingS3DataType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariantAcceleratorType, ProductionVariantInstanceType, RecommendationStatus, RedshiftResultCompressionType, RedshiftResultFormat, RetentionType, RootAccess, RuleEvaluationStatus, SchedulerConfigComponent, SchedulerResourceStatus, ServerlessJobType, SharingType, StageStatus, Statistic, StudioLifecycleConfigAppType, TagPropagation, 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, BatchTransformInput, CfnCreateTemplateProvider, Channel, CheckpointConfig, ClusterAutoScalingConfigOutput, ClusterEventDetail, ClusterInstanceGroupDetails, ClusterNodeDetails, ClusterOrchestrator, ClusterRestrictedInstanceGroupDetails, ClusterRestrictedInstanceGroupsConfigOutput, CodeEditorAppImageConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, OutputDataConfig, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
3
+ import type { ClusterTieredStorageConfig, CodeRepository, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, ComputeQuotaConfig, ComputeQuotaTarget, ContextSource, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, DeploymentConfig, DeviceSelectionConfig, DomainSettings, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, EndpointInput, ExplainerConfig, GitConfig, InputConfig, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, MetricsConfig, ModelDeployConfig, MonitoringConstraintsResource, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, NeoVpcConfig, OutputConfig, ProductionVariant, ProductionVariantManagedInstanceScaling, ProductionVariantRoutingConfig, ProductionVariantServerlessConfig, RetryStrategy, SchedulerConfig, TrainingSpecification, UserSettings } from "./models_1";
4
+ /**
5
+ * <p>Configuration for monitoring constraints and monitoring statistics. These baseline resources are compared against the results of the current job from the series of jobs scheduled to collect data periodically.</p>
6
+ * @public
7
+ */
8
+ export interface MonitoringBaselineConfig {
9
+ /**
10
+ * <p>The name of the job that performs baselining for the monitoring job.</p>
11
+ * @public
12
+ */
13
+ BaseliningJobName?: string | undefined;
14
+ /**
15
+ * <p>The baseline constraint file in Amazon S3 that the current monitoring job should validated against.</p>
16
+ * @public
17
+ */
18
+ ConstraintsResource?: MonitoringConstraintsResource | undefined;
19
+ /**
20
+ * <p>The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.</p>
21
+ * @public
22
+ */
23
+ StatisticsResource?: MonitoringStatisticsResource | undefined;
24
+ }
25
+ /**
26
+ * <p>Container image configuration object for the monitoring job.</p>
27
+ * @public
28
+ */
29
+ export interface MonitoringAppSpecification {
30
+ /**
31
+ * <p>The container image to be run by the monitoring job.</p>
32
+ * @public
33
+ */
34
+ ImageUri: string | undefined;
35
+ /**
36
+ * <p>Specifies the entrypoint for a container used to run the monitoring job.</p>
37
+ * @public
38
+ */
39
+ ContainerEntrypoint?: string[] | undefined;
40
+ /**
41
+ * <p>An array of arguments for the container used to run the monitoring job.</p>
42
+ * @public
43
+ */
44
+ ContainerArguments?: string[] | undefined;
45
+ /**
46
+ * <p>An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flattened JSON so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.</p>
47
+ * @public
48
+ */
49
+ RecordPreprocessorSourceUri?: string | undefined;
50
+ /**
51
+ * <p>An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers.</p>
52
+ * @public
53
+ */
54
+ PostAnalyticsProcessorSourceUri?: string | undefined;
55
+ }
56
+ /**
57
+ * <p>The inputs for a monitoring job.</p>
58
+ * @public
59
+ */
60
+ export interface MonitoringInput {
61
+ /**
62
+ * <p>The endpoint for a monitoring job.</p>
63
+ * @public
64
+ */
65
+ EndpointInput?: EndpointInput | undefined;
66
+ /**
67
+ * <p>Input object for the batch transform job.</p>
68
+ * @public
69
+ */
70
+ BatchTransformInput?: BatchTransformInput | undefined;
71
+ }
72
+ /**
73
+ * <p>Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.</p>
74
+ * @public
75
+ */
76
+ export interface NetworkConfig {
77
+ /**
78
+ * <p>Whether to encrypt all communications between distributed processing jobs. Choose <code>True</code> to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.</p>
79
+ * @public
80
+ */
81
+ EnableInterContainerTrafficEncryption?: boolean | undefined;
82
+ /**
83
+ * <p>Whether to allow inbound and outbound network calls to and from the containers used for the processing job.</p>
84
+ * @public
85
+ */
86
+ EnableNetworkIsolation?: boolean | undefined;
87
+ /**
88
+ * <p>Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more 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>
89
+ * @public
90
+ */
91
+ VpcConfig?: VpcConfig | undefined;
92
+ }
4
93
  /**
5
94
  * <p>Defines the monitoring job.</p>
6
95
  * @public
@@ -2281,6 +2370,120 @@ export interface CreateTrainingPlanResponse {
2281
2370
  */
2282
2371
  TrainingPlanArn: string | undefined;
2283
2372
  }
2373
+ /**
2374
+ * <p>The Low-Rank Adaptation (LoRA) configuration for a training session, including the rank and alpha parameters.</p>
2375
+ * @public
2376
+ */
2377
+ export interface LoraConfig {
2378
+ /**
2379
+ * <p>The rank of the Low-Rank Adaptation (LoRA) adapter matrices.</p>
2380
+ * @public
2381
+ */
2382
+ Rank: number | undefined;
2383
+ /**
2384
+ * <p>The Low-Rank Adaptation (LoRA) scaling factor.</p>
2385
+ * @public
2386
+ */
2387
+ Alpha: number | undefined;
2388
+ }
2389
+ /**
2390
+ * <p>The configuration for the base model used in a training session.</p>
2391
+ * @public
2392
+ */
2393
+ export interface TrainingSessionModelConfig {
2394
+ /**
2395
+ * <p>The Amazon Resource Name (ARN) of the base foundation model from SageMaker Hub.</p>
2396
+ * @public
2397
+ */
2398
+ BaseModelArn: string | undefined;
2399
+ /**
2400
+ * <p>Specifies whether you accept the end-user license agreement (EULA) for gated models.</p>
2401
+ * @public
2402
+ */
2403
+ AcceptEula?: boolean | undefined;
2404
+ }
2405
+ /**
2406
+ * <p>Specifies the Amazon S3 path and optional encryption settings for training session output data, including checkpoints, model artifacts, and invocation results.</p>
2407
+ * @public
2408
+ */
2409
+ export interface TrainingSessionS3Location {
2410
+ /**
2411
+ * <p>The Amazon S3 path where training session outputs are stored.</p>
2412
+ * @public
2413
+ */
2414
+ Path: string | undefined;
2415
+ /**
2416
+ * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt output data. If not specified, the default Amazon S3 encryption is used.</p>
2417
+ * @public
2418
+ */
2419
+ KmsKeyArn?: string | undefined;
2420
+ }
2421
+ /**
2422
+ * <p>The output configuration for a training session, including the Amazon S3 location for checkpoints and model artifacts, and optional encryption settings.</p>
2423
+ * @public
2424
+ */
2425
+ export interface TrainingSessionOutputConfig {
2426
+ /**
2427
+ * <p>The Amazon S3 location where training session outputs, including checkpoints and model artifacts, are stored.</p>
2428
+ * @public
2429
+ */
2430
+ S3Location: TrainingSessionS3Location | undefined;
2431
+ }
2432
+ /**
2433
+ * @public
2434
+ */
2435
+ export interface CreateTrainingSessionRequest {
2436
+ /**
2437
+ * <p>The name of the training session.</p>
2438
+ * @public
2439
+ */
2440
+ TrainingSessionName: string | undefined;
2441
+ /**
2442
+ * <p>The Amazon Resource Name (ARN) of the model package group where checkpoints and fine-tuned model artifacts are published.</p>
2443
+ * @public
2444
+ */
2445
+ ModelPackageGroupArn?: string | undefined;
2446
+ /**
2447
+ * <p>The Low-Rank Adaptation (LoRA) configuration for the training session, including the rank and alpha parameters.</p>
2448
+ * @public
2449
+ */
2450
+ LoraConfig: LoraConfig | undefined;
2451
+ /**
2452
+ * <p>The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker assumes to access resources on your behalf. The role must have permissions to access the output S3 path and model package group.</p>
2453
+ * @public
2454
+ */
2455
+ RoleArn: string | undefined;
2456
+ /**
2457
+ * <p>The Virtual Private Cloud (VPC) configuration for the training session. Specify subnets and security groups to run the training session in your VPC.</p>
2458
+ * @public
2459
+ */
2460
+ VpcConfig?: VpcConfig | undefined;
2461
+ /**
2462
+ * <p>The configuration for the base model, including the model ARN and end-user license agreement (EULA) acceptance.</p>
2463
+ * @public
2464
+ */
2465
+ ModelConfig: TrainingSessionModelConfig | undefined;
2466
+ /**
2467
+ * <p>The output configuration for the training session, including the S3 location and optional encryption settings.</p>
2468
+ * @public
2469
+ */
2470
+ OutputConfig: TrainingSessionOutputConfig | undefined;
2471
+ /**
2472
+ * <p>An array of key-value pairs to apply to the training session as tags. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a>.</p>
2473
+ * @public
2474
+ */
2475
+ Tags?: Tag[] | undefined;
2476
+ }
2477
+ /**
2478
+ * @public
2479
+ */
2480
+ export interface CreateTrainingSessionResponse {
2481
+ /**
2482
+ * <p>The Amazon Resource Name (ARN) of the training session.</p>
2483
+ * @public
2484
+ */
2485
+ TrainingSessionArn: string | undefined;
2486
+ }
2284
2487
  /**
2285
2488
  * <p>The data structure used to specify the data to be used for inference in a batch transform job and to associate the data that is relevant to the prediction results in the output. The input filter provided allows you to exclude input data that is not needed for inference in a batch transform job. The output filter provided allows you to include input data relevant to interpreting the predictions in the output from the job. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html">Associate Prediction Results with their Corresponding Input Records</a>.</p>
2286
2489
  * @public
@@ -3854,6 +4057,21 @@ export interface DeleteTrainingJobRequest {
3854
4057
  */
3855
4058
  TrainingJobName: string | undefined;
3856
4059
  }
4060
+ /**
4061
+ * @public
4062
+ */
4063
+ export interface DeleteTrainingSessionRequest {
4064
+ /**
4065
+ * <p>The name of the training session to delete.</p>
4066
+ * @public
4067
+ */
4068
+ TrainingSessionName: string | undefined;
4069
+ }
4070
+ /**
4071
+ * @public
4072
+ */
4073
+ export interface DeleteTrainingSessionResponse {
4074
+ }
3857
4075
  /**
3858
4076
  * @public
3859
4077
  */
@@ -6581,367 +6799,3 @@ export interface ExperimentSource {
6581
6799
  */
6582
6800
  SourceType?: string | undefined;
6583
6801
  }
6584
- /**
6585
- * @public
6586
- */
6587
- export interface DescribeExperimentResponse {
6588
- /**
6589
- * <p>The name of the experiment.</p>
6590
- * @public
6591
- */
6592
- ExperimentName?: string | undefined;
6593
- /**
6594
- * <p>The Amazon Resource Name (ARN) of the experiment.</p>
6595
- * @public
6596
- */
6597
- ExperimentArn?: string | undefined;
6598
- /**
6599
- * <p>The name of the experiment as displayed. If <code>DisplayName</code> isn't specified, <code>ExperimentName</code> is displayed.</p>
6600
- * @public
6601
- */
6602
- DisplayName?: string | undefined;
6603
- /**
6604
- * <p>The Amazon Resource Name (ARN) of the source and, optionally, the type.</p>
6605
- * @public
6606
- */
6607
- Source?: ExperimentSource | undefined;
6608
- /**
6609
- * <p>The description of the experiment.</p>
6610
- * @public
6611
- */
6612
- Description?: string | undefined;
6613
- /**
6614
- * <p>When the experiment was created.</p>
6615
- * @public
6616
- */
6617
- CreationTime?: Date | undefined;
6618
- /**
6619
- * <p>Who created the experiment.</p>
6620
- * @public
6621
- */
6622
- CreatedBy?: UserContext | undefined;
6623
- /**
6624
- * <p>When the experiment was last modified.</p>
6625
- * @public
6626
- */
6627
- LastModifiedTime?: Date | undefined;
6628
- /**
6629
- * <p>Who last modified the experiment.</p>
6630
- * @public
6631
- */
6632
- LastModifiedBy?: UserContext | undefined;
6633
- }
6634
- /**
6635
- * @public
6636
- */
6637
- export interface DescribeFeatureGroupRequest {
6638
- /**
6639
- * <p>The name or Amazon Resource Name (ARN) of the <code>FeatureGroup</code> you want described. </p>
6640
- * @public
6641
- */
6642
- FeatureGroupName: string | undefined;
6643
- /**
6644
- * <p>A token to resume pagination of the list of <code>Features</code> (<code>FeatureDefinitions</code>). 2,500 <code>Features</code> are returned by default.</p>
6645
- * @public
6646
- */
6647
- NextToken?: string | undefined;
6648
- }
6649
- /**
6650
- * <p>A value that indicates whether the update was successful.</p>
6651
- * @public
6652
- */
6653
- export interface LastUpdateStatus {
6654
- /**
6655
- * <p>A value that indicates whether the update was made successful.</p>
6656
- * @public
6657
- */
6658
- Status: LastUpdateStatusValue | undefined;
6659
- /**
6660
- * <p>If the update wasn't successful, indicates the reason why it failed.</p>
6661
- * @public
6662
- */
6663
- FailureReason?: string | undefined;
6664
- }
6665
- /**
6666
- * <p>The status of <code>OfflineStore</code>.</p>
6667
- * @public
6668
- */
6669
- export interface OfflineStoreStatus {
6670
- /**
6671
- * <p>An <code>OfflineStore</code> status.</p>
6672
- * @public
6673
- */
6674
- Status: OfflineStoreStatusValue | undefined;
6675
- /**
6676
- * <p>The justification for why the OfflineStoreStatus is Blocked (if applicable).</p>
6677
- * @public
6678
- */
6679
- BlockedReason?: string | undefined;
6680
- }
6681
- /**
6682
- * <p>Active throughput configuration of the feature group. There are two modes: <code>ON_DEMAND</code> and <code>PROVISIONED</code>. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled. </p> <p>Note: <code>PROVISIONED</code> throughput mode is supported only for feature groups that are offline-only, or use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OnlineStoreConfig.html#sagemaker-Type-OnlineStoreConfig-StorageType"> <code>Standard</code> </a> tier online store. </p>
6683
- * @public
6684
- */
6685
- export interface ThroughputConfigDescription {
6686
- /**
6687
- * <p>The mode used for your feature group throughput: <code>ON_DEMAND</code> or <code>PROVISIONED</code>. </p>
6688
- * @public
6689
- */
6690
- ThroughputMode: ThroughputMode | undefined;
6691
- /**
6692
- * <p> For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling. </p> <p>This field is not applicable for on-demand feature groups. </p>
6693
- * @public
6694
- */
6695
- ProvisionedReadCapacityUnits?: number | undefined;
6696
- /**
6697
- * <p> For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling. </p> <p>This field is not applicable for on-demand feature groups. </p>
6698
- * @public
6699
- */
6700
- ProvisionedWriteCapacityUnits?: number | undefined;
6701
- }
6702
- /**
6703
- * @public
6704
- */
6705
- export interface DescribeFeatureGroupResponse {
6706
- /**
6707
- * <p>The Amazon Resource Name (ARN) of the <code>FeatureGroup</code>. </p>
6708
- * @public
6709
- */
6710
- FeatureGroupArn: string | undefined;
6711
- /**
6712
- * <p>he name of the <code>FeatureGroup</code>.</p>
6713
- * @public
6714
- */
6715
- FeatureGroupName: string | undefined;
6716
- /**
6717
- * <p>The name of the <code>Feature</code> used for <code>RecordIdentifier</code>, whose value uniquely identifies a record stored in the feature store.</p>
6718
- * @public
6719
- */
6720
- RecordIdentifierFeatureName: string | undefined;
6721
- /**
6722
- * <p>The name of the feature that stores the <code>EventTime</code> of a Record in a <code>FeatureGroup</code>.</p> <p> An <code>EventTime</code> is a point in time when a new event occurs that corresponds to the creation or update of a <code>Record</code> in a <code>FeatureGroup</code>. All <code>Records</code> in the <code>FeatureGroup</code> have a corresponding <code>EventTime</code>.</p>
6723
- * @public
6724
- */
6725
- EventTimeFeatureName: string | undefined;
6726
- /**
6727
- * <p>A list of the <code>Features</code> in the <code>FeatureGroup</code>. Each feature is defined by a <code>FeatureName</code> and <code>FeatureType</code>.</p>
6728
- * @public
6729
- */
6730
- FeatureDefinitions: FeatureDefinition[] | undefined;
6731
- /**
6732
- * <p>A timestamp indicating when SageMaker created the <code>FeatureGroup</code>.</p>
6733
- * @public
6734
- */
6735
- CreationTime: Date | undefined;
6736
- /**
6737
- * <p>A timestamp indicating when the feature group was last updated.</p>
6738
- * @public
6739
- */
6740
- LastModifiedTime?: Date | undefined;
6741
- /**
6742
- * <p>The configuration for the <code>OnlineStore</code>.</p>
6743
- * @public
6744
- */
6745
- OnlineStoreConfig?: OnlineStoreConfig | undefined;
6746
- /**
6747
- * <p>The configuration of the offline store. It includes the following configurations:</p> <ul> <li> <p>Amazon S3 location of the offline store.</p> </li> <li> <p>Configuration of the Glue data catalog.</p> </li> <li> <p>Table format of the offline store.</p> </li> <li> <p>Option to disable the automatic creation of a Glue table for the offline store.</p> </li> <li> <p>Encryption configuration.</p> </li> </ul>
6748
- * @public
6749
- */
6750
- OfflineStoreConfig?: OfflineStoreConfig | undefined;
6751
- /**
6752
- * <p>Active throughput configuration of the feature group. There are two modes: <code>ON_DEMAND</code> and <code>PROVISIONED</code>. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled. </p> <p>Note: <code>PROVISIONED</code> throughput mode is supported only for feature groups that are offline-only, or use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OnlineStoreConfig.html#sagemaker-Type-OnlineStoreConfig-StorageType"> <code>Standard</code> </a> tier online store. </p>
6753
- * @public
6754
- */
6755
- ThroughputConfig?: ThroughputConfigDescription | undefined;
6756
- /**
6757
- * <p>The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore if an OfflineStoreConfig is provided.</p>
6758
- * @public
6759
- */
6760
- RoleArn?: string | undefined;
6761
- /**
6762
- * <p>The status of the feature group.</p>
6763
- * @public
6764
- */
6765
- FeatureGroupStatus?: FeatureGroupStatus | undefined;
6766
- /**
6767
- * <p>The status of the <code>OfflineStore</code>. Notifies you if replicating data into the <code>OfflineStore</code> has failed. Returns either: <code>Active</code> or <code>Blocked</code> </p>
6768
- * @public
6769
- */
6770
- OfflineStoreStatus?: OfflineStoreStatus | undefined;
6771
- /**
6772
- * <p>A value indicating whether the update made to the feature group was successful.</p>
6773
- * @public
6774
- */
6775
- LastUpdateStatus?: LastUpdateStatus | undefined;
6776
- /**
6777
- * <p>The reason that the <code>FeatureGroup</code> failed to be replicated in the <code>OfflineStore</code>. This is failure can occur because:</p> <ul> <li> <p>The <code>FeatureGroup</code> could not be created in the <code>OfflineStore</code>.</p> </li> <li> <p>The <code>FeatureGroup</code> could not be deleted from the <code>OfflineStore</code>.</p> </li> </ul>
6778
- * @public
6779
- */
6780
- FailureReason?: string | undefined;
6781
- /**
6782
- * <p>A free form description of the feature group.</p>
6783
- * @public
6784
- */
6785
- Description?: string | undefined;
6786
- /**
6787
- * <p>A token to resume pagination of the list of <code>Features</code> (<code>FeatureDefinitions</code>).</p>
6788
- * @public
6789
- */
6790
- NextToken: string | undefined;
6791
- /**
6792
- * <p>The size of the <code>OnlineStore</code> in bytes.</p>
6793
- * @public
6794
- */
6795
- OnlineStoreTotalSizeBytes?: number | undefined;
6796
- }
6797
- /**
6798
- * @public
6799
- */
6800
- export interface DescribeFeatureMetadataRequest {
6801
- /**
6802
- * <p>The name or Amazon Resource Name (ARN) of the feature group containing the feature.</p>
6803
- * @public
6804
- */
6805
- FeatureGroupName: string | undefined;
6806
- /**
6807
- * <p>The name of the feature.</p>
6808
- * @public
6809
- */
6810
- FeatureName: string | undefined;
6811
- }
6812
- /**
6813
- * <p>A key-value pair that you specify to describe the feature.</p>
6814
- * @public
6815
- */
6816
- export interface FeatureParameter {
6817
- /**
6818
- * <p>A key that must contain a value to describe the feature.</p>
6819
- * @public
6820
- */
6821
- Key?: string | undefined;
6822
- /**
6823
- * <p>The value that belongs to a key.</p>
6824
- * @public
6825
- */
6826
- Value?: string | undefined;
6827
- }
6828
- /**
6829
- * @public
6830
- */
6831
- export interface DescribeFeatureMetadataResponse {
6832
- /**
6833
- * <p>The Amazon Resource Number (ARN) of the feature group that contains the feature.</p>
6834
- * @public
6835
- */
6836
- FeatureGroupArn: string | undefined;
6837
- /**
6838
- * <p>The name of the feature group that you've specified.</p>
6839
- * @public
6840
- */
6841
- FeatureGroupName: string | undefined;
6842
- /**
6843
- * <p>The name of the feature that you've specified.</p>
6844
- * @public
6845
- */
6846
- FeatureName: string | undefined;
6847
- /**
6848
- * <p>The data type of the feature.</p>
6849
- * @public
6850
- */
6851
- FeatureType: FeatureType | undefined;
6852
- /**
6853
- * <p>A timestamp indicating when the feature was created.</p>
6854
- * @public
6855
- */
6856
- CreationTime: Date | undefined;
6857
- /**
6858
- * <p>A timestamp indicating when the metadata for the feature group was modified. For example, if you add a parameter describing the feature, the timestamp changes to reflect the last time you </p>
6859
- * @public
6860
- */
6861
- LastModifiedTime: Date | undefined;
6862
- /**
6863
- * <p>The description you added to describe the feature.</p>
6864
- * @public
6865
- */
6866
- Description?: string | undefined;
6867
- /**
6868
- * <p>The key-value pairs that you added to describe the feature.</p>
6869
- * @public
6870
- */
6871
- Parameters?: FeatureParameter[] | undefined;
6872
- }
6873
- /**
6874
- * @public
6875
- */
6876
- export interface DescribeFlowDefinitionRequest {
6877
- /**
6878
- * <p>The name of the flow definition.</p>
6879
- * @public
6880
- */
6881
- FlowDefinitionName: string | undefined;
6882
- }
6883
- /**
6884
- * @public
6885
- */
6886
- export interface DescribeFlowDefinitionResponse {
6887
- /**
6888
- * <p>The Amazon Resource Name (ARN) of the flow defintion.</p>
6889
- * @public
6890
- */
6891
- FlowDefinitionArn: string | undefined;
6892
- /**
6893
- * <p>The Amazon Resource Name (ARN) of the flow definition.</p>
6894
- * @public
6895
- */
6896
- FlowDefinitionName: string | undefined;
6897
- /**
6898
- * <p>The status of the flow definition. Valid values are listed below.</p>
6899
- * @public
6900
- */
6901
- FlowDefinitionStatus: FlowDefinitionStatus | undefined;
6902
- /**
6903
- * <p>The timestamp when the flow definition was created.</p>
6904
- * @public
6905
- */
6906
- CreationTime: Date | undefined;
6907
- /**
6908
- * <p>Container for configuring the source of human task requests. Used to specify if Amazon Rekognition or Amazon Textract is used as an integration source.</p>
6909
- * @public
6910
- */
6911
- HumanLoopRequestSource?: HumanLoopRequestSource | undefined;
6912
- /**
6913
- * <p>An object containing information about what triggers a human review workflow.</p>
6914
- * @public
6915
- */
6916
- HumanLoopActivationConfig?: HumanLoopActivationConfig | undefined;
6917
- /**
6918
- * <p>An object containing information about who works on the task, the workforce task price, and other task details.</p>
6919
- * @public
6920
- */
6921
- HumanLoopConfig?: HumanLoopConfig | undefined;
6922
- /**
6923
- * <p>An object containing information about the output file.</p>
6924
- * @public
6925
- */
6926
- OutputConfig: FlowDefinitionOutputConfig | undefined;
6927
- /**
6928
- * <p>The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) execution role for the flow definition.</p>
6929
- * @public
6930
- */
6931
- RoleArn: string | undefined;
6932
- /**
6933
- * <p>The reason your flow definition failed.</p>
6934
- * @public
6935
- */
6936
- FailureReason?: string | undefined;
6937
- }
6938
- /**
6939
- * @public
6940
- */
6941
- export interface DescribeHubRequest {
6942
- /**
6943
- * <p>The name of the hub to describe.</p>
6944
- * @public
6945
- */
6946
- HubName: string | undefined;
6947
- }